mp3rgain

Lossless MP3/AAC volume adjustment - a modern mp3gain replacement written in Rust
mp3rgain adjusts MP3 and AAC volume without re-encoding by modifying the global_gain field in each frame. This preserves audio quality while achieving permanent volume changes.
Features
- Lossless & Reversible: No re-encoding, all changes can be undone (MP3 and AAC)
- ReplayGain: Track and album gain analysis for MP3 and AAC/M4A
- Zero dependencies: Single static binary (no ffmpeg, no mp3gain)
- Cross-platform: macOS, Linux, Windows (x86_64 and ARM64)
- mp3gain compatible: Drop-in replacement with identical CLI
- GUI Application: Native desktop app for drag-and-drop workflow
Installation
CLI (mp3rgain)
| Platform | Command |
|---|
| macOS | brew install M-Igashi/tap/mp3rgain |
| Windows | winget install M-Igashi.mp3rgain |
| Arch Linux (AUR) | yay -S mp3rgain-bin |
| Debian/Ubuntu | sudo apt install ./mp3rgain_*_amd64.deb (download) |
| Nix/NixOS | nix profile install github:M-Igashi/mp3rgain |
| Cargo | cargo install mp3rgain |
GUI (mp3rgui)
| Platform | Command |
|---|
| macOS | brew install --cask M-Igashi/tap/mp3rgui |