I like to use volume-adjusted playback on my Squeezebox Touch to make all albums have roughly the same volume level. I'd found a good script to scan all of my FLAC files and tag them with ReplayGain information, but AAC and MP3 files were a bit more of a pain, and scanning of new files was a bit laborious.
I've put together a utility that takes the chore out of all this. Simply drag folders onto the icon and supported audio files (FLAC, MP3, AAC) are checked, and if there is no (consistent) Album Gain, it will be computed using the standard tools for the job (the official metaflac tool for FLAC files, and aacgain for AAC and MP3 files).
I'v tested this with my music collection of around 24,000 files (which are 75% FLAC, and the rest MP3 or AAC). Everything worked very well... the files that the scanner had problems with turned out to be corrupt in some way. It is not too time-consuming to rescan an already scanned hierarchy either, it just reports the gain and moves on.
Two versions are included: the standard version will skip already scanned files, and the "Full Rescan" version will ignore any previous values and recompute.
Squeezebox Server correctly reads all the gain information, as does my computer player, Clementine. Apple's iTunes has its own scheme, "Soundcheck".
I hope this will be useful to others. It is released under the GNU Public License Version 3. In particular:
I hope this will be useful to others. It is released under the GNU Public License Version 3. In particular:
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.