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