Bug in album-replaygain scanning 48Khz mp3's? I have an album that scans correctly except for one track, but only on the album scan.. if i scan it for per-track gain it finishes and writes the values to the file, but if i select 'scan as album' it encounters an error on that file and stops. The problem file is a 48kHz 128kbps MP3, joint-stereo, padding size 1 byte, frame size 1 152 samples (if that's any help; I think that's the only 48kHz file I've tried to replaygain yet). There appear to be two synch errors at the very end of the file (MP3Utility [http://www.geocities.com/mp3utility/] reports one at 99%, which could actually be the APE tag, mp3utility is oldish; the MAD winamp plugin reports 2 of them just before playback stops; foobar's console doesn't report anything. There is no audible defect in the file in any player.). Upon trying this with a different file, also 48kHz but 160kbps this time, the same thing happened: the file scans properly in per-track scan, but the scan process encounters an undescribed error in the last part of the file if I try to scan it as part of an album, which leads me to wonder if it's a generic problem with 48kHz files... this second file also had a synch error at the very end, so in the interests of controlled experiments I went & found a utility for fixing such errors. I found something called MP3Fixer [http://www.nomadness.feck.net/MP3FIXER.zip] and ran it on the file.. it said that there were no synch problems but chucked some bytes out of the file anyway. Tried the replaygain scan again, same "An error occurred while processing files", so it would seem to be 48kHz that sets it off (I've known it to be ok with synch errors in files of other samplerates). here's what the console has to say about it:INFO (CORE) : attempting to edit file info : file://M:\The Doors - (Self-titled) The Doors - Take It As It Comes.mp3 INFO (CORE) : file info update successful on : file://M:\The Doors - (Self-titled) The Doors - Take It As It Comes.mp3 WARNING (foo_input_std) : mpeg stream error at 2762710 bytes, attempting resync INFO (foo_input_std) : mpeg stream resync successful (the total filesize is only 2 152 308 bytes, so that console output is kind of weirdish... also, that warning doesn't show up when I play the file, only when I'm replaygaining it) Does anyone know the exact calculation foobar uses for the album replaygain scan? I exported the replaygain numbers for some other albums (ones that scanned correctly) into a spreadsheet to see if I could find a calculation for the album gain based on the individual track gains (and fill in the values for that pesky file myself), with no luck yet. The closest I've gotten is to take the average [mean] of the track gain values and subtract half a standard deviation, but that doesn't seem to be quite it :P Note: scanning as album does seem to work when I only scan the one 48kHz file -- but not much point to that :) ach.. sorry this is so long... I'm trying to be thorough :P