Single Binary
mp3rgain is built-in as of v1.3.0. Only ffmpeg required as external dependency. Simple installation.
Rekordbox Auto Gain doesn't work on CDJs. headroom simulates Auto Gain and permanently applies it to your filesโso every track hits the same level on the booth.
Rekordbox's Auto Gain feature analyzes your tracks and calculates gain adjustments to normalize loudness. It works great with controllers.
But when you export to USB for CDJs, Auto Gain values are ignored.
headroom simulates what Rekordbox Auto Gain doesโbut instead of storing a metadata value, it permanently applies the gain to your audio files.
headroom uses the same approach as Rekordbox Auto Gain: it measures True Peak and calculates maximum safe gain without clipping.
headroom intelligently chooses the best method for each file based on format and available headroom, prioritizing quality preservation.
Files already at optimal level are automatically skipped.
A common concern is quality loss when re-encoding MP3/AAC. However, for gain adjustment only at high bitrates (โฅ256 kbps), the degradation is completely inaudible.
Everything you need for consistent levels on CDJs.
mp3rgain is built-in as of v1.3.0. Only ffmpeg required as external dependency. Simple installation.
Native lossless gain for AAC/M4A via mp3rgain 2.0. Re-encode fallback for precise gain.
Uses the same LUFS/True Peak analysis as Rekordbox. Calculates maximum safe gain to hit optimal ceiling.
Files are modified in-place. All your cue points, hot cues, beat grids, and tags remain intact.
Original files are backed up before processing. Built-in mp3rgain MP3 processing is truly lossless.
Based on AES TD1008: -0.5 dBTP for lossless/high-bitrate, -1.0 dBTP for low-bitrate lossy.
All the formats Rekordbox DJs actually use.
| Format | Method | Precision | Quality |
|---|---|---|---|
| FLAC | ffmpeg volume filter | Arbitrary | Lossless |
| AIFF | ffmpeg volume filter | Arbitrary | Lossless |
| WAV | ffmpeg volume filter | Arbitrary | Lossless |
| MP3 | mp3rgain (built-in) | 1.5dB steps | Lossless |
| MP3 | ffmpeg re-encode (opt-in) | Arbitrary | Inaudible at โฅ256kbps |
| AAC/M4A | mp3rgain (built-in) | 1.5dB steps | Lossless |
| AAC/M4A | ffmpeg re-encode (opt-in) | Arbitrary | Inaudible at โฅ256kbps |
The free, open-source DJ loudness normalizer โ with features paid tools don't offer.
| Feature | headroom | Paid Alternatives |
|---|---|---|
| Price | Free & Open Source (MIT) | โฌ15+ |
| macOS | โ | โ Windows only |
| Linux | โ | โ |
| AIFF Support | โ Lossless | โ |
| AAC/M4A Support | โ Lossless gain | โ |
| Lossless MP3 Gain | โ global_gain mod | Unknown |
| True Peak Ceiling | AES TD1008 bitrate-aware | Basic |
| Rekordbox Metadata | โ Preserved | Unknown |
| Automatic Backup | โ | โ |
| GUI | โ CLI only | โ |
headroom is a CLI tool designed for DJs who want maximum control and transparency over their loudness normalization workflow.
Requires ffmpeg. Package managers install it automatically.
brew install M-Igashi/tap/headroom
winget install M-Igashi.headroom
cargo install headroom
ffmpeg must be installed separately. Pre-built binaries on GitHub Releases.
Run headroom before your next USB export and play with consistent levels.