Hi everyone.
To summarize the Replay Gain situation (so I can ask for help in the areas that need it most)
The following formats now have some kind of Replay Gain support: mp3, mpc, ogg, wav.
mp3:
The "Lame Tag" include Replay Gain information, but nothing reads it.
mp3gain directly applies the suggest Radio gain adjustment to the file, and comes with a nice Windows GUI.
http://www.hydrogenaudio.org/forums/showth...hp?threadid=739
WHAT'S NEEDED: player support; a way of storing the RG values in files WITHOUT the lame tag (e.g. ID3v2 support).
mpc:
Frank's new encoder and decoder support Replay Gain, and a separate command-line utility calculates the correct values to store in mpc file. Frank's winamp plug-in read the Radio gain and applies it.
http://www.uni-jena.de/~pfk/mpp/#replaygain
WHAT'S NEEDED: a nice GUI?
ogg:
Garf has just announced support.
http://www.hydrogenaudio.org/forums/showth...s=&threadid=750
WHAT'S NEEDED: not sure
wav:
There's been a DOS utility to calculate the appropriate RG for months, and a definition of how it should be stored. There is no software to read or write RG to .wavs though.
WHAT'S NEEDED: everything
In addition, Media Jukebox 8 (currently in BETA) includes Replay Gain, but stores the adjustments in its music library, rather than the files themselves.
There are three problems, which probably need solving in this order:
1. Each format is storing the Replay Gain adjustments in the file in different ways. I haven't been able to keep up with this (I don't have the details for mpc and ogg), but would like to get the (agreed) data structures for each format documented on the RG site, so that others can write decoders and editors to handle the RG values. I'll try and chase this step up myself - but once I've got the current implementations documented, I need people to check the data formats for obvious problems before declaring them "official".
2. If a player is going to handle Replay Gain properly and consistently across all formats, how should this be done? The obvious answer is to have a single RG control panel, where you can edit the stored values (if needed), set the pre-amp level etc etc. However, at the moment, each format's individual Winamp plug-in is handling the RG adjustment for each format. Hands up who programs with Winamp? How can the plug-ins pass the RG values into a separate RG plug-in which does the processing?
So, in_mpc reads the RG values, and passes them to dsp_rg. dsp_rg acts upon them (if it's enabled). If required, the values can be changed from dsp_rg and written back to the original file. alternatively, in_mpc just ignores the RG values, and dsp_rg reads them from the file directly. Not sure which is better. Ideas?
3. What would be very nice would be ONE program (preferably with a nice GUI) to set the Replay Gains for all file formats. It should be able to calculate the appropriate RG values, store them in the file OR adjust the file directly (this would user selectable). Thus is would contain a decoder for each format, the replay gain calculation, knowledge of where to store the RG values for each format, and (as a user selectable option) the functionality of mp3gain - to just apply the Radio Gain adjustment.
If there are any programmers out there looking for an interesting project, I've just given you two posiblities!
As always, any comment are welcome.
Cheers,
David.
http://www.replaygain.org/