ArticleslgStudy

science

Audio coding format

Audio coding format is a 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 Audio coding format rather than just read about it. In short: An audio coding format, or audio compression format, is an encoded format of digital audio, such as in digital television, digital radio and in audio and video files. Examples of audio coding formats include MP3, AAC, Vorbis, FLAC, and Opus.

Audio coding format — main illustration
Audio coding format — illustration

Key takeaways

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

Reference excerpt

An audio coding format, or audio compression format, is an encoded format of digital audio, such as in digital television, digital radio and in audio and video files. Examples of audio coding formats include MP3, AAC, Vorbis, FLAC, and Opus. A specific software or hardware implementation capable of audio compression and decompression to/from a specific audio coding format is called an audio codec; an example of an audio codec is LAME, which is one of several different codecs which implements encoding and decoding audio in the MP3 audio coding format in software. Some audio coding formats are documented by a detailed technical specification document known as an audio coding specification. Some such specifications are written and approved by standardization organizations as technical standards, and are thus known as an audio coding standard. The term "standard" is also sometimes used for de facto standards as well as formal standards. Audio content encoded in a particular audio coding format is normally encapsulated within a container format. As such, the user normally doesn't have a raw AAC file, but instead has a .m4a audio file, which is a MPEG-4 Part 14 container containing AAC-encoded audio. The container also contains metadata such as title and other tags, and perhaps an index for fast seeking. A notable exception is MP3 files, which are raw audio coding without a container format. De facto standards for adding metadata tags such as title and artist to MP3s, such as ID3, are hacks which work by appending the tags to the MP3, and then relying on the MP3 player to recognize the chunk as malformed audio coding and therefore skip it. In video files with audio, the encoded audio content is bundled with video (in a video coding format) inside a multimedia container format. An audio coding format does not dictate all algorithms used by a codec implementing the format. An important part of how lossy audio compression works is by removing data in ways humans can't hear, according to a psychoacoustic model; the implementer of an encoder has some freedom of choice in which data to remove (according to their psychoacoustic model).

Lossless, lossy, and uncompressed audio coding formats

A lossless audio coding format reduces the total data needed to represent a sound but can be de-coded to its original, uncompressed form. A lossy audio coding format additionally reduces the bit resolution of the sound on top of compression, which results in far less data at the cost of irretrievably lost information. Transmitted (streamed) audio is most often compressed using lossy audio codecs as the smaller size is far more convenient for distribution. The most widely used audio coding formats are MP3 and Advanced Audio Coding (AAC), both of which are lossy formats based on modified discrete cosine transform (MDCT) and perceptual coding algorithms. Lossless audio coding formats such as FLAC and Apple Lossless are sometimes available, though at the cost of larger files. Uncompressed audio formats, such as pulse-code modulation (PCM, or .wav), are also sometimes used. PCM was the standard format for Compact Disc Digital Audio (CDDA).

History

In 1950, Bell Labs filed the patent on differential pulse-code modulation (DPCM). Adaptive DPCM (ADPCM) was introduced by P. Cummiskey, Nikil S. Jayant and James L. Flanagan at Bell Labs in 1973. Perceptual coding was first used for speech coding compression, with linear predictive coding (LPC). Initial concepts for LPC date back to the work of Fumitada Itakura (Nagoya University) and Shuzo Saito (Nippon Telegraph and Telephone) in 1966. During the 1970s, Bishnu S. Atal and Manfred R. Schroeder at Bell Labs developed a form of LPC called adaptive predictive coding (APC), a perceptual coding algorithm that exploited the masking properties of the human ear, followed in the early 1980s with the code-excited linear prediction (CELP) algorithm which achieved a significant compression ratio for its time. Perceptual coding is used by modern audio compression formats such as MP3 and AAC. Discrete cosine transform (DCT), developed by Nasir Ahmed, T. Natarajan and K. R. Rao in 1974, provided the basis for the modified discrete cosine transform (MDCT) used by modern audio compression formats such as MP3 and AAC. MDCT was proposed by J. P. Princen, A. W. Johnson and A. B. Bradley in 1987, following earlier work by Princen and Bradley in 1986. The MDCT is used by modern audio compression formats such as Dolby Digital, MP3, and Advanced Audio Coding (AAC).

List of lossy formats

General

Speech

Linear predictive coding (LPC) Adaptive predictive coding (APC) Code-excited linear prediction (CELP) Algebraic code-excited linear prediction (ACELP) Relaxed code-excited linear prediction (RCELP) Low-delay CELP (LD-CELP) Adaptive Multi-Rate (used in GSM and 3GPP) Codec 2 (noted for its lack of patent restrictions) Speex (noted for its lack of patent restrictions) Modified discrete cosine transform (MDCT) AAC-LD Constrained Energy Lapped Transform (CELT) Opus (mostly for real-time applications)

List of lossless formats Apple Lossless (ALAC – Apple Lossless Audio Codec) Adaptive Transform Acoustic Coding (ATRAC) Audio Lossless Coding (also known as MPEG-4 ALS) Direct Stream Transfer (DST) Dolby TrueHD DTS-HD Master Audio Free Lossless Audio Codec (FLAC) Lossless discrete cosine transform (LDCT) Meridian Lossless Packing (MLP) Monkey's Audio (Monkey's Audio APE) MPEG-4 SLS (also known as HD-AAC) OptimFROG Original Sound Quality (OSQ) RealPlayer (RealAudio Lossless) Shorten (SHN) TTA (True Audio Lossless) WavPack (WavPack lossless) WMA Lossless (Windows Media Lossless)

See also Comparison of audio coding formats Data compression#Audio Audio file format List of audio compression formats

Notes

References

Illustrations

Audio coding format: Comparison of coding efficiency between popular audio formats
Comparison of coding efficiency between popular audio formats
Audio coding format: Spectral analysis comparison between lossless FLAC (top) and lossy Opus (bottom) files for the same audio clip. The 20-24 kHz range is absent in the lossy audio file.
Spectral analysis comparison between lossless FLAC (top) and lossy Opus (bottom) files for the same audio clip. The 20-24 kHz range is absent in the lossy audio file.
Audio coding format: Solidyne 922: The world's first commercial audio bit compression sound card for PC, 1990
Solidyne 922: The world's first commercial audio bit compression sound card for PC, 1990

Worked examples

Example 1 — a first encounter with Audio coding format

Start with the simplest possible case. Write down what Audio coding format claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In 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 Audio coding format 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 Audio coding format 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 Audio coding format

In research
Audio coding format appears in 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 Audio coding format 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
Audio coding format is common in secondary-school and first-year university syllabi. It links to neighbouring topics Audio file formats, so understanding it makes those chapters shorter.
In everyday life
Look for Audio coding format 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 “Audio coding format” →

How to study Audio coding format in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Audio coding format 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 Audio coding format out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Audio coding format in simple terms?

An audio coding format, or audio compression format, is an encoded format of digital audio, such as in digital television, digital radio and in audio and video files. Examples of audio coding formats include MP3, AAC, Vorbis, FLAC, and Opus.

Why does Audio coding format matter?

Because it connects several 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 Audio coding format?

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 Audio coding format.

Tags

  • Audio file formats

Keep exploring