ArticleslgStudy

computer science

FAAC

FAAC is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand FAAC rather than just read about it. In short: FAAC (Freeware Advanced Audio Coder) is a software project which includes the AAC encoder FAAC and decoder FAAD2. It supports MPEG-2 AAC as well as MPEG-4 AAC.

Key takeaways

  • FAAC belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect FAAC to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of FAAC from memory before moving on to harder problems.

Reference excerpt

FAAC (Freeware Advanced Audio Coder) is a software project which includes the AAC encoder FAAC and decoder FAAD2. It supports MPEG-2 AAC as well as MPEG-4 AAC. It supports several MPEG-4 Audio object types (LC and SBR for encoding, and SBR, PS, ER, LD for decoding), file formats (ADTS AAC, raw AAC, MP4), multichannel and gapless encoding/decoding and MP4 metadata tags. The encoder and decoder is compatible with standard-compliant audio applications using one or more of these object types and facilities. FAAC and FAAD2, being distributed in C source code form, can be compiled on various platforms and are distributed free of charge. FAAD2 is free software. As of version 2.0, FAAC was completely rewritten to remove legacy reference code and is distributed as free software under the GNU Lesser General Public License (LGPL v2.1 or later). Version 3.0 comes with the completely rewritten FAAD3, merging the decoder into the encoder. Older versions contained code distributed under a proprietary license and supported Digital Radio Mondiale. FAAC was originally written by Menno Bakker, evolving out of MBsoft, a project he started around 1998 based on the AAC reference sources before open-sourcing the code at the end of 1999.

FAAC encoder FAAC stands for Freeware Advanced Audio Coder. The FAAC encoder is an audio compression computer program that creates AAC (MPEG-2 AAC/MPEG-4 AAC) sound files from other formats (usually, CD-DA audio files). It contains a library (libfaac) that can be used by other programs. AAC files are commonly used in computer programs and portable music players, being Apple Inc.'s recommended format for the company's iPod music player. Some of the features that FAAC has are: cross-platform support, "reasonably" fast encoding, support for more than one "object type" of the AAC format, and multi-channel streams like 5.1. FAAC focuses primarily on the Low Complexity (LC) and HE-AAC v1 (Spectral Band Replication / SBR) profiles. The MPEG-2 AAC profile supported by FAAC is LC. Support for HE-AAC v1 encoding was added in version 2.0.0, while legacy object types (Main, LTP, SSR) were removed. Support for Digital Radio Mondiale streams was removed in version 1.4. The object type "Low Complexity" is the default and also happens to be used in videos meant to be playable for portable players (like Apple's iPod) and used by video-hosting sites (like YouTube). Earlier 1.x versions of FAAC have historically been evaluated as a somewhat "lower quality" option than other AAC encoders.

Alternatives for AAC encoding in Unix-like operating systems FAAC is one of six alternatives that Linux/Unix users have for creating AAC files. The others are:

The Fraunhofer-developed "FDK AAC" encoder library included as part of Android. The FDK AAC source code is licensed under a custom-copyleft license, and has been ported to other platforms as libfdk-aac. The library is built around fixed-point math and supports only 16-bit PCM input. The Nero AG-developed "Nero AAC Codec", which has a proprietary license, and is not available for the entire range of hardware architectures that these operating systems are able to run. Nero no longer develops this encoder, but the package is still available, and it remains a high-quality option for AAC encoding. The libavcodec native AAC encoder (separate versions maintained by FFmpeg and Libav) was experimental but considered "better than vo-aacenc" in at least some tests. It was written by Konstantin Shishkov, and released under version 2.1 of the LGPL. The AAC encoder used in FFmpeg's version of libavcodec was significantly improved for version 3.0 of FFmpeg and is no longer considered experimental. Libav has not merged this work. libvo_aacenc, the Android VisualOn AAC encoder. This encoder was replaced in Android by the FDK AAC encoder mentioned above, and is considered a poor-quality option. The (nonfree) libaacplus which implements the High-Efficiency Advanced Audio Coding. Mac OS X users can utilize Apple's AAC encoder with the command-line afconvert tool.

FAAD2 decoder FAAD2 is Freeware Advanced Audio (AAC) Decoder including SBR decoding. Since version 2.12.0, its library, libfaad, has been a compatibility layer over libfaad3, an LGPL-licensed decoder released with FAAC 3.0 that supports AAC-LC, HE-AAC and HE-AACv2. Earlier versions also decoded the Main, LTP, LD and error-resilient object types. FAAD and FAAD2 were originally written by Menno Bakker, with FAAD2 later acquired by Nero AG to serve as the basis for the Nero AAC decoder while remaining available as free software. FAAD2 is the successor to FAAD1, which was deprecated. FAAD is Freeware Advanced Audio Decoder. It was first released in 2000 and it did not support SBR and PS audio object types. The last version of FAAD1 was 2002-01-04. All development later focused in FAAD2. The SBR decoding support (HE-AAC) was added in the version release on 25 July 2003. FAAD2 version 2.0 was released on 6 February 2004.

Licensing FAAC versions 2.0 and later are fully licensed under the GNU Lesser General Public License. Older versions contain code based on the ISO MPEG-4 reference code, whose license is not compatible with the LGPL. Only the FAAC changes to this ISO MPEG-4 reference code are licensed under the LGPL license. The ISO MPEG-4 reference software was published as ISO/IEC 14496-5 (MPEG-4 Part 5: Reference software) and it is freely available for download from ISO website. ISO/IEC gives users of the MPEG-2 NBC/MPEG-4 Audio standards free license to this software module or modifications thereof for use in hardware or software products claiming conformance to the MPEG-2 NBC/MPEG-4 Audio standards. Those intending to use this software module in hardware or software products are advised that this use may infringe existing patents. FAAD2 is licensed under the GPL v2 (and later GPL versions). Code from FAAD2 is copyright of Nero AG (the "appropriate copyright message" mentioned in section 2c of the GPLv2). The source code contains a note that the use of this software may require the payment of patent royalties. Commercial non-GPL licensing of this software is also possible. FAAD (FAAD1) modifications to the ISO MPEG-4 AAC reference code were distributed under the GPL.

Other software

FAAC and FAAD2 are used in the following software products and libraries:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with FAAC

Start with the simplest possible case. Write down what FAAC claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to FAAC before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about FAAC ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of FAAC

In research
FAAC appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses FAAC in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
FAAC is common in secondary-school and first-year university syllabi. It links to neighbouring topics Audio codecs, Cross-platform software, so understanding it makes those chapters shorter.
In everyday life
Look for FAAC outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “FAAC” →

How to study FAAC in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what FAAC means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain FAAC out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is FAAC in simple terms?

FAAC (Freeware Advanced Audio Coder) is a software project which includes the AAC encoder FAAC and decoder FAAD2. It supports MPEG-2 AAC as well as MPEG-4 AAC.

Why does FAAC matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study FAAC?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on FAAC.

Tags

  • Audio codecs
  • Cross-platform software

Keep exploring