I'd like to have my whole music collection playing at the same level. The answer is of course the album (aka audiophile) mode of replay gain. Now, the problem is that my collection consits of files encoded with few different codecs such as MusePack, Vorbis, MP3 and FLAC.
My platform is Linux x86
I have no doubts with Ogg/Vorbis and FLAC as the support for replaygain in these formats seems quite native and fully reversible (it's just some info stored in tags), and
what's also crucial, XMMS (the player) respects these settings and plays files at expected volume.
I'm also pretty sure that ReplayGain doesn't do any harm (just stores a tag) to MPC files as in the same file before and after applying replaygain only some starting bytes are different (stripping first 1KB makes them identical).
Now the doubts, questions and dillemas: replaygain and mp3. There are two tools having sth to do with rg: normalize and mp3gain.
normalize
It's surely safe as its manpage says:
QUOTE
MP3 files are "adjusted" by setting a relative volume adjustment frame in their ID3 tags. There is a frame for this, called "RVA2", that does exactly what we want, and is a native frame in ID3v2.4.
It's also convenient as there's XMMS plugin which takes advantage of those RVA tags and sets the output volume. Also madplay respects them saying "id3: -14,4 dB relative volume adjustment (normalize)".
On the other hand, there's quite a major drawback: it doesn't really work as expected. While tools for other formats (vorbisgain, metaflac and ReplayGain) produce very similar sound levels, normalize by default (normalize -b *.mp3) sets the volume way higher so mp3 albums are much louder. There seems to be a way to adjust it:
QUOTE
-a, --amplitude=AMPLITUDE
Adjust the RMS volume to the target amplitude AMPLITUDE; must be between 0.0 and 1.0. If a number suffixed by "dB" or "dBFS" is specified, the amplitude is assumed to be in decibels from full scale. The default is -12dBFS.
Adjust the RMS volume to the target amplitude AMPLITUDE; must be between 0.0 and 1.0. If a number suffixed by "dB" or "dBFS" is specified, the amplitude is assumed to be in decibels from full scale. The default is -12dBFS.
but after a while of experimenting I wasn't able to come up with a setting which would fit with other replaygainers.
mp3gain
It does the thing - sound level is same as with vorbisgain etc.
It has a great advantage - every player seems to "support" it. But this advantage makes me suspicious.
Although mp3gain ought to be trustworthy (mentioned at replaygain.hydrogenaudio.org), I have some doubts about its losslessness (nice word
I found some topics on this forums where people had similar thoughts but there never was a final answer I guess.
Anybody to answer my doubts?
ps. cmdline options used (are they proper?):
mpc: ReplaiGain 0.81d --auto
ogg: vorbisgain v0.34 -a
mp3: mp3gain 1.4.3 -a
flac: metaflac 1.1.0 --add-replay-gain