Hello all,
On Fri, 17 Dec 2004, Jesse Chappell wrote:
I've
received some bug reports about
resampling with the ecasound+libsamplerate combo, and the 44.1<->48
Kai, I
did notice that the SRC code in ecasound uses the simple
API of libsamplerate, but it expects to use it blockwise with
a continuous audio stream. The more advanced APIs maintain state
between calls that I think are necessary when using it with a stream.
thank you for pointing this out to me -- this was indeed causing problems.
If anyone wants to help in testing, please try the snapshot at:
http://ecasound.seul.org/download/snapshots/ecasound-2.3.6-cvs-20041221.tar…
# the basic syntax is:
ecasound -f:16,2,44100 -i resample,auto,foo96khz.wav -o alsa
# with samplerate's 'SRC_SINC_BEST_QUALITY' quality
ecasound -f:16,2,44100 -i resample-hq,auto,foo96khz.wav -o alsa
Where 16(bit), 2(ch) and 44100(Hz) are the target audio parameters. This
should work with any ALSA/OSS, JACK, wav/aiff, ogg/mp3/flac/etc output.
--
http://www.eca.cx
Audio software for Linux!