<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Complexlogic</id>
	<title>Hydrogenaudio Knowledgebase - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Complexlogic"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Special:Contributions/Complexlogic"/>
	<updated>2026-04-29T01:18:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=37718</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=37718"/>
		<updated>2024-02-28T04:03:07Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Update for v3.5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|300px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 3.5&lt;br /&gt;
| stable_release_date  = 2024-02-25&lt;br /&gt;
| operating_system     = Windows, macOS, Linux, BSD, Android&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2.0]] tagging utility for Windows, macOS, Linux, BSD, and Android. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is designed with a &amp;quot;batteries included&amp;quot; philosophy, allowing a user to scan their entire music library without requiring external scripts or other tools. It aims to strike the perfect balance between power and simplicity by providing multiple user interfaces. See [[#usage|Usage]] for more information.&lt;br /&gt;
&lt;br /&gt;
rsgain is the backend for the MusicBrainz Picard ReplayGain 2.0 plugin. Users that are not comfortable with command line interfaces may prefer this method since the plugin provides a GUI frontend to rsgain. See [[#MusicBrainz_Picard_Plugin|MusicBrainz Picard Plugin]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choice. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of the path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is a Homebrew formula available for macOS users. Make sure you have Homebrew and the latest available Xcode installed. Execute the following command to install:&lt;br /&gt;
&lt;br /&gt;
{{code|brew install complexlogic/tap/rsgain}}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on Debian Bullseye and later, Ubuntu 21.04 and later. There is also a .rpm package for Fedora users. An [https://aur.archlinux.org/packages/rsgain-git AUR package] is available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
===FreeBSD===&lt;br /&gt;
Available via ports tree or using packages (2023Q1 and later) as listed below:&lt;br /&gt;
{{code|cd /usr/ports/audio/rsgain &amp;amp;&amp;amp; make install clean}}&lt;br /&gt;
{{code|pkg install rsgain}}&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[Musepack]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[AIFF]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
* [[TAK]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain contains two separate user interfaces: Easy Mode and Custom Mode. The distinction between the two modes is rooted in the history of ReplayGain utilities. &lt;br /&gt;
&lt;br /&gt;
Legacy ReplayGain tagging utilities such as mp3gain did not support recursive directory-based scanning. The user was required to manually specify a list of files on the command line, preceded by options which were numerous and complex. This interface provided a lot of power and flexibility, but it wasn&#039;t particularly user friendly. Performing a full library scan typically required the user to supplement the program with a wrapper script that traversed the directory tree and detected the files.&lt;br /&gt;
&lt;br /&gt;
rsgain&#039;s Easy Mode &#039;&#039;is&#039;&#039; that wrapper script; the functionality is built-in to the program. In Easy Mode, the user simply points the program to their library and it will be recursively scanned with all recommended settings enabled by default. &lt;br /&gt;
&lt;br /&gt;
The legacy-style interface has been retained as &amp;quot;Custom Mode&amp;quot; for users that require a higher level of control. Custom Mode is mostly used for scripting.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
Easy Mode assumes that you have you have your music library organized by album, so that each album is contained in its own folder. The album gain calculations rely on this assumption. If you do not have your music library organized by album, you should disable the album tags because the calculated values will not be valid. rsgain ships with a scan preset which can disable the album tags for you; invoke it with {{code|-p no_album}}. See the [[#Scan_Presets|Scan Presets]] section for more information about how the scan preset feature works.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must not exceed the number that your CPU supports. For example, if you have a CPU with 4 threads:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know how many threads your CPU has, you can also specify {{code|-m MAX}} and rsgain will use the number provided by your operating system. This is useful for writing scripts where the hardware properties of the target machine are unknown.&lt;br /&gt;
&lt;br /&gt;
Parallel scan jobs are generated on a &#039;&#039;per-directory&#039;&#039; basis, not a per-file basis. If you request 4 threads but there is only 1 directory to scan, a single thread will be working and the other 3 will sit idle the entire time. Multithreaded mode is optimized for scanning a very large number of directories. It is recommended to use multithreaded mode for full library scans and the default single threaded mode when incrementally adding 1 or 2 albums to your library.&lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see a 50-80% reduction in total scan time, depending on your hardware, settings, and library composition.&lt;br /&gt;
&lt;br /&gt;
====Skip Files with Existing Tags====&lt;br /&gt;
rsgain has an option which will skip files with existing ReplayGain information, invoked by passing {{code|-S}} or {{code|--skip-existing}}. When enabled, rsgain will check whether the given file has a {{code|REPLAYGAIN_TRACK_GAIN}} tag, and skip scanning any files that do. If album tags are enabled, the files in the list will be judged collectively, i.e. if a single file is missing ReplayGain info, then all of them will be scanned.&lt;br /&gt;
&lt;br /&gt;
This feature merely checks for the existence of the tags, and does not verify that the tags are complete, and are compatible with your current settings, e.g. target loudness. You should use this feature only if you are confident in the integrity of the files in the directory to be scanned. It&#039;s generally not a good idea to run this on files that you&#039;ve recently download from the internet, which may have pre-existing ReplayGain information that was tagged by a different scanner.&lt;br /&gt;
&lt;br /&gt;
====Logging====&lt;br /&gt;
You can use the {{code|-O}} option to enable scan logs. The program will save a tab-delimited file titled {{code|replaygain.csv}} with the scan results for every directory it scans. The log files can be viewed in a spreadsheet application such as Microsoft Excel or LibreOffice Calc.&lt;br /&gt;
&lt;br /&gt;
====Scan Presets====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* -18 LUFS target loudness&lt;br /&gt;
* Album tags enabled&lt;br /&gt;
* Sample peak calculations for peak tags&lt;br /&gt;
* Clipping protection enabled for positive gain values only (0 dB max peak)&lt;br /&gt;
* Standard uppercase tags for all formats&lt;br /&gt;
* ID3v2.3 tags for ID3 formats&lt;br /&gt;
* Standard ReplayGain tags for Opus files&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum compatibility with modern players. However, if you need one or more of the settings changed, you can use a preset file.&lt;br /&gt;
&lt;br /&gt;
A preset file is an INI-formatted configuration file that contains sections enclosed in square brackets, and each section contains key=value pairs that correspond to settings. The first section in a presets file is titled &amp;quot;Global&amp;quot; and contains settings that will be applied to every format. The remaining sections pertain to a particular audio format, and the settings within them will only be applied to that format. This allows the user to define settings on a per-format basis. If a setting in the &amp;quot;Global&amp;quot; section is in conflict with one in the format-specific section, the format-specific value will always take precedence.&lt;br /&gt;
&lt;br /&gt;
A preset is specified with the {{code|-p}} option, followed by the path to a preset file &#039;&#039;or&#039;&#039; a preset name. A preset name is the filename of a preset without the directory or .ini file extension; rsgain will search the default preset location(s) for the file based on your platform:&lt;br /&gt;
* On Windows, rsgain will search first in {{code|%USERPROFILE%\.rsgain\presets}}, then the folder {{code|presets}} in the same folder that contains {{code|rsgain.exe}}&lt;br /&gt;
* On Unix platforms, rsgain will search first in the user home directory: {{code|~/Library/rsgain/presets}} on Mac and {{code|~/.config/rsgain/presets}} on Linux (you need to create these directories if they don&#039;t already exist). If the requested preset name is not found in the home directory, rsgain will search {{code|&amp;lt;install prefix&amp;gt;/share/rsgain/presets}}&lt;br /&gt;
&lt;br /&gt;
For example, rsgain ships with a preset {{code|ebur128.ini}}, which will scan files based on the EBU R 128 recommendations. You can invoke this preset with {{code|-p ebur128}}. rsgain also ships with a preset {{code|default.ini}}, which is pre-populated with all of the default settings. This preset is not intended to be used directly, but rather to serve as a base for users to create their own presets. As such, it is not recommended to overwrite it. Instead, save a copy when using it as a base.&lt;br /&gt;
&lt;br /&gt;
The settings in a preset file are applied in an &amp;quot;overrides&amp;quot; fashion. In other words, any settings or formats you&#039;re not interested in can simply be deleted from the preset and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode provides a more complex command line syntax that is similar in nature to mp3gain, loudgain, and other legacy ReplayGain scanners. Only the most basic settings are enabled by default. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to write a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan and tag a short list of MP3 files with album tags enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -s i file1.mp3 file2.mp3 file3.mp3}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,      --help                Show this help.&lt;br /&gt;
&lt;br /&gt;
  -a,      --album               Calculate album gain and peak.&lt;br /&gt;
  -S,      --skip-existing       Don&#039;t scan files with existing ReplayGain information.&lt;br /&gt;
&lt;br /&gt;
  -s s,    --tagmode=s           Scan files but don&#039;t write ReplayGain tags (default).&lt;br /&gt;
  -s d,    --tagmode=d           Delete ReplayGain tags from files.&lt;br /&gt;
  -s i,    --tagmode=i           Scan and write ReplayGain 2.0 tags to files.&lt;br /&gt;
&lt;br /&gt;
  -l n,    --loudness=n          Use n LUFS as target loudness (-30 ≤ n ≤ -5).&lt;br /&gt;
&lt;br /&gt;
  -c n,    --clip-mode=n         No clipping protection (default).&lt;br /&gt;
  -c p,    --clip-mode=p         Clipping protection enabled for positive gain values only.&lt;br /&gt;
  -c a,    --clip-mode=a         Clipping protection always enabled.&lt;br /&gt;
  -m n,    --max-peak=n          Use max peak level n dB for clipping protection.&lt;br /&gt;
  -t,      --true-peak           Use true peak for peak calculations.&lt;br /&gt;
&lt;br /&gt;
  -L,      --lowercase           Write lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                                 This is non-standard but sometimes needed.&lt;br /&gt;
  -I keep, --id3v2-version=keep  Keep file&#039;s existing ID3v2 version, 3 if none exists (default).&lt;br /&gt;
  -I 3,    --id3v2-version=3     Write ID3v2.3 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
  -I 4,    --id3v2-version=4     Write ID3v2.4 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
&lt;br /&gt;
  -o d,    --opus-mode=d         Write standard ReplayGain tags, clear header output gain (default).&lt;br /&gt;
  -o r,    --opus-mode=r         Write R128_*_GAIN tags, clear header output gain.&lt;br /&gt;
  -o s,    --opus-mode=s         Same as &#039;r&#039;, plus override target loudness to -23 LUFS.&lt;br /&gt;
  -o t,    --opus-mode=t         Write track gain to header output gain.&lt;br /&gt;
  -o a,    --opus-mode=a         Write album gain to header output gain.&lt;br /&gt;
&lt;br /&gt;
  -O,      --output              Output tab-delimited scan data to stdout.&lt;br /&gt;
  -O s,    --output=s            Output with sep header (needed for Microsoft Excel compatibility).&lt;br /&gt;
  -O a,    --output=a            Output with files sorted in alphanumeric order.&lt;br /&gt;
  -p,      --preserve-mtimes     Preserve file mtimes.&lt;br /&gt;
  -q,      --quiet               Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===MusicBrainz Picard Plugin===&lt;br /&gt;
[https://picard.musicbrainz.org/ MusicBrainz Picard] is a free, cross-platform music tagging application. Picard features a robust plugin ecosystem that greatly extends its functionality. rsgain serves as the backend for the ReplayGain 2.0 plugin, which is available from the official plugins repository. Users that prefer a graphical interface over a command line interface can use this plugin to scan their music library.&lt;br /&gt;
&lt;br /&gt;
To install the plugin, navigate to the Options menu in Picard. Select &amp;quot;Plugins&amp;quot; in the sidebar, then find &amp;quot;ReplayGain 2.0&amp;quot; and click the download button. The plugin itself does not include rsgain; you&#039;ll still need to download and install rsgain separately per the [[#installation|Installation]] section for your chosen platform.&lt;br /&gt;
&lt;br /&gt;
You need to set the path to rsgain in the plugin settings. This field is pre-populated with the {{code|rsgain}} command. On Unix platforms, programs are typically installed into a directory that&#039;s already in your {{code|PATH}}, so no further action is necessary in that case. On Windows, you will need to either manually add the folder containing rsgain to your {{code|Path}} as per the installation instructions, or use the exact path to {{code|rsgain.exe}} in the plugin settings.&lt;br /&gt;
&lt;br /&gt;
To use the plugin, add files to Picard and associate them with a release (so the files are in the right window). The plugin can scan albums or individual tracks. Select one or more albums or tracks, then right click and select &amp;quot;Plugins-&amp;gt;Calculate ReplayGain&amp;quot; from the context menu. This calculates the ReplayGain information for the selected items, but does not tag the files. The new tags are available for viewing in the metadata window at the bottom. Click the save button to write the new tags to file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Easy_Audio_Sync&amp;diff=37689</id>
		<title>Easy Audio Sync</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Easy_Audio_Sync&amp;diff=37689"/>
		<updated>2024-02-09T14:11:07Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Update for v1.1.1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = Easy Audio Sync&lt;br /&gt;
| screenshot           = [[File:Easyaudiosync usage.png|300px]]&lt;br /&gt;
| caption              = Easy Audio Sync running on Linux&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2023-05-18&lt;br /&gt;
| stable_release       = 1.1.1&lt;br /&gt;
| stable_release_date  = 2024-02-08&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = Full library transcoding&lt;br /&gt;
| license              = Unlicense&lt;br /&gt;
| website              = [https://github.com/complexlogic/EasyAudioSync]&lt;br /&gt;
}}&lt;br /&gt;
Easy Audio Sync is an audio library syncing and conversion utility. The intended use is syncing an audio library with many lossless files to a mobile device with limited storage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
Easy Audio Sync is compatible with Windows, macOS and Linux.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Easy Audio Sync is compatible with Windows 10 and later. Download the installer executable from the [https://github.com/complexlogic/EasyAudioSync/releases/latest latest release on GitHub], run it, and follow the guided installation process.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
Builds are available for both Intel and Apple Silicon based Macs. Download the appropriate disk image for your hardware from the [https://github.com/complexlogic/EasyAudioSync/releases/latest latest release on GitHub] and install via drag and drop.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
Builds are available for APT-based Linux distros and Fedora [https://github.com/complexlogic/EasyAudioSync/releases/latest on GitHub]. Otherwise, you can build from source according to the provided build instructions.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Easy Audio Sync operates based on a source folder and a destination folder, where the source folder contains the primary music library, and the destination folder is the desired output location. After selecting the source and destination folders, click the &amp;quot;Sync&amp;quot; button to start the sync. The program will recreate the source&#039;s entire subfolder structure in the destination, copying or transcoding files as specified in the settings. See the [https://github.com/complexlogic/EasyAudioSync/blob/master/docs/settings.md settings documentation on GitHub] for help on configuring the program&#039;s settings.&lt;br /&gt;
&lt;br /&gt;
The stop button next to the progress bar can be used stop the sync at any time. The worker threads are allowed to finish their current file operation before quitting to avoid leaving corrupted files in the destination. Consequently, it may take several seconds after the stop button is clicked for the sync to stop. &lt;br /&gt;
&lt;br /&gt;
===Supported Formats===&lt;br /&gt;
The following audio formats are supported, per-mode:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Codec      !! Copy !! Transcode Input !! Transcode Output&lt;br /&gt;
|-&lt;br /&gt;
| [[FLAC]]        || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[ALAC]]       || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WavPack]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Monkey&#039;s Audio]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WAV]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MP3]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[AAC]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Ogg Vorbis]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Opus]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Musepack]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WMA]] || {{Yes|Yes}} || {{No|No}} || {{No|No}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Supported Encoders===&lt;br /&gt;
The following encoders are supported for transcoding&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Codec      !! Encoder(s)&lt;br /&gt;
|-&lt;br /&gt;
| MP3        || [[LAME]]&lt;br /&gt;
|-&lt;br /&gt;
| AAC        || [[Fraunhofer FDK AAC]], [[Libavcodec AAC]]&lt;br /&gt;
|-&lt;br /&gt;
| Ogg Vorbis || libvorbis&lt;br /&gt;
|-&lt;br /&gt;
| Opus       || libopus&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Transcoding]]&lt;br /&gt;
* [[Variable Bitrate]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/EasyAudioSync/ Easy Audio Sync GitHub page]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Easy_Audio_Sync&amp;diff=37675</id>
		<title>Easy Audio Sync</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Easy_Audio_Sync&amp;diff=37675"/>
		<updated>2024-01-27T17:18:29Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Update for v1.1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = Easy Audio Sync&lt;br /&gt;
| screenshot           = [[File:Easyaudiosync usage.png|300px]]&lt;br /&gt;
| caption              = Easy Audio Sync running on Linux&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2023-05-18&lt;br /&gt;
| stable_release       = 1.1&lt;br /&gt;
| stable_release_date  = 2024-01-25&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = Full library transcoding&lt;br /&gt;
| license              = Unlicense&lt;br /&gt;
| website              = [https://github.com/complexlogic/EasyAudioSync]&lt;br /&gt;
}}&lt;br /&gt;
Easy Audio Sync is an audio library syncing and conversion utility. The intended use is syncing an audio library with many lossless files to a mobile device with limited storage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
Easy Audio Sync is compatible with Windows, macOS and Linux.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Easy Audio Sync is compatible with Windows 10 and later. Download the installer executable from the [https://github.com/complexlogic/EasyAudioSync/releases/latest latest release on GitHub], run it, and follow the guided installation process.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
Builds are available for both Intel and Apple Silicon based Macs. Download the appropriate disk image for your hardware from the [https://github.com/complexlogic/EasyAudioSync/releases/latest latest release on GitHub] and install via drag and drop.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
Builds are available for APT-based Linux distros and Fedora [https://github.com/complexlogic/EasyAudioSync/releases/latest on GitHub]. Otherwise, you can build from source according to the provided build instructions.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Easy Audio Sync operates based on a source folder and a destination folder, where the source folder contains the primary music library, and the destination folder is the desired output location. After selecting the source and destination folders, click the &amp;quot;Sync&amp;quot; button to start the sync. The program will recreate the source&#039;s entire subfolder structure in the destination, copying or transcoding files as specified in the settings. See the [https://github.com/complexlogic/EasyAudioSync/blob/master/docs/settings.md settings documentation on GitHub] for help on configuring the program&#039;s settings.&lt;br /&gt;
&lt;br /&gt;
The stop button next to the progress bar can be used stop the sync at any time. The worker threads are allowed to finish their current file operation before quitting to avoid leaving corrupted files in the destination. Consequently, it may take several seconds after the stop button is clicked for the sync to stop. &lt;br /&gt;
&lt;br /&gt;
===Supported Formats===&lt;br /&gt;
The following audio formats are supported, per-mode:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Codec      !! Copy !! Transcode Input !! Transcode Output&lt;br /&gt;
|-&lt;br /&gt;
| [[FLAC]]        || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[ALAC]]       || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WavPack]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Monkey&#039;s Audio]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WAV]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MP3]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[AAC]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Ogg Vorbis]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Opus]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Musepack]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WMA]] || {{Yes|Yes}} || {{No|No}} || {{No|No}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Supported Encoders===&lt;br /&gt;
The following encoders are supported for transcoding&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Codec      !! Encoder(s)&lt;br /&gt;
|-&lt;br /&gt;
| MP3        || [[LAME]]&lt;br /&gt;
|-&lt;br /&gt;
| AAC        || [[Fraunhofer FDK AAC]], [[Libavcodec AAC]]&lt;br /&gt;
|-&lt;br /&gt;
| Ogg Vorbis || libvorbis&lt;br /&gt;
|-&lt;br /&gt;
| Opus       || libopus&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Transcoding]]&lt;br /&gt;
* [[Variable Bitrate]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/EasyAudioSync/ Easy Audio Sync GitHub page]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Download_page&amp;diff=36922</id>
		<title>Download page</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Download_page&amp;diff=36922"/>
		<updated>2023-05-25T04:47:39Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Add Easy Audio Sync to Transcoders&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;All programs mentioned anywhere in the wiki can be downloaded here.&lt;br /&gt;
See also the [[:Category:Software|Software Category]] article for more software not listed here. &lt;br /&gt;
&lt;br /&gt;
==CD Rippers==&lt;br /&gt;
===Windows===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #00A1F1; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color: #00A1F1;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | CUERipper&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://cue.tools/wiki/CUERipper here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | A secure ripper for Windows that includes Accurate Stream functionality. [https://hydrogenaud.io/index.php/board,74.0.html Forum]&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[DBpowerAMP with AccurateRip|dBpoweramp]]&lt;br /&gt;
| commercial&lt;br /&gt;
| [http://www.dbpoweramp.com/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | A secure ripper for Windows that includes Accurate Stream functionality.&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[EAC]]&lt;br /&gt;
| Free&lt;br /&gt;
| [http://www.exactaudiocopy.de/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | A secure ripper for Windows, C2 error pointers, Accurate Stream, etc.&lt;br /&gt;
|-  style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[fre:ac ]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://www.freac.org/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | &lt;br /&gt;
fre:ac is a free audio converter and CD ripper with support for various popular formats and encoders. Plus supports the CDDB/freedb online CD database which allows you query song information.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #79C753; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#79C753;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Max]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://sbooth.org/Max/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | A secure ripper for OS X that uses additional cdparanoia functionality&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[XLD]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://tmkk.pv.land.to/xld/index_e.html here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | X Lossless Decoder(XLD) is a tool for Mac OS X that is able to decode/convert/play various &#039;lossless&#039; audio files. The supported audio files can be split into some tracks with cue sheet when decoding. Can convert between many lossless and lossy formats. Plugin oriented design, for easy exchange for new encoders.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #D65076; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#D65076;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:450px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | abcde&lt;br /&gt;
| GPL&lt;br /&gt;
|[https://abcde.einval.com/wiki/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | A command-line based ripper with cdparanoia functionality&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[cdparanoia]]&lt;br /&gt;
| BSD, GPL&lt;br /&gt;
| [https://xiph.org/paranoia/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | One of the first secure standalone rippers for the Linux platform&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Grip&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://sourceforge.net/projects/grip/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | An open-source Gnome interface ripper that uses cdparanoia functionality&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Rubyripper]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://github.com/bleskodev/rubyripper here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | A secure ripper for Linux that uses additional cdparanoia functionality&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Whipper]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://github.com/whipper-team/whipper here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | A secure ripper for the Linux command-line built on cdparanoia&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==CD/DVD Writers==&lt;br /&gt;
===Windows===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #00A1F1; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#00A1F1&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:185px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:80px;&amp;quot; | Unicode&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:270px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Burrrn]] (CDA only)&lt;br /&gt;
| N&lt;br /&gt;
| Free&lt;br /&gt;
| &amp;lt;!--[http://www.burrrn.net/ here]--&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | CDBurnerXP&lt;br /&gt;
| &lt;br /&gt;
| Free&lt;br /&gt;
| [http://www.cdburnerxp.se/ here]&lt;br /&gt;
|&lt;br /&gt;
|-  &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | DeepBurner  &lt;br /&gt;
| N&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://www.deepburner.com/ here]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | InfraRecorder&lt;br /&gt;
| N&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://infrarecorder.org/ here]&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #79C753; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#79C753;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:130px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:80px;&amp;quot; | Unicode&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:310px;&amp;quot; | Description&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | DVD-Audio Tools&lt;br /&gt;
| Y &lt;br /&gt;
| GPL &lt;br /&gt;
| [http://dvd-audio.sourceforge.net/ here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Open-source DVD-Audio authoring application  &lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | FireStarter FX&lt;br /&gt;
| N &lt;br /&gt;
| Free&lt;br /&gt;
| [http://wiki.hydrogenaudio.org/index.php?title=FireStarter_FX here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Free OS X Cocoa CD writing application&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | X-CD-Roast&lt;br /&gt;
| N &lt;br /&gt;
| Free &lt;br /&gt;
| [http://www.xcdroast.org/xcdr098/xcdrosX.html here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | New OS X port of this Linux CD writing application&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Burn&lt;br /&gt;
| N &lt;br /&gt;
| Free&lt;br /&gt;
| [http://burn-osx.sourceforge.net/Pages/English/home.html/ here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Versatile CD/DVD authoring application&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #D65076; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#D65076;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:130px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:80px;&amp;quot; | Unicode&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! align=&amp;quot;center&amp;quot; style=&amp;quot;width:450px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | CDRDAO &lt;br /&gt;
| N &lt;br /&gt;
| GPL &lt;br /&gt;
| [http://cdrdao.sourceforge.net/ here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Cdrdao records audio or data CD-Rs in disk-at-once (DAO) mode&lt;br /&gt;
|- style=&amp;quot;background-color:#eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | DVD-Audio Tools &lt;br /&gt;
| Y &lt;br /&gt;
| GPL &lt;br /&gt;
| [http://dvd-audio.sourceforge.net/ here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Open-source DVD-Audio authoring application&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | GnomeBaker&lt;br /&gt;
| N&lt;br /&gt;
| GPL &lt;br /&gt;
| [http://sourceforge.net/projects/gnomebaker/ here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Popular open-source Gnome interface CD/DVD writing application&lt;br /&gt;
|- style=&amp;quot;background-color:#eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[K3b]]&lt;br /&gt;
| N&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://www.k3b.org/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Popular open-source KDE CD writing application for Linux platform  &lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | X-CD-Roast &lt;br /&gt;
| Y &lt;br /&gt;
| GPL &lt;br /&gt;
| [http://www.xcdroast.org here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | New open-source Gnome interface CD/DVD writing application&lt;br /&gt;
|- style=&amp;quot;background-color:#eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Brasero&lt;br /&gt;
| N&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://projects.gnome.org/brasero/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Brasero is a application to burn CD/DVD for the Gnome Desktop.(Gnome Default) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Multimedia Players==&lt;br /&gt;
===Windows===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #00A1F1; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#00A1F1&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! align=&amp;quot;center&amp;quot; style=&amp;quot;width:500px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[foobar2000]]&lt;br /&gt;
| Free, BSD&lt;br /&gt;
| [http://www.foobar2000.org/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Advanced tagging, plugin capabilities, and kernel streaming support&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[MediaMonkey]]&lt;br /&gt;
| Free, Shareware&lt;br /&gt;
| [http://www.mediamonkey.com/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Supports many Winamp plugins&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | VUplayer&lt;br /&gt;
| Free&lt;br /&gt;
| [http://www.vuplayer.com/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Supports many popular digital audio codecs and MOD tracker formats  &lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Winamp]]&lt;br /&gt;
| Free, Shareware&lt;br /&gt;
| [http://www.winamp.com/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Popular audio player for Windows&lt;br /&gt;
| align=&amp;quot;left&amp;quot; |&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[VLC]]&lt;br /&gt;
| LGPL&lt;br /&gt;
| [http://www.videolan.org/vlc// here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | VLC media player is a highly portable multimedia player and multimedia framework capable of reading most audio and video formats as well as DVDs, Audio CDs VCDs, and various streaming protocols. &lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[MusicBee]]&lt;br /&gt;
| Free, &lt;br /&gt;
| [https://getmusicbee.com/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; |  The Ultimate Music Manager and Player, MusicBee supports podcasts, web radio stations and SoundCloud integration.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Players / Source code ===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #98DDDE; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#98DDDE&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! align=&amp;quot;center&amp;quot; style=&amp;quot;width:450px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | MusikCube&lt;br /&gt;
| BSD&lt;br /&gt;
| [http://www.musikcube.com/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Supports dynamic playlists and advanced SQL capabilities &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #79C753; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#79C753;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:450px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[foobar2000]]&lt;br /&gt;
| Free&lt;br /&gt;
| [https://www.foobar2000.org/mac/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Most of the features implemented are known to work reasonably well.&lt;br /&gt;
|-   style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[VOX]]&lt;br /&gt;
| Free&lt;br /&gt;
| [https://vox.rocks/mac-music-player here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Mac Music Player for Hi-Res music through the popular sources.&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Cog&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://cogosx.sourceforge.net/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | An open-source digital audio player for OS X.&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Play&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://sbooth.org/Play/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; |Play is an application for playing and managing audio files.&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[VLC]]&lt;br /&gt;
| LGPL&lt;br /&gt;
| [http://www.videolan.org/vlc// here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | VLC media player is a highly portable multimedia player and multimedia framework capable of reading most audio and video formats as well as DVDs, Audio CDs VCDs, and various streaming protocols. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #D65076; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#D65076;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:450px;&amp;quot; | Description&lt;br /&gt;
|-  &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Amarok]] &lt;br /&gt;
| GPL &lt;br /&gt;
| [http://amarok.kde.org/ here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Popular open-source KDE audio player similiar to Foobar2000&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Audacious &lt;br /&gt;
| [https://github.com/audacious-media-player/audacious/blob/master/COPYING BSD]&lt;br /&gt;
| [http://audacious-media-player.org/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; |Audacious is an open source audio player&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Clementine&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://www.clementine-player.org/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Cross platform media player, a port of [[Amarok]] 1.4 to the Qt 4 and GStreamer framework, can be controlled with a Wii remote&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | DeaDBeeF&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://deadbeef.sourceforge.net/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Lightweight music player for Linux, GUI similar to [[Foobar2000]]&lt;br /&gt;
|-  &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Quod Libet&lt;br /&gt;
| GPL-2.0&lt;br /&gt;
| [https://quodlibet.readthedocs.io/en/latest/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | GTK+-based audio player written in Python, using the Mutagen tagging library. It’s designed around the idea that you know how to organize your music better than we do. It lets you make playlists based on regular expressions (don’t worry, regular searches work too). It lets you display and edit any tags you want in the file, for all the file formats it supports.&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Rhythmbox]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://projects.gnome.org/rhythmbox/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | GNOME music player&lt;br /&gt;
|-  &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[VLC]]&lt;br /&gt;
| LGPL&lt;br /&gt;
| [http://www.videolan.org/vlc// here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | VLC media player is a highly portable multimedia player and multimedia framework capable of reading most audio and video formats as well as DVDs,  |Audio CDs VCDs, and various streaming protocols. &lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[XMMS]] &lt;br /&gt;
| GPL &lt;br /&gt;
| [http://www.xmms.org/ here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Popular open-source audio player similiar to Winamp &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== command-line(Shell) players ===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #98DDDE; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#98DDDE;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:170px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:90px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:350px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | mpg123&lt;br /&gt;
| LGPL&lt;br /&gt;
| [http://www.mpg123.org/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | mpg123 is a real time MPEG audio player/decoder &lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | mplayer for windows &lt;br /&gt;
| GPL v2&lt;br /&gt;
| [http://mplayerwin.sourceforge.net/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | MPlayer is a free and open source media player.&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | mpv&lt;br /&gt;
| GPL v2&lt;br /&gt;
| [https://mpv.io/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | mpv is a free (as in freedom) media player for the command line. It supports a wide variety of media file formats, audio and video codecs, and subtitle types. also mpv comes with easy user interface. supported platforms Windows, Linux, Mac.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Tagging Utilities==&lt;br /&gt;
===Windows===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #00A1F1; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#00A1F1&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Description&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | MP3 Book Helper&lt;br /&gt;
| Free&lt;br /&gt;
| [http://mp3bookhelper.sourceforge.net/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Tags [[ID3v1]], ID3v2.3, and Vorbis comments. Features: FreeDB, unicode, guessing and matching, and supporting PAR, SFV, SV, and NFO generation.&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[MP3tag]]&lt;br /&gt;
| Free&lt;br /&gt;
| [http://www.mp3tag.de/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Tags all files supporting [[ID3]], [[APEv2]], and [[Vorbis_Comment|Vorbis Comments]], not only MP3s&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Tag &amp;amp;amp; Rename&lt;br /&gt;
| Shareware&lt;br /&gt;
| [http://www.softpointer.com/tr.htm here]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | TagScanner&lt;br /&gt;
| Free&lt;br /&gt;
| [http://www.xdlab.ru/en/index.htm here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Tag editor with built-in audio player.&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | WMP Tag Plus 2.0&lt;br /&gt;
| Free&lt;br /&gt;
| [http://bmproductions.fixnum.org/wmptagplus/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Software to integrate other tag format than [[ID3]] into Microsoft Windows Media Player 11.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #79C753; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#79C753;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:320px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Tag&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://sbooth.org/Tag/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | An open-source tagging application for OS X&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #D65076; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#D65076;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:450px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Beets]]&lt;br /&gt;
| MIT&lt;br /&gt;
| [http://beets.io/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Cross-platform open source tagging application written in Python, CLI only. Uses the Musicbrainz and Mutagen libraries, still in beta. Mostly automatic, minimal user input required. Many features and plugins. (Read the documentation)&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | EasyTAG&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://wiki.gnome.org/Apps/EasyTAG here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Gnome tagging utility&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Ex Falso&lt;br /&gt;
| GPL-2.0&lt;br /&gt;
| [https://quodlibet.readthedocs.io/en/latest/guide/commands/exfalso.html here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Ex Falso displays and edits audio metadata tags. Supported formats include MP3, Ogg Vorbis, FLAC, Musepack (MPC), WavPack, and MOD/XM/IT.&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Puddletag&lt;br /&gt;
| GPLv3&lt;br /&gt;
| [http://docs.puddletag.net/index.html here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Puddletag is a Linux audio tag editor similar to Mp3tag&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lossy Audio Encoders/Decoders ==&lt;br /&gt;
Lossy audio main focus is to shrink large files to small, lossy is ideal for internet transport and on the go device (Mobile Phone / Players).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #F6D155; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F6D155;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Forum&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[MP3]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://lame.sourceforge.net/ About] / [https://sourceforge.net/projects/lame/files/lame/ Source] / [https://www.rarewares.org/mp3-lame-bundle.php Windows]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | LAME is a lossy audio compression. &lt;br /&gt;
| MP3 [https://hydrogenaud.io/index.php?board=55.0 Forum]&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; | Ogg [[Vorbis]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://xiph.org/vorbis/ About] / [https://gitlab.xiph.org/xiph/vorbis-tools Source] / [https://www.rarewares.org/ogg-oggenc.php Windows]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Ogg Vorbis is a lossy audio compression.&lt;br /&gt;
| Ogg Vorbis [https://hydrogenaud.io/index.php?board=57.0 Forum]&lt;br /&gt;
|-&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; | [[Musepack]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://www.musepack.net/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Musepack is a lossy audio compression.&lt;br /&gt;
| Musepack (MPC) [https://hydrogenaud.io/index.php?board=11.0 Forum]&lt;br /&gt;
|-- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Opus]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://www.opus-codec.org/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Opus is a totally open, royalty-free codec. It is primarily designed for interactive speech and music transmission over the Internet.&lt;br /&gt;
| opus [http://www.hydrogenaudio.org/forums/index.php?showforum=71 Forum]&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | qaac &lt;br /&gt;
| GPL&lt;br /&gt;
| [https://sites.google.com/site/qaacpage/home here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | qaac is a command line AAC/ALAC encoder frontend based on Apple encoder.&lt;br /&gt;
| qaac.AAC [http://www.hydrogenaudio.org/forums/index.php?showtopic=85135 Forum]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Lame/Ogg Builds (Windows)&lt;br /&gt;
Looking for Windows Builds, Options available to you : *Developer Site, *Git, *[http://www.hydrogenaudio.org/ Hydrogenaudio Forum], *[http://www.rarewares.org/ Rarewares]&lt;br /&gt;
&lt;br /&gt;
*Ogg [[Vorbis]],&lt;br /&gt;
In addition, the [[Lancer]] suite — a highly SSE-optimized suite of utilities and libraries — are available at [http://homepage3.nifty.com/blacksword/ this page] &#039;&#039;(in Japanese)&#039;&#039;. See [[Lancer#Platform-specific Builds|this section]] for information about the different builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lossless Audio Encoders/decoders ==&lt;br /&gt;
Lossless Audio is aimed towards &#039;&#039;&#039;high quality audio&#039;&#039;&#039;, also suitable for high quality backups.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #F6D155; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F6D155;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Forum&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[FLAC]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://xiph.org/flac/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | FLAC is a lossless audio compression.&lt;br /&gt;
| flac [https://hydrogenaud.io/index.php/board,67.0.html Forum]&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Monkey&#039;s Audio]]&lt;br /&gt;
|&lt;br /&gt;
| [https://www.monkeysaudio.com/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Monkey&#039;s Audio is a lossless audio compression. also Monkey&#039;s Audio has a nice GUI converter, ideal for converting (.WAV to .APE) &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[WavPack]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://www.wavpack.com/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | WavPack is a hybrid lossless wavefile compressor. &lt;br /&gt;
| WavPack [http://www.hydrogenaudio.org/forums/index.php?showforum=68 Forum]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Flac Builds (Windows)&lt;br /&gt;
Looking for Windows Builds, Options available to you : *Developer Site, *Git, *[http://www.hydrogenaudio.org/ Hydrogenaudio Forum], *[http://www.rarewares.org/ Rarewares]&lt;br /&gt;
&lt;br /&gt;
==Transcoders==&lt;br /&gt;
&#039;&#039;Note: Although these tools may convert from one encoding to another, please remember that [[transcoding]] to any [[lossy]] encoding &amp;lt;u&amp;gt;will&amp;lt;/u&amp;gt; result in a degraded quality.&#039;&#039;&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #55B4B0; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#55B4B0;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:270px;&amp;quot; | Description&lt;br /&gt;
| style=&amp;quot;width:100px;&amp;quot; | Forum&lt;br /&gt;
|-  &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | dBpowerAMP&lt;br /&gt;
| Shareware&lt;br /&gt;
| [http://www.dbpoweramp.com/dmc.htm here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | dBpoweramp Music Converter&lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[foobar2000]]&lt;br /&gt;
| Freeware&lt;br /&gt;
| [http://www.foobar2000.org/encoderpack here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Free Encoder Pack for foobar2000.&lt;br /&gt;
|[https://hydrogenaud.io/index.php/topic,108593.msg934566/topicseen.html#new Forum]&lt;br /&gt;
|-  &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[fre:ac ]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://www.freac.org/ here] &lt;br /&gt;
|- style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | ferocious &lt;br /&gt;
| free&lt;br /&gt;
| [https://github.com/jniemann66/ferocious here]&lt;br /&gt;
|&lt;br /&gt;
| [https://hydrogenaud.io/index.php/topic,111777.msg921198.html Forum] &lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | BatchEncoder&lt;br /&gt;
| MIT license&lt;br /&gt;
| [https://github.com/wieslawsoltes/BatchEncoder here] &lt;br /&gt;
|&lt;br /&gt;
| [https://hydrogenaud.io/index.php/topic,50822/topicseen.html Forum] &lt;br /&gt;
|-style=&amp;quot;background-color: #eeeeee;&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; |  WinLAME&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://winlame.sourceforge.net/ here] &lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | LossyFlacGUI&lt;br /&gt;
| &lt;br /&gt;
| [https://hydrogenaud.io/index.php/topic,113178.0.html here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Optimize flac Audio file.&lt;br /&gt;
| [https://hydrogenaud.io/index.php/topic,113178.0.html Forum]&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[Easy Audio Sync]]&lt;br /&gt;
| Unlicense&lt;br /&gt;
| [https://github.com/complexlogic/EasyAudioSync here] &lt;br /&gt;
| align=&amp;quot;left&amp;quot; | Mass transcoding utility.&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Processing utilities==&lt;br /&gt;
===Windows===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #00A1F1; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#00A1F1;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:120px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[lossyWAV]]&lt;br /&gt;
| GPL&lt;br /&gt;
| [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=56129&amp;amp;view=findpost&amp;amp;p=504087 here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | lossyWAV is a lossy pre-processor for [[Wikipedia:Pulse-code modulation|PCM]] (uncompressed) WAV files. It reduces [[Wikipedia:Audio bit depth|bit depth]] of the input signal, which, when used in conjunction with certain lossless codecs, reduces the bitrate of the encoded file significantly.&lt;br /&gt;
|}&lt;br /&gt;
===Linux===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #D65076; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#D65076;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:150px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:450px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | [[lossyWAV]] for POSIX&lt;br /&gt;
| GPL&lt;br /&gt;
| [https://github.com/MoSal/lossywav-for-posix here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | A POSIX build for lossyWAV.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==File Archiver - Plugins==&lt;br /&gt;
===Windows===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center; border:2px solid #00A1F1; margin-bottom: 20px;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#00A1F1;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:120px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | License&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Website&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | WavPack7z&lt;br /&gt;
|&lt;br /&gt;
| [http://www.tc4shell.com/en/7zip/wavpack7z/ here]&lt;br /&gt;
| align=&amp;quot;left&amp;quot; | WavPack7z is a plugin for the popular 7-Zip archiver. It allows you to pack uncompressed PCM audio data using the highly efficient WavPack compression algorithm.&lt;br /&gt;
discussion in the [https://hydrogenaud.io/index.php/topic,117037.0.html forum]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Easy_Audio_Sync&amp;diff=36921</id>
		<title>Easy Audio Sync</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Easy_Audio_Sync&amp;diff=36921"/>
		<updated>2023-05-25T04:39:07Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Created page with &amp;quot;{{Software Infobox | name                 = Easy Audio Sync | screenshot           = 300px | caption              = Easy Audio Sync running on...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = Easy Audio Sync&lt;br /&gt;
| screenshot           = [[File:Easyaudiosync usage.png|300px]]&lt;br /&gt;
| caption              = Easy Audio Sync running on Linux&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2023-05-18&lt;br /&gt;
| stable_release       = 1.0&lt;br /&gt;
| stable_release_date  = 2023-05-18&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = Full library transcoding&lt;br /&gt;
| license              = Unlicense&lt;br /&gt;
| website              = [https://github.com/complexlogic/EasyAudioSync]&lt;br /&gt;
}}&lt;br /&gt;
Easy Audio Sync is an audio library syncing and conversion utility. The intended use is syncing an audio library with many lossless files to a mobile device with limited storage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
Easy Audio Sync is compatible with Windows, macOS and Linux.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Easy Audio Sync is compatible with Windows 10 and later. Download the installer executable from the [https://github.com/complexlogic/EasyAudioSync/releases/latest latest release on GitHub], run it, and follow the guided installation process.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
Builds are available for both Intel and Apple Silicon based Macs. Download the appropriate disk image for your hardware from the [https://github.com/complexlogic/EasyAudioSync/releases/latest latest release on GitHub] and install via drag and drop.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
Builds are available for APT-based Linux distros and Fedora [https://github.com/complexlogic/EasyAudioSync/releases/latest on GitHub]. Otherwise, you can build from source according to the provided build instructions.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Easy Audio Sync operates based on a source folder and a destination folder, where the source folder contains the primary music library, and the destination folder is the desired output location. After selecting the source and destination folders, click the &amp;quot;Sync&amp;quot; button to start the sync. The program will recreate the source&#039;s entire subfolder structure in the destination, copying or transcoding files as specified in the settings. See the [https://github.com/complexlogic/EasyAudioSync/blob/master/docs/settings.md settings documentation on GitHub] for help on configuring the program&#039;s settings.&lt;br /&gt;
&lt;br /&gt;
The stop button next to the progress bar can be used stop the sync at any time. The worker threads are allowed to finish their current file operation before quitting to avoid leaving corrupted files in the destination. Consequently, it may take several seconds after the stop button is clicked for the sync to stop. &lt;br /&gt;
&lt;br /&gt;
===Supported Formats===&lt;br /&gt;
The following audio formats are supported, per-mode:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Codec      !! Copy !! Transcode Input !! Transcode Output&lt;br /&gt;
|-&lt;br /&gt;
| [[FLAC]]        || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[ALAC]]       || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WavPack]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Monkey&#039;s Audio]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WAV]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MP3]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[AAC]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Ogg Vorbis]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Opus]] || {{Yes|Yes}} || {{Yes|Yes}} || {{Yes|Yes}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Musepack]] || {{Yes|Yes}} || {{Yes|Yes}} || {{No|No}}&lt;br /&gt;
|-&lt;br /&gt;
| [[WMA]] || {{Yes|Yes}} || {{No|No}} || {{No|No}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Supported Encoders===&lt;br /&gt;
The following encoders are supported for transcoding&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Codec      !! Encoder(s)&lt;br /&gt;
|-&lt;br /&gt;
| MP3        || [[LAME]]&lt;br /&gt;
|-&lt;br /&gt;
| AAC        || [[Fraunhofer FDK AAC]], [[Libavcodec AAC]]&lt;br /&gt;
|-&lt;br /&gt;
| Ogg Vorbis || libvorbis&lt;br /&gt;
|-&lt;br /&gt;
| Opus       || libopus&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Transcoding]]&lt;br /&gt;
* [[Variable Bitrate]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/EasyAudioSync/ Easy Audio Sync GitHub page]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Easyaudiosync_usage.png&amp;diff=36920</id>
		<title>File:Easyaudiosync usage.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Easyaudiosync_usage.png&amp;diff=36920"/>
		<updated>2023-05-25T04:25:23Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=ReplayGain&amp;diff=36890</id>
		<title>ReplayGain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=ReplayGain&amp;diff=36890"/>
		<updated>2023-05-13T16:27:09Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: /* rsgain */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;ReplayGain&#039;&#039;&#039; is the name of a technique invented to achieve the same perceived playback loudness of audio files. It defines an algorithm to measure the &#039;&#039;&#039;perceived&#039;&#039;&#039; loudness of audio data.&lt;br /&gt;
&lt;br /&gt;
ReplayGain allows the loudness of each song within a collection of songs to be consistent. This is called &#039;Track Gain&#039; (or &#039;Radio Gain&#039; in earlier parlance). It also allows the loudness of a specific sub-collection (an &amp;quot;album&amp;quot;) to be consistent with the rest of the collection, while allowing the dynamics from song to song on the album to remain intact. This is called &#039;Album Gain&#039; (or &#039;Audiophile Gain&#039; in earlier parlance). This is especially important when listening to classical music albums, because quiet tracks need to remain a certain degree quieter than the louder ones.&lt;br /&gt;
&lt;br /&gt;
ReplayGain is different from [[Normalization|peak normalization]]. Peak normalization merely ensures that the peak amplitude reaches a certain level. This does not ensure equal loudness. The ReplayGain technique measures the &#039;&#039;effective power&#039;&#039; of the waveform (i.e. the RMS power after applying an &amp;quot;equal loudness contour&amp;quot;), and then adjusts the amplitude of the waveform accordingly. The result is that Replay Gained waveforms are usually more uniformly amplified than peak-normalized waveforms.&lt;br /&gt;
&lt;br /&gt;
==Target loudness==&lt;br /&gt;
The target loudness of almost all ReplayGain utilities is 89 dB SPL when replayed in an SMPTE RP 200 calibrated system (an early departure from the proposal, endorsed by its author&amp;lt;ref&amp;gt;[http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=83397&amp;amp;view=findpost&amp;amp;p=721854 Does Replay gain work differtly in Media monkey]&amp;lt;/ref&amp;gt;) &amp;amp;mdash; the ReplayGain proposal and SMPTE recommendation are 6dB lower.&amp;lt;ref&amp;gt;[http://www.mars.org/mailman/public/mad-dev/2004-February/000993.html ReplayGain discussion at mad-dev]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Clipping==&lt;br /&gt;
Audio is generally recorded such that the loudest sounds don&#039;t clip, but the use of ReplayGain can cause clipping if the average volume of a song is below the target level. That is, upon playback, the volume of a quiet song is increased, so the parts of the song with above-average loudness, especially in the bass frequencies, will exceed the limits of the format and will be distorted. Whether this distortion is audible depends on the sounds in question, and the listener&#039;s sensitivity.&lt;br /&gt;
&lt;br /&gt;
Implementations deal with the risk of clipping in different ways. Some have a &amp;quot;pre-amp&amp;quot; feature which reduces (or boosts) the original audio&#039;s level by a certain amount before doing whatever is needed for ReplayGain. Some have a &amp;quot;prevent clipping&amp;quot; feature to reduce the amount of ReplayGain adjustment to whatever amount would keep clipping from occurring, based on peak info stored in the file&#039;s metadata (thus reducing the effectiveness of ReplayGain). Some recommend using a compressor/limiter DSP to prevent or reduce clipping, regardless of whether it was caused by ReplayGain.&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
There are different ReplayGain implementations, each with its own uses and strength. Most use [[metadata]] to indicate the level of the volume change that the player should make. Some modify the audio data itself, and optionally use metadata as well. There are advantages and disadvantages to both methods.&lt;br /&gt;
&lt;br /&gt;
In the metadata method, information on both types of ReplayGain (Track Gain and Album Gain) can be stored. The volume-change information can be very precise. If audio data was also changed, the metadata can contain &amp;quot;undo&amp;quot; info. Not all audio players/decoders know how to read and use ReplayGain information stored in metadata. And there&#039;s no standard for where and how ReplayGain info is stored; each implementation uses different formats and puts the info in different locations.&lt;br /&gt;
&lt;br /&gt;
In the audio data method, the file&#039;s actual audio data is modified so that its natural/default playback volume is at the target level. In this scenario, only one type of ReplayGain (Track Gain or Album Gain) can be applied. If no &amp;quot;undo&amp;quot; info is saved somewhere, it may not be possible to restore the original audio data. Limitations of the audio file format may prevent precise (finely tuned) gain adjustments with this method. For example, MP3 and AAC files can only be losslessly modified in 1.5 dB steps. Depending on the audio file format, the process may also be lossy in the sense that it could irreversibly push a signal above the format&#039;s maximum amplitude (resulting in clipping) or below the minimum (resulting in silence).&lt;br /&gt;
&lt;br /&gt;
=== MP3Gain ===&lt;br /&gt;
[[MP3Gain]] is an implementation of ReplayGain. It can be used to just analyze files &amp;amp; recommend changes or to also modify the gain. If modifying the gain, it always modifies the global gain fields in the MP3 audio data. It can add somewhat precise metadata, including undo info. The gain can be modified to any target dB, or it can be changed by a specified amount. For balance correction, user-specified changes can even be made on just one channel in simple L/R stereo-mode files (not joint stereo).&lt;br /&gt;
&lt;br /&gt;
* Format: [[MP3]]&lt;br /&gt;
* Method: Audio + Meta (in APE tag), or Audio only&lt;br /&gt;
* APE tag fields (ASCII bytes):&lt;br /&gt;
** &amp;lt;code&amp;gt;MP3GAIN_MINMAX ###,###&amp;lt;/code&amp;gt; - minimum &amp;amp; maximum global gain values for this file. 3 digits, zero-padded if necessary.&lt;br /&gt;
** &amp;lt;code&amp;gt;MP3GAIN_ALBUM_MINMAX ###,###&amp;lt;/code&amp;gt; - minimum &amp;amp; maximum global gain values across a set of files scanned as an album. Optional.&lt;br /&gt;
** &amp;lt;code&amp;gt;MP3GAIN_UNDO +###,+###,N&amp;lt;/code&amp;gt; - the global gain adjustment to restore the original values in the left and right channels, respectively, followed by an indicator of whether to wrap at the extremes (&amp;lt;code&amp;gt;N&amp;lt;/code&amp;gt; means no, &amp;lt;code&amp;gt;W&amp;lt;/code&amp;gt; means yes). The adjustment values are 3 digits, zero-padded, preceded by a sign (&amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;).&lt;br /&gt;
** &amp;lt;code&amp;gt;REPLAYGAIN_TRACK_GAIN +#.###### dB&amp;lt;/code&amp;gt; - The value is always 9 characters including the sign and decimal point. Examples: &amp;lt;code&amp;gt;+0.424046&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;-10.38500&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;REPLAYGAIN_TRACK_PEAK #.###### dB&amp;lt;/code&amp;gt; - The value is always 8 characters including the decimal point. Example: &amp;lt;code&amp;gt;0.149923&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;REPLAYGAIN_ALBUM_GAIN +#.###### dB&amp;lt;/code&amp;gt; - The value is always 9 characters including the sign and decimal point. Optional.&lt;br /&gt;
** &amp;lt;code&amp;gt;REPLAYGAIN_ALBUM_PEAK #.###### dB&amp;lt;/code&amp;gt; - The value is always 8 characters including the decimal point. Optional.&lt;br /&gt;
* Limitations: Although the metadata, if written, contains precise adjustment &amp;amp; peak values, the audio data modifications are limited to 1.5dB steps and may become irreversible (however, that&#039;s a very rare condition; see the [http://www.hydrogenaudio.org/forums/lofiversion/index.php/t34154.html &amp;quot;mp3gain is NOT lossless&amp;quot; forum thread])&lt;br /&gt;
* http://mp3gain.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
=== AACGain ===&lt;br /&gt;
[[AACGain]] is a modified version of MP3Gain that works on both MP3 and AAC files.&lt;br /&gt;
&lt;br /&gt;
* Format: [[MP3]], [[AAC]] (with or without MP4 container)&lt;br /&gt;
* Method: Audio + Meta, or Audio only&lt;br /&gt;
* Limitations: Limited to 1.5dB steps mode, may become irreversible (same caveat as for MP3Gain)&lt;br /&gt;
* http://aacgain.altosdesign.com/&lt;br /&gt;
&lt;br /&gt;
=== [[LAME]] ===&lt;br /&gt;
* Method: Header ([http://gabriel.mp3-tech.org/mp3infotag.html mp3infotag])&lt;br /&gt;
* Notes:&lt;br /&gt;
** Tags added during encoding; not supported by any player yet; Track Gain only&lt;br /&gt;
** Replay Gaining MP3&#039;s is usually done using MP3Gain (see [[ReplayGain#MP3Gain|above]]) or [[ReplayGain#foobar2000 ReplayGain scanner|foobar2000]]&lt;br /&gt;
* http://lame.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
=== [[Musepack]] ReplayGain ===&lt;br /&gt;
* Method: Header (similar to Meta data method)&lt;br /&gt;
* Notes: ReplayGain values are stored in the header and ReplayGain is part of the Musepack specifications; therefore any Musepack decoder that does not support ReplayGain can be considered broken.&lt;br /&gt;
* http://www.musepack.net/&lt;br /&gt;
&lt;br /&gt;
=== VorbisGain ===&lt;br /&gt;
* Format: (Ogg) [[Vorbis]]&lt;br /&gt;
* Method: Meta (in [[Vorbis comment]])&lt;br /&gt;
* http://www.sjeng.org/vorbisgain.html&lt;br /&gt;
** new compiles of VorbisGain at [http://www.rarewares.org/ogg.html www.rarewares.org]&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;Note:&#039;&#039;&#039; Andavari has provided a very useful script to integrate VorbisGain, which is a CLI tool, into Windows Explorer. Please (Ogg) [[Vorbis#ReplayGain|check this section]].&lt;br /&gt;
&lt;br /&gt;
=== FLAC / METAFLAC ===&lt;br /&gt;
* Format: [[Free Lossless Audio Codec|FLAC]]&lt;br /&gt;
* Method: Meta (in [[Vorbis comment]])&lt;br /&gt;
* http://flac.sf.net&lt;br /&gt;
&lt;br /&gt;
=== WavPack / WVGAIN ===&lt;br /&gt;
* Format: [[WavPack]]&lt;br /&gt;
* Method: Meta (in [[APEv2]] tag)&lt;br /&gt;
* http://www.wavpack.com&lt;br /&gt;
&lt;br /&gt;
=== Wavegain ===&lt;br /&gt;
* Format: waveform&lt;br /&gt;
* Method: Audio&lt;br /&gt;
* Limitations: Irreversible&lt;br /&gt;
* http://www.rarewares.org/others.php#wavegain&lt;br /&gt;
&lt;br /&gt;
=== MusicPlayer ===&lt;br /&gt;
* Custom implementation, not derived from the original MP3Gain one (but inspired from). As far as I know, all other implementations are directly derived from the MP3Gain (gain_analysis.c, which is GPL) source.&lt;br /&gt;
* Format: any that FFmpeg supports&lt;br /&gt;
* Method: Audio&lt;br /&gt;
* Limitations: Doesn&#039;t modify the files at all. Stores the value in own database. Used only for playback.&lt;br /&gt;
* https://github.com/albertz/music-player&lt;br /&gt;
&lt;br /&gt;
=== [[foobar2000]] ReplayGain scanner ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[ID3v2]] (default) or [[APEv2]] tags. A separate function can be invoked to apply the tagged Track or Album Gain to the MP3 global gain fields (as MP3Gain does), and rewrite any existing tags to account for the peak change and compensate for the difference from 89&amp;amp;nbsp;dB. The 89&amp;amp;nbsp;dB reference level for tags isn&#039;t configurable, but the reference level applied to the global gain fields is (it&#039;s under Preferences &amp;gt; Advanced &amp;gt; Tools &amp;gt; ReplayGain Scanner &amp;gt; Target MP3 alteration volume level).&lt;br /&gt;
** [[Musepack]]: Values written to header.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WavPack]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[AAC]]: Values written to [[APEv2]] tags. As with MP3, it is also an option to apply gain via a separate function.&lt;br /&gt;
** [[MP4]]: Uses its own iTunes-compatible tagging system (though iTunes does not support ReplayGain).&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** Modules ([[MOD]] etc.): Optionally saved into [[APEv2]] tags.&lt;br /&gt;
* http://foobar2000.org&lt;br /&gt;
&lt;br /&gt;
=== [[MediaMonkey]] ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[APEv2]] or [[ID3v2]] tags.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WMA]]: Values stored in MediaMonkey&#039;s MDB database.&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[WAV]]: Values stored in MediaMonkey&#039;s MDB database.&lt;br /&gt;
** [[MPC]]: Internal gain Structure.&lt;br /&gt;
* In addition to tags, all ReplayGain values are also stored in MediaMonkey&#039;s MDB database&lt;br /&gt;
* Album/Audiophile ReplayGain not supported until v3.0 (Dec 2007); support during burning &amp;amp; ripping added in 3.1 (Jun 2009)&lt;br /&gt;
* Also capable of (irreversibly) changing the volume of MP3 tracks, similar to [[MP3Gain]]&lt;br /&gt;
* http://www.mediamonkey.com/&lt;br /&gt;
&lt;br /&gt;
=== [[Winamp]] ReplayGain scanner===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[ID3v2]] tags.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WMA]]: Values stored in Windows Media Audio tags.&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[AAC]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[MP4]]&lt;br /&gt;
** [[TAK]]: Values written to [[APEv2]] tags.&lt;br /&gt;
* Support Album/Track Gain&lt;br /&gt;
&lt;br /&gt;
=== [[loudgain]] ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** MP2, [[MP3]]: Values written to [[ID3v2]] tags (ID3v2.3/ID3v2.4 selectable).&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** (Ogg) [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** (Ogg) [[Speex]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[Opus]]: Values written to [[Vorbis comment]], based on -23 LUFS Opus standard. Only &amp;lt;code&amp;gt;R128_TRACK_GAIN&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;R128_ALBUM_GAIN&amp;lt;/code&amp;gt; are written, but the calculated &#039;&#039;true peak&#039;&#039; value can still be used to reduce the gain values ([[Clipping]] prevention).&lt;br /&gt;
** [[MP4]], [[M4A]]: Uses its own iTunes-compatible tagging system (though iTunes does not support ReplayGain). ReplayGain values are stored under &amp;lt;code&amp;gt;----:com.apple.iTunes:…&amp;lt;/code&amp;gt;. This is for [[AAC]] and [[ALAC]] in [[MPEG-4]] containers.&lt;br /&gt;
** [[ASF]], [[Windows Media Audio|WMA]]: Values written to WMA tags, no prefix.&lt;br /&gt;
** [[WAV]]: Values written to the &amp;lt;code&amp;gt;ID3 &amp;lt;/code&amp;gt; chunk, in [[ID3v2]] (ID3v2.3/ID3v2.4 selectable) format. Using the &amp;lt;code&amp;gt;bext&amp;lt;/code&amp;gt; chunk (for BWF v2) isn’t (yet) supported, but won’t be destroyed on writing.&lt;br /&gt;
** [[Audio Interchange File Format|AIFF]]: Values written to the &amp;lt;code&amp;gt;ID3 &amp;lt;/code&amp;gt; chunk, in [[ID3v2]] format.&lt;br /&gt;
** [[WavPack]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[Monkey&#039;s Audio]] (APE): Values written to [[APEv2]] tags.&lt;br /&gt;
* Follows EBU R128, ITU BS.1770 and the [[ReplayGain 2.0 specification]].&lt;br /&gt;
* &#039;&#039;Never&#039;&#039; touches the actual audio data but &#039;&#039;only writes RG2 tags&#039;&#039;.&lt;br /&gt;
* Uses &#039;&#039;true peak&#039;&#039; values calculated by oversampling to 192 kHz, using a custom polyphase FIR interpolator that will oversample 4x for sample rates &amp;lt; 96 kHz, 2x for sample rates &amp;lt; 192 kHz and leave the signal unchanged for 192 kHz.&lt;br /&gt;
* &#039;&#039;Clipping prevention&#039;&#039; can be used to lower the ReplayGain values to a safe margin (default -1 dBTP, can be changed).&lt;br /&gt;
* Many options for special cases: force RG tags upper-/lowercase, add extra tags (LRA, Reference loudness), strip unwanted tag types (APEv2 from MP2/MP3, ID3 from WavPack), tab-delimited table output for analysis with CSV file.&lt;br /&gt;
* &#039;&#039;Linux&#039;&#039; Free and Open Source software, can be installed on &#039;&#039;MacOS&#039;&#039; using &#039;&#039;HomeBrew&#039;&#039;, on &#039;&#039;Windows 10&#039;&#039; using the Linux &#039;&#039;bash&#039;&#039;.&lt;br /&gt;
* Also installs a &amp;lt;code&amp;gt;rgbpm&amp;lt;/code&amp;gt; bash script for mass-tagging, which can be adapted to the user’s needs.&lt;br /&gt;
* &#039;&#039;&#039;Warning:&#039;&#039;&#039; Loudgain relies on standard libraries like &#039;&#039;TagLib&#039;&#039;. Linux distros (except rolling releases) sometimes deliver outdated libraries, so be sure you use the latest version of &#039;&#039;TagLib&#039;&#039;. Version 1.11.1 had a nasty bug for a while that [https://hydrogenaud.io/index.php/topic,118085.msg974957.html#msg974957 could corrupt Ogg Vorbis files]. This has been fixed in the meantime but the TagLib version not updated. Loudgain comes with a (slower) static version called &amp;lt;code&amp;gt;loudgain.static&amp;lt;/code&amp;gt; in the repo’s &amp;lt;code&amp;gt;/bin&amp;lt;/code&amp;gt; folder that doesn’t expose the bug and can also be used on older Linux versions (like Ubuntu 14.04, Linux Mint 17).&lt;br /&gt;
* https://github.com/Moonbase59/loudgain&lt;br /&gt;
* Bug tracker: https://github.com/Moonbase59/loudgain/issues&lt;br /&gt;
&lt;br /&gt;
=== [[rsgain]] ===&lt;br /&gt;
rsgain is a ReplayGain 2.0-compatible command line utility designed with a &amp;quot;batteries included&amp;quot; philosophy.&lt;br /&gt;
&lt;br /&gt;
Features:&lt;br /&gt;
* Cross-platform Windows/macOS/Linux&lt;br /&gt;
* Supports all popular audio formats&lt;br /&gt;
* Simplified &amp;quot;Easy Mode&amp;quot; command line syntax supports recursive, directory-based scanning&lt;br /&gt;
* Multithreaded scanning option that provides significant speed improvement with full library scans&lt;br /&gt;
* Option to skip files with existing ReplayGain metadata&lt;br /&gt;
* Scan presets allow the user to save advanced settings for consistent use&lt;br /&gt;
&lt;br /&gt;
== Players support ==&lt;br /&gt;
ReplayGain being present in the specs of the FLAC, Musepack, and APE formats, any player that support those formats usually supports ReplayGain.&lt;br /&gt;
&lt;br /&gt;
The situation with MP3 is rather different, as it was not part of the MP3 specs. The APEv2 tags metadata implementation is somewhat becoming the de-facto standard.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
* [[foobar2000]] supports ReplayGain in all possible aspects.&lt;br /&gt;
* [[Winamp]] supports ReplayGain in album or track mode.&lt;br /&gt;
* [[MediaMonkey]] supports ReplayGain, with many configuration options.&lt;br /&gt;
* [[XMPlay]] recently implemented ReplayGain&lt;br /&gt;
* [https://picard.musicbrainz.org/ MusicBrainz Picard] is a tagger (and player) that tags using metadata from the MusicBrainz.org database. Picard supports ReplayGain tags for files tagged with APE, ASF, ID3, MP4 and Vorbis tags. There is a ReplayGain plugin that can be used to calculate the ReplayGain values for both Albums and Tracks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;...and probably others.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
* [[XMMS]]. Reads ReplayGain from [[Free Lossless Audio Codec|FLAC]], [[Musepack]], (Ogg) [[Vorbis]] ..&lt;br /&gt;
:For [[MP3]], use the CVS version of the [http://xmms-mad.sourceforge.net/ xmms-mad] mp3 plugin (it&#039;s not yet released as binary, furthermore not available in distribs&#039; versions for now. Meanwhile binaries are available here: [http://perso.crans.org/~krempp/xmms-mad/ custom binaries])&lt;br /&gt;
* [[amarok]]. By using the amarok-script [http://kde-apps.org/content/show.php?content=26073 ReplayGain]&lt;br /&gt;
:And possibly others, since [http://developer.kde.org/~wheeler/taglib.html TagLib] added support for [[APEv2]] tags in [[MP3]] files, players using this library (like [[amaroK]] and [[JuK]]) might support that kind of ReplayGain tags in the near future.&lt;br /&gt;
* [http://www.sacredchao.net/quodlibet Quod Libet] reads ReplayGain from (Ogg) [[Vorbis]], [[MP3]], [[Free Lossless Audio Codec|FLAC]], and [[Musepack]].&lt;br /&gt;
:Requires support to be enabled (via the appropriate python bindings and libraries) for the above formats. Does not support ReplayGain values stored in [[APEv2]] tags in [[MP3]]s. ReplayGain values are stored in RVA2 id3v2.4 frames. See the [http://www.sacredchao.net/quodlibet/wiki/Development/ID3Notes Quod Libet RVA2 / ReplayGain notes].&lt;br /&gt;
* [http://www.musicpd.org/ Music Player Daemon] (MPD) reads ReplayGain from (Ogg) [[Vorbis]], [[Free Lossless Audio Codec|FLAC]], and [[Musepack]].&lt;br /&gt;
:foobar2000-style TXXX frames in [[MP3]]s are also supported in the latest development releases.&lt;br /&gt;
* [http://www.mplayerhq.hu/ MPlayer]. Mplayer support for ReplayGain is codec dependent.&lt;br /&gt;
:Codecs that are known to support ReplayGain: vorbis&lt;br /&gt;
:Because of this, you need to prioritize the codecs that support it, or choose it individually on the command line.  To add it to the command line, add an -ac [codec] option after each file that you want to choose the codec for, or at the beginning to make it apply to all files listed.  To prioritize the codecs by default, list them in a line in mplayer.conf:&lt;br /&gt;
 ac=[codec],[othercodec],vorbis,mad,&lt;br /&gt;
* [http://idjc.sourceforge.net/ IDJC] (Internet DJ Console) reads ReplayGain from [[Free Lossless Audio Codec|FLAC]], (Ogg) FLAC, (Ogg) [[Vorbis]], MP2 (audio), [[MP3]], [[Opus]], but only the &#039;&#039;lowercase&#039;&#039; tags. There is a [https://sourceforge.net/p/idjc/bugs/100/ ticket] open to handle tags case-insensitively.&lt;br /&gt;
* [https://picard.musicbrainz.org/ MusicBrainz Picard] is a tagger (and player) that tags using metadata from the MusicBrainz.org database. Picard supports ReplayGain tags for files tagged with APE, ASF, ID3, MP4 and Vorbis tags. There is a ReplayGain plugin that can be used to calculate the ReplayGain values for both Albums and Tracks.&lt;br /&gt;
* [https://www.videolan.org/vlc/ VLC] supports ReplayGain in many file formats, but usually only the &#039;&#039;uppercase&#039;&#039; variant of the tags.&lt;br /&gt;
* [https://kodi.tv/ KODI] reads ReplayGain from nearly all formats, but usually only the &#039;&#039;lowercase&#039;&#039; variant of the tags.&lt;br /&gt;
&lt;br /&gt;
=== Portable devices ===&lt;br /&gt;
[http://www.rockbox.org/ Rockbox] supports ReplayGain (in album or track mode) for most formats, including  WMA, MP1/2/3, AAC, ALAC, Musepack, Monkey&#039;s Audio, Wavpack, FLAC and Vorbis.  &amp;lt;br&amp;gt;Note that ReplayGain is only supported when using the respective codec&#039;s native tagging format.  For example:  ReplayGain stored in APEv2 tags is not supported for MP3, rather ID3v2.x tags are expected.&lt;br /&gt;
&lt;br /&gt;
Sandisk Sansa Fuze with firmware 1.02.26 and 2.02.26&lt;br /&gt;
&lt;br /&gt;
Sandisk Sansa Clip+&lt;br /&gt;
&lt;br /&gt;
The iPod features &#039;&#039;Soundcheck&#039;&#039;, which seems to produce roughly the same normalization gains as ReplayGain, but doesn&#039;t provide an Album Gain.&lt;br /&gt;
&lt;br /&gt;
=== Hi-Fi ===&lt;br /&gt;
Slim Devices, a company owned by Logitech Inc, supports ReplayGain on both of their hi-end audiophile players, known as the [[Slim Devices Transporter|Transporter]] and the [[Slim Devices Squeezebox|Squeezebox]].&lt;br /&gt;
&lt;br /&gt;
BluOS also supports ReplayGain with the selection of album- or track-gain and a so called Smart option that decides between the two by itself.&lt;br /&gt;
NAD devices that use BluOS consequently also support ReplayGain.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;lt;references/&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[ReplayGain specification]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Replay_Gain ReplayGain] at Wikipedia&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/Replay-Gain.html ReplayGain using foobar2000] (how to use ReplayGain in Windows using foobar2000).&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/Replay-Gain-in-Linux.html ReplayGain in Linux] (how to use ReplayGain in Linux using foobar2000 and Wine, or using metaflac or vorbisgain).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
[[Category:Metadata]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=36889</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=36889"/>
		<updated>2023-05-13T15:43:12Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|300px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 3.3&lt;br /&gt;
| stable_release_date  = 2023-04-23&lt;br /&gt;
| operating_system     = Windows, macOS, Linux, BSD&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2.0]] tagging utility for Windows, macOS, and Linux. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is designed with a &amp;quot;batteries included&amp;quot; philosophy, allowing a user to scan their entire music library without requiring external scripts or other tools. It aims to strike the perfect balance between power and simplicity by providing multiple user interfaces. See [[#usage|Usage]] for more information.&lt;br /&gt;
&lt;br /&gt;
rsgain is the backend for the MusicBrainz Picard ReplayGain 2.0 plugin. Users that are not comfortable with command line interfaces may prefer this method since the plugin provides a GUI frontend to rsgain. See [[#MusicBrainz_Picard_Plugin|MusicBrainz Picard Plugin]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choice. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of the path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is a Homebrew formula available for macOS users. Make sure you have Homebrew and the latest available Xcode installed. Execute the following command to install:&lt;br /&gt;
&lt;br /&gt;
{{code|brew install complexlogic/tap/rsgain}}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on Debian Bullseye and later, Ubuntu 21.04 and later. There is also a .rpm package for Fedora users. An [https://aur.archlinux.org/packages/rsgain-git AUR package] is available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
===FreeBSD===&lt;br /&gt;
Available via ports tree or using packages (2023Q1 and later) as listed below:&lt;br /&gt;
{{code|cd /usr/ports/audio/rsgain &amp;amp;&amp;amp; make install clean}}&lt;br /&gt;
{{code|pkg install rsgain}}&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[Musepack]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[AIFF]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain contains two separate user interfaces: Easy Mode and Custom Mode. The distinction between the two modes is rooted in the history of ReplayGain utilities. &lt;br /&gt;
&lt;br /&gt;
Legacy ReplayGain tagging utilities such as mp3gain did not support recursive directory-based scanning. The user was required to manually specify a list of files on the command line, preceded by options which were numerous and complex. This interface provided a lot of power and flexibility, but it wasn&#039;t particularly user friendly. Performing a full library scan typically required the user to supplement the program with a wrapper script that traversed the directory tree and detected the files.&lt;br /&gt;
&lt;br /&gt;
rsgain&#039;s Easy Mode &#039;&#039;is&#039;&#039; that wrapper script; the functionality is built-in to the program. In Easy Mode, the user simply points the program to their library and it will be recursively scanned with all recommended settings enabled by default. &lt;br /&gt;
&lt;br /&gt;
The legacy-style interface has been retained as &amp;quot;Custom Mode&amp;quot; for users that require a higher level of control. Custom Mode is mostly used for scripting.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
Easy Mode assumes that you have you have your music library organized by album, so that each album is contained in its own folder. The album gain calculations rely on this assumption. If you do not have your music library organized by album, you should disable the album tags because the calculated values will not be valid. rsgain ships with a scan preset which can disable the album tags for you; invoke it with {{code|-p no_album}}. See the [[#Scan_Presets|Scan Presets]] section for more information about how the scan preset feature works.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must not exceed the number that your CPU supports. For example, if you have a CPU with 4 threads:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know how many threads your CPU has, you can also specify {{code|-m MAX}} and rsgain will use the number provided by your operating system. This is useful for writing scripts where the hardware properties of the target machine are unknown.&lt;br /&gt;
&lt;br /&gt;
Parallel scan jobs are generated on a &#039;&#039;per-directory&#039;&#039; basis, not a per-file basis. If you request 4 threads but there is only 1 directory to scan, a single thread will be working and the other 3 will sit idle the entire time. Multithreaded mode is optimized for scanning a very large number of directories. It is recommended to use multithreaded mode for full library scans and the default single threaded mode when incrementally adding 1 or 2 albums to your library.&lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see a 50-80% reduction in total scan time, depending on your hardware, settings, and library composition.&lt;br /&gt;
&lt;br /&gt;
====Skip Files with Existing Tags====&lt;br /&gt;
rsgain has an option which will skip files with existing ReplayGain information, invoked by passing {{code|-S}} or {{code|--skip-existing}}. When enabled, rsgain will check whether the given file has a {{code|REPLAYGAIN_TRACK_GAIN}} tag, and skip scanning any files that do. If album tags are enabled, the files in the list will be judged collectively, i.e. if a single file is missing ReplayGain info, then all of them will be scanned.&lt;br /&gt;
&lt;br /&gt;
This feature merely checks for the existence of the tags, and does not verify that the tags are complete, and are compatible with your current settings, e.g. target loudness. You should use this feature only if you are confident in the integrity of the files in the directory to be scanned. It&#039;s generally not a good idea to run this on files that you&#039;ve recently download from the internet, which may have pre-existing ReplayGain information that was tagged by a different scanner.&lt;br /&gt;
&lt;br /&gt;
====Logging====&lt;br /&gt;
You can use the {{code|-O}} option to enable scan logs. The program will save a tab-delimited file titled {{code|replaygain.csv}} with the scan results for every directory it scans. The log files can be viewed in a spreadsheet application such as Microsoft Excel or LibreOffice Calc.&lt;br /&gt;
&lt;br /&gt;
====Scan Presets====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* -18 LUFS target loudness&lt;br /&gt;
* Album tags enabled&lt;br /&gt;
* Sample peak calculations for peak tags&lt;br /&gt;
* Clipping protection enabled for positive gain values only (0 dB max peak)&lt;br /&gt;
* Standard uppercase tags for all formats&lt;br /&gt;
* ID3v2.3 tags for ID3 formats&lt;br /&gt;
* Standard ReplayGain tags for Opus files&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum compatibility with modern players. However, if you need one or more of the settings changed, you can use a preset file.&lt;br /&gt;
&lt;br /&gt;
A preset file is an INI-formatted configuration file that contains sections enclosed in square brackets, and each section contains key=value pairs that correspond to settings. The first section in a presets file is titled &amp;quot;Global&amp;quot; and contains settings that will be applied to every format. The remaining sections pertain to a particular audio format, and the settings within them will only be applied to that format. This allows the user to define settings on a per-format basis. If a setting in the &amp;quot;Global&amp;quot; section is in conflict with one in the format-specific section, the format-specific value will always take precedence.&lt;br /&gt;
&lt;br /&gt;
A preset is specified with the {{code|-p}} option, followed by the path to a preset file &#039;&#039;or&#039;&#039; a preset name. A preset name is the filename of a preset without the directory or .ini file extension; rsgain will search the default preset location(s) for the file based on your platform:&lt;br /&gt;
* On Windows, rsgain will search first in {{code|%USERPROFILE%\.rsgain\presets}}, then the folder {{code|presets}} in the same folder that contains {{code|rsgain.exe}}&lt;br /&gt;
* On Unix platforms, rsgain will search first in the user home directory: {{code|~/Library/rsgain/presets}} on Mac and {{code|~/.config/rsgain/presets}} on Linux (you need to create these directories if they don&#039;t already exist). If the requested preset name is not found in the home directory, rsgain will search {{code|&amp;lt;install prefix&amp;gt;/share/rsgain/presets}}&lt;br /&gt;
&lt;br /&gt;
For example, rsgain ships with a preset {{code|ebur128.ini}}, which will scan files based on the EBU R 128 recommendations. You can invoke this preset with {{code|-p ebur128}}. rsgain also ships with a preset {{code|default.ini}}, which is pre-populated with all of the default settings. This preset is not intended to be used directly, but rather to serve as a base for users to create their own presets. As such, it is not recommended to overwrite it. Instead, save a copy when using it as a base.&lt;br /&gt;
&lt;br /&gt;
The settings in a preset file are applied in an &amp;quot;overrides&amp;quot; fashion. In other words, any settings or formats you&#039;re not interested in can simply be deleted from the preset and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode provides a more complex command line syntax that is similar in nature to mp3gain, loudgain, and other legacy ReplayGain scanners. Only the most basic settings are enabled by default. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to write a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan and tag a short list of MP3 files with album tags enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -s i file1.mp3 file2.mp3 file3.mp3}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,      --help                Show this help.&lt;br /&gt;
&lt;br /&gt;
  -a,      --album               Calculate album gain and peak.&lt;br /&gt;
  -S,      --skip-existing       Don&#039;t scan files with existing ReplayGain information.&lt;br /&gt;
&lt;br /&gt;
  -s s,    --tagmode=s           Scan files but don&#039;t write ReplayGain tags (default).&lt;br /&gt;
  -s d,    --tagmode=d           Delete ReplayGain tags from files.&lt;br /&gt;
  -s i,    --tagmode=i           Scan and write ReplayGain 2.0 tags to files.&lt;br /&gt;
&lt;br /&gt;
  -l n,    --loudness=n          Use n LUFS as target loudness (-30 ≤ n ≤ -5).&lt;br /&gt;
&lt;br /&gt;
  -c n,    --clip-mode=n         No clipping protection (default).&lt;br /&gt;
  -c p,    --clip-mode=p         Clipping protection enabled for positive gain values only.&lt;br /&gt;
  -c a,    --clip-mode=a         Clipping protection always enabled.&lt;br /&gt;
  -m n,    --max-peak=n          Use max peak level n dB for clipping protection.&lt;br /&gt;
  -t,      --true-peak           Use true peak for peak calculations.&lt;br /&gt;
&lt;br /&gt;
  -L,      --lowercase           Write lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                                 This is non-standard but sometimes needed.&lt;br /&gt;
  -I 3,    --id3v2-version=3     Write ID3v2.3 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
  -I 4,    --id3v2-version=4     Write ID3v2.4 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
  -I keep, --id3v2-version=keep  Keep file&#039;s existing ID3v2 version, 3 if none exists.&lt;br /&gt;
&lt;br /&gt;
  -o d,    --opus-mode=d         Write standard ReplayGain tags, clear header output gain (default).&lt;br /&gt;
  -o r,    --opus-mode=r         Write R128_*_GAIN tags, clear header output gain.&lt;br /&gt;
  -o t,    --opus-mode=t         Write track gain to header output gain.&lt;br /&gt;
  -o a,    --opus-mode=a         Write album gain to header output gain.&lt;br /&gt;
&lt;br /&gt;
  -O,      --output              Output tab-delimited scan data to stdout.&lt;br /&gt;
  -O s,    --output=s            Output with sep header (needed for Microsoft Excel compatibility).&lt;br /&gt;
.&lt;br /&gt;
  -q,      --quiet               Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===MusicBrainz Picard Plugin===&lt;br /&gt;
[https://picard.musicbrainz.org/ MusicBrainz Picard] is a free, cross-platform music tagging application. Picard features a robust plugin ecosystem that greatly extends its functionality. rsgain serves as the backend for the ReplayGain 2.0 plugin, which is available from the official plugins repository. Users that prefer a graphical interface over a command line interface can use this plugin to scan their music library.&lt;br /&gt;
&lt;br /&gt;
To install the plugin, navigate to the Options menu in Picard. Select &amp;quot;Plugins&amp;quot; in the sidebar, then find &amp;quot;ReplayGain 2.0&amp;quot; and click the download button. The plugin itself does not include rsgain; you&#039;ll still need to download and install rsgain separately per the [[#installation|Installation]] section for your chosen platform.&lt;br /&gt;
&lt;br /&gt;
You need to set the path to rsgain in the plugin settings. This field is pre-populated with the {{code|rsgain}} command. On Unix platforms, programs are typically installed into a directory that&#039;s already in your {{code|PATH}}, so no further action is necessary in that case. On Windows, you will need to either manually add the folder containing rsgain to your {{code|Path}} as per the installation instructions, or use the exact path to {{code|rsgain.exe}} in the plugin settings.&lt;br /&gt;
&lt;br /&gt;
To use the plugin, add files to Picard and associate them with a release (so the files are in the right window). The plugin can scan albums or individual tracks. Select one or more albums or tracks, then right click and select &amp;quot;Plugins-&amp;gt;Calculate ReplayGain&amp;quot; from the context menu. This calculates the ReplayGain information for the selected items, but does not tag the files. The new tags are available for viewing in the metadata window at the bottom. Click the save button to write the new tags to file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=36434</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=36434"/>
		<updated>2022-12-04T19:35:09Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|300px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 3.1.1&lt;br /&gt;
| stable_release_date  = 2022-11-15&lt;br /&gt;
| operating_system     = Windows, macOS, Linux, BSD&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2.0]] tagging utility for Windows, macOS, and Linux. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is designed with a &amp;quot;batteries included&amp;quot; philosophy, allowing a user to scan their entire music library without requiring external scripts or other tools. It aims to strike the perfect balance between power and simplicity by providing multiple user interfaces. See [[#usage|Usage]] for more information.&lt;br /&gt;
&lt;br /&gt;
rsgain is the backend for the MusicBrainz Picard ReplayGain 2.0 plugin. Users that are not comfortable with command line interfaces may prefer this method since the plugin provides a GUI frontend to rsgain. See [[#MusicBrainz_Picard_Plugin|MusicBrainz Picard Plugin]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choice. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of the path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is a Homebrew formula available for macOS users. Make sure you have Homebrew and the latest available Xcode installed. Execute the following command to install:&lt;br /&gt;
&lt;br /&gt;
{{code|brew install complexlogic/tap/rsgain}}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on Debian Bullseye and later, Ubuntu 21.04 and later. There is also a .rpm package for Fedora users. An [https://aur.archlinux.org/packages/rsgain-git AUR package] is available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
===FreeBSD===&lt;br /&gt;
Available via ports tree or using packages (2023Q1 and later) as listed below:&lt;br /&gt;
{{code|cd /usr/ports/audio/rsgain &amp;amp;&amp;amp; make install clean}}&lt;br /&gt;
{{code|pkg install rsgain}}&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[Musepack]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[AIFF]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain contains two separate user interfaces: Easy Mode and Custom Mode. The distinction between the two modes is rooted in the history of ReplayGain utilities. &lt;br /&gt;
&lt;br /&gt;
Legacy ReplayGain tagging utilities such as mp3gain did not support recursive directory-based scanning. The user was required to manually specify a list of files on the command line, preceded by options which were numerous and complex. This interface provided a lot of power and flexibility, but it wasn&#039;t particularly user friendly. Performing a full library scan typically required the user to supplement the program with a wrapper script that traversed the directory tree and detected the files.&lt;br /&gt;
&lt;br /&gt;
rsgain&#039;s Easy Mode &#039;&#039;is&#039;&#039; that wrapper script; the functionality is built-in to the program. In Easy Mode, the user simply points the program to their library and it will be recursively scanned with all recommended settings enabled by default. &lt;br /&gt;
&lt;br /&gt;
The legacy-style interface has been retained as &amp;quot;Custom Mode&amp;quot; for users that require a higher level of control.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. You can use Easy Mode if the following conditions apply:&lt;br /&gt;
* Your music library is organized by album, i.e. each album has its own folder&lt;br /&gt;
* In each album folder, all audio files are of the same type. It is acceptable to have non-audio files mixed in such as log files or artwork, but if multiple &#039;&#039;audio&#039;&#039; file types are detected, the folder will not be scanned.&lt;br /&gt;
&lt;br /&gt;
Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan, e.g.:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
This is all that is required for most users. Advanced users should see the [[#scan_presets|Scan Presets]] section for more information about the default settings and how to override them, if desired.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must not exceed the number that your CPU supports. For example, if you have a CPU with 4 threads:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know how many threads your CPU has, you can also specify {{code|-m MAX}} and rsgain will use the number provided by your operating system. This is useful for writing scripts where the hardware properties of the target machine are unknown.&lt;br /&gt;
&lt;br /&gt;
Parallel scan jobs are generated on a &#039;&#039;per-directory&#039;&#039; basis, not a per-file basis. If you request 4 threads but there is only 1 directory to scan, a single thread will be working and the other 3 will sit idle the entire time. Multithreaded mode is optimized for scanning a very large number of directories. It is recommended to use multithreaded mode for full library scans and the default single threaded mode when incrementally adding 1 or 2 albums to your library.&lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see a 50-80% reduction in total scan time, depending on your hardware, settings, and library composition.&lt;br /&gt;
&lt;br /&gt;
====Skip Files with Existing Tags====&lt;br /&gt;
rsgain has an option which will skip files with existing ReplayGain information, invoked by passing {{code|-S}} or {{code|--skip-existing}}. When enabled, rsgain will check whether the given file has a {{code|REPLAYGAIN_TRACK_GAIN}} tag, and skip scanning any files that do. If album tags are enabled, the files in the list will be judged collectively, i.e. if a single file is missing ReplayGain info, then all of them will be scanned.&lt;br /&gt;
&lt;br /&gt;
This feature merely checks for the existence of the tags, and does not verify that the tags are complete, and are compatible with your current settings, e.g. target loudness. You should use this feature only if you are confident in the integrity of the files in the directory to be scanned. It&#039;s generally not a good idea to run this on files that you&#039;ve recently download from the internet, which may have pre-existing ReplayGain information that was tagged by a different scanner.&lt;br /&gt;
&lt;br /&gt;
====Logging====&lt;br /&gt;
You can use the {{code|-O}} option to enable scan logs. The program will save a tab-delimited file titled {{code|replaygain.csv}} with the scan results for every directory it scans. The log files can be viewed in a spreadsheet application such as Microsoft Excel or LibreOffice Calc.&lt;br /&gt;
&lt;br /&gt;
====Scan Presets====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* -18 LUFS target loudness&lt;br /&gt;
* Album tags enabled&lt;br /&gt;
* Sample peak calculations for peak tags&lt;br /&gt;
* Clipping protection enabled for positive gain values only (0 dB max peak)&lt;br /&gt;
* Standard uppercase tags for all formats&lt;br /&gt;
* ID3v2.3 tags for ID3 formats&lt;br /&gt;
* Standard ReplayGain tags for Opus files&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum compatibility with modern players. However, if you need one or more of the settings changed, you can use a preset file.&lt;br /&gt;
&lt;br /&gt;
A preset file is an INI-formatted configuration file that contains sections enclosed in square brackets, and each section contains key=value pairs that correspond to settings. The first section in a presets file is titled &amp;quot;Global&amp;quot; and contains settings that will be applied to every format. The remaining sections pertain to a particular audio format, and the settings within them will only be applied to that format. This allows the user to define settings on a per-format basis. If a setting in the &amp;quot;Global&amp;quot; section is in conflict with one in the format-specific section, the format-specific value will always take precedence.&lt;br /&gt;
&lt;br /&gt;
A preset is specified with the {{code|-p}} option, followed by the path to a preset file &#039;&#039;or&#039;&#039; a preset name. A preset name is the filename of a preset without the directory or .ini file extension; rsgain will search the default preset location(s) for the file based on your platform:&lt;br /&gt;
* On Windows, the folder {{code|presets}} in the same folder that contains {{code|rsgain.exe}}&lt;br /&gt;
* On Unix platforms, rsgain will search first in the user home directory: {{code|~/Library/rsgain/presets}} on Mac and {{code|~/.config/rsgain/presets}} on Linux (you need to create these directories if they don&#039;t already exist). If the requested preset name is not found in the home directory, rsgain will search {{code|&amp;lt;install prefix&amp;gt;/share/rsgain/presets}}&lt;br /&gt;
&lt;br /&gt;
For example, rsgain ships with a preset {{code|ebur128.ini}}, which will scan files based on the EBU R 128 recommendations. You can invoke this preset with {{code|-p ebur128}}. rsgain also ships with a preset {{code|default.ini}}, which is pre-populated with all of the default settings. This preset is not intended to be used directly, but rather to serve as a base for users to create their own presets. As such, it is not recommended to overwrite it. Instead, save a copy when using it as a base.&lt;br /&gt;
&lt;br /&gt;
The settings in a preset file are applied in an &amp;quot;overrides&amp;quot; fashion. In other words, any settings or formats you&#039;re not interested in can simply be deleted from the preset and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode provides a more complex command line syntax that is similar in nature to mp3gain, loudgain, and other legacy ReplayGain scanners. Only the most basic settings are enabled by default. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to write a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan and tag a short list of MP3 files with album tags enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -s i file1.mp3 file2.mp3 file3.mp3}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help              Show this help.&lt;br /&gt;
&lt;br /&gt;
  -a,   --album             Calculate album gain and peak.&lt;br /&gt;
  -S,   --skip-existing     Don&#039;t scan files with existing ReplayGain information.&lt;br /&gt;
&lt;br /&gt;
  -s s, --tagmode=s         Scan files but don&#039;t write ReplayGain tags (default).&lt;br /&gt;
  -s d, --tagmode=d         Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i         Scan and write ReplayGain 2.0 tags to files.&lt;br /&gt;
&lt;br /&gt;
  -l n, --loudness=n        Use n LUFS as target loudness (-30 ≤ n ≤ -5).&lt;br /&gt;
&lt;br /&gt;
  -c n, --clip-mode=n       No clipping protection (default).&lt;br /&gt;
  -c p, --clip-mode=p       Clipping protection enabled for positive gain values only.&lt;br /&gt;
  -c a, --clip-mode=a       Clipping protection always enabled.&lt;br /&gt;
  -m n, --max-peak=n        Use max peak level n dB for clipping protection.&lt;br /&gt;
  -t,   --true-peak         Use true peak for peak calculations.&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase         Write lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                            This is non-standard but sometimes needed.&lt;br /&gt;
  -I 3, --id3v2-version=3   Write ID3v2.3 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
  -I 4, --id3v2-version=4   Write ID3v2.4 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
&lt;br /&gt;
  -o d, --opus-mode=d       Write standard ReplayGain tags, clear header output gain (default).&lt;br /&gt;
  -o r, --opus-mode=r       Write R128_*_GAIN tags, clear header output gain.&lt;br /&gt;
  -o t, --opus-mode=t       Write track gain to header output gain.&lt;br /&gt;
  -o a, --opus-mode=a       Write album gain to header output gain.&lt;br /&gt;
&lt;br /&gt;
  -O,   --output            Output tab-delimited scan data to stdout.&lt;br /&gt;
  -q,   --quiet             Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===MusicBrainz Picard Plugin===&lt;br /&gt;
[https://picard.musicbrainz.org/ MusicBrainz Picard] is a free, cross-platform music tagging application. Picard features a robust plugin ecosystem that greatly extends its functionality. rsgain serves as the backend for the ReplayGain 2.0 plugin, which is available from the official plugins repository. Users that prefer a graphical interface over a command line interface can use this plugin to scan their music library.&lt;br /&gt;
&lt;br /&gt;
To install the plugin, navigate to the Options menu in Picard. Select &amp;quot;Plugins&amp;quot; in the sidebar, then find &amp;quot;ReplayGain 2.0&amp;quot; and click the download button. The plugin itself does not include rsgain; you&#039;ll still need to download and install rsgain separately per the [[#installation|Installation]] section for your chosen platform.&lt;br /&gt;
&lt;br /&gt;
You need to set the path to rsgain in the plugin settings. This field is pre-populated with the {{code|rsgain}} command. On Unix platforms, programs are typically installed into a directory that&#039;s already in your {{code|PATH}}, so no further action is necessary in that case. On Windows, you will need to either manually add the folder containing rsgain to your {{code|Path}} as per the installation instructions, or use the exact path to {{code|rsgain.exe}} in the plugin settings.&lt;br /&gt;
&lt;br /&gt;
To use the plugin, add files to Picard and associate them with a release (so the files are in the right window). The plugin can scan albums or individual tracks. Select one or more albums or tracks, then right click and select &amp;quot;Plugins-&amp;gt;Calculate ReplayGain&amp;quot; from the context menu. This calculates the ReplayGain information for the selected items, but does not tag the files. The new tags are available for viewing in the metadata window at the bottom. Click the save button to write the new tags to file.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35866</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35866"/>
		<updated>2022-09-18T16:14:09Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Fix grammar mistake&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|300px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 3.0&lt;br /&gt;
| stable_release_date  = 2022-09-14&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2.0]] tagging utility for Windows, macOS, and Linux. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is designed with a &amp;quot;batteries included&amp;quot; philosophy, allowing a user to scan their entire music library without requiring external scripts or other tools. It aims to strike the perfect balance between power and simplicity by providing multiple user interfaces. See [[#usage|Usage]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choice. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of the path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is a Homebrew formula available for macOS users. Make sure you have Homebrew and the latest available Xcode installed. Execute the following command to install:&lt;br /&gt;
&lt;br /&gt;
{{code|brew install complexlogic/tap/rsgain}}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on Debian Bullseye and later, Ubuntu 21.04 and later. There is also an [https://aur.archlinux.org/packages/rsgain-git AUR package] available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[AIFF]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain contains two separate user interfaces: Easy Mode and Custom Mode. The distinction between the two modes is rooted in the history of ReplayGain utilities. &lt;br /&gt;
&lt;br /&gt;
Legacy ReplayGain tagging utilities such as mp3gain did not support recursive directory-based scanning. The user was required to manually specify a list of files on the command line, preceded by options which were numerous and complex. This interface provided a lot of power and flexibility, but it wasn&#039;t particularly user friendly. Performing a full library scan typically required the user to supplement the program with a wrapper script that traversed the directory tree and detected the files.&lt;br /&gt;
&lt;br /&gt;
rsgain&#039;s Easy Mode &#039;&#039;is&#039;&#039; that wrapper script; the functionality is built-in to the program. In Easy Mode, the user simply points the program to their library and it will be recursively scanned with all recommended settings enabled by default. &lt;br /&gt;
&lt;br /&gt;
The legacy-style interface has been retained as &amp;quot;Custom Mode&amp;quot; for users that require a higher level of control.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. You can use Easy Mode if the following conditions apply:&lt;br /&gt;
* Your music library is organized by album, i.e. each album has its own folder&lt;br /&gt;
* In each album folder, all audio files are of the same type. It is acceptable to have non-audio files mixed in such as log files or artwork, but if multiple &#039;&#039;audio&#039;&#039; file types are detected, the folder will not be scanned.&lt;br /&gt;
&lt;br /&gt;
Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan, e.g.:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
This is all that is required for most users. Advanced users should see the [[#scan_presets|Scan Presets]] section for more information about the default settings and how to override them, if desired.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must not exceed the number that your CPU supports. For example, if you have a CPU with 4 threads:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know how many threads your CPU has, you can also specify {{code|-m MAX}} and rsgain will use the number provided by your operating system. This is useful for writing scripts where the hardware properties of the target machine are unknown.&lt;br /&gt;
&lt;br /&gt;
Parallel scan jobs are generated on a &#039;&#039;per-directory&#039;&#039; basis, not a per-file basis. If you request 4 threads but there is only 1 directory to scan, a single thread will be working and the other 3 will sit idle the entire time. Multithreaded mode is optimized for scanning a very large number of directories. It is recommended to use multithreaded mode for full library scans and the default single threaded mode when incrementally adding 1 or 2 albums to your library.&lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see a 50-80% reduction in total scan time, depending on your hardware, settings, and library composition.&lt;br /&gt;
&lt;br /&gt;
====Logging====&lt;br /&gt;
You can use the {{code|-O}} option to enable scan logs. The program will save a tab-delimited file titled {{code|replaygain.csv}} with the scan results for every directory it scans. The log files can be viewed in a spreadsheet application such as Microsoft Excel or LibreOffice Calc.&lt;br /&gt;
&lt;br /&gt;
====Scan Presets====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* -18 LUFS target loudness&lt;br /&gt;
* Album tags enabled&lt;br /&gt;
* Sample peak calculations for peak tags&lt;br /&gt;
* Clipping protection enabled for positive gain values only (0 dB max peak)&lt;br /&gt;
* Standard uppercase tags for all formats&lt;br /&gt;
* ID3v2.3 tags for ID3 formats&lt;br /&gt;
* Standard ReplayGain tags for Opus files&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum compatibility with modern players. However, if you need one or more of the settings changed, you can use a preset file.&lt;br /&gt;
&lt;br /&gt;
A preset file is an INI-formatted configuration file that contains sections enclosed in square brackets, and each section contains key=value pairs that correspond to settings. The first section in a presets file is titled &amp;quot;Global&amp;quot; and contains settings that will be applied to every format. The remaining sections pertain to a particular audio format, and the settings within them will only be applied to that format. This allows the user to define settings on a per-format basis. If a setting in the &amp;quot;Global&amp;quot; section is in conflict with one in the format-specific section, the format-specific value will always take precedence.&lt;br /&gt;
&lt;br /&gt;
A preset is specified with the {{code|-p}} option, followed by the path to a preset file &#039;&#039;or&#039;&#039; a preset name. A preset name is the filename of a preset without the directory or .ini file extension; rsgain will search the default preset location(s) for the file based on your platform:&lt;br /&gt;
* On Windows, the folder {{code|presets}} in the same folder that contains {{code|rsgain.exe}}&lt;br /&gt;
* On Unix platforms, rsgain will search first in the user home directory: {{code|~/Library/rsgain/presets}} on Mac and {{code|~/.config/rsgain/presets}} on Linux (you need to create these directories if they don&#039;t already exist). If the requested preset name is not found in the home directory, rsgain will search {{code|&amp;lt;install prefix&amp;gt;/share/rsgain/presets}}&lt;br /&gt;
&lt;br /&gt;
For example, rsgain ships with a preset {{code|ebur128.ini}}, which will scan files based on the EBU R 128 recommendations. You can invoke this preset with {{code|-p ebur128}}. rsgain also ships with a preset {{code|default.ini}}, which is pre-populated with all of the default settings. This preset is not intended to be used directly, but rather to serve as a base for users to create their own presets. As such, it is not recommended to overwrite it. Instead, save a copy when using it as a base.&lt;br /&gt;
&lt;br /&gt;
The settings in a preset file are applied in an &amp;quot;overrides&amp;quot; fashion. In other words, any settings or formats you&#039;re not interested in can simply be deleted from the preset and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode provides a more complex command line syntax that is similar in nature to mp3gain, loudgain, and other legacy ReplayGain scanners. Only the most basic settings are enabled by default. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to write a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan and tag a short list of MP3 files with album tags enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -s i file1.mp3 file2.mp3 file3.mp3}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help              Show this help.&lt;br /&gt;
&lt;br /&gt;
  -a,   --album             Calculate album gain and peak.&lt;br /&gt;
&lt;br /&gt;
  -s s, --tagmode=s         Scan files but don&#039;t write ReplayGain tags (default).&lt;br /&gt;
  -s d, --tagmode=d         Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i         Scan and write ReplayGain 2.0 tags to files.&lt;br /&gt;
&lt;br /&gt;
  -l n, --loudness=n        Use n LUFS as target loudness (-30 ≤ n ≤ -5).&lt;br /&gt;
&lt;br /&gt;
  -c n, --clip-mode=n       No clipping protection (default).&lt;br /&gt;
  -c p, --clip-mode=p       Clipping protection enabled for positive gain values only.&lt;br /&gt;
  -c a, --clip-mode=a       Clipping protection always enabled.&lt;br /&gt;
  -m n, --max-peak=n        Use max peak level n dB for clipping protection.&lt;br /&gt;
  -t,   --true-peak         Use true peak for peak calculations.&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase         Write lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                            This is non-standard but sometimes needed.&lt;br /&gt;
  -I 3, --id3v2-version=3   Write ID3v2.3 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
  -I 4, --id3v2-version=4   Write ID3v2.4 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
&lt;br /&gt;
  -o d, --opus-mode=d       Write standard ReplayGain tags, clear header output gain (default).&lt;br /&gt;
  -o r, --opus-mode=r       Write R128_*_GAIN tags, clear header output gain.&lt;br /&gt;
  -o t, --opus-mode=t       Write track gain to header output gain.&lt;br /&gt;
  -o a, --opus-mode=a       Write album gain to header output gain.&lt;br /&gt;
&lt;br /&gt;
  -O,   --output            Output tab-delimited scan data to stdout.&lt;br /&gt;
  -q,   --quiet             Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35865</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35865"/>
		<updated>2022-09-18T16:03:01Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Update for v3.0&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|300px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 3.0&lt;br /&gt;
| stable_release_date  = 2022-09-14&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2.0]] tagging utility for Windows, macOS, and Linux. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is designed with a &amp;quot;batteries included&amp;quot; philosophy, allowing a user to scan their entire music library without requiring external scripts or other tools. It aims to strike the perfect balance between power and simplicity by providing multiple user interfaces. See [[#usage|Usage]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choice. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of the path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is a Homebrew formula available for macOS users. Make sure you have Homebrew and the latest available Xcode installed. Execute the following command to install:&lt;br /&gt;
&lt;br /&gt;
{{code|brew install complexlogic/tap/rsgain}}&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on Debian Bullseye and later, Ubuntu 21.04 and later. There is also a [https://aur.archlinux.org/packages/rsgain-git AUR package] available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[AIFF]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain contains two separate user interfaces: Easy Mode and Custom Mode. The distinction between the two modes is rooted in the history of ReplayGain utilities. &lt;br /&gt;
&lt;br /&gt;
Legacy ReplayGain tagging utilities such as mp3gain did not support recursive directory-based scanning. The user was required to manually specify a list of files on the command line, preceded by options which were numerous and complex. This interface provided a lot of power and flexibility, but it wasn&#039;t particularly user friendly. Performing a full library scan typically required the user to supplement the program with a wrapper script that traversed the directory tree and detected the files.&lt;br /&gt;
&lt;br /&gt;
rsgain&#039;s Easy Mode &#039;&#039;is&#039;&#039; that wrapper script; the functionality is built-in to the program. In Easy Mode, the user simply points the program to their library and it will be recursively scanned with all recommended settings enabled by default. &lt;br /&gt;
&lt;br /&gt;
The legacy-style interface has been retained as &amp;quot;Custom Mode&amp;quot; for users that require a higher level of control.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. You can use Easy Mode if the following conditions apply:&lt;br /&gt;
* Your music library is organized by album, i.e. each album has its own folder&lt;br /&gt;
* In each album folder, all audio files are of the same type. It is acceptable to have non-audio files mixed in such as log files or artwork, but if multiple &#039;&#039;audio&#039;&#039; file types are detected, the folder will not be scanned.&lt;br /&gt;
&lt;br /&gt;
Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan, e.g.:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
This is all that is required for most users. Advanced users should see the [[#scan_presets|Scan Presets]] section for more information about the default settings and how to override them, if desired.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must not exceed the number that your CPU supports. For example, if you have a CPU with 4 threads:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know how many threads your CPU has, you can also specify {{code|-m MAX}} and rsgain will use the number provided by your operating system. This is useful for writing scripts where the hardware properties of the target machine are unknown.&lt;br /&gt;
&lt;br /&gt;
Parallel scan jobs are generated on a &#039;&#039;per-directory&#039;&#039; basis, not a per-file basis. If you request 4 threads but there is only 1 directory to scan, a single thread will be working and the other 3 will sit idle the entire time. Multithreaded mode is optimized for scanning a very large number of directories. It is recommended to use multithreaded mode for full library scans and the default single threaded mode when incrementally adding 1 or 2 albums to your library.&lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see a 50-80% reduction in total scan time, depending on your hardware, settings, and library composition.&lt;br /&gt;
&lt;br /&gt;
====Logging====&lt;br /&gt;
You can use the {{code|-O}} option to enable scan logs. The program will save a tab-delimited file titled {{code|replaygain.csv}} with the scan results for every directory it scans. The log files can be viewed in a spreadsheet application such as Microsoft Excel or LibreOffice Calc.&lt;br /&gt;
&lt;br /&gt;
====Scan Presets====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* -18 LUFS target loudness&lt;br /&gt;
* Album tags enabled&lt;br /&gt;
* Sample peak calculations for peak tags&lt;br /&gt;
* Clipping protection enabled for positive gain values only (0 dB max peak)&lt;br /&gt;
* Standard uppercase tags for all formats&lt;br /&gt;
* ID3v2.3 tags for ID3 formats&lt;br /&gt;
* Standard ReplayGain tags for Opus files&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum compatibility with modern players. However, if you need one or more of the settings changed, you can use a preset file.&lt;br /&gt;
&lt;br /&gt;
A preset file is an INI-formatted configuration file that contains sections enclosed in square brackets, and each section contains key=value pairs that correspond to settings. The first section in a presets file is titled &amp;quot;Global&amp;quot; and contains settings that will be applied to every format. The remaining sections pertain to a particular audio format, and the settings within them will only be applied to that format. This allows the user to define settings on a per-format basis. If a setting in the &amp;quot;Global&amp;quot; section is in conflict with one in the format-specific section, the format-specific value will always take precedence.&lt;br /&gt;
&lt;br /&gt;
A preset is specified with the {{code|-p}} option, followed by the path to a preset file &#039;&#039;or&#039;&#039; a preset name. A preset name is the filename of a preset without the directory or .ini file extension; rsgain will search the default preset location(s) for the file based on your platform:&lt;br /&gt;
* On Windows, the folder {{code|presets}} in the same folder that contains {{code|rsgain.exe}}&lt;br /&gt;
* On Unix platforms, rsgain will search first in the user home directory: {{code|~/Library/rsgain/presets}} on Mac and {{code|~/.config/rsgain/presets}} on Linux (you need to create these directories if they don&#039;t already exist). If the requested preset name is not found in the home directory, rsgain will search {{code|&amp;lt;install prefix&amp;gt;/share/rsgain/presets}}&lt;br /&gt;
&lt;br /&gt;
For example, rsgain ships with a preset {{code|ebur128.ini}}, which will scan files based on the EBU R 128 recommendations. You can invoke this preset with {{code|-p ebur128}}. rsgain also ships with a preset {{code|default.ini}}, which is pre-populated with all of the default settings. This preset is not intended to be used directly, but rather to serve as a base for users to create their own presets. As such, it is not recommended to overwrite it. Instead, save a copy when using it as a base.&lt;br /&gt;
&lt;br /&gt;
The settings in a preset file are applied in an &amp;quot;overrides&amp;quot; fashion. In other words, any settings or formats you&#039;re not interested in can simply be deleted from the preset and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode provides a more complex command line syntax that is similar in nature to mp3gain, loudgain, and other legacy ReplayGain scanners. Only the most basic settings are enabled by default. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to write a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan and tag a short list of MP3 files with album tags enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -s i file1.mp3 file2.mp3 file3.mp3}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help              Show this help.&lt;br /&gt;
&lt;br /&gt;
  -a,   --album             Calculate album gain and peak.&lt;br /&gt;
&lt;br /&gt;
  -s s, --tagmode=s         Scan files but don&#039;t write ReplayGain tags (default).&lt;br /&gt;
  -s d, --tagmode=d         Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i         Scan and write ReplayGain 2.0 tags to files.&lt;br /&gt;
&lt;br /&gt;
  -l n, --loudness=n        Use n LUFS as target loudness (-30 ≤ n ≤ -5).&lt;br /&gt;
&lt;br /&gt;
  -c n, --clip-mode=n       No clipping protection (default).&lt;br /&gt;
  -c p, --clip-mode=p       Clipping protection enabled for positive gain values only.&lt;br /&gt;
  -c a, --clip-mode=a       Clipping protection always enabled.&lt;br /&gt;
  -m n, --max-peak=n        Use max peak level n dB for clipping protection.&lt;br /&gt;
  -t,   --true-peak         Use true peak for peak calculations.&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase         Write lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                            This is non-standard but sometimes needed.&lt;br /&gt;
  -I 3, --id3v2-version=3   Write ID3v2.3 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
  -I 4, --id3v2-version=4   Write ID3v2.4 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
&lt;br /&gt;
  -o d, --opus-mode=d       Write standard ReplayGain tags, clear header output gain (default).&lt;br /&gt;
  -o r, --opus-mode=r       Write R128_*_GAIN tags, clear header output gain.&lt;br /&gt;
  -o t, --opus-mode=t       Write track gain to header output gain.&lt;br /&gt;
  -o a, --opus-mode=a       Write album gain to header output gain.&lt;br /&gt;
&lt;br /&gt;
  -O,   --output            Output tab-delimited scan data to stdout.&lt;br /&gt;
  -q,   --quiet             Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35606</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35606"/>
		<updated>2022-05-18T19:36:19Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|300px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 2.0.1&lt;br /&gt;
| stable_release_date  = 2022-05-18&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2.0]] tagging utility for Windows, macOS, and Linux. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is a heavily modified fork of [[loudgain]]. The goal of rsgain is to take the excellent platform created by loudgain and simplify it for the average user, while also preserving the advanced features for users that need them. The following improvements have been made from loudgain:&lt;br /&gt;
* Native Windows support&lt;br /&gt;
* Built-in recursive directory scanning without the need for a wrapper script. See [[#Easy_Mode|Easy Mode]] for more details.&lt;br /&gt;
* Multithreaded scanning&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choosing. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of the path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is currently no binary package available for macOS, so Mac users will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on most APT-based distro releases from 2021 and later. There is also a [https://github.com/complexlogic/rsgain/blob/master/config/PKGBUILD PKGBUILD script] available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain has two modes of operation: Easy Mode and Custom Mode. Easy Mode is recommended over Custom Mode for almost all use cases. Custom Mode exists to provides backwards compatibility with the legacy loudgain/mp3gain command line.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. You can use Easy Mode if the following conditions apply:&lt;br /&gt;
* Your music library is organized by album, i.e. each album has its own folder&lt;br /&gt;
* In each album folder, all audio files are of the same type. It is acceptable to have non-audio files mixed in such as log files or artwork, but if multiple &#039;&#039;audio&#039;&#039; file types are detected, the folder will not be scanned.&lt;br /&gt;
&lt;br /&gt;
Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan, e.g.:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
This is all that is required for most users. Advanced users should see [[#Setting_Overrides|Setting Overrides]] for more information about the default settings and how to override them, if desired.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must be one per physical CPU core or fewer. For example, if you have a quad core CPU:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
The scan progress bar is automatically disabled in multithreaded operation because multiple files are being scanned in parallel. &lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see speed gains of 60-70%. However, you will also have close to 100% CPU utilization when scanning multithreaded. Consider using multithreaded on a full library scan, and the default single threaded mode when incrementally adding one or two albums to your library.&lt;br /&gt;
&lt;br /&gt;
====Setting Overrides====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* Clipping protection enabled&lt;br /&gt;
* Lowercase tags for MP2/MP3, M4A, WMA, WAV, and AIFF (uppercase for all others)&lt;br /&gt;
* Decibal units&lt;br /&gt;
* All optional tags enabled:&lt;br /&gt;
** Range calculations&lt;br /&gt;
** Peak calcuations&lt;br /&gt;
** Reference loudness&lt;br /&gt;
** Album tags&lt;br /&gt;
* ID3 version 2.3 tags&lt;br /&gt;
* Strip obsolete ID3 version 1 tags&lt;br /&gt;
* -1 dBTP max true peak&lt;br /&gt;
* No pregain&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum comptatibility with available players. However, if you need one of the settings changed, you can override them on a per-format basis using the {{code|-o}} option, and an overrides file.&lt;br /&gt;
&lt;br /&gt;
The overrides file is an INI-formatted file that contains sections enclosed in square brackets which correspond to the available formats, and each section contains key=value pairs that correspond to settings. The overrides feature is intended for users that can&#039;t use the default settings of Easy Mode, but still prefer the functionality of Easy Mode over Custom Mode.&lt;br /&gt;
&lt;br /&gt;
For example, Easy Mode writes lowercase tags on MP3 files by default, but suppose you want uppercase tags instead. Format your {{code|overrides.ini}} file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[MP3]&lt;br /&gt;
Lowercase=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, pass the path to the overrides file with the {{code|-o}} option:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -o /path/to/overrides.ini /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
A default {{code|overrides.ini}} file ships with rsgain in the root package directory for Windows, and in {{code|&amp;lt;install prefix&amp;gt;/share/rsgain}} for Unix. The file is pre-populated with all settings that are available to change. Note that this is an &#039;&#039;overrides&#039;&#039; file, not a configuration file, i.e any formats or settings you&#039;re not interested in can simply be deleted and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode preserves loudgain&#039;s command line syntax for users that still need it. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to use a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan all FLAC files in the current directory with album gain and clipping protection enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -k -s e *.flac}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help            Show this help.&lt;br /&gt;
&lt;br /&gt;
  -r,   --track           Calculate track gain only (default).&lt;br /&gt;
  -a,   --album           Calculate album gain (and track gain).&lt;br /&gt;
&lt;br /&gt;
  -c,   --clip            Ignore clipping warning.&lt;br /&gt;
  -k,   --noclip          Lower track/album gain to avoid clipping (&amp;lt;= -1 dBTP).&lt;br /&gt;
  -K n, --maxtpl=n        Avoid clipping; max. true peak level = n dBTP.&lt;br /&gt;
  -d n, --pregain=n       Apply n dB/LU pre-gain value (-5 for -23 LUFS target).&lt;br /&gt;
&lt;br /&gt;
  -s d, --tagmode=d       Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i       Write ReplayGain 2.0 tags to files.&lt;br /&gt;
  -s e, --tagmode=e       like &#039;-s i&#039;, plus extra tags (reference, ranges).&lt;br /&gt;
  -s l, --tagmode=l       like &#039;-s e&#039;, but LU units instead of dB.&lt;br /&gt;
  -s s, --tagmode=s       Don&#039;t write ReplayGain tags (default).&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase       Force lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                          This is non-standard but sometimes needed.&lt;br /&gt;
  -S,   --striptags       Strip tag types other than ID3v2 from MP2/MP3.&lt;br /&gt;
                          Strip tag types other than APEv2 from WavPack/APE.&lt;br /&gt;
  -I 3, --id3v2version=3  Write ID3v2.3 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
  -I 4, --id3v2version=4  Write ID3v2.4 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
&lt;br /&gt;
  -O,   --output          Database-friendly tab-delimited list output.&lt;br /&gt;
  -q,   --quiet           Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[AIFF]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35604</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35604"/>
		<updated>2022-05-18T13:59:42Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Update for v2.0.1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|300px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 2.0.1&lt;br /&gt;
| stable_release_date  = 2022-05-18&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2.0]] tagging utility for Windows, macOS, and Linux. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is a heavily modified fork of [[loudgain]]. The goal of rsgain is to take the excellent platform created by loudgain and simplify it for the average user, while also preserving the advanced features for users that need them. The following improvements have been made from loudgain:&lt;br /&gt;
* Native Windows support&lt;br /&gt;
* Built-in recursive directory scanning without the need for a wrapper script. See [[#Easy_Mode|Easy Mode]] for more details.&lt;br /&gt;
* Multithreaded scanning&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choosing. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of the path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is currently no binary package available for macOS, so Mac users will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on most APT-based distro releases from 2021 and later. There is also a [https://github.com/complexlogic/rsgain/blob/master/config/PKGBUILD PKGBUILD script] available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain has two modes of operation: Easy Mode and Custom Mode. Easy Mode is recommended over Custom Mode for almost all use cases. Custom Mode exists to provides backwards compatibility with the legacy loudgain/mp3gain command line.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. You can use Easy Mode if the following conditions apply:&lt;br /&gt;
* Your music library is organized by album, i.e. each album has its own folder&lt;br /&gt;
* In each album folder, all audio files are of the same type. It is acceptable to have non-audio files mixed in such as log files or artwork, but if multiple &#039;&#039;audio&#039;&#039; file types are detected, the folder will not be scanned.&lt;br /&gt;
&lt;br /&gt;
Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan, e.g.:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
This is all that is required for most users. Advanced users should see [[#Setting_Overrides|Setting Overrides]] for more information about the default settings and how to override them, if desired.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must be one per physical CPU core or fewer. For example, if you have a quad core CPU:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
The scan progress bar is automatically disabled in multithreaded operation because multiple files are being scanned in parallel. &lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see speed gains of 60-70%. However, you will also have close to 100% CPU utilization when scanning multithreaded. Consider using multithreaded on a full library scan, and the default single threaded mode when incrementally adding one or two albums to your library.&lt;br /&gt;
&lt;br /&gt;
====Setting Overrides====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* Clipping protection enabled&lt;br /&gt;
* Lowercase tags for MP2/MP3, M4A, WMA, WAV, and AIFF (uppercase for all others)&lt;br /&gt;
* Decibal units&lt;br /&gt;
* All optional tags enabled:&lt;br /&gt;
** Range calculations&lt;br /&gt;
** Peak calcuations&lt;br /&gt;
** Reference loudness&lt;br /&gt;
** Album tags&lt;br /&gt;
* ID3 version 2.3 tags&lt;br /&gt;
* Strip obsolete ID3 version 1 tags&lt;br /&gt;
* -1 dBTP max true peak&lt;br /&gt;
* No pregain&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum comptatibility with available players. However, if you need one of the settings changed, you can override them on a per-format basis using the {{code|-o}} option, and an overrides file.&lt;br /&gt;
&lt;br /&gt;
The overrides file is an INI-formatted file that contains sections enclosed in square brackets which correspond to the available formats, and each section contains key=value pairs that correspond to settings. The overrides feature is intended for users that can&#039;t use the default settings of Easy Mode, but still prefer the functionality of Easy Mode over Custom Mode.&lt;br /&gt;
&lt;br /&gt;
For example, rsgain writes lowercase tags on MP3 files by default, but suppose you want uppercase tags instead. Format your {{code|overrides.ini}} file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[MP3]&lt;br /&gt;
Lowercase=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, pass the path to the overrides file with the {{code|-o}} option:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -o /path/to/overrides.ini /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
A default {{code|overrides.ini}} file ships with rsgain in the root package directory for Windows, and in {{code|&amp;lt;install prefix&amp;gt;/share/rsgain}} for Unix. The file is pre-populated will all settings that are available to change. Note that this is an &#039;&#039;overrides&#039;&#039; file, not a configuration file, i.e any formats or settings you&#039;re not interested in can simply be deleted and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode preserves loudgain&#039;s command line syntax for users that still need it. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to use a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan all FLAC files in the current directory with album gain and clipping protection enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -k -s e *.flac}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help            Show this help.&lt;br /&gt;
&lt;br /&gt;
  -r,   --track           Calculate track gain only (default).&lt;br /&gt;
  -a,   --album           Calculate album gain (and track gain).&lt;br /&gt;
&lt;br /&gt;
  -c,   --clip            Ignore clipping warning.&lt;br /&gt;
  -k,   --noclip          Lower track/album gain to avoid clipping (&amp;lt;= -1 dBTP).&lt;br /&gt;
  -K n, --maxtpl=n        Avoid clipping; max. true peak level = n dBTP.&lt;br /&gt;
  -d n, --pregain=n       Apply n dB/LU pre-gain value (-5 for -23 LUFS target).&lt;br /&gt;
&lt;br /&gt;
  -s d, --tagmode=d       Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i       Write ReplayGain 2.0 tags to files.&lt;br /&gt;
  -s e, --tagmode=e       like &#039;-s i&#039;, plus extra tags (reference, ranges).&lt;br /&gt;
  -s l, --tagmode=l       like &#039;-s e&#039;, but LU units instead of dB.&lt;br /&gt;
  -s s, --tagmode=s       Don&#039;t write ReplayGain tags (default).&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase       Force lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                          This is non-standard but sometimes needed.&lt;br /&gt;
  -S,   --striptags       Strip tag types other than ID3v2 from MP2/MP3.&lt;br /&gt;
                          Strip tag types other than APEv2 from WavPack/APE.&lt;br /&gt;
  -I 3, --id3v2version=3  Write ID3v2.3 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
  -I 4, --id3v2version=4  Write ID3v2.4 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
&lt;br /&gt;
  -O,   --output          Database-friendly tab-delimited list output.&lt;br /&gt;
  -q,   --quiet           Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[AIFF]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Loudgain&amp;diff=35600</id>
		<title>Loudgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Loudgain&amp;diff=35600"/>
		<updated>2022-05-17T13:56:35Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Undo revision 35506 by Complexlogic (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = loudgain&lt;br /&gt;
| screenshot           = [[File:Loudgain-terminal.png|256px]]&lt;br /&gt;
| caption              = Loudgain running in a Linux terminal window.&lt;br /&gt;
| developer            = Matthias C. Hormann, Alessandro Ghedini&lt;br /&gt;
| released             = 2014-06-22&lt;br /&gt;
| stable_release       = 0.6.8&lt;br /&gt;
| stable_release_date  = 2019-09-06&lt;br /&gt;
| operating_system     = Linux, MacOS, Windows 10&lt;br /&gt;
| use                  = Tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/Moonbase59/loudgain/]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;loudgain&#039;&#039;&#039; is an open-source [[ReplayGain 2.0 specification|ReplayGain 2]] tagging tool for Linux, MacOS (via Homebrew) and Windows 10 (via the &#039;&#039;Linux bash&#039;&#039;). It analyzes many types of audio files, based on the EBU R128/ITU BS.1170 standard (at -18 LUFS), and uses the well-known [[MP3Gain]] commandline syntax. Loudgain never modifies the audio data, but instead only writes the appropriate ReplayGain tags.&lt;br /&gt;
&lt;br /&gt;
For &#039;&#039;mass-tagging&#039;&#039; (assuming one album per folder), loudgain comes with a bash script called &amp;lt;code&amp;gt;rgbpm&amp;lt;/code&amp;gt; that can be modified to the user’s needs.&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
Loudgain computes the [[ReplayGain]] (volume adjustment), &#039;&#039;true peak&#039;&#039; value and loudness range, using the &#039;&#039;EBU R128&#039;&#039; algorithm for each track and (optionally) a whole album. The optional &#039;&#039;clipping prevention&#039;&#039; feature can further reduce the computed gain to a level where no clipping should occur (default -1 dBTP). Computed values are then written to the audio files as &#039;&#039;tags&#039;&#039; in a suitable tag format.&lt;br /&gt;
&lt;br /&gt;
For extra versatility, loudgain also supports writing the &#039;&#039;loudness range&#039;&#039; and &#039;&#039;loudness reference&#039;&#039; values, forcing upper- or lowercase ReplayGain tags, and stripping &amp;quot;foreign&amp;quot; tags from some file types.&lt;br /&gt;
&lt;br /&gt;
In case of writing [[ID3v2]] tags, these can be specified to be either &#039;&#039;ID3v2.4&#039;&#039; (default) or &#039;&#039;ID3v2.3&#039;&#039;. Any neccessary conversions will be done internally (i.e., converting UTF-8 frames to UTF-16 when going from ID3v2.4 to ID3v2.3).&lt;br /&gt;
&lt;br /&gt;
==Supported file formats==&lt;br /&gt;
* Supported audio file formats as of version 0.6.8:&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** MP2, [[MP3]]: Values written to [[ID3v2]] tags (ID3v2.3/ID3v2.4 selectable).&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** (Ogg) [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** (Ogg) [[Speex]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[Opus]]: Values written to [[Vorbis comment]], based on -23 LUFS Opus standard. Only &amp;lt;code&amp;gt;R128_TRACK_GAIN&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;R128_ALBUM_GAIN&amp;lt;/code&amp;gt; are written, but the calculated &#039;&#039;true peak&#039;&#039; value can still be used to reduce the gain values ([[Clipping]] prevention).&lt;br /&gt;
** [[MP4]], [[M4A]]: Uses its own iTunes-compatible tagging system (though iTunes does not support ReplayGain). ReplayGain values are stored under &amp;lt;code&amp;gt;----:com.apple.iTunes:…&amp;lt;/code&amp;gt;. This is for [[Advanced Audio Coding|AAC]] and [[ALAC]] in [[MPEG-4]] containers.&lt;br /&gt;
** [[Advanced Streaming Format|ASF]], [[Windows Media Audio|WMA]]: Values written to WMA tags, no prefix.&lt;br /&gt;
** [[WAV]]: Values written to the &amp;lt;code&amp;gt;ID3 &amp;lt;/code&amp;gt; chunk, in [[ID3v2]] (ID3v2.3/ID3v2.4 selectable) format. Using the &amp;lt;code&amp;gt;bext&amp;lt;/code&amp;gt; chunk (for BWF v2) isn’t (yet) supported, but won’t be destroyed on writing.&lt;br /&gt;
** [[Audio Interchange File Format|AIFF]]: Values written to the &amp;lt;code&amp;gt;ID3 &amp;lt;/code&amp;gt; chunk, in [[ID3v2]] format.&lt;br /&gt;
** [[WavPack]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[Monkey&#039;s Audio]] (APE): Values written to [[APEv2]] tags.&lt;br /&gt;
&lt;br /&gt;
==Command line help==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: loudgain [OPTIONS] FILES...&lt;br /&gt;
&lt;br /&gt;
loudgain 0.6.8 supports writing tags to the following file types:&lt;br /&gt;
  FLAC (.flac), Ogg (.ogg, .oga, .spx, .opus), MP2 (.mp2), MP3 (.mp3),&lt;br /&gt;
  MP4 (.mp4, .m4a), ASF/WMA (.asf, .wma), WavPack (.wv), APE (.ape).&lt;br /&gt;
  Experimental: WAV (.wav), AIFF (.aiff, .aif).&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help            Show this help.&lt;br /&gt;
  -v,   --version         Show version number.&lt;br /&gt;
&lt;br /&gt;
  -r,   --track           Calculate track gain only (default).&lt;br /&gt;
  -a,   --album           Calculate album gain (and track gain).&lt;br /&gt;
&lt;br /&gt;
  -c,   --clip            Ignore clipping warning.&lt;br /&gt;
  -k,   --noclip          Lower track/album gain to avoid clipping (&amp;lt;= -1 dBTP).&lt;br /&gt;
  -K n, --maxtpl=n        Avoid clipping; max. true peak level = n dBTP.&lt;br /&gt;
  -d n, --pregain=n       Apply n dB/LU pre-gain value (-5 for -23 LUFS target).&lt;br /&gt;
&lt;br /&gt;
  -s d, --tagmode=d       Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i       Write ReplayGain 2.0 tags to files.&lt;br /&gt;
  -s e, --tagmode=e       like &#039;-s i&#039;, plus extra tags (reference, ranges).&lt;br /&gt;
  -s l, --tagmode=l       like &#039;-s e&#039;, but LU units instead of dB.&lt;br /&gt;
  -s s, --tagmode=s       Don&#039;t write ReplayGain tags (default).&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase       Force lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                          This is non-standard but sometimes needed.&lt;br /&gt;
  -S,   --striptags       Strip tag types other than ID3v2 from MP2/MP3.&lt;br /&gt;
                          Strip tag types other than APEv2 from WavPack/APE.&lt;br /&gt;
  -I 3, --id3v2version=3  Write ID3v2.3 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
  -I 4, --id3v2version=4  Write ID3v2.4 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
&lt;br /&gt;
  -o,   --output          Database-friendly tab-delimited list output.&lt;br /&gt;
  -O,   --output-new      New format tab-delimited list output.&lt;br /&gt;
  -q,   --quiet           Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/Moonbase59/loudgain/issues.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Closer analysis of files==&lt;br /&gt;
[[Image:Loudgain-csv.png|thumb|Album data in spreadsheet]]&lt;br /&gt;
Using the &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt; (uppercase letter O) switch, loudgain can produce a detailed tab-separated list, ideal for redirection into a &amp;lt;code&amp;gt;.csv&amp;lt;/code&amp;gt; spreadsheet file and later analysis.&lt;br /&gt;
&lt;br /&gt;
Simply use a command like the following and then import the &amp;lt;code&amp;gt;album.csv&amp;lt;/code&amp;gt; file into your spreadsheet application, specifying &amp;quot;tab-delimited CSV&amp;quot;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
loudgain -O [OPTIONS] FILES... &amp;gt; album.csv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==loudgain on Windows 10==&lt;br /&gt;
[[Image:Loudgain-windows10-bash.png|thumb|loudgain in Windows 10’s &#039;&#039;Linux bash&#039;&#039;]]&lt;br /&gt;
There is currently no Windows-native version of loudgain, but it can easily be used with Windows 10’s &#039;&#039;Linux bash&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Detailed installation instructions can be found on [https://github.com/Moonbase59/loudgain#installation-on-windows-10-linux-bash loudgain’s GitHub page].&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* Loudgain relies on standard libraries like &#039;&#039;TagLib&#039;&#039;. Linux distros (except rolling releases) sometimes deliver outdated libraries, so &#039;&#039;&#039;be sure you use the latest version of &#039;&#039;TagLib&#039;&#039;.&#039;&#039;&#039; Version 1.11.1 had a nasty bug for a while that [https://hydrogenaud.io/index.php/topic,118085.msg974957.html#msg974957 could corrupt Ogg Vorbis files]. This has been fixed in the meantime but the TagLib version not updated. Loudgain comes with a (slower) static version called &amp;lt;code&amp;gt;loudgain.static&amp;lt;/code&amp;gt; in the repo’s &amp;lt;code&amp;gt;/bin&amp;lt;/code&amp;gt; folder that doesn’t expose the bug and can also be used on older Linux versions (like Ubuntu 14.04, Linux Mint 17).&lt;br /&gt;
* &#039;&#039;TagLib&#039;&#039; versions prior to Version 1.12 couldn’t write &#039;&#039;ID3v2.3&#039;&#039; tags to AIFF files. This now works if loudgain is compiled against &#039;&#039;TagLib 1.12 or newer&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
loudgain v0.1 was originally developed by Alessandro Ghedini in 2014.&lt;br /&gt;
&lt;br /&gt;
[[User:Moonbase|Matthias C. Hormann]] forked this version in 2019 and took over the development of loudgain after version 0.1, starting with version 0.2.1.&lt;br /&gt;
The latest version is &#039;&#039;&#039;0.6.8&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/Moonbase59/loudgain/ loudgain on GitHub]&lt;br /&gt;
* [https://github.com/Moonbase59/loudgain#technical-details-advanced-users-stuff loudgain technical details on GitHub]&lt;br /&gt;
* [https://github.com/Moonbase59/loudgain/issues loudgain bug tracker]&lt;br /&gt;
* [https://aur.archlinux.org/packages/loudgain/ loudgain in the ArchLinux User Repository (AUR)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=ReplayGain&amp;diff=35588</id>
		<title>ReplayGain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=ReplayGain&amp;diff=35588"/>
		<updated>2022-05-11T05:57:12Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;ReplayGain&#039;&#039;&#039; is the name of a technique invented to achieve the same perceived playback loudness of audio files. It defines an algorithm to measure the &#039;&#039;&#039;perceived&#039;&#039;&#039; loudness of audio data.&lt;br /&gt;
&lt;br /&gt;
ReplayGain allows the loudness of each song within a collection of songs to be consistent. This is called &#039;Track Gain&#039; (or &#039;Radio Gain&#039; in earlier parlance). It also allows the loudness of a specific sub-collection (an &amp;quot;album&amp;quot;) to be consistent with the rest of the collection, while allowing the dynamics from song to song on the album to remain intact. This is called &#039;Album Gain&#039; (or &#039;Audiophile Gain&#039; in earlier parlance). This is especially important when listening to classical music albums, because quiet tracks need to remain a certain degree quieter than the louder ones.&lt;br /&gt;
&lt;br /&gt;
ReplayGain is different from [[Normalization|peak normalization]]. Peak normalization merely ensures that the peak amplitude reaches a certain level. This does not ensure equal loudness. The ReplayGain technique measures the &#039;&#039;effective power&#039;&#039; of the waveform (i.e. the RMS power after applying an &amp;quot;equal loudness contour&amp;quot;), and then adjusts the amplitude of the waveform accordingly. The result is that Replay Gained waveforms are usually more uniformly amplified than peak-normalized waveforms.&lt;br /&gt;
&lt;br /&gt;
==Target loudness==&lt;br /&gt;
The target loudness of almost all ReplayGain utilities is 89 dB SPL when replayed in an SMPTE RP 200 calibrated system (an early departure from the proposal, endorsed by its author&amp;lt;ref&amp;gt;[http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=83397&amp;amp;view=findpost&amp;amp;p=721854 Does Replay gain work differtly in Media monkey]&amp;lt;/ref&amp;gt;) &amp;amp;mdash; the ReplayGain proposal and SMPTE recommendation are 6dB lower.&amp;lt;ref&amp;gt;[http://www.mars.org/mailman/public/mad-dev/2004-February/000993.html ReplayGain discussion at mad-dev]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Clipping==&lt;br /&gt;
Audio is generally recorded such that the loudest sounds don&#039;t clip, but the use of ReplayGain can cause clipping if the average volume of a song is below the target level. That is, upon playback, the volume of a quiet song is increased, so the parts of the song with above-average loudness, especially in the bass frequencies, will exceed the limits of the format and will be distorted. Whether this distortion is audible depends on the sounds in question, and the listener&#039;s sensitivity.&lt;br /&gt;
&lt;br /&gt;
Implementations deal with the risk of clipping in different ways. Some have a &amp;quot;pre-amp&amp;quot; feature which reduces (or boosts) the original audio&#039;s level by a certain amount before doing whatever is needed for ReplayGain. Some have a &amp;quot;prevent clipping&amp;quot; feature to reduce the amount of ReplayGain adjustment to whatever amount would keep clipping from occurring, based on peak info stored in the file&#039;s metadata (thus reducing the effectiveness of ReplayGain). Some recommend using a compressor/limiter DSP to prevent or reduce clipping, regardless of whether it was caused by ReplayGain.&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
There are different ReplayGain implementations, each with its own uses and strength. Most use [[metadata]] to indicate the level of the volume change that the player should make. Some modify the audio data itself, and optionally use metadata as well. There are advantages and disadvantages to both methods.&lt;br /&gt;
&lt;br /&gt;
In the metadata method, information on both types of ReplayGain (Track Gain and Album Gain) can be stored. The volume-change information can be very precise. If audio data was also changed, the metadata can contain &amp;quot;undo&amp;quot; info. Not all audio players/decoders know how to read and use ReplayGain information stored in metadata. And there&#039;s no standard for where and how ReplayGain info is stored; each implementation uses different formats and puts the info in different locations.&lt;br /&gt;
&lt;br /&gt;
In the audio data method, the file&#039;s actual audio data is modified so that its natural/default playback volume is at the target level. In this scenario, only one type of ReplayGain (Track Gain or Album Gain) can be applied. If no &amp;quot;undo&amp;quot; info is saved somewhere, it may not be possible to restore the original audio data. Limitations of the audio file format may prevent precise (finely tuned) gain adjustments with this method. For example, MP3 and AAC files can only be losslessly modified in 1.5 dB steps. Depending on the audio file format, the process may also be lossy in the sense that it could irreversibly push a signal above the format&#039;s maximum amplitude (resulting in clipping) or below the minimum (resulting in silence).&lt;br /&gt;
&lt;br /&gt;
=== MP3Gain ===&lt;br /&gt;
[[MP3Gain]] is an implementation of ReplayGain. It can be used to just analyze files &amp;amp; recommend changes or to also modify the gain. If modifying the gain, it always modifies the global gain fields in the MP3 audio data. It can add somewhat precise metadata, including undo info. The gain can be modified to any target dB, or it can be changed by a specified amount. For balance correction, user-specified changes can even be made on just one channel in simple L/R stereo-mode files (not joint stereo).&lt;br /&gt;
&lt;br /&gt;
* Format: [[MP3]]&lt;br /&gt;
* Method: Audio + Meta (in APE tag), or Audio only&lt;br /&gt;
* APE tag fields (ASCII bytes):&lt;br /&gt;
** &amp;lt;code&amp;gt;MP3GAIN_MINMAX ###,###&amp;lt;/code&amp;gt; - minimum &amp;amp; maximum global gain values for this file. 3 digits, zero-padded if necessary.&lt;br /&gt;
** &amp;lt;code&amp;gt;MP3GAIN_ALBUM_MINMAX ###,###&amp;lt;/code&amp;gt; - minimum &amp;amp; maximum global gain values across a set of files scanned as an album. Optional.&lt;br /&gt;
** &amp;lt;code&amp;gt;MP3GAIN_UNDO +###,+###,N&amp;lt;/code&amp;gt; - the global gain adjustment to restore the original values in the left and right channels, respectively, followed by an indicator of whether to wrap at the extremes (&amp;lt;code&amp;gt;N&amp;lt;/code&amp;gt; means no, &amp;lt;code&amp;gt;W&amp;lt;/code&amp;gt; means yes). The adjustment values are 3 digits, zero-padded, preceded by a sign (&amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;).&lt;br /&gt;
** &amp;lt;code&amp;gt;REPLAYGAIN_TRACK_GAIN +#.###### dB&amp;lt;/code&amp;gt; - The value is always 9 characters including the sign and decimal point. Examples: &amp;lt;code&amp;gt;+0.424046&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;-10.38500&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;REPLAYGAIN_TRACK_PEAK #.###### dB&amp;lt;/code&amp;gt; - The value is always 8 characters including the decimal point. Example: &amp;lt;code&amp;gt;0.149923&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;REPLAYGAIN_ALBUM_GAIN +#.###### dB&amp;lt;/code&amp;gt; - The value is always 9 characters including the sign and decimal point. Optional.&lt;br /&gt;
** &amp;lt;code&amp;gt;REPLAYGAIN_ALBUM_PEAK #.###### dB&amp;lt;/code&amp;gt; - The value is always 8 characters including the decimal point. Optional.&lt;br /&gt;
* Limitations: Although the metadata, if written, contains precise adjustment &amp;amp; peak values, the audio data modifications are limited to 1.5dB steps and may become irreversible (however, that&#039;s a very rare condition; see the [http://www.hydrogenaudio.org/forums/lofiversion/index.php/t34154.html &amp;quot;mp3gain is NOT lossless&amp;quot; forum thread])&lt;br /&gt;
* http://mp3gain.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
=== AACGain ===&lt;br /&gt;
[[AACGain]] is a modified version of MP3Gain that works on both MP3 and AAC files.&lt;br /&gt;
&lt;br /&gt;
* Format: [[MP3]], [[AAC]] (with or without MP4 container)&lt;br /&gt;
* Method: Audio + Meta, or Audio only&lt;br /&gt;
* Limitations: Limited to 1.5dB steps mode, may become irreversible (same caveat as for MP3Gain)&lt;br /&gt;
* http://aacgain.altosdesign.com/&lt;br /&gt;
&lt;br /&gt;
=== [[LAME]] ===&lt;br /&gt;
* Method: Header ([http://gabriel.mp3-tech.org/mp3infotag.html mp3infotag])&lt;br /&gt;
* Notes:&lt;br /&gt;
** Tags added during encoding; not supported by any player yet; Track Gain only&lt;br /&gt;
** Replay Gaining MP3&#039;s is usually done using MP3Gain (see [[ReplayGain#MP3Gain|above]]) or [[ReplayGain#foobar2000 ReplayGain scanner|foobar2000]]&lt;br /&gt;
* http://lame.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
=== [[Musepack]] ReplayGain ===&lt;br /&gt;
* Method: Header (similar to Meta data method)&lt;br /&gt;
* Notes: ReplayGain values are stored in the header and ReplayGain is part of the Musepack specifications; therefore any Musepack decoder that does not support ReplayGain can be considered broken.&lt;br /&gt;
* http://www.musepack.net/&lt;br /&gt;
&lt;br /&gt;
=== VorbisGain ===&lt;br /&gt;
* Format: (Ogg) [[Vorbis]]&lt;br /&gt;
* Method: Meta (in [[Vorbis comment]])&lt;br /&gt;
* http://www.sjeng.org/vorbisgain.html&lt;br /&gt;
** new compiles of VorbisGain at [http://www.rarewares.org/ogg.html www.rarewares.org]&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;Note:&#039;&#039;&#039; Andavari has provided a very useful script to integrate VorbisGain, which is a CLI tool, into Windows Explorer. Please (Ogg) [[Vorbis#ReplayGain|check this section]].&lt;br /&gt;
&lt;br /&gt;
=== FLAC / METAFLAC ===&lt;br /&gt;
* Format: [[Free Lossless Audio Codec|FLAC]]&lt;br /&gt;
* Method: Meta (in [[Vorbis comment]])&lt;br /&gt;
* http://flac.sf.net&lt;br /&gt;
&lt;br /&gt;
=== WavPack / WVGAIN ===&lt;br /&gt;
* Format: [[WavPack]]&lt;br /&gt;
* Method: Meta (in [[APEv2]] tag)&lt;br /&gt;
* http://www.wavpack.com&lt;br /&gt;
&lt;br /&gt;
=== Wavegain ===&lt;br /&gt;
* Format: waveform&lt;br /&gt;
* Method: Audio&lt;br /&gt;
* Limitations: Irreversible&lt;br /&gt;
* http://www.rarewares.org/others.php#wavegain&lt;br /&gt;
&lt;br /&gt;
=== MusicPlayer ===&lt;br /&gt;
* Custom implementation, not derived from the original MP3Gain one (but inspired from). As far as I know, all other implementations are directly derived from the MP3Gain (gain_analysis.c, which is GPL) source.&lt;br /&gt;
* Format: any that FFmpeg supports&lt;br /&gt;
* Method: Audio&lt;br /&gt;
* Limitations: Doesn&#039;t modify the files at all. Stores the value in own database. Used only for playback.&lt;br /&gt;
* https://github.com/albertz/music-player&lt;br /&gt;
&lt;br /&gt;
=== [[foobar2000]] ReplayGain scanner ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[ID3v2]] (default) or [[APEv2]] tags. A separate function can be invoked to apply the tagged Track or Album Gain to the MP3 global gain fields (as MP3Gain does), and rewrite any existing tags to account for the peak change and compensate for the difference from 89&amp;amp;nbsp;dB. The 89&amp;amp;nbsp;dB reference level for tags isn&#039;t configurable, but the reference level applied to the global gain fields is (it&#039;s under Preferences &amp;gt; Advanced &amp;gt; Tools &amp;gt; ReplayGain Scanner &amp;gt; Target MP3 alteration volume level).&lt;br /&gt;
** [[Musepack]]: Values written to header.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WavPack]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[AAC]]: Values written to [[APEv2]] tags. As with MP3, it is also an option to apply gain via a separate function.&lt;br /&gt;
** [[MP4]]: Uses its own iTunes-compatible tagging system (though iTunes does not support ReplayGain).&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** Modules ([[MOD]] etc.): Optionally saved into [[APEv2]] tags.&lt;br /&gt;
* http://foobar2000.org&lt;br /&gt;
&lt;br /&gt;
=== [[MediaMonkey]] ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[APEv2]] or [[ID3v2]] tags.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WMA]]: Values stored in MediaMonkey&#039;s MDB database.&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[WAV]]: Values stored in MediaMonkey&#039;s MDB database.&lt;br /&gt;
** [[MPC]]: Internal gain Structure.&lt;br /&gt;
* In addition to tags, all ReplayGain values are also stored in MediaMonkey&#039;s MDB database&lt;br /&gt;
* Album/Audiophile ReplayGain not supported until v3.0 (Dec 2007); support during burning &amp;amp; ripping added in 3.1 (Jun 2009)&lt;br /&gt;
* Also capable of (irreversibly) changing the volume of MP3 tracks, similar to [[MP3Gain]]&lt;br /&gt;
* http://www.mediamonkey.com/&lt;br /&gt;
&lt;br /&gt;
=== [[Winamp]] ReplayGain scanner===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[ID3v2]] tags.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WMA]]: Values stored in Windows Media Audio tags.&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[AAC]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[MP4]]&lt;br /&gt;
** [[TAK]]: Values written to [[APEv2]] tags.&lt;br /&gt;
* Support Album/Track Gain&lt;br /&gt;
&lt;br /&gt;
=== [[loudgain]] ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** MP2, [[MP3]]: Values written to [[ID3v2]] tags (ID3v2.3/ID3v2.4 selectable).&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** (Ogg) [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** (Ogg) [[Speex]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[Opus]]: Values written to [[Vorbis comment]], based on -23 LUFS Opus standard. Only &amp;lt;code&amp;gt;R128_TRACK_GAIN&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;R128_ALBUM_GAIN&amp;lt;/code&amp;gt; are written, but the calculated &#039;&#039;true peak&#039;&#039; value can still be used to reduce the gain values ([[Clipping]] prevention).&lt;br /&gt;
** [[MP4]], [[M4A]]: Uses its own iTunes-compatible tagging system (though iTunes does not support ReplayGain). ReplayGain values are stored under &amp;lt;code&amp;gt;----:com.apple.iTunes:…&amp;lt;/code&amp;gt;. This is for [[AAC]] and [[ALAC]] in [[MPEG-4]] containers.&lt;br /&gt;
** [[ASF]], [[Windows Media Audio|WMA]]: Values written to WMA tags, no prefix.&lt;br /&gt;
** [[WAV]]: Values written to the &amp;lt;code&amp;gt;ID3 &amp;lt;/code&amp;gt; chunk, in [[ID3v2]] (ID3v2.3/ID3v2.4 selectable) format. Using the &amp;lt;code&amp;gt;bext&amp;lt;/code&amp;gt; chunk (for BWF v2) isn’t (yet) supported, but won’t be destroyed on writing.&lt;br /&gt;
** [[Audio Interchange File Format|AIFF]]: Values written to the &amp;lt;code&amp;gt;ID3 &amp;lt;/code&amp;gt; chunk, in [[ID3v2]] format.&lt;br /&gt;
** [[WavPack]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[Monkey&#039;s Audio]] (APE): Values written to [[APEv2]] tags.&lt;br /&gt;
* Follows EBU R128, ITU BS.1770 and the [[ReplayGain 2.0 specification]].&lt;br /&gt;
* &#039;&#039;Never&#039;&#039; touches the actual audio data but &#039;&#039;only writes RG2 tags&#039;&#039;.&lt;br /&gt;
* Uses &#039;&#039;true peak&#039;&#039; values calculated by oversampling to 192 kHz, using a custom polyphase FIR interpolator that will oversample 4x for sample rates &amp;lt; 96 kHz, 2x for sample rates &amp;lt; 192 kHz and leave the signal unchanged for 192 kHz.&lt;br /&gt;
* &#039;&#039;Clipping prevention&#039;&#039; can be used to lower the ReplayGain values to a safe margin (default -1 dBTP, can be changed).&lt;br /&gt;
* Many options for special cases: force RG tags upper-/lowercase, add extra tags (LRA, Reference loudness), strip unwanted tag types (APEv2 from MP2/MP3, ID3 from WavPack), tab-delimited table output for analysis with CSV file.&lt;br /&gt;
* &#039;&#039;Linux&#039;&#039; Free and Open Source software, can be installed on &#039;&#039;MacOS&#039;&#039; using &#039;&#039;HomeBrew&#039;&#039;, on &#039;&#039;Windows 10&#039;&#039; using the Linux &#039;&#039;bash&#039;&#039;.&lt;br /&gt;
* Also installs a &amp;lt;code&amp;gt;rgbpm&amp;lt;/code&amp;gt; bash script for mass-tagging, which can be adapted to the user’s needs.&lt;br /&gt;
* &#039;&#039;&#039;Warning:&#039;&#039;&#039; Loudgain relies on standard libraries like &#039;&#039;TagLib&#039;&#039;. Linux distros (except rolling releases) sometimes deliver outdated libraries, so be sure you use the latest version of &#039;&#039;TagLib&#039;&#039;. Version 1.11.1 had a nasty bug for a while that [https://hydrogenaud.io/index.php/topic,118085.msg974957.html#msg974957 could corrupt Ogg Vorbis files]. This has been fixed in the meantime but the TagLib version not updated. Loudgain comes with a (slower) static version called &amp;lt;code&amp;gt;loudgain.static&amp;lt;/code&amp;gt; in the repo’s &amp;lt;code&amp;gt;/bin&amp;lt;/code&amp;gt; folder that doesn’t expose the bug and can also be used on older Linux versions (like Ubuntu 14.04, Linux Mint 17).&lt;br /&gt;
* https://github.com/Moonbase59/loudgain&lt;br /&gt;
* Bug tracker: https://github.com/Moonbase59/loudgain/issues&lt;br /&gt;
&lt;br /&gt;
=== [[rsgain]] ===&lt;br /&gt;
rsgain is a modified version of [[#loudgain|loudgain]] that supports all of the formats and features of loudgain, plus:&lt;br /&gt;
* Native Windows compatibility&lt;br /&gt;
* Simplified &amp;quot;Easy Mode&amp;quot; command line syntax that includes built-in recursive directory-based scanning without needing a wrapper script &lt;br /&gt;
* Multithreaded scanning option that provides significant speed improvement with full library scans&lt;br /&gt;
&lt;br /&gt;
== Players support ==&lt;br /&gt;
ReplayGain being present in the specs of the FLAC, Musepack, and APE formats, any player that support those formats usually supports ReplayGain.&lt;br /&gt;
&lt;br /&gt;
The situation with MP3 is rather different, as it was not part of the MP3 specs. The APEv2 tags metadata implementation is somewhat becoming the de-facto standard.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
* [[foobar2000]] supports ReplayGain in all possible aspects.&lt;br /&gt;
* [[Winamp]] supports ReplayGain in album or track mode.&lt;br /&gt;
* [[MediaMonkey]] supports ReplayGain, with many configuration options.&lt;br /&gt;
* [[XMPlay]] recently implemented ReplayGain&lt;br /&gt;
* [https://picard.musicbrainz.org/ MusicBrainz Picard] is a tagger (and player) that tags using metadata from the MusicBrainz.org database. Picard supports ReplayGain tags for files tagged with APE, ASF, ID3, MP4 and Vorbis tags. There is a ReplayGain plugin that can be used to calculate the ReplayGain values for both Albums and Tracks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;...and probably others.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
* [[XMMS]]. Reads ReplayGain from [[Free Lossless Audio Codec|FLAC]], [[Musepack]], (Ogg) [[Vorbis]] ..&lt;br /&gt;
:For [[MP3]], use the CVS version of the [http://xmms-mad.sourceforge.net/ xmms-mad] mp3 plugin (it&#039;s not yet released as binary, furthermore not available in distribs&#039; versions for now. Meanwhile binaries are available here: [http://perso.crans.org/~krempp/xmms-mad/ custom binaries])&lt;br /&gt;
* [[amarok]]. By using the amarok-script [http://kde-apps.org/content/show.php?content=26073 ReplayGain]&lt;br /&gt;
:And possibly others, since [http://developer.kde.org/~wheeler/taglib.html TagLib] added support for [[APEv2]] tags in [[MP3]] files, players using this library (like [[amaroK]] and [[JuK]]) might support that kind of ReplayGain tags in the near future.&lt;br /&gt;
* [http://www.sacredchao.net/quodlibet Quod Libet] reads ReplayGain from (Ogg) [[Vorbis]], [[MP3]], [[Free Lossless Audio Codec|FLAC]], and [[Musepack]].&lt;br /&gt;
:Requires support to be enabled (via the appropriate python bindings and libraries) for the above formats. Does not support ReplayGain values stored in [[APEv2]] tags in [[MP3]]s. ReplayGain values are stored in RVA2 id3v2.4 frames. See the [http://www.sacredchao.net/quodlibet/wiki/Development/ID3Notes Quod Libet RVA2 / ReplayGain notes].&lt;br /&gt;
* [http://www.musicpd.org/ Music Player Daemon] (MPD) reads ReplayGain from (Ogg) [[Vorbis]], [[Free Lossless Audio Codec|FLAC]], and [[Musepack]].&lt;br /&gt;
:foobar2000-style TXXX frames in [[MP3]]s are also supported in the latest development releases.&lt;br /&gt;
* [http://www.mplayerhq.hu/ MPlayer]. Mplayer support for ReplayGain is codec dependent.&lt;br /&gt;
:Codecs that are known to support ReplayGain: vorbis&lt;br /&gt;
:Because of this, you need to prioritize the codecs that support it, or choose it individually on the command line.  To add it to the command line, add an -ac [codec] option after each file that you want to choose the codec for, or at the beginning to make it apply to all files listed.  To prioritize the codecs by default, list them in a line in mplayer.conf:&lt;br /&gt;
 ac=[codec],[othercodec],vorbis,mad,&lt;br /&gt;
* [http://idjc.sourceforge.net/ IDJC] (Internet DJ Console) reads ReplayGain from [[Free Lossless Audio Codec|FLAC]], (Ogg) FLAC, (Ogg) [[Vorbis]], MP2 (audio), [[MP3]], [[Opus]], but only the &#039;&#039;lowercase&#039;&#039; tags. There is a [https://sourceforge.net/p/idjc/bugs/100/ ticket] open to handle tags case-insensitively.&lt;br /&gt;
* [https://picard.musicbrainz.org/ MusicBrainz Picard] is a tagger (and player) that tags using metadata from the MusicBrainz.org database. Picard supports ReplayGain tags for files tagged with APE, ASF, ID3, MP4 and Vorbis tags. There is a ReplayGain plugin that can be used to calculate the ReplayGain values for both Albums and Tracks.&lt;br /&gt;
* [https://www.videolan.org/vlc/ VLC] supports ReplayGain in many file formats, but usually only the &#039;&#039;uppercase&#039;&#039; variant of the tags.&lt;br /&gt;
* [https://kodi.tv/ KODI] reads ReplayGain from nearly all formats, but usually only the &#039;&#039;lowercase&#039;&#039; variant of the tags.&lt;br /&gt;
&lt;br /&gt;
=== Portable devices ===&lt;br /&gt;
[http://www.rockbox.org/ Rockbox] supports ReplayGain (in album or track mode) for most formats, including  WMA, MP1/2/3, AAC, ALAC, Musepack, Monkey&#039;s Audio, Wavpack, FLAC and Vorbis.  &amp;lt;br&amp;gt;Note that ReplayGain is only supported when using the respective codec&#039;s native tagging format.  For example:  ReplayGain stored in APEv2 tags is not supported for MP3, rather ID3v2.x tags are expected.&lt;br /&gt;
&lt;br /&gt;
Sandisk Sansa Fuze with firmware 1.02.26 and 2.02.26&lt;br /&gt;
&lt;br /&gt;
Sandisk Sansa Clip+&lt;br /&gt;
&lt;br /&gt;
The iPod features &#039;&#039;Soundcheck&#039;&#039;, which seems to produce roughly the same normalization gains as ReplayGain, but doesn&#039;t provide an Album Gain.&lt;br /&gt;
&lt;br /&gt;
=== Hi-Fi ===&lt;br /&gt;
Slim Devices, a company owned by Logitech Inc, supports ReplayGain on both of their hi-end audiophile players, known as the [[Slim Devices Transporter|Transporter]] and the [[Slim Devices Squeezebox|Squeezebox]].&lt;br /&gt;
&lt;br /&gt;
BluOS also supports ReplayGain with the selection of album- or track-gain and a so called Smart option that decides between the two by itself.&lt;br /&gt;
NAD devices that use BluOS consequently also support ReplayGain.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;lt;references/&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[ReplayGain specification]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Replay_Gain ReplayGain] at Wikipedia&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/Replay-Gain.html ReplayGain using foobar2000] (how to use ReplayGain in Windows using foobar2000).&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/Replay-Gain-in-Linux.html ReplayGain in Linux] (how to use ReplayGain in Linux using foobar2000 and Wine, or using metaflac or vorbisgain).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
[[Category:Metadata]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35587</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35587"/>
		<updated>2022-05-11T05:37:14Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|300px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 2.0&lt;br /&gt;
| stable_release_date  = 2022-05-10&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2]] tagging utility for Windows, macOS, and Linux. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is a heavily modified fork of [[loudgain]]. The goal of rsgain is to take the excellent platform created by loudgain and simplify it for the average user, while also preserving the advanced features for users that need them. The following improvements have been made from loudgain:&lt;br /&gt;
* Native Windows support&lt;br /&gt;
* Built-in recursive directory scanning without the need for a wrapper script. See [[#Easy_Mode|Easy Mode]] for more details.&lt;br /&gt;
* Multithreaded scanning&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choosing. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of using the full path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is currently no binary package available for macOS, so Mac users will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on most APT-based distro releases from 2020 and later. There is also a [https://github.com/complexlogic/rsgain/blob/master/config/PKGBUILD PKGBUILD script] available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain has two modes of operation: Easy Mode and Custom Mode. Easy Mode is recommended over Custom Mode for almost all use cases. Custom Mode exists to provides backwards compatibility with the legacy loudgain/mp3gain command line.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. You can use Easy Mode if the following conditions apply:&lt;br /&gt;
* Your music library is organized by album, i.e. each album has its own folder&lt;br /&gt;
* In each album folder, all audio files are of the same type. It is acceptable to have non-audio files mixed in such as log files or artwork, but if multiple &#039;&#039;audio&#039;&#039; file types are detected, the folder will not be scanned.&lt;br /&gt;
&lt;br /&gt;
Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan, e.g.:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
This is all that is required for most users. Advanced users should see [[#Setting_Overrides|Setting Overrides]] for more information about the default settings and how to override them, if desired.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must be one per physical CPU core or fewer. For example, if you have a quad core CPU:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
The scan progress bar is automatically disabled in multithreaded operation because multiple files are being scanned in parallel. &lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see speed gains of 60-70%. However, you will also have close to 100% CPU utilization when scanning multithreaded. Consider using multithreaded on a full library scan, and the default single threaded mode when incrementally adding one or two albums to your library.&lt;br /&gt;
&lt;br /&gt;
====Setting Overrides====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* Clipping protection enabled&lt;br /&gt;
* Lowercase tags for MP2/MP3, M4A, WMA, WAV, and AIFF (uppercase for all others)&lt;br /&gt;
* Decibal units&lt;br /&gt;
* All optional tags enabled:&lt;br /&gt;
** Range calculations&lt;br /&gt;
** Peak calcuations&lt;br /&gt;
** Reference loudness&lt;br /&gt;
** Album tags&lt;br /&gt;
* ID3 version 2.3 tags&lt;br /&gt;
* Strip obsolete ID3 version 1 tags&lt;br /&gt;
* -1 dBTP max true peak&lt;br /&gt;
* No pregain&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum comptatibility with available players. However, if you need one of the settings changed, you can override them on a per-format basis using the {{code|-o}} option, and an overrides file.&lt;br /&gt;
&lt;br /&gt;
The overrides file is an INI-formatted file that contains sections enclosed in square brackets which correspond to the available formats, and each section contains key=value pairs that correspond to settings. The overrides feature is intended for users that can&#039;t use the default settings of Easy Mode, but still prefer the functionality of Easy Mode over Custom Mode.&lt;br /&gt;
&lt;br /&gt;
For example, rsgain writes lowercase tags on MP3 files by default, but suppose you want uppercase tags instead. Format your {{code|overrides.ini}} file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[MP3]&lt;br /&gt;
Lowercase=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, pass the path to the overrides file with the {{code|-o}} option:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -o /path/to/overrides.ini /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
A default {{code|overrides.ini}} file ships with rsgain in the root package directory for Windows, and in {{code|&amp;lt;install prefix&amp;gt;/share/rsgain}} for Unix. The file is pre-populated will all settings that are available to change. Note that this is an &#039;&#039;overrides&#039;&#039; file, not a configuration file, i.e any formats or settings you&#039;re not interested in can simply be deleted and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode preserves loudgain&#039;s command line syntax for users that still need it. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to use a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan all FLAC files in the current directory with album gain and clipping protection enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -k -s e *.flac}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help            Show this help.&lt;br /&gt;
&lt;br /&gt;
  -r,   --track           Calculate track gain only (default).&lt;br /&gt;
  -a,   --album           Calculate album gain (and track gain).&lt;br /&gt;
&lt;br /&gt;
  -c,   --clip            Ignore clipping warning.&lt;br /&gt;
  -k,   --noclip          Lower track/album gain to avoid clipping (&amp;lt;= -1 dBTP).&lt;br /&gt;
  -K n, --maxtpl=n        Avoid clipping; max. true peak level = n dBTP.&lt;br /&gt;
  -d n, --pregain=n       Apply n dB/LU pre-gain value (-5 for -23 LUFS target).&lt;br /&gt;
&lt;br /&gt;
  -s d, --tagmode=d       Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i       Write ReplayGain 2.0 tags to files.&lt;br /&gt;
  -s e, --tagmode=e       like &#039;-s i&#039;, plus extra tags (reference, ranges).&lt;br /&gt;
  -s l, --tagmode=l       like &#039;-s e&#039;, but LU units instead of dB.&lt;br /&gt;
  -s s, --tagmode=s       Don&#039;t write ReplayGain tags (default).&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase       Force lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                          This is non-standard but sometimes needed.&lt;br /&gt;
  -S,   --striptags       Strip tag types other than ID3v2 from MP2/MP3.&lt;br /&gt;
                          Strip tag types other than APEv2 from WavPack/APE.&lt;br /&gt;
  -I 3, --id3v2version=3  Write ID3v2.3 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
  -I 4, --id3v2version=4  Write ID3v2.4 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
&lt;br /&gt;
  -O,   --output          Database-friendly tab-delimited list output.&lt;br /&gt;
  -q,   --quiet           Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35586</id>
		<title>Rsgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Rsgain&amp;diff=35586"/>
		<updated>2022-05-11T05:34:48Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: Page creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = rsgain&lt;br /&gt;
| screenshot           = [[File:rsgain_help.png|256px]]&lt;br /&gt;
| caption              = Default help screen in a Linux terminal&lt;br /&gt;
| developer            = complexlogic&lt;br /&gt;
| released             = 2022-05-10&lt;br /&gt;
| stable_release       = 2.0&lt;br /&gt;
| stable_release_date  = 2022-05-10&lt;br /&gt;
| operating_system     = Windows, macOS, Linux&lt;br /&gt;
| use                  = ReplayGain tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/complexlogic/rsgain]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;rsgain&#039;&#039;&#039; (&#039;&#039;&#039;r&#039;&#039;&#039;eally &#039;&#039;&#039;s&#039;&#039;&#039;imple &#039;&#039;&#039;gain&#039;&#039;&#039;) is a free and open source [[ReplayGain 2.0 specification|ReplayGain 2]] tagging utility for Windows, macOS, and Linux. rsgain applies loudness metadata tags to your files, while leaving the audio stream untouched. A [[ReplayGain#Players_support|ReplayGain-compatible player]] will dynamically adjust the volume of your tagged files during playback.&lt;br /&gt;
&lt;br /&gt;
rsgain is a heavily modified fork of [[loudgain]]. The goal of rsgain is to take the excellent platform created by loudgain and simplify it for the average user, while also preserving the advanced features for users that need them. The following improvements have been made from loudgain:&lt;br /&gt;
* Native Windows support&lt;br /&gt;
* Built-in recursive directory scanning without the need for a wrapper script. See [[#Easy_Mode|Easy Mode]] for more details.&lt;br /&gt;
* Multithreaded scanning&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
rsgain is available in source form on all platforms, and executable form on some platforms.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
rsgain is compatible with Windows 10 and later. Download the win64 .zip file from the [https://github.com/complexlogic/rsgain/releases/latest latest release on GitHub], and extract its contents to a directory of your choosing. &lt;br /&gt;
&lt;br /&gt;
It is recommended to add the directory to your {{code|Path}} system environment variable so you can invoke the program with the {{code|rsgain}} command instead of using the full path to its .exe file. In the Windows taskbar search, type &amp;quot;env&amp;quot;, then select &amp;quot;Edit the system environment variables&amp;quot;. In the resulting window, click the &amp;quot;Environment variables&amp;quot; button. In the next window under &amp;quot;System variables&amp;quot;, select &amp;quot;Path&amp;quot;, then press Edit. Add the folder that you extracted {{code|rsgain.exe}} to in the previous step.&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
There is currently no binary package available for macOS, so Mac users will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
An amd64 .deb package is provided on the [https://github.com/complexlogic/rsgain/releases/latest GitHub release page]. It is installable on most APT-based distro releases from 2020 and later. There is also a [https://github.com/complexlogic/rsgain/blob/master/config/PKGBUILD PKGBUILD script] available for Arch/Manjaro users.&lt;br /&gt;
&lt;br /&gt;
Users of other distros will need to build from source. See the [https://github.com/complexlogic/rsgain/blob/master/docs/BUILDING.md#building build instructions on GitHub].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
rsgain has two modes of operation: Easy Mode and Custom Mode. Easy Mode is recommended over Custom Mode for almost all use cases. Custom Mode exists to provides backwards compatibility with the legacy loudgain/mp3gain command line.&lt;br /&gt;
&lt;br /&gt;
===Easy Mode===&lt;br /&gt;
Easy Mode recursively scans your entire music library using the recommended settings for each file type. You can use Easy Mode if the following conditions apply:&lt;br /&gt;
* Your music library is organized by album, i.e. each album has its own folder&lt;br /&gt;
* In each album folder, all audio files are of the same type. It is acceptable to have non-audio files mixed in such as log files or artwork, but if multiple &#039;&#039;audio&#039;&#039; file types are detected, the folder will not be scanned.&lt;br /&gt;
&lt;br /&gt;
Easy Mode is invoked with the command {{code|rsgain easy}} followed by the root of the directory you want to scan, e.g.:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy &amp;quot;C:\path\to\music library&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
This is all that is required for most users. Advanced users should see [[#Setting_Overrides|Setting Overrides]] for more information about the default settings and how to override them, if desired.&lt;br /&gt;
&lt;br /&gt;
====Multithreaded Scanning====&lt;br /&gt;
Easy Mode includes optional multithreaded operation to speed up the duration of a scan. Use the {{code|-m}} option, followed by the number of threads to create. The number of threads must be one per physical CPU core or fewer. For example, if you have a quad core CPU:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -m 4 /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
The scan progress bar is automatically disabled in multithreaded operation because multiple files are being scanned in parallel. &lt;br /&gt;
&lt;br /&gt;
The speed gains offered by multithreaded scanning are significant. With {{code|-m 4}} or higher, you can typically expect to see speed gains of 60-70%. However, you will also have close to 100% CPU utilization when scanning multithreaded. Consider using multithreaded on a full library scan, and the default single threaded mode when incrementally adding one or two albums to your library.&lt;br /&gt;
&lt;br /&gt;
====Setting Overrides====&lt;br /&gt;
Easy Mode scans files with the following settings by default:&lt;br /&gt;
* Clipping protection enabled&lt;br /&gt;
* Lowercase tags for MP2/MP3, M4A, WMA, WAV, and AIFF (uppercase for all others)&lt;br /&gt;
* Decibal units&lt;br /&gt;
* All optional tags enabled:&lt;br /&gt;
** Range calculations&lt;br /&gt;
** Peak calcuations&lt;br /&gt;
** Reference loudness&lt;br /&gt;
** Album tags&lt;br /&gt;
* ID3 version 2.3 tags&lt;br /&gt;
* Strip obsolete ID3 version 1 tags&lt;br /&gt;
* -1 dBTP max true peak&lt;br /&gt;
* No pregain&lt;br /&gt;
&lt;br /&gt;
These settings are recommended for maximum comptatibility with available players. However, if you need one of the settings changed, you can override them on a per-format basis using the {{code|-o}} option, and an overrides file.&lt;br /&gt;
&lt;br /&gt;
The overrides file is an INI-formatted file that contains sections enclosed in square brackets which correspond to the available formats, and each section contains key=value pairs that correspond to settings. The overrides feature is intended for users that can&#039;t use the default settings of Easy Mode, but still prefer the functionality of Easy Mode over Custom Mode.&lt;br /&gt;
&lt;br /&gt;
For example, rsgain writes lowercase tags on MP3 files by default, but suppose you want uppercase tags instead. Format your {{code|overrides.ini}} file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[MP3]&lt;br /&gt;
Lowercase=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, pass the path to the overrides file with the {{code|-o}} option:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain easy -o /path/to/overrides.ini /path/to/music/library}}&lt;br /&gt;
&lt;br /&gt;
A default {{code|overrides.ini}} file ships with rsgain in the root package directory for Windows, and in {{code|&amp;lt;install prefix&amp;gt;/share/rsgain}} for Unix. The file is pre-populated will all settings that are available to change. Note that this is an &#039;&#039;overrides&#039;&#039; file, not a configuration file, i.e any formats or settings you&#039;re not interested in can simply be deleted and the defaults will be used instead.&lt;br /&gt;
&lt;br /&gt;
===Custom Mode===&lt;br /&gt;
Custom Mode preserves loudgain&#039;s command line syntax for users that still need it. Unlike Easy Mode, Custom Mode works with files, not directories. If you want recursive directory-based scanning, you will need to use a wrapper script.&lt;br /&gt;
&lt;br /&gt;
Custom Mode is invoked with {{code|rsgain custom}} followed by options and a list of files to scan. For example, scan all FLAC files in the current directory with album gain and clipping protection enabled:&lt;br /&gt;
&lt;br /&gt;
{{code|rsgain custom -a -k -s e *.flac}}&lt;br /&gt;
&lt;br /&gt;
See the command line help for all available options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: rsgain custom [OPTIONS] FILES...&lt;br /&gt;
  Custom Mode allows the user to specify the options to scan the files with. The&lt;br /&gt;
  list of files to scan must be listed explicitly after the options.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help            Show this help.&lt;br /&gt;
&lt;br /&gt;
  -r,   --track           Calculate track gain only (default).&lt;br /&gt;
  -a,   --album           Calculate album gain (and track gain).&lt;br /&gt;
&lt;br /&gt;
  -c,   --clip            Ignore clipping warning.&lt;br /&gt;
  -k,   --noclip          Lower track/album gain to avoid clipping (&amp;lt;= -1 dBTP).&lt;br /&gt;
  -K n, --maxtpl=n        Avoid clipping; max. true peak level = n dBTP.&lt;br /&gt;
  -d n, --pregain=n       Apply n dB/LU pre-gain value (-5 for -23 LUFS target).&lt;br /&gt;
&lt;br /&gt;
  -s d, --tagmode=d       Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i       Write ReplayGain 2.0 tags to files.&lt;br /&gt;
  -s e, --tagmode=e       like &#039;-s i&#039;, plus extra tags (reference, ranges).&lt;br /&gt;
  -s l, --tagmode=l       like &#039;-s e&#039;, but LU units instead of dB.&lt;br /&gt;
  -s s, --tagmode=s       Don&#039;t write ReplayGain tags (default).&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase       Force lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                          This is non-standard but sometimes needed.&lt;br /&gt;
  -S,   --striptags       Strip tag types other than ID3v2 from MP2/MP3.&lt;br /&gt;
                          Strip tag types other than APEv2 from WavPack/APE.&lt;br /&gt;
  -I 3, --id3v2version=3  Write ID3v2.3 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
  -I 4, --id3v2version=4  Write ID3v2.4 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
&lt;br /&gt;
  -O,   --output          Database-friendly tab-delimited list output.&lt;br /&gt;
  -q,   --quiet           Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/complexlogic/rsgain/issues&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Format Support==&lt;br /&gt;
rsgain has support for the following file formats:&lt;br /&gt;
* [[MP2]]/[[MP3]]&lt;br /&gt;
* [[FLAC]]&lt;br /&gt;
* [[Ogg]] ([[Vorbis]], [[Speex]])&lt;br /&gt;
* [[Opus]]&lt;br /&gt;
* [[M4A]] ([[AAC]], [[ALAC]])&lt;br /&gt;
* [[WMA]]&lt;br /&gt;
* [[WAV]]&lt;br /&gt;
* [[Wavpack]]&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/complexlogic/rsgain/ rsgain GitHub page]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/EBU_R_128 EBU R128]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Rsgain_help.png&amp;diff=35585</id>
		<title>File:Rsgain help.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Rsgain_help.png&amp;diff=35585"/>
		<updated>2022-05-11T05:29:46Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: rsgain help screen.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;rsgain help screen.&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Loudgain&amp;diff=35506</id>
		<title>Loudgain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Loudgain&amp;diff=35506"/>
		<updated>2022-02-22T04:05:16Z</updated>

		<summary type="html">&lt;p&gt;Complexlogic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name                 = loudgain&lt;br /&gt;
| screenshot           = [[File:Loudgain-terminal.png|256px]]&lt;br /&gt;
| caption              = Loudgain running in a Linux terminal window.&lt;br /&gt;
| developer            = Matthias C. Hormann, Alessandro Ghedini&lt;br /&gt;
| released             = 2014-06-22&lt;br /&gt;
| stable_release       = 0.6.8&lt;br /&gt;
| stable_release_date  = 2019-09-06&lt;br /&gt;
| operating_system     = Linux, MacOS, Windows&lt;br /&gt;
| use                  = Tagging&lt;br /&gt;
| license              = BSD license&lt;br /&gt;
| website              = [https://github.com/Moonbase59/loudgain/]&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;loudgain&#039;&#039;&#039; is an open-source [[ReplayGain 2.0 specification|ReplayGain 2]] tagging tool for Linux, MacOS (via Homebrew) and Windows. It analyzes many types of audio files, based on the EBU R128/ITU BS.1170 standard (at -18 LUFS), and uses the well-known [[MP3Gain]] commandline syntax. Loudgain never modifies the audio data, but instead only writes the appropriate ReplayGain tags.&lt;br /&gt;
&lt;br /&gt;
For &#039;&#039;mass-tagging&#039;&#039; (assuming one album per folder), loudgain comes with a bash script called &amp;lt;code&amp;gt;rgbpm&amp;lt;/code&amp;gt; that can be modified to the user’s needs.&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
Loudgain computes the [[ReplayGain]] (volume adjustment), &#039;&#039;true peak&#039;&#039; value and loudness range, using the &#039;&#039;EBU R128&#039;&#039; algorithm for each track and (optionally) a whole album. The optional &#039;&#039;clipping prevention&#039;&#039; feature can further reduce the computed gain to a level where no clipping should occur (default -1 dBTP). Computed values are then written to the audio files as &#039;&#039;tags&#039;&#039; in a suitable tag format.&lt;br /&gt;
&lt;br /&gt;
For extra versatility, loudgain also supports writing the &#039;&#039;loudness range&#039;&#039; and &#039;&#039;loudness reference&#039;&#039; values, forcing upper- or lowercase ReplayGain tags, and stripping &amp;quot;foreign&amp;quot; tags from some file types.&lt;br /&gt;
&lt;br /&gt;
In case of writing [[ID3v2]] tags, these can be specified to be either &#039;&#039;ID3v2.4&#039;&#039; (default) or &#039;&#039;ID3v2.3&#039;&#039;. Any neccessary conversions will be done internally (i.e., converting UTF-8 frames to UTF-16 when going from ID3v2.4 to ID3v2.3).&lt;br /&gt;
&lt;br /&gt;
==Supported file formats==&lt;br /&gt;
* Supported audio file formats as of version 0.6.8:&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** MP2, [[MP3]]: Values written to [[ID3v2]] tags (ID3v2.3/ID3v2.4 selectable).&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** (Ogg) [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** (Ogg) [[Speex]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[Opus]]: Values written to [[Vorbis comment]], based on -23 LUFS Opus standard. Only &amp;lt;code&amp;gt;R128_TRACK_GAIN&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;R128_ALBUM_GAIN&amp;lt;/code&amp;gt; are written, but the calculated &#039;&#039;true peak&#039;&#039; value can still be used to reduce the gain values ([[Clipping]] prevention).&lt;br /&gt;
** [[MP4]], [[M4A]]: Uses its own iTunes-compatible tagging system (though iTunes does not support ReplayGain). ReplayGain values are stored under &amp;lt;code&amp;gt;----:com.apple.iTunes:…&amp;lt;/code&amp;gt;. This is for [[Advanced Audio Coding|AAC]] and [[ALAC]] in [[MPEG-4]] containers.&lt;br /&gt;
** [[Advanced Streaming Format|ASF]], [[Windows Media Audio|WMA]]: Values written to WMA tags, no prefix.&lt;br /&gt;
** [[WAV]]: Values written to the &amp;lt;code&amp;gt;ID3 &amp;lt;/code&amp;gt; chunk, in [[ID3v2]] (ID3v2.3/ID3v2.4 selectable) format. Using the &amp;lt;code&amp;gt;bext&amp;lt;/code&amp;gt; chunk (for BWF v2) isn’t (yet) supported, but won’t be destroyed on writing.&lt;br /&gt;
** [[Audio Interchange File Format|AIFF]]: Values written to the &amp;lt;code&amp;gt;ID3 &amp;lt;/code&amp;gt; chunk, in [[ID3v2]] format.&lt;br /&gt;
** [[WavPack]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[Monkey&#039;s Audio]] (APE): Values written to [[APEv2]] tags.&lt;br /&gt;
&lt;br /&gt;
==Command line help==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage: loudgain [OPTIONS] FILES...&lt;br /&gt;
&lt;br /&gt;
loudgain 0.6.8 supports writing tags to the following file types:&lt;br /&gt;
  FLAC (.flac), Ogg (.ogg, .oga, .spx, .opus), MP2 (.mp2), MP3 (.mp3),&lt;br /&gt;
  MP4 (.mp4, .m4a), ASF/WMA (.asf, .wma), WavPack (.wv), APE (.ape).&lt;br /&gt;
  Experimental: WAV (.wav), AIFF (.aiff, .aif).&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
  -h,   --help            Show this help.&lt;br /&gt;
  -v,   --version         Show version number.&lt;br /&gt;
&lt;br /&gt;
  -r,   --track           Calculate track gain only (default).&lt;br /&gt;
  -a,   --album           Calculate album gain (and track gain).&lt;br /&gt;
&lt;br /&gt;
  -c,   --clip            Ignore clipping warning.&lt;br /&gt;
  -k,   --noclip          Lower track/album gain to avoid clipping (&amp;lt;= -1 dBTP).&lt;br /&gt;
  -K n, --maxtpl=n        Avoid clipping; max. true peak level = n dBTP.&lt;br /&gt;
  -d n, --pregain=n       Apply n dB/LU pre-gain value (-5 for -23 LUFS target).&lt;br /&gt;
&lt;br /&gt;
  -s d, --tagmode=d       Delete ReplayGain tags from files.&lt;br /&gt;
  -s i, --tagmode=i       Write ReplayGain 2.0 tags to files.&lt;br /&gt;
  -s e, --tagmode=e       like &#039;-s i&#039;, plus extra tags (reference, ranges).&lt;br /&gt;
  -s l, --tagmode=l       like &#039;-s e&#039;, but LU units instead of dB.&lt;br /&gt;
  -s s, --tagmode=s       Don&#039;t write ReplayGain tags (default).&lt;br /&gt;
&lt;br /&gt;
  -L,   --lowercase       Force lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF).&lt;br /&gt;
                          This is non-standard but sometimes needed.&lt;br /&gt;
  -S,   --striptags       Strip tag types other than ID3v2 from MP2/MP3.&lt;br /&gt;
                          Strip tag types other than APEv2 from WavPack/APE.&lt;br /&gt;
  -I 3, --id3v2version=3  Write ID3v2.3 tags to MP2/MP3/WAV/AIFF.&lt;br /&gt;
  -I 4, --id3v2version=4  Write ID3v2.4 tags to MP2/MP3/WAV/AIFF (default).&lt;br /&gt;
&lt;br /&gt;
  -o,   --output          Database-friendly tab-delimited list output.&lt;br /&gt;
  -O,   --output-new      New format tab-delimited list output.&lt;br /&gt;
  -q,   --quiet           Don&#039;t print scanning status messages.&lt;br /&gt;
&lt;br /&gt;
Please report any issues to https://github.com/Moonbase59/loudgain/issues.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Closer analysis of files==&lt;br /&gt;
[[Image:Loudgain-csv.png|thumb|Album data in spreadsheet]]&lt;br /&gt;
Using the &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt; (uppercase letter O) switch, loudgain can produce a detailed tab-separated list, ideal for redirection into a &amp;lt;code&amp;gt;.csv&amp;lt;/code&amp;gt; spreadsheet file and later analysis.&lt;br /&gt;
&lt;br /&gt;
Simply use a command like the following and then import the &amp;lt;code&amp;gt;album.csv&amp;lt;/code&amp;gt; file into your spreadsheet application, specifying &amp;quot;tab-delimited CSV&amp;quot;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
loudgain -O [OPTIONS] FILES... &amp;gt; album.csv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==loudgain on Windows==&lt;br /&gt;
[[Image:Loudgain-windows10-bash.png|thumb|loudgain in Windows 10’s &#039;&#039;Linux bash&#039;&#039;]]&lt;br /&gt;
Loudgain was forked and ported to run natively in Windows by complexlogic in 2022. It is available in source and executable form [https://github.com/complexlogic/loudgain on GitHub]. &lt;br /&gt;
&lt;br /&gt;
Alternatively, the main version of loudgain can easily be used with Windows 10’s &#039;&#039;Linux bash&#039;&#039;. Detailed installation instructions can be found on [https://github.com/Moonbase59/loudgain#installation-on-windows-10-linux-bash loudgain’s GitHub page].&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* Loudgain relies on standard libraries like &#039;&#039;TagLib&#039;&#039;. Linux distros (except rolling releases) sometimes deliver outdated libraries, so &#039;&#039;&#039;be sure you use the latest version of &#039;&#039;TagLib&#039;&#039;.&#039;&#039;&#039; Version 1.11.1 had a nasty bug for a while that [https://hydrogenaud.io/index.php/topic,118085.msg974957.html#msg974957 could corrupt Ogg Vorbis files]. This has been fixed in the meantime but the TagLib version not updated. Loudgain comes with a (slower) static version called &amp;lt;code&amp;gt;loudgain.static&amp;lt;/code&amp;gt; in the repo’s &amp;lt;code&amp;gt;/bin&amp;lt;/code&amp;gt; folder that doesn’t expose the bug and can also be used on older Linux versions (like Ubuntu 14.04, Linux Mint 17).&lt;br /&gt;
* &#039;&#039;TagLib&#039;&#039; versions prior to Version 1.12 couldn’t write &#039;&#039;ID3v2.3&#039;&#039; tags to AIFF files. This now works if loudgain is compiled against &#039;&#039;TagLib 1.12 or newer&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
loudgain v0.1 was originally developed by Alessandro Ghedini in 2014.&lt;br /&gt;
&lt;br /&gt;
[[User:Moonbase|Matthias C. Hormann]] forked this version in 2019 and took over the development of loudgain after version 0.1, starting with version 0.2.1.&lt;br /&gt;
The latest version is &#039;&#039;&#039;0.6.8&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ReplayGain]]&lt;br /&gt;
* [[ReplayGain 2.0 specification]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://github.com/Moonbase59/loudgain/ loudgain on GitHub]&lt;br /&gt;
* [https://github.com/complexlogic/loudgain Windows port of loudgain on Github]&lt;br /&gt;
* [https://github.com/Moonbase59/loudgain#technical-details-advanced-users-stuff loudgain technical details on GitHub]&lt;br /&gt;
* [https://github.com/Moonbase59/loudgain/issues loudgain bug tracker]&lt;br /&gt;
* [https://aur.archlinux.org/packages/loudgain/ loudgain in the ArchLinux User Repository (AUR)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Complexlogic</name></author>
	</entry>
</feed>