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