What Is ReplayGain and How Does It Work?

A brief look at a non-destructive way to normalize audio "loudness."

MP3Gain - Normalize MP3 screenshot

ReplayGain is a standard developed to measure or compare the loudness of digital audio files. It is intended to normalize audio data in a non-destructive way, allowing users to listen to digital music libraries without having to worry about major volume fluctuations between songs.

Traditionally, to normalize audio you would use an audio editing program to physically alter the audio file; this is commonly achieved by re-sampling volume peaks, but this technique isn't very good for adjusting the perceived "loudness" of a recording.

ReplayGain software stores information in the audio file's metadata header rather than directly affecting the original audio information. This metadata allows audio players and sound systems that support ReplayGain to automatically adjust the volume to the correct level.

How Is ReplayGain Information Created?

ReplayGain information is stored as metadata in a digital audio file in order for the sound to be correctly played at the right level of loudness. A complete audio file is scanned by a psychoacoustic algorithm to determine the loudness of the audio data. A ReplayGain value is then calculated by measuring the difference between the analyzed loudness and the desired level. Measurements of peak audio levels are taken to keep the sound from distorting or clipping.

How You Can Use ReplayGain

Using ReplayGain can enhance the enjoyment of your digital music library. Here are some ways you can use ReplayGain:

  • Software media players: Some software media players—such as Winamp, Foobar2000, and VLC Media Player—have built-in support for ReplayGain. This is probably the most common way people use ReplayGain.
  • Music management software: If you have a large collection of MP3s and use a media application for managing your library (like MediaMonkey), you may have built-in support for ReplayGain built in.
  • CD/DVD Burning Software: Creating audio CDs for use with standard home entertainment equipment can be enhanced if you use burning software that supports ReplayGain. This will ensure that loudness levels of your music CDs don't fluctuate as they do when burning an audio CD normally.
  • Standalone ReplayGain Software: Applications like MP3Gain, AACGain, and others can be used to quickly apply ReplayGain values to multiple files. Using these standalone programs, you can typically normalize files singularly (track gain) or collectively (Album Gain).