sox
Universal command-line audio processor
TLDR
Convert audio format
SYNOPSIS
sox [options] infiles outfile [effects...]
DESCRIPTION
sox (Sound eXchange) is a command-line audio processing tool. It converts between formats, applies effects, and can record and play audio.
The tool supports many audio formats and provides extensive processing capabilities including filtering, mixing, and format conversion.
PARAMETERS
-r rate
Sample rate.-c channels
Number of channels.-b bits
Sample size in bits.-e encoding
Sample encoding.-t type
File type.-v factor
Volume adjustment.-d
Default audio device.--combine type
Combine method (concatenate, merge, mix).
EFFECTS
trim: Cut portion
fade: Fade in/out
reverb: Add reverb
norm: Normalize
speed: Change speed
pitch: Shift pitch
equalizer: EQ adjustment
compand: Compression
CAVEATS
Some formats need external libraries. Complex effects chains can be slow. Quality depends on parameters. Some effects modify duration.
HISTORY
SoX was started by Lance Norskog in 1991 and has been developed by many contributors. It became the Swiss Army knife of audio processing on Unix systems.
