NORMALIZE(1)
β¨ NORMALIZE(1) β¨
okay bestie, gather round, because normalize is one of those little tools that just fixes your whole audio situation and nobody talks about it enough. it lives in section 1 of the manual, it's giving "quiet kid in class who's actually a genius," and today we're getting into it. π
πΈ NAME πΈ
normalize β adjusts volume levels of audio files.
π SYNOPSIS π
normalize [ options ] [ -- ] file ...
π DESCRIPTION π
normalize is the girl who shows up to the group project and makes everyone sound even. it adjusts the volume of wav audio files to a standard volume level. why do you care? because things like creating mp3 mixes are a nightmare otherwise β different recording levels on different albums mean the volume jumps around wildly from song to song, and nothing ruins a vibe faster than having to lunge for the volume knob every three minutes. π
here's the tea on how it works: normalize operates in two phases.
- phase one β it analyzes the files you specified as wav audio files, and computes the volume of each file.
- phase two β it applies a volume adjustment to each file to set each file's volume to a standard level.
two steps, one glow-up. periodt. β¨
π OPTIONS π
-a,--amplitude=AMPLITUDEβ adjusts the RMS volume to the target amplitude AMPLITUDE, which has to be between0.0and1.0. if you slap a number withdBordBFSon the end, the amplitude is assumed to be in decibels from full scale. default is-12dBFS.-b,--batchβ turns on batch mode. go read the BATCH MODE section below, bestie.-c,--compressionβ deprecated, lowkey a fossil. back in previous versions this enabled the limiter, but now the limiter is enabled by default anyway. so likeβ¦ it's fine, it's just not doing anything new.--clippingβ disables the limiter and just clips any samples that are too large. same effect as-l 0dBFS.--fractionsβ displays all values as decimal fractions instead of in decibels. by default, volume adjustments are shown in decibels, and volume levels in dBFS, where0 dBFSis the level of a square wave of maximum amplitude.-g,--gain=GAINβ skips the volume computation phase entirely. no computing the volume adjustment from the current volumes of the files. instead it just applies the given gain as a volume adjustment to all files. as a plain number this is just a multiplier applied to all samples; if a number suffixed bydBis specified, all volumes are adjusted by that many decibels.--id3-compatβ use this when adjusting MPEG audio files if your MP3 player does not recognize ID3v2.4 tags. details are in MPEG AUDIO ADJUSTMENT below. π§--id3-unsyncβ use this one when adjusting MPEG audio files if your MP3 player does not recognize ID3v2 tags and has trouble playing some ID3v2 tagged MP3 files. again, MPEG AUDIO ADJUSTMENT below has the lore.-l,--limiter=LEVELβ controls the behavior of the limiter. by default, all samples above-6dBFS(0.5) are limited, but this option sets the limiting level to LEVEL. setting LEVEL to1(or0dBFS) does no limiting (clipping is done instead); setting LEVEL to0does limiting on all samples. the default value is recommended unless you know what you're doing. π«Ά-m,--mixβ turns on mix mode. see MIX MODE below. heads up: batch mode and mix mode are mutually exclusive, you cannot have both.-n,--no-adjustβ computes and outputs the volume adjustment that would set the volume to the target, but doesn't apply it to any of the files (i.e. it skips the second phase). if you use this option, your files will not be altered in any way. zero damage, all info. π--no-progressβ don't print any progress information. all other messages are printed as normal according to the verbosity level.--peakβ adjust using peak levels instead of RMS levels. each file will be adjusted so that its maximum sample is at full scale. this just gives a file the maximum volume possible without clipping; no normalization is done.-q,--quietβ don't output progress information. only error messages are printed.-t,--average-threshold=THRESHOLDβ when averaging volume levels for batch mode or mix mode, throw out any volumes that are more than THRESHOLD decibels from the average. a high value here (say,50) will make sure that the volumes of all files are considered in the average.-T,--adjust-threshold=THRESHOLDβ if an adjustment to be made to a file is smaller than THRESHOLD decibels, consider the file already normalized and don't do the adjustment. this is0.125by default, or0if the-goption is given.-v,--verboseβ increase verbosity. this option can be repeated for more messages. π£οΈ-w,--output-bitwidthβ force output files to have samples that areWbits wide. this option is ignored when adjusting MP3 files.-h,--helpβ display usage information and exit.-V,--versionβ print version information and exit.--β terminate option list. the classic "okay I'm done with flags now" divider. β
π MIX MODE π
this mode is made especially for making mixed CD's and the like. you want every song on the mix to be the same volume, but honestly? it doesn't matter if they're the same volume as the songs on some other mix you made last week. different mix, different era, different vibes.
in mix mode, the average level of all the files is computed, and each file is separately normalized to this average volume. so everyone matches this mix, and only this mix. π
π¦ BATCH MODE π¦
when you're operating on a group of unrelated files, you usually want all of them at the same level β and that's the default behavior. easy.
but here's where it gets nuanced: a group of music files all from the same album is generally meant to be listened to at the relative volumes they were recorded at. the artist chose that, and you shouldn't stomp on it.
in batch mode, all the specified files are considered to be part of a single album and their relative volumes are preserved. how? by averaging the volumes of all the files, computing a single adjustment from that, and applying the same adjustment to all the files. some analysis is also done so that files with volumes that appear to be statistical aberrations are not considered in the average. super useful if you have albums (like many of the author's) in which there is one "quiet song" that throws off the average. we've all got one. π
π MPEG AUDIO ADJUSTMENT π
MP3 files are "adjusted" by setting a relative volume adjustment frame in their ID3 tags. there is a frame for this, called RVA2, that does exactly what we want, and is a native frame in ID3v2.4.
unfortunately, many MP3 players do not support v2.4 tags, and the RVA2 tag is not native in previous ID3 versions. in fact, adding an RVA2 frame to a v2.3 tag confuses some MP3 players. so we're left with two choices when trying to add volume adjustment information to an ID3 tag:
- go ahead and upgrade the tag to version 2.4, and use
RVA2tags. this is the default behavior, in the hope that eventually MP3 players will support v2.4 tags and this won't be a problem anymore. - upgrade the tag to only version 2.3. instead of
RVA2, use anXRVAtag with the same format as anRVA2tag. this isn't a native frame, but since it starts with an "X", it's considered experimental and therefore legal, according to the ID3 spec. the--id3-compatoption turns on this behavior. the disadvantage of the first method is that your MP3 player may no longer read the ID3 tags on your files. bug the author of your favorite MP3 player to support ID3v2.4 tags! π£
the disadvantage of the second method is that the XRVA frame is only recognized by the xmms-rva plugin that is packaged with normalize. on the other hand, I don't know of any MP3 players that recognize the RVA2 frame, either, so it may not make any difference. π€·
the other option related to ID3 tags, --id3-unsync, is only necessary for compatibility with old MP3 players that don't recognize ID3v2 tags at all. if your MP3 player complains of garbage at the start of tagged files, or is unable to play the files at all, turn this option on. this option should never hurt, but if your MP3 player knows about ID3v2 tags, you don't need it.
π CAVEATS π
note that your version of normalize must be compiled with MAD library support to analyze MP3 file volume levels. no MAD, no MP3 analysis. that's just the rules. π€
π«Ά AUTHOR π«Ά
Chris Vaill <chrisvaill@gmail.com>
β SEE ALSO β
and that's the whole page, bestie. this one's from 14 September 2005, and it's NORMALIZE(1) β go forth, fix your volume, and make the mix of your dreams. you're gonna slay. πβ¨π
π¦ where this page comes from
- fedora 43: normalize 0.7.7-34.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: normalize 0.7.7-35.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- nixos 26.05: normalize 0.7.7
- nixpkgs unstable: normalize 0.7.7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms