Re: [linux-audio-dev] Sample Rate Conversion in Linux (Newby)

From: Erik de Castro Lopo <mle+la@email-addr-hidden-nerd.com>
Date: Sun Feb 04 2007 - 04:20:41 EET

Jonathan Ryshpan wrote:

> Which algorithm/library/program is used for sample rate conversion by
> cdrecord in Linux?

No sure about cdrecord.

> Other programs?

Ardour, Sweep, Audacity (I think), ecasound and any other program
that cares about quality sample rate conversion uses the Rabbit:

    http://www.mega-nerd.com/SRC/

> I assume there is a library to
> perform this function, which is used by most utilities, xmms, amarok,
> cdrecord, audacity, etc. Is there any easy way to find this out?

    ldd <program name>

If you see libsamplerate.so.0 there the <program name> uses the Rabbit.

If cdrecord doesn't use the Rabbit, then you can use the command line
sample rate converter (sndfile-resample) included in the Rabbit source
code. In Debian/Ubuntu there us a precompiled binary in the
samplerate-programs package.

HTH,
Erik

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"The one thing that reading these five books has hammered home is 
how much C++ has turned into 3 languages stuck in a bag fighting 
to get out. Low C++, High C++, and Generic C++."
Received on Sun Feb 4 08:15:01 2007

This archive was generated by hypermail 2.1.8 : Sun Feb 04 2007 - 08:15:01 EET