Convert between various audio formats
sfconvert infile outfile [ options ... ] [ output keywords ... ]
The sfconvert tool can be used to convert audio files from one audio format to another. The files' audio formats have to be supported by libaudiofile.
The following keywords specify the format of the output sound file:
Desired endianness of output sample data. e may be one of big or little.
Number of output channels. n is 1 for mono, and 2 for stereo files.
Audio format of output file. f has to be one of the currently supported formats: aiff (Audio Interchange File Format), aifc (AIFF-C File Format), next (NeXT/Sun Format), wave (MS RIFF WAVE Format), bicsf (Berkeley/IRCAM/CARL Sound File Format), avr (Audio Visual Research File Format), iff (Amiga IFF/8SVX Sound File Format), or nist (NIST SPHERE File Format).
integer n s
Produce integer samples. n specifies the width of individual samples in bits, s yields the encoding and may be one of 2scomp (2's complement signed data), or unsigned (unsigned data). The integer and float options (see below) are mutually exclusive.
Produce floating point samples with a maximum amplitude of m (usually 1.0). This options may not be used together with option integer.