SOUND-GAMBIT(1)
π sound-gambit(1) β Audio File Peak Limiter π
okay bestie, welcome to the sound-gambit(1) manual page β yes, from the User Commands section β for sound-gambit, the Audio File Peak Limiter. It's giving "make it louder but keep the peaks in line" main character energy, and it has options. Let's go. π
β¨
πΈ NAME πΈ
sound-gambit β Audio File Peak Limiter
π SYNOPSIS π
sound-gambit [ OPTIONS ] <src> <dst>
That's the whole shape of it: OPTIONS, a source <src>, and a destination <dst>. Slay. π«Ά
π DESCRIPTION π
sound-gambit is an Audio File Digital Peak Limiter. This utility takes a given input file, applies a digital peak look-ahead limiter, and constrains the output level to the given threshold. No cap, that's the whole job. β¨
π¦ OPTIONS π¦
-a,--auto-gainβ specify gain relative to peak-i,--input-gain <db>β input gain in dB (default0)-T,--true-peakβ oversample, use true-peak threshold-t,--threshold <dBFS>β threshold in dBFS/dBTP (default-1)-r,--release-time <ms>β release-time in ms (default10)-h,--helpβ display this help and exit-v,--verboseβ show processing information-V,--versionβ print version information and exit
Okay, now the details, because this is where the magic lives: π
Your target file will have the same properties as the source file β sample-rate, channels, bit-depth β and file meta-data is copied. π
π¨ important vibe check: the algorithm does not work in-place. Input and Output files must be distinct.
Reading via standard-I/O is supported β use - as file-name. π§
Prior to processing, additional input-gain can be applied. The allowed range is -10 to +30 dB. ποΈ
When auto-gain is enabled, input-gain is relative to the given threshold, and specifies the amount of effective gain-reduction to be applied. If input-gain is zero, the file is only normalized to the given threshold. Periodt. π
The threshold range is -10 to 0 dBFS, and the limiter will not allow a single sample above this level. Not one. Zero. Nada. π€
The release-time can be set from 1 ms to 1 second. The limiter allows short release times even on signals that contain high level low frequency signals. Any gain reduction caused by those will have an automatically extended hold time in order to avoid the limiter following the shape of the waveform and create excessive distortion. Short superimposed peaks will still have the release time as set by this control. That's the iconic part. π
The algorithm is based on Fons Adriaensen's zita-audiotools. π
π EXAMPLES π
Try these, bestie β they eat:
sound-gambit -i 3 -t -1.2 my-music.wav my-louder-music.wav
ffmpeg -i file.mp3 -f wav - | sound-gambit -v -T - output.wav
π§ REPORTING BUGS π§
Report bugs to <https://github.com/x42/sound-gambit/issues>
Website: <https://github.com/x42/sound-gambit/>
π COPYRIGHT π
Copyright Β© GPL 2021 Robin Gareus <robin@gareus.org>
that's the whole page, bestie! this sound-gambit(1) manual is serving version 0.6-1-g779... from March 2022. go make something loud but legal ππ
π¦ where this page comes from
- arch rolling: sound-gambit 0.7-4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms