ALSA can resample on the fly although your CPU needs to be up to the
task. It seems to involve adding the line below to your default ALSA
device (/etc/asound.conf I think).
converter "samplerate_best"
Then I guess you would set Rivendell to have a 44.1 library and see what
happens.
You might need to install libsamplerate which is probably already on
your machine if Rivendell is on it.
Failing that if your Audio is flat wav, sox will work for resampling but
with 17,000 tracks it will take a while. I did a quick test on an old
Core 2 and it took about 20 seconds for a 6minute track.
Heres the sox command:
sox 441_file.wav -b 16 48k_file.wav rate 48000 dither -s
You could write a quick bash script to loop through them all running
that command on each one. I don't envy the wait you will have though,
with 17,000 tracks assuming an average 5minute run time and a newer
computer knocking them through in about 12 seconds each you've got 2
days 8 hours and 40minutes ish before it completes.
Wayne Merricks
The Voice Asia
On 16/07/12 03:48, Luigino Bracci wrote:
Hi,
We are trying to upgrade Rivendell from 1.7.2 to the latest version.
Unfortunely, the sound card we use (Creative Audigy2 CA0106) have a
fixed sample rate of 48000 Hz, and all our audio library was imported
at 44100 Hz. I suppose that Rivendell 1.x resamples the audios in
realtime from 44100 to 48000 Hz, but Rivendell 2.x doesn't.
When trying to run Rivendell using the system sample rate at 44100 Hz
(in Rdadmin -> System Settings), Rivendell doesn't recognize the sound
card. In syslog, we get the messages "caed: Asked for sample rate
44100, got 48000 / Sample rate unsupported by device". When we set the
system sample rate at 48000 Hz, the card is recognized, but music is
played a bit faster. We use Rivendell in our main computer in ALSA mode.
Searching in the mailing list, apparently I have only two options:
resample all the audios in the library to 48000 Hz (there are more
than 13,000 audios in our library), or buy a new audio card that
supports 44100 Hz. Do I have other options? Why Rivendell 1.7.x can
resample the audios in realtime, but Rivendell 2.1.4 can't?
If we decide to resample the audios in the library, what would be the
best tool to do this? sox? ffmpeg?
Thanks you!
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
#######################
Scanned by MailMarshal
#######################
############
Attention:
The information contained in this message is confidential and intended
for the addressee(s) only. If you have received this message in error
or there are any problems, please notify the originator immediately.
The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden. Christian Vision or any of its subsidiaries will
not be liable for direct, special, indirect or consequential damages
arising from alteration of the contents of this message by a third party
or as a result of any virus being passed on. Please note that we reserve
the right to monitor and read any e-mails sent or received by the
company under the Telecommunications (Lawful Business Practice)
(Interception of Communications) Regulation 2000. Christian Vision is
registered in England as a limited company 2842414 and as a charity
1031031
############
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev