Bruce Fitzsimons wrote:
Rob Leslie wrote:
On Mar 31, 2004, at 12:01 AM, Bruce Fitzsimons wrote:
I'm about to launch into a debugging session to see why mp3gain (http://mp3gain.sourceforge.net/ ) and madplay 0.15.1b don't seem to be playing together (no pun intended). I thought I'd ask if anyone has used the two together yet, or if there is another linux-based replaygain processor (for adding replaygain to existing mp3s) that is more reliable.
map3gain does appear to be adding a tag, as it finds it again if rerun over the same file.
I'll see what improvements I can come up with.
I've put together a quick test based off minimad and the gain_analysis.[ch] from the mp3gain source. Although it uses a Pink Noise 64.82 dB value (I think) rather than the mandated 83 dB. Sigh.
I will turn it into a command line tool, is there any interest in such a thing? Any better suggestions for the replaygain algo (the math looked a bit daunting)?
Out of interest Rob, do you know why I would have had to multiply the libmad output by 2^15 (after mad_f_todouble) to make it equivalent to the (slightly hacked) lame output?
/Bruce