Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
This branch is 6 commits ahead of elfchief:master.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


This repository contains all the source code you need to build aacgain on OS X 10.11 (El Capitan), without need to look for source code on other sites.

It combines the original mp3gain repository that elfchief copied to GitHub with the source code to build mp4v2 from the almost-defunct Google Code and and the source code libfaad from the SourceForge. (Remember when SourceForge cool like Github is now? OK I'm old. :) It also includes a couple patches to mp4v2.
See the commit history for more details on exactly what was patched and included.

Instructions for compiling aacgain are in aacgain/linux/README.linux.

(If you just want mp3gain, it can be compiled

I was able to build this with build tools I already had installed (xcode, homebrew) plus brew instal libtool to resolve an error about libtool.

PLEASE NOTE that I did not write and do not claim authorship or copyright over this code. I am posting it as a courtesy to others who may find it useful, and believe this to be in compliance with the Open Source licenses used by the original authors.


For example, to update a single file to a better volume level (BACKUP YOUR FILE BEFORE RUNNING):

./aacgain -r path/to/file.m4a

I found the -r switch was needed to make it automatically increase the level of a single file (by default I beleive it expects more than one file to make a change).


Fork of mp3gain with aacgain ready to build on modern OS X






No releases published


No packages published


  • C 43.6%
  • C++ 36.9%
  • Shell 8.6%
  • Visual Basic .NET 5.8%
  • Makefile 3.0%
  • HTML 0.7%
  • Other 1.4%