Page 1 of 1

ReplayGain status report

Posted: Fri Jan 12, 2024 5:39 am
by Midas
This is more of a quick link dump regarding ReplayGain support in modern file formats other than MP3... further input highly appreciated.
ReplayGain is a proposed technical standard published by David Robinson in 2001 to measure and normalize the perceived loudness of audio in computer audio formats such as MP3 and Ogg Vorbis. It allows media players to normalize loudness for individual tracks or albums. This avoids the common problem of having to manually adjust volume levels between tracks when playing audio files from albums that have been mastered at different loudness levels.
@ https://en.wikipedia.org/wiki/ReplayGain

Bear in mind the entry's "Portable Media Players" section is about hardware players; for software options, look a little further down...

Then there's loudgain...
loudgain is a versatile ReplayGain 2.0 loudness normalizer, based on the EBU R128/ITU BS.1770 standard (-18 LUFS) and supports FLAC/Ogg/MP2/MP3/MP4/M4A/ALAC/Opus/ASF/WMA/WAV/WavPack/AIFF/APE audio files. It uses the well-known mp3gain commandline syntax but will never modify the actual audio data. Just what you ever wanted: The best of mp3gain, ReplayGain 2.0 and Linux[!] combined.
@ https://github.com/Moonbase59/loudgain

Unfortunately, loudgain doesn't seem to be Windows compatible -- although there are instructions to run it under a Windows 10 bash shell; moreover, development appears to have stalled somewhat (v0.6.8 released 2019-09-06), so hope isn't high for a proper Windows release.

Finally, Hydrogen Audio forum has an old topic with instructions on how to make AACGain (original 2010 v1.9 available from RareWares; a more recent v2.0 exists at Github, which is a fork of the former) work with MP3Gain (and which will perhaps still work with more updated wxMP3gain) by simply replacing executables (untested!) -- something that may be worthwhile for processing MP4s:

Re: ReplayGain status report

Posted: Fri Jan 12, 2024 10:39 am
by juverax
@Midas: Thank you for researching and updating this topic :D

Re: ReplayGain status report

Posted: Mon Jan 15, 2024 11:36 am
by Midas
For the sake of completeness, some further tidbits...

First there's rsgain -- an utility I totally didn't know about -- currently in v3.4 released 2023-09-12.
rsgain (really simple gain) is a ReplayGain 2.0 command line utility for Windows, macOS, Linux, and BSD. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A ReplayGain-compatible player will dynamically adjust the volume of your tagged files during playback.
@https://github.com/complexlogic/rsgain

It looks like rsgain could do the work of either VorbisGain (ogggain?) and AACGain (untested!).
VorbisGain is a utility that uses a psychoacoustic method to correct the volume of an Ogg Vorbis file to a predefined standardized loudness.
@ https://sjeng.org/vorbisgain.html

Note that the last sjeng.org VorbisGain release is v0.34 (win32); Rarewares has a v0.37, dated 2007-01-24 (see https://www.rarewares.org/ogg-tools.php#vorbisgain).

Also and although I already mentioned it above, here's blurb and link for the forked AACGain v2.0:
Modification to (gpl-v2) mp3gain program supporting aac (mpeg4) files.
@ https://github.com/mecke/aacgain

Finally, the more relevant related pages that exist in HidrogenAudio's wiki: