sox input.wav output.wav silence 1 0.1 1%

Category: Media & Conversion

sox input.wav output.wav silence 1 0.1 1%

Trim leading silence from a recording

Removes silence at the start of the recording: above-periods 1 means trim until sound begins, 0.1 is how long the silence must last, and 1% is the volume threshold treated as silence. Combine with reverse to also trim the end.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.