Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: MP3Gain 1.2.2 Beta (Read 2599 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

MP3Gain 1.2.2 Beta

http://mp3gain.sourceforge.net/download.php

Only difference between 1.2.1 and 1.2.2 is a bug fix: when changing the gain on a file, if the file can't be changed (e.g. Winamp is currently playing the file), sometimes the tag was still being written as though the gain change was successful. Oops.

Fixed that bug, and updated all the old Geocities links in the program to the new SourceForge links.

-Glen

MP3Gain 1.2.2 Beta

Reply #1
Say, any change of getting the option to do a max no-clip gain in album mode in the cli in the near future?  (Linux user here)



Lately I have been doing the normal album gain, and progressively doing -d 1 , -d 2, etc until I find the highest albumgain level that does not introduce clipping.
"I told my psychiatrist that everyone hates me. He said I was being ridiculous - everyone hasn't met me yet." - Rodney Dangerfield

MP3Gain 1.2.2 Beta

Reply #2
Quote
Say, any change of getting the option to do a max no-clip gain in album mode in the cli in the near future?  (Linux user here)

Lately I have been doing the normal album gain, and progressively doing -d 1 , -d 2, etc until I find the highest albumgain level that does not introduce clipping.

Yeah, I can put that in. Enter a Feature Request tracker item at SourceForge so I don't forget...

In the meantime, it's not as complicated as you're making it. Do

mp3gain -o file1.mp3 file2.mp3 file3.mp3...

With the "-o" switch, the last line of output will show all the album information, including the current max amplitude (fourth tabbed column).
To get the max no-clip gain, just plug that max amplitude into this formula:

g = 4 * log2 (32767 / a)

where "g" is the max no-clip gain and "a" is the current max amplitude.
That's log base 2, by the way, not log base 10. If you don't have a handy log2 function on your calculator, you can get it by using this formula:

log2 x = log x / log 2

where "log" is any log function (log base 10, ln, etc.)

ANYhow, then do

mp3gain -g (g) file1.mp3 file2.mp3 file3.mp3...

where that "(g)" is the g you calculated.

Follow all that?

-Glen