I was playing my first MPC file, and I noticed that the plugin for winamp comes with ReplayGain support built in. I have never used ReplayGain (i use mp3trim to prevent clipping), and I was wondering something...
Would it be possible to have the plugins that understand ReplayGain also calculate the values? For example, if I play the file all the way thru, the plugin could keep the peak it sees, etc, and then write it back to the file. That way, even if you don't have the ReplayGain program installed, you could benefit from its functions.
Of course, if the user seeks around the file or just does not play the whole thing, the data wouldnt be accurate. If only one file is played, the Radio gain could be set, and if a playlist is used (and all the Album entries in the tag are the same) then the Ablum gain could be set.
Anyway, just a thought. I was thinking the same thing about MP3s and other formats... the first time you play it there might be some clipping or other nasties, but after that, all the data can be written back and the second and future times the file would play perfectly.