sndfile-resample is a sample rate converter using libsndfile for file I/O and Secret Rabbit Code (aka libsamplerate) for performing the conversion. It works on any file format supported by libsndfile with any number of channels (limited only by host memory).
The options are as follows:
- -c number
Choose the converter type from the following list:
Best Sinc Interpolator
Medium Sinc Interpolator (default)
Fastest Sinc Interpolator
- -to rate
Convert to the specified sample rate.
- -by ratio
Change the sample rate by the given ratio, which can be any positive real; the resulting rate is floored to an integer. For instance, changing the rate of 44100 by a factor of 1.3333 results in a sample rate of 58798.
Disable clipping check and normalization.
Erik de Castro Lopo <firstname.lastname@example.org>