Analysis of AAC Vs MP3. Which is Better Quality?
MP3 Vs AAC audio quality at comparable bit rates
In my first post, we looked at cellphone ringtone formats, focussing on the .m4r used on iOS devices.
The question of codec compression quality was raised in the context of MP3 Vs AAC (M4A). While audio quality is largely subjective, there are some attributes of quality that we can measure and discuss. In this post we’ll do a simple A/B comparison of an audio file that has been compressed with both MP3 and AAC codecs at a variety of comparable bitrates
Audio file for analysis
The audio file that we are going to analyse is a track from the original ToneRack iPhone app. It is called Trance Up Uno, and as the name suggests this song is an uplifting trance number. (Sorry if you don’t like electronic music, but bear with me, it’s good for the purpose of comparison.) It has a full range of frequencies and good stereo spread.
The reference tracks
For any A/B comparison we need a reference track. Here is the track at 320kbps mp3 and m4a (AAC). While this is compressed audio, 320kbps is currently considered the benchmark for high quality compressed audio. iTunes currently offers audio in 320kbps and 256kbps. So we’ll stick to this level of quality for the purpose of this simple analysis.
320k
Below are the audio files and the corresponding frequency graphs (mp3 on the left and AAC on the right). The screenshots are taken from Waves Paz Anaylzers and show the RMS amplitude of frequencies across the audible frequency range.
Trance Up Uno 320k MP3

320 AAC
128k
You’re probably thinking that 256kbps should have been the next rate to compare, but even at this rate, although audible, the differences in quality are quite subtle. Below are the audio files at 128k and the corresponding frequency graphs (mp3 on the left and AAC on the right).
Trance Up Uno 128k MP3

128k mp3
Trance Up Uno 128k AAC

128k AAC
56k
Now we jump right down to our 56k encodings. And this is where things start to get interesting! (See mp3 on the left and AAC on the right).
Trance Up Uno 56k MP3

56k mp3
Trance Up Uno 56k AAC

56k AAC
32k / 16k

16k AAC
Conlcusion
This simple analysis has focused on 2 basic elements. The high frequency response (audio bandwidth) resulting from low pass filtering that can be measured and quantified. The audible compression artefacts are more subjective at higher bit rates, but undeniable at lower bit rates. The shift in thinking from the previous generation mp3 to the AAC is smart in it’s focus on delivering better quality at lower bit rates through (amongst other techniques) sacrificing upper frequencies. The consumer market bit rates of 320-256kbps (Eg. the quality of audio you get from iTunes or the like) don’t display any perceptible differences in quality, while at lower bit rates (sub 128kbps) the AAC codec is a hands down winner.