sox input1.wav input2.wav output.wav

Category: Media & Conversion

sox input1.wav input2.wav output.wav

Concatenate audio files

Appends input2.wav to input1.wav into a single output file. Both files must have the same sample rate and channel count or sox errors out, so resample first with the rate effect. Concatenation is sox's default combining method.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.