Re: [ecasound] Re: [linux-audio-user] 24 bit replacement for SOX

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Re: [linux-audio-user] 24 bit replacement for SOX
From: Kai Vehmanen (kvehmanen_AT_eca.cx)
Date: Tue Dec 21 2004 - 04:12:48 EET


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.gz

# 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!


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Dec 21 2004 - 04:16:09 EET