![]() ![]() I'm currently running it, it seems like it will take a long time, and we shall see how it performs in time. rgain (listed in package repositories as python-rgain) is a library for interacting with replay gain tags of various file types, but it also comes with some wrapper scripts for it's most apparent uses. ![]() The answers recommending mp3gain wouldn't work for me as my library is mostly flac. I got part of the way through (okay most of the way through :( ) writing a wrapper script for the answer supplied by "N.N." when I discovered rgain. If that is not enough (or no man page available), use the correct upstream website, which can be checked in Ubuntu's package page. Whenever in doubt as how a given command works, always try man first. Side note: many of the URLs posted in comments are not related to current mp3gain found in Ubuntu: they are either terribly outdated or they refer to the windows version. So it only modifies the audio stream if you tell it to, otherwise it writes to tags only. If you only want to print the recommended gain change (and not modify the file atĪll) you may use the -s s (skip tag) option. The tag is written either in APEv2 format (default) or in ID3v2 format (with -s i). Some mp3 players refer to this as ReplayGain. In this case, the adjustment only works with If none of the above options are given, the recommended gain change is instead writ‐ This mode is activated by any of the options -r, -a, -g, or -l. In thisĬase, the adjustment works with all mp3 players, i.e. Instead of being "a bit scared" or following unrelated links, why not simply read the manual?įrom man mp3gain: mp3gain optionally writes gain adjustments directly into the encoded data. I have never had problems with these tools but I cannot guarantee they are failsafe (also, your computer could crash or you might have a power outage halfway through the process). ![]() If you want to add ReplayGain tags to files that are not albums instead use the -r option for mp3gain and vorbisgain (there is no corresponding option for metaflac): mp3gain -r *.mp3Īll tools can also be used to remove ReplayGain tags.Īs always, make sure you have backups before proceed with any file modification. Then to add ReplayGain tags to an album that consists of all files in a directory do the following for mp3: mp3gain -a *.mp3įor the same task when the album is in ogg vorbis do the following: vorbisgain -a *.oggįor the same task when the album is in FLAC files do the following: metaflac -add-replay-gain *.flac To install the tools for mp3, ogg and FLAC do the following: sudo apt-get install mp3gain vorbisgain flac In conclusion, it's not just a ReplayGain that is applied, so I personally would stay away from any app of this kind except in very particular cases.There are command line tools for calculating ReplayGain values and adding ReplayGain tags. In both cases, if you choose a target too high, you'll get clipping distortion. While the free one actually CONVERTS the file although it pretends not to (check with anything like Invisor Lite and you'll see that the "Writing library" changes), this one doesn't seems to, but it looks like it rewrites the actual audio content anyway (hence the very long time it takes.). Nevertheless, none of them are displaying a sensible value! They use a maximum target value of 100dB which absolutely makes no sense, as the maximum level of a digital audio file is 0dB. LUFS which is the loudness unit used in recording studios and broadcast) - which the free mp3gain app mentioned by wickedsp1d3r doesn't. I'm not interested in spending 15 bucks for this, but I want to enlighten potential users of the possible interest of such an app: this one deals with the loudness level of files according to current standards (i.e.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |