Chris@0: Chris@0: Chris@0: Chris@0:
Chris@0:
Chris@0: Chris@0: Chris@0: Chris@0: |
Chris@0:
Chris@0:
Chris@0:
Chris@0:
Chris@0:
Chris@0:
Chris@0: Chris@0: Chris@0:
Chris@0: Secret Rabbit Code (aka libsamplerate) is a Chris@0: Sample Rate Converter for audio. Chris@0: One example of where such a thing would be useful is converting audio Chris@0: from the CD sample rate of 44.1kHz to the 48kHz sample rate used by Chris@0: DAT players. Chris@0: Chris@0: Chris@0:Chris@0: SRC is capable of arbitrary and time varying conversions ; from Chris@0: downsampling by a factor of 256 to upsampling by the same factor. Chris@0: Arbitrary in this case means that the ratio of input and output Chris@0: sample rates can be an irrational number. Chris@0: The conversion ratio can also vary with time for speeding up and slowing Chris@0: down effects. Chris@0: Chris@0: Chris@0:Chris@0: SRC provides a small set of converters to allow quality to Chris@0: be traded off against computation cost. Chris@0: The current best converter provides a signal-to-noise ratio of 145dB Chris@0: with -3dB passband extending from DC to 96% of the theoretical Chris@0: best bandwidth for a given pair of input and output sample rates. Chris@0: Chris@0: Chris@0:Chris@0: Since the library has few dependencies beyond that provided by the Chris@0: standard C library, it should compile and work on just about any Chris@0: operating system. Chris@0: It is known to work on Linux, MacOSX, Chris@0: Win32 Chris@0: and Solaris. Chris@0: With some relatively minor hacking it should also be relatively easy Chris@0: to port it to embedded systems and digital signal processors. Chris@0: Chris@0: Chris@0:Chris@0: In addition, the library comes with a comprehensive test suite which Chris@0: can validate the performance of the library on new platforms. Chris@0: Chris@0: Chris@0: Chris@0: Chris@0: Chris@0: Chris@0: |