6 .Nd convert sound files from one format to another
9 .Op Fl override-sample-rate Ns = Ns Ar rate
10 .Op Fl endian Ns = Ns Cm little | big | cpu
17 converts sound files from one audio format to another.
18 The output file is overwritten it it already exists.
20 The format of the output file is determined by the filename extension.
21 The following file formats are currently recognized:
23 .Bl -tag -compact -width ircam
39 PAF (Ensoniq PARIS, big-endian)
41 PAF (Ensoniq PARIS, little-endian)
43 IFF (Amiga IFF/SVX8/SV16)
45 SPHERE (NIST SPeech HEader Resources)
47 SPHERE (NIST SPeech HEader Resources)
51 SF (Berkeley/IRCAM/CARL)
53 SF (Berkeley/IRCAM/CARL)
55 W64 (SoundFoundry WAVE 64)
57 MAT4 (GNU Octave 2.0 / Matlab 4.2)
59 MAT4 (GNU Octave 2.0 / Matlab 4.2)
61 MAT5 (GNU Octave 2.1 / Matlab 5.0)
63 PVF (Portable Voice Format)
69 SDS (Midi Sample Dump Standard)
71 AVR (Audio Visual Research)
73 WAVEX (MS WAVE with WAVEFORMATEX)
75 SD2 (Sound Designer II)
77 FLAC (FLAC Lossless Audio Codec)
79 CAF (Apple Core Audio File)
85 OGG (OGG Container format)
87 OGG (OGG Container format)
94 The following options are recoginzed:
96 .Bl -tag -compact -width "override-sample-rate=XXXXX"
97 .It Fl override-sample-rate Ns = Ns Ar rate
98 Make the input use sample rate of
101 .It Fl endian Ns = Ns Cm little
102 Make the output file use little endian data.
103 .It Fl endian Ns = Ns Cm big
104 Make the output file use big endian data.
105 .It Fl endian Ns = Ns Cm cpu
106 Make the output file use CPU endianness.
108 Normalize the audio data in the output file.
113 parameter allows setting of the data encoding for the output file.
114 The following encodings are currently supported:
116 .Bl -tag -compact -width ima-adpcmXX
128 32 bit floating point
140 12 bit DWVW (AIFF only)
142 16 bit DWVW (AIFF only)
144 24 bit DWVW (AIFF only)
149 If no encoding is specified for the output file,
151 will try to use the encoding of the input file.
152 This will not always work as most container formats
153 (e.g. WAV, AIFF etc) only support a small subset of encodings
154 (e.g. 16 bit PCM, a-law, Vorbis etc).
158 .Lk http://libsndfile.github.io/libsndfile/
160 .An Erik de Castro Lopo Aq Mt erikd@mega-nerd.com .