
SoX: How to Add Reverb to Audio
Updated
Learn how to add reverb to an audio file using SoX

Before we start, make sure you have SoX installed on your computer and your audio file ready in a folder. On a Mac, you can install it with Homebrew:
brew install sox
Add Reverb
First, open your terminal and navigate to the folder with your audio file using cd. To add reverb with the default settings, run this command:
sox input.wav output.wav reverb
Just remember to replace input.wav with your actual file name and output.wav with the name you want for the new file. For a short clip, this finishes almost instantly, and don't worry if you don't see a success message.
Customize the Reverb
Reverb adds reflections, which can make a file louder, so add the -G flag right after sox to prevent clipping. You can also add up to six numbers after reverb to shape the sound. Here are the first three:
sox -G input.wav output.wav reverb 80 30 100
In this example, 80 is the reverberance, which sets how long the reverb lasts, 30 is the high frequency damping, and 100 is the room size. Each one goes from 0 to 100.
To make sure everything worked, run play output.wav to listen to the new file right from your terminal.
If you want only the reverb with none of the original sound, just add -w after reverb:
sox input.wav output.wav reverb -w
