Show command help.
Activates album mode, in which the album gain (sometimes called the audiophile
gain) is calculated in addition to the track gain (sometimes called the radio
|-g n, --album-gain=n||
Sets the album gain value to use. Default is to calculate it, if
-a is specified. Implies
-a in the sense that the album gain tag is written. This is a relative value, in
dB, specifying the
change in volume that should be applied.
Remove any ReplayGain tags from the specified files. If a file does not
contain any ReplayGain tags, the file is not modified.
Convert old format ReplayGain tags to a new format (see section TAG FORMAT
below for details). If a file does not contain all ReplayGain tags that are
needed for a conversion, the file is not modified. The album peak tag is
only created if
-a is specified, and the album gain value is then checked for concistency.
Otherwise any album gain is converted without any checks.
Display the result only; do not write anything to disk. This applies to all
Only calculate the gain for files that do not contain all replay gain tags
needed (the album gain and peak tags are only considered if
-a has been specified).
Only display results, but dont show progress in percentages and times. This
can be useful if the output is piped into other programs.
Do not display any output while processing. Only error and warning messages will
Enter directories (recursively) and search for files, if directories or file
patterns are specified.
Note: Only available if
vorbisgain was configured with --enable-recursive.
Sliently skip any non-Vorbis files found. Vorbis files that cant be processed
for some reason are skipped as well, though not silently. Default is to stop
when such files are encountered.
Display the version of the program.
Simplest version. Calculate the track gain and peak only.
Note that the following examples are only possible if vorbisgain was configured with --enable-recursive.
Calculate the album gain and peak, in addition to the track gain and peak, for all .ogg files in the directory "music" (and all subdirectories). All files in one directory are treated as belonging to the same album. Files that already have ReplayGain tags are not re-calculated. Note the quotes, as they cause the shell to not do any filename globbing:
vorbisgain -a -f -r "music/*.ogg"
Calculate the album gain. The files specified before the directory "album" are treated as one album, the files in the directory "album" as another album and the remaining files as a third album:
vorbisgain -a -r a.ogg b.ogg c.ogg album d.ogg e.ogg f.ogg
Remove all replaygain tags from a collection of oggs:
vorbisgain -c -r "music/*.ogg"
vorbisgain creates tags like these (when in -a mode):
REPLAYGAIN_TRACK_GAIN=-7.03 dBREPLAYGAIN_TRACK_PEAK=1.21822226REPLAYGAIN_ALBUM_GAIN=-6.37 dBREPLAYGAIN_ALBUM_PEAK=1.21822226
Gain specifies how much the volume should be changed before playback, in dB. Peak is the maximum sample value of the file before any gain has been applied, where 1.0 means "full sample value" (32,767 when decoding to signed 16 bit samples).
Earlier versions of vorbisgain (before 0.30) created the following tags:
When -c is used, RG_RADIO is converted to REPLAYGAIN_TRACK_GAIN, RG_PEAK to REPLAYGAIN_TRACK_PEAK, RG_AUDIOPHILE to REPLAYGAIN_ALBUM_GAIN and REPLAYGAIN_ALBUM_PEAK is calculated as the maximum of all RG_PEAK tags in the album.
Program Code: Gian-Carlo Pascutto <firstname.lastname@example.org>
Magnus Holmgren <email@example.com>
ReplayGain Analysis Code: Glen Sawyer <firstname.lastname@example.org>
Frank Klemm (http://www.uni-jena.de/~pfk/)
Man Page: Magnus Holmgren <email@example.com>
http://sjeng.org/vorbisgain.html Home page for VorbisGain. The latest version, and a Windows executable, can be found here.
http://www.replaygain.org/ Contains detailed information about ReplayGain and how it is calculated.
http://www.hydrogenaudio.org/ Discussion forum for audio compression and related issues, including Ogg Vorbis and VorbisGain.
|VORBISGAIN (1)||2004 Jan 3|