sfconvert(1)

sfconvert1

Convert audio files

Usage

sfconvert infile outfile [output options]

Overview

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.

Releases

13 releases since Debian 3.0 (Woody); the text changed 2 times.

  1. 3.0–4.0
  2. 5.0–13
  3. Arch

--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.

Author

Michael Pruett <[email protected]>

From audiofile 0.3.6-12 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.