The "replaygain" package has classes to normalize an audio track to a specific volume, and to manage a simple database of stored normalizations