I'm starting this topic here since it seems to be foobar-related and has nothing to do with aac. this is my original post in the aac forum. (couldn't find how to move a topic):
QUOTE(=trott= @ Jun 8 2005, 01:24 AM)
Hi all,
I noticed that there is a difference between using replaygain on aac files when scanning with either foobar or aacgain and then applying it using aacgain.
I have several files which were scanned with foobar and several scanned with aacgain. (using the aacgain/mp3gain gui). After scanning all files, I applied the gain change using aacgain. (so that non-foobar players will also play the files using the correct gain.)
Recently I noticed that several files were just too silent...A quick check revealed that replaygain info was indeed present. I switched to track gain to make sure I was not just listening to quiet albums...
The problem did not go away. So I re-scanned the track gain using foobar. Sure enough, I got values of between +5/+9 depending on the file. when playing them back with this new gain setting they seem ok.
So, as I understand it replaygain is a fixed formula to calculate a gain offset to the original file and as such different implementations should never give different values...(especially as aacgain is based on mp3gain which lists in its documentation that its replaygain tags are compatible with foobar's...or was it the other way around?)
Any ideas as to why this is possible? And maybe how I can quickly find all badly-tagged files without re-scanning them all?
I noticed that there is a difference between using replaygain on aac files when scanning with either foobar or aacgain and then applying it using aacgain.
I have several files which were scanned with foobar and several scanned with aacgain. (using the aacgain/mp3gain gui). After scanning all files, I applied the gain change using aacgain. (so that non-foobar players will also play the files using the correct gain.)
Recently I noticed that several files were just too silent...A quick check revealed that replaygain info was indeed present. I switched to track gain to make sure I was not just listening to quiet albums...
The problem did not go away. So I re-scanned the track gain using foobar. Sure enough, I got values of between +5/+9 depending on the file. when playing them back with this new gain setting they seem ok.
So, as I understand it replaygain is a fixed formula to calculate a gain offset to the original file and as such different implementations should never give different values...(especially as aacgain is based on mp3gain which lists in its documentation that its replaygain tags are compatible with foobar's...or was it the other way around?)
Any ideas as to why this is possible? And maybe how I can quickly find all badly-tagged files without re-scanning them all?
The last reply was by Garf:
QUOTE(Garf @ Jun 10 2005, 12:18 AM)
QUOTE(=trott= @ Jun 10 2005, 09:55 AM)
I have the impression that foobar does not use the global gain tag...
So Garf, my impression is that it's just the opposite of what you're saying...
So Garf, my impression is that it's just the opposite of what you're saying...
This is simply not possible. The global gain is not a "tag" but a value in the AAC bitstream, you cannot decode an AAC stream without interpreting it correctly.
Since you stated that other players (which most probably don't understand Replaygain tags) play it correctly and foobar plays it too silent, I stand by my statement that somehow the replaygain tags are still reflecting the old values.
Try "reload info from file" perhaps?
The problem has not been solved yet, but I noticed it also occurs with several mp3's. (I didn't notice it before since most of my rips are in aac format.)
This would eliminate both aac as a codec or aacgain as the problem, since mp3gain also gives the same problem.
Garf's suggestion did not help, I can see the replaygain values are close to 0. The problem is: when I remove that info from the file and scan again I get a much bigger value. After playing the file with that new value (and foobar's replaygain enabled) the volume is ok.
Can anyone say whether the replaygain tags in foobar and those written by aacgain/mp3gain are, in fact, at all compatible? I read someplace they are, but what I'm seeing here would suggest they are not.
