mp3rgain is a cross-platform audio normalization utility designed to make MP3 and AAC files play at consistent volume levels without re-encoding them. It modifies gain values directly inside compressed audio frames, preserving the original encoded audio quality. The application supports MP3, AAC in M4A or MP4 containers, and raw ADTS AAC files. ReplayGain analysis calculates appropriate adjustments for individual tracks or complete albums. Users can also generate ReplayGain metadata without modifying audio volume. Changes can be reversed using stored undo information, subject to gain-range limitations. Recursive scanning and parallel processing make it suitable for large music libraries. The project provides both command-line and graphical applications. Written in Rust, mp3rgain supports Windows, macOS, and Linux.
Features
- Lossless MP3 and AAC volume normalization through direct modification of compressed audio frame gain values
- ReplayGain track and album analysis with support for ReplayGain 1.0, ReplayGain 2.0, and EBU R128 loudness standards
- Reversible volume adjustments using stored undo information with warnings when gain limits prevent exact restoration
- MP3, M4A, MP4, and raw ADTS AAC compatibility with optional metadata-only normalization
- Recursive folder scanning, parallel library processing, and structured JSON or TSV command-line reporting
- Cross-platform graphical application with drag-and-drop processing, multilingual interfaces, and mp3gain-compatible command options