How to increase volume on multiple MP3s at once?

40,114

There are different types of gain control:

  • Peak normalization will search for the part of the file with the highest amplitude, amplify the file to the loudest level possible and then amplify the rest accordingly. It's a pretty "stupid" technology in the sense of not making use of any psychoacoustics.
  • Loudness normalization which brings the clip to a perceived loudness. EBU-R 128 is a standard that is used primarily in the broadcasting industry, and using it makes sure that all TV programs, for example, sound equally loud. (Mostly, except for ads maybe.)
  • ReplayGain is an algorithm that analyzes the files on a psychoacoustic basis and amplify them accordingly, so they all have the same perceived loudness.

Using ffmpeg-normalize

(Disclaimer: I am the author of the program)

You can install a program called ffmpeg-normalize; all you need is Python and ffmpeg installed, then:

pip install ffmpeg-normalize

Now you can run:

ffmpeg-normalize *.mp3 -c:a libmp3lame -b:a 320k

This will loudness-normalize all MP3 files to a given target, and write them to the normalized folder.

I do not recommend doing this for your music collection though, as with MP3s you would have to re-encode all files and may lose quality in the process. Rather apply ReplayGain (see below).

Batch-Normalization with Audacity

If you want to normalize using the Audacity feature, you can do so using the Macro functionality. You can find an example Macro on this page.

Similarly, I would not recommend doing this if you could use ReplayGain.

ReplayGain

I assume you are on Windows, but this works for OS X as well:

What does it do?

MP3Gain analyzes and adjusts mp3 files so that they have the same volume.

MP3Gain does not just do peak normalization, as many normalizers do. Instead, it does some statistical analysis to determine how loud the file actually sounds to the human ear.

It will analyze your files and make them as loud as possible, thereby equalizing all of them in terms of loudness. So normally, it should be enough to let this run on your library. MP3Gain includes a batch option for your convenience. They will not be re-encoded during this process and therefore not lose quality.

However, your car audio would need to support it. Try it out and let me know if it's not working.

Share:
40,114

Related videos on Youtube

lucas
Author by

lucas

Updated on September 18, 2022

Comments

  • lucas
    lucas almost 2 years

    I know how to use Audacity to increase the volume of one MP3 at a time. What I have is a folder of audio files and I'd like to increase the volume of all of them without the need to open each one separately in Audacity.

    Any good solutions out there?

    • slhck
      slhck almost 13 years
      What do you want to do? Peak Normalize the files? Replay-Gain the files? Amplify them by an arbitrary level you choose?
    • lucas
      lucas almost 13 years
      hmmm - my ignorance shines through - I'm not sure. They are quiet and I can't hear them in my car. I just want them louder. What would that be?
  • Mooing Duck
    Mooing Duck about 9 years
    So the answer is that there's no way to do with with Audacity?
  • Chris Prince
    Chris Prince almost 9 years
    Good, but there seems to be no way to save the files in other than a limited set of formats. I need to save in .m4a and seems to be no way to do that.
  • slhck
    slhck almost 9 years
    @ChrisPrince What part are you talking about exactly? The one using Audacity? It should be able to do that: manual.audacityteam.org/index.php?title=AAC_Export_Options
  • I say Reinstate Monica
    I say Reinstate Monica over 6 years
    Welcome to Super User! Please read How to recommend software for minimum required information and other suggestions on how to recommend software on Super User. To keep your answer useful even if the provided link(s) breaks please edit these details into your answer.
  • m3nda
    m3nda over 4 years
    I can't see Audacity's option File -> Edit chains. On my version (windows, last build) the option is inside Macros. Inside you can see an already-made macro for normalization. Just select files then ready to go.
  • Dave Noonan
    Dave Noonan almost 4 years
    Audacity moved and renamed chains (maybe in 2018), it's now called Macros and it's under Tools.
  • electrovir
    electrovir about 3 years
    That MacMP3Gain link is dead. I found this alternative project which might be the same thing updated for new computers: projects.sappharad.com/mp3gain
  • slhck
    slhck about 3 years
    @electrovir Thanks for the pointer, link replaced.