17

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?

wonea
  • 1,817
  • 1
  • 23
  • 42
andersonbd1
  • 535
  • 2
  • 7
  • 19
  • 3
    What do you want to do? Peak Normalize the files? Replay-Gain the files? Amplify them by an arbitrary level you choose? – slhck Aug 16 '11 at 14:19
  • 1
    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? – andersonbd1 Aug 16 '11 at 14:23

2 Answers2

20

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.

slhck
  • 223,558
  • 70
  • 607
  • 592
  • So the answer is that there's no way to do with with Audacity? – Mooing Duck May 04 '15 at 23:47
  • 1
    It seems to be quite easy; see my updated post. – slhck May 05 '15 at 07:18
  • 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. – Chris Prince Sep 12 '15 at 01:11
  • @ChrisPrince What part are you talking about exactly? The one using Audacity? It should be able to do that: http://manual.audacityteam.org/index.php?title=AAC_Export_Options – slhck Sep 12 '15 at 21:15
  • 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. – m3nda Nov 20 '19 at 00:34
  • Audacity moved and renamed chains (maybe in 2018), it's now called Macros and it's under Tools. – Dave Noonan Jul 25 '20 at 18:56
  • That MacMP3Gain link is dead. I found this alternative project which might be the same thing updated for new computers: https://projects.sappharad.com/mp3gain – derpedy-doo Jun 16 '21 at 13:25
  • @electrovir Thanks for the pointer, link replaced. – slhck Jun 17 '21 at 11:51
-1

MP3-Audio-Editor-v9.0.7

Batch converter > add files or folder > next > add command > amplify

  • 1
    Welcome to Super User! Please read [How to recommend software](https://meta.superuser.com/a/5330/213131) 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. – I say Reinstate Monica Dec 30 '17 at 19:33