|
Libzita-resampler is a C++ library for resampling audio signals. It is designed
to be used within a real-time processing context, to be fast, and to provide
high-quality sample rate conversion.
The library operates on signals represented in single-precision floating point
format. For multichannel operation both the input and output signals are
assumed to be stored as interleaved samples.
The API allows a trade-off between quality and CPU load. For the latter
a range of approximately 1:6 is available. Even at the highest quality
setting libzita-resampler will be faster than most similar libraries, e.g.
libsamplerate.
The source distribution includes the resample application.
Input format is any file readable by libsndfile, output is either
WAV (WAVEX for more than 2 channels) or CAF. Apart from resampling
you can change the sample format to 16-bit, 24-bit or float, and for
16-bit output, add dithering. Available dithering types are rectangular,
triangular, and Lipschitz' optimised error feedback filter. Some examples
of dithering can be seen here.
|