Reference

sfconvert(1)

convert audio files

NAME

sfconvert - convert audio files

SYNOPSIS

sfconvert infile outfile [output options]

DESCRIPTION

The sfconvert command converts an audio file to another file format or data format.

OPTIONS

The following keywords specify the format of the output sound file:

format f

Output file format. f must be one of the following:

aiffAudio Interchange File Format
aifcAIFF-C
nextNeXT/Sun .snd/.au Format
waveMS RIFF WAVE
bicsfBerkeley/IRCAM/CARL Sound File Format
smpSample Vision Format
vocCreative Voice File Format
nistNIST SPHERE Format
cafCore Audio Format
flacFLAC

compression c

ulawG.711 mu-law
alawG.711 A-law
imaIMA ADPCM
msadpcmMicrosoft ADPCM
flacFLAC
alacApple Lossless Audio Codec

byteorder e

Output byte order. e may be either big or little.

channels n

Number of output channels. n is 1 for mono, and 2 for stereo.

integer n s

Convert to integer audio data. n indicates the output sample width in bits. s specifies the sample format and may be either 2scomp for 2’s complement signed data or unsigned for unsigned data.

float m

Convert to floating-point audio data with a maximum amplitude of m (usually 1.0). The integer and float options are mutually exclusive.

The following options take no additional arguments:

--help, -h

Print help message.

--version, -v

Print version information.

SEE ALSO

sfinfo(1)

AUTHOR

Michael Pruett <[email protected]>

History

--help since Arch Linux 2026-11-01; --version since Arch Linux 2026-11-01; -h since Arch Linux 2026-11-01; -v since Arch Linux 2026-11-01.