Hi, I made an account here to post this bug that's been killing me.
Maybe I'm delusional but none of these commands work as expected (or advertised).
/k - automatically lower Track/Album gain to not clip audio
/m <i> - modify suggested MP3 gain by integer i
/d <n> - modify suggested dB gain by floating-point n
Examples: As shown below, the baseline result for 89dB = -12.130000
>mp3gain /s r "SNSD - Gee.mp3"
Recommended "Track" dB change: -12.130000
Recommended "Track" mp3 gain change: -8
Max PCM sample at current gain: 38378.265261
Max mp3 global gain field: 192
Min mp3 global gain field: 93
Recommended "Album" dB change for all files: -12.130000
Recommended "Album" mp3 gain change for all files: -8
But, -12.130000dB is too quiet, so I tried this:
>mp3gain /d 9 /s r "SNSD - Gee.mp3"
Recommended "Track" dB change: -3.130000
Recommended "Track" mp3 gain change: -2
Max PCM sample at current gain: 38378.265261
Max mp3 global gain field: 192
Min mp3 global gain field: 93
Recommended "Album" dB change for all files: -3.130000
Recommended "Album" mp3 gain change for all files: -2
-3.130000dB seemed like a good value, but when I checked the taginfo on the mp3 file itself, I found the replay gain was still -12.130000dB along with the resultant very quiet sound levels. Same goes for when I used the /m switch.
So I gave up on that and tried:
>mp3gain /r /k "SNSD - Gee.mp3" (also tried the /a /k switches)
SNSD - Gee.mp3
Applying mp3 gain change of -8 to SNSD - Gee.mp3...
Then I turned off the Winamp Replaygain feature in order to simulate a non-replaygain player -- one of the reasons mp3gain was created. I still got the sound levels corresponding to -12.130000dB. This doesn't make sense because the /k switch is suppose to reduce the sound level only up to the level of eliminating clipping.
Here's what the file looks like in the GUI:
From the above picture, my understanding from the docs was that the "/r /k" switch (or "/a /k") should have only changed the volume by -1.5dB.
So, if I'm not crazy, the "/m" and "/d" switches don't work in combination of the "/s r" switch, which I think is a bug. And also, the "/k" switch doesn't seem to be working properly either.
I'm new at this so I'm most likely wrong. If this is not a bug, some help please, it's killing me. Oh, I also tried manually changing by hand the REPLAYGAIN_TRACK_GAIN to -3.130000 in the APE tag which gave ok results, but this is not optimal since I don't know how to calculate the other variables such as MP3GAIN_MINMAX and REPLAYGAIN_TRACK_PEAK.