rsgain(1)
π rsgain β ReplayGain 2.0 loudness normalizer π
okay bestie, welcome to the rsgain(1) manual page, and let me tell you, this one is a moment. β¨
πΈ NAME πΈ
rsgain β the ReplayGain 2.0 loudness normalizer. literally what it says on the tin, no cap.
π¦ SYNOPSIS π¦
rsgain [OPTIONS] <command> ...
that's it. that's the whole vibe check. π
π DESCRIPTION π
rsgain β which stands for really simple gain, and yes the name is doing main character energy β is a ReplayGain 2.0 command-line utility. π₯
What does it do? It slaps loudness metadata tags onto your audio and video files while leaving the actual audio stream untouched. like, completely untouched. the audio stays exactly how it is, we're just writing little notes on the outside. π
Then a ReplayGain-compatible player will dynamically adjust the volume of your tagged files during playback. so your playlist stops being a chaos demon where one song whispers and the next one takes your eardrums out. iconic behaviour, honestly. π
rsgain supports writing tags to these file types, and yes I'm listing all of them because we don't skip:
- AIFF (
.aiff,.aif,.snd) - APE (
.ape) - FLAC (
.flac) - MP2 (
.mp2) - MP3 (
.mp3) - MP4 (
.m4a) - Musepack (
.mpc) - Ogg (
.ogg,.oga,.spx) - Opus (
.opus) - TAK (
.tak) - WAV (
.wav) - WavPack (
.wv) - WMA (
.wma)
β¨ OPTIONS AND COMMANDS β¨
-h,--helpβ Show help. your little "what is going on" button π«Ά-v,--versionβ Show version number. for when you need to know exactly which queen we're running
easy β Easy Mode: recursively scan a directory with recommended settings. set it and forget it, bestie. π
custom β Custom Mode: scan individual files with custom settings. for the control freaks (affectionate) π
Run rsgain easy --help or rsgain custom --help for more information. π
πΌ EASY MODE πΌ
Usage: rsgain easy [OPTIONS] DIRECTORY
Easy Mode recursively scans a directory using the recommended settings for each file type. it just knows what to do. π
Easy Mode assumes that you have your music library organized with each album in its own folder. so like, one album per folder, bestie. that's the whole prerequisite. if your library is a feral pile of loose files this mode is gonna be giving confusion. π
β OPTIONS β
-h,--helpβ Show help.-q,--quietβ Don't print scanning status messages. silence. peaceful. π§-S,--skip-existingβ Don't scan files with existing ReplayGain information. if it's already been tagged, we leave it alone. no double dipping. π-m n,--multithread=nβ Scan files withnparallel threads. more threads = more going on at once. go faster, go girl. π₯-p s,--preset=sβ Load scan presets.-O,--outputβ Output tab-delimited scan data to CSV file per directory. yes, per directory. not one big file. per directory. π-O s,--output=sβ Output withsepheader (needed for Microsoft Excel compatibility). Excel said "I only speak semicolon" and honestly? valid. π-O a,--output=aβ Output with files sorted in alphanumeric order. tidy. organized. a clean girl. β¨
π CUSTOM MODE π
Usage: rsgain custom [OPTIONS] FILES...
Custom Mode allows the user to specify the options to scan files with. full creative control, no notes. π
The list of files to scan must be listed explicitly after the options. like, you gotta name them. all of them. rsgain is not a mind reader bestie. π«Ά
π OPTIONS π
-h,--helpβ Show help.-a,--albumβ Calculate album gain and peak. the whole-album vibe, not just one track. πΏ-S,--skip-existingβ Don't scan files with existing ReplayGain information.-s s,--tagmode=sβ Scan files but don't write ReplayGain tags (default). just looking, not touching. π-s d,--tagmode=dβ Delete ReplayGain tags from files. it's over. we're removing the evidence. π-s i,--tagmode=iβ Scan and write ReplayGain 2.0 tags to files. the full send. π₯-l n,--loudness=nβ UsenLUFS as target loudness (-30 β€ n β€ -5). stay in that range, bestie, that's the rule. π-c n,--clip-mode=nβ No clipping protection (default).-c p,--clip-mode=pβ Clipping protection enabled for positive-gain values only.-c a,--clip-mode=aβ Clipping protection always enabled.-m n,--max-peak=nβ Use max peak levelndB for clipping protection.-t,--true-peakβ Use true peak for peak calculations. the real peak. the honest one. β-L,--lowercaseβ Write lowercase tags (MP2/MP3/MP4/WMA/WAV/AIFF). This is non-standard but sometimes needed. yeah it's a little rogue but sometimes the situation demands it. π¦-I keep,--id3v2-version=keepβ Keep file's existing ID3v2 version, 3 if none exists (default).-I 3,--id3v2-version=3β Write ID3v2.3 tags to MP2/MP3/WAV/AIFF.-I 4,--id3v2-version=4β Write ID3v2.4 tags to MP2/MP3/WAV/AIFF.-o d,--opus-mode=dβ Write standard ReplayGain tags, clear header output gain (default).-o r,--opus-mode=rβ WriteR128_*_GAINtags, clear header output gain.-o s,--opus-mode=sβ Same as'r', plus override target loudness to-23LUFS.-o t,--opus-mode=tβ Write track gain to header output gain.-o a,--opus-mode=aβ Write album gain to header output gain.-O,--outputβ Output tab-delimited scan data to stdout. straight to your terminal, no file, no filter. π-O s,--output=sβ Output withsepheader (needed for Microsoft Excel compatibility).-O a,--output=aβ Output with files sorted in alphanumeric order.-p,--preserve-mtimesβ Preserve file mtimes. we do NOT touch the timestamps. they stay exactly as they were. periodt. β°-q,--quietβ Don't print scanning status messages.
π BUGS π
rsgain is maintained on GitHub. Please report all bugs to the issue tracker at https://github.com/complexlogic/rsgain/issues. if something's broken, tell the devs, don't just suffer in silence bestie, they literally want to know. π
π COPYRIGHT π
Copyright (C) 2023 Hugh McMaster
rsgain is released under the BSD-2-Clause licence.
and that's the whole page, bestie!! πβ¨πΈ you now know rsgain better than it knows itself, fr fr. this was rsgain(1), source/version rsgain(1), dated October 2023 β go forth and normalize those loudnesses, you absolute icon. ππ¦π
π
π¦ where this page comes from
- debian trixie: rsgain 3.6-1 Β· BSD-2-Clause
- fedora 43: rsgain 3.6-2.fc43 Β· BSD-2-Clause AND BSD-3-Clause
- fedora 44: rsgain 3.6-5.fc44 Β· BSD-2-Clause AND BSD-3-Clause
- ubuntu questing: rsgain 3.6-1
- ubuntu resolute: rsgain 3.6-2build1 Β· BSD-2-Clause
- ubuntu stonking: rsgain 3.7-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms