Follow us on Twitter

Can You Losslessly Increase the Volume of MP3 Files?


can-you-losslessly-increase-the-volume-of-mp3-files-00

There are few things as frustrating as listening to your favorite music and suddenly having one or more songs play at a lower volume. Is there an easy way to fix the volume problem without sacrificing quality? Today’s SuperUser Q&A post helps a frustrated reader solve his volume problems.

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

The Question

SuperUser reader user602675 wants to know if it is possible to losslessly increase the volume of mp3 files:

I want to increase the volume of some mp3 files that I have. Are there any methods of doing this in a lossless way without recompressing the mp3 files and thus decreasing their quality?

Can you losslessly increase the volume of mp3 files?

The Answer

SuperUser contributor Mokubai has the answer for us:

Yes, you can do this. The technique is used by a number of programs and the levels are calculated by an algorithm called ReplayGain. MP3 volume level data can be adjusted losslessly, just as a JPEG picture can be losslessly rotated. There are two methods:

  1. Calculate the volume level of the file and add a new tag, letting compatible programs adjust the volume on the fly.
  2. Calculate the volume level and adjust a multiplier level in the mp3’s data.

From HydrogenAudio (Implementations):

can-you-losslessly-increase-the-volume-of-mp3-files-01

The second method does alter your file, but because the underlying data is not modified it loses no quality, hence the adjustment can be done losslessly. It is not generally recommended for your main collection as it is modifying the files from their original state, but it can be very useful for portable media players.

A program called MP3Gain can perform the second option and reversibly adjust the volume of mp3s. It does absolutely no re-encoding and simply adjusts magnitude values in the mp3 file itself to change the volume.

From HydrogenAudio (ReplayGain):

can-you-losslessly-increase-the-volume-of-mp3-files-02

Due to the way mp3 files are encoded, the adjustment is limited to 1.5dB steps, which is usually enough to get close. Foobar2000 also includes this functionality and can apply the changes to the files.


Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

Image Credit: uzi978 (Flickr)

Akemi Iwaya is a devoted Mozilla Firefox user who enjoys working with multiple browsers and occasionally dabbling with Linux. She also loves reading fantasy and sci-fi stories as well as playing “old school” role-playing games. You can visit her on Twitter and .


You Can Use Philips Hue Bulbs without a Hub
How to Use Spotify with the Google Home

Comments

comments