sox input.wav output.wav vol 0.5

Category: Media & Conversion

sox input.wav output.wav vol 0.5

Change volume by a factor

Scales the volume by the given factor: 0.5 halves it and 2.0 doubles it. vol multiplies the sample amplitude directly, so values over 1.0 can clip, meaning the waveform distorts. For decibel-style changes use gain.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.