if its too loud, turn it down

Friday, November 5, 2010

Adjust volume on an entire mp3 collection with mp3gain/aacgain

This command will adjust the audio so that the gain is roughly the same on an entire mp3 music collection. In other words, makes it so the output volume on different tracks is the same to your ears. It is assuming you have mp3gain/aacgain installed.

You'd have to be feeling pretty gamey to do this. Having said that, the risk is fairly low since no actual changes are being made to the mp3 itself, just the metadata (it's reversible).

find . -name *mp3 -exec mp3gain -a -k {} \;