1SNDFILE-RESAMPLE(1) BSD General Commands Manual SNDFILE-RESAMPLE(1)
2
4 sndfile-resample — sample rate converter
5
7 sndfile-resample [-c number] -to rate input output
8 sndfile-resample [-c number] -by ratio input output
9
11 sndfile-resample is a sample rate converter using libsndfile for file I/O
12 and Secret Rabbit Code (aka libsamplerate) for performing the conversion.
13 It works on any file format supported by libsndfile with any number of
14 channels (limited only by host memory).
15
16 The options are as follows:
17
18 -c number Choose the converter type from the following list:
19 0 Best Sinc Interpolator
20 1 Medium Sinc Interpolator (default)
21 2 Fastest Sinc Interpolator
22 3 ZOH Interpolator
23 4 Linear Interpolator
24
25 -to rate Convert to the specified sample rate.
26
27 -by ratio Change the sample rate by the given ratio, which can be any
28 positive real; the resulting rate is floored to an integer.
29 For instance, changing the rate of 44100 by a factor of 1.3333
30 results in a sample rate of 58798.
31
32 --no-normalize
33 Disable clipping check and normalization.
34
36 http://www.mega-nerd.com/libsndfile/ http://www.mega-
37 nerd.com/libsamplerate/
38
40 Erik de Castro Lopo <erikd@mega-nerd.com>
41
42BSD October 9, 2016 BSD