sox input.wav output.wav pad 1 2

Category: Media & Conversion

sox input.wav output.wav pad 1 2

Add silence at both ends

Adds 1 second of silence at the start and 2 seconds at the end. The pad effect inserts silence at any position, and omitted positions mean the beginning and end of the audio. Use delay for channel-specific padding.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.