AAC is a file format for storing music or other sounds. It stands for Advanced Audio Coding or Advanced Audio Codec. It is used by Apple Inc. in the iPod and iTunes, by Sony in the Walkman, in all Android devices, in car stereos, and by many other devices. AAC is one of the standard formats that comes from the MPEG organization, the same people who invented MP3. AAC is part of the MPEG-2 and MPEG-4 standards. Like MP3, AAC is a compressed format. It works by removing parts of the music that people can not hear. A good AAC encoder can compress CD quality music to about 10% of its original size without affecting the perceived sound quality.
There are several profiles (variants) of AAC. These are the most popular:
Various other profiles exist, but are not commonly used.
HE-AAC is a set of profiles for use at low bitrates such as 64 or 32 kbps. HE-AAC v1 uses a technique called spectral band replication, which, when encoding, uses a lowpass filter to remove all sounds higher than about 11 KHz. It also inserts some hints about what the upper frequencies should sound like. The decoder then uses the lower frequency sound and these hints to recreate an approximation of the higher frequencies. HE-AAC v2 also uses this technique, but additionally mixes the stereo signal down to mono and inserts hints into the stream about how to mix it back up to stereo. The decoder then uses these hints to approximate the original stereo signal.
HE-AAC is somewhat backward compatible; players that don't support HE-AAC v1 will only decode frequencies below 11 KHz, and players that don't support HE-AAC v2 will only decode a mono signal. Using HE-AAC at high bitrates (eg. 112 kbps or higher) will make the sound quality worse, since there is enough bitrate to encode the actual signal instead of recreating it.
Here are some common AAC file name endings:
An AAC file that has only music and information could have a name that ends with either .m4a or .mp4.
A number of encoders exist for AAC. These are some of the most popular:
A KDE/Qt application for Linux/Unix called easytag will edit metadata about AAC-encoded files as long as they end with the .m4a extension. Typically, renaming files to .m4a and back to the original extension after editing is sufficient. This method can be used to configure metadata including cover art. This cover art is used by Apple's iTunes and their media players. Note that easytag does not have the ability to add chapter points into Audiobooks (.m4b).
As with MP3, the patents for AAC LC have expired, making AAC LC free to use. AAC LC is now included in Fedora Linux, which before the patents expired, did not include it. AAC-LD, HE-AAC, and its variants are still patented.