TheJoe.it Into the (open) source

13May/110

“Level out” the volume of our MP3 library with MP3Gain

Caution!

This article was written in the 2011, there may have been some developments in the subject matter.
If in doubt please leave a comment in the bottom of the article.
Thanks.

gain

With the brief advice today we talk about music, or rather how to simplify a perennial problem of those who have a wide libreria MP3 in which each track is ripped to a different volume.

How many times has it happened to put our MP3 player playing and having random every time tinkering with the volume because a song "save", and the other does not feel? The solution is, and is called MP3Gain. MP3Gain is a program open source whose sole purpose is leveling (the technical term is correct "normalize") the output volume of an audio file.

The interesting feature of MP3Gain is the fact that it reduces or increases the volume of MP3 files without losing quality. In practice does not compress the file a second time (MP3 is a compressed format), but analyzes the spectrum of file, and alters a small part so as to increase or decrease the volume.

MP3Gain oggi, in addition to being a very known, is easy to use (despite the command line), and were also created for GUI for a more intuitive use (JavaMP3Gain, qtGain, etc..). The program is present in the main repository, and to install it we can launch our manager download, or by using the terminal under Debian, Ubuntu and derived simply run the usual command:

sudo apt-get install mp3gain

To RedHat, Fedora e derivate, instead we will launch:

sudo yum -y install mp3gain

Despite the GUI I think the command line infinitely faster. To adjust the volume of all the files in a directory simply navigate to the directory with the terminal and run this command:

find . -type f -iname '*.mp3' -print0 | xargs -0 mp3gain -r -k

All will be normalized to an MP3 optimum volume (enough so that the speakers of the computer does not gracchino).

About

I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.