ArticleslgStudy

computer science

Adaptive Multi-Rate audio codec

Adaptive Multi-Rate audio codec 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 Adaptive Multi-Rate audio codec rather than just read about it. In short: The Adaptive Multi-Rate (AMR, AMR-NB or GSM-AMR) audio codec is an audio compression format optimized for speech coding. AMR is a multi-rate narrowband speech codec that encodes narrowband (200–3400 Hz) signals at variable bit rates ranging from 4.75 to 12.2 kbit/s with toll quality speech starting at 7.4 kbit/s.

Key takeaways

  • Adaptive Multi-Rate audio codec 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 Adaptive Multi-Rate audio codec to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Adaptive Multi-Rate audio codec from memory before moving on to harder problems.

Reference excerpt

The Adaptive Multi-Rate (AMR, AMR-NB or GSM-AMR) audio codec is an audio compression format optimized for speech coding. AMR is a multi-rate narrowband speech codec that encodes narrowband (200–3400 Hz) signals at variable bit rates ranging from 4.75 to 12.2 kbit/s with toll quality speech starting at 7.4 kbit/s. AMR was adopted as the standard speech codec by 3GPP in October 1999 and is now widely used in GSM and UMTS. It uses link adaptation to select from one of eight different bit rates based on link conditions. AMR is also a file format for storing spoken audio using the AMR codec. Many modern mobile telephone handsets can store short audio recordings in the AMR format, and both free and proprietary programs exist (see Software support) to convert between this and other formats, although AMR is a speech format and is unlikely to give ideal results for other audio. The common filename extension is .amr. There also exists another storage format for AMR that is suitable for applications with more advanced demands on the storage format, like random access or synchronization with video. This format is the 3GPP-specified 3GP container format based on ISO base media file format.

Usage The frames contain 160 samples and are 20 milliseconds long. AMR uses various techniques, such as ACELP, DTX, VAD and CNG. The usage of AMR requires optimized link adaptation that selects the best codec mode to meet the local radio channel and capacity requirements. If the radio conditions are bad, source coding is reduced and channel coding is increased. This improves the quality and robustness of the network connection while sacrificing some voice clarity. In the particular case of AMR this improvement is somewhere around S/N = 4–6 dB for usable communication. The new intelligent system allows the network operator to prioritize capacity or quality per base station. There are a total of 14 modes of the AMR codec, eight are available in a full rate channel (FR) and six on a half rate channel (HR).

Features Sampling frequency 8 kHz/13-bit (160 samples for 20 ms frames), filtered to 200–3400 Hz. The AMR codec uses eight source codecs with bit-rates of 12.2, 10.2, 7.95, 7.40, 6.70, 5.90, 5.15 and 4.75 kbit/s. Generates frame length of 95, 103, 118, 134, 148, 159, 204, or 244 bits for AMR FR bit rates 4.75, 5.15, 5.90, 6.70, 7.40, 7.95, 10.2, or 12.2 kbit/s, respectively. AMR HR frame lengths are different. AMR utilizes discontinuous transmission (DTX), with voice activity detection (VAD) and comfort noise generation (CNG) to reduce bandwidth usage during silence periods Algorithmic delay is 20 ms per frame. For bit-rates of 12.2, there is no "algorithm" look-ahead delay. For other rates, look-ahead delay is 5 ms. Note that there is 5 ms "dummy" look-ahead delay, to allow seamless frame-wise mode switching with the rest of rates. AMR is a hybrid speech coder, and as such transmits both speech parameters and a waveform signal Linear predictive coding (LPC) is used to synthesize the speech from a residual waveform. The LPC parameters are encoded as line spectral pairs (LSP). The residual waveform is coded using algebraic code-excited linear prediction (ACELP). The complexity of the algorithm is rated at 5, using a relative scale where G.711 is 1 and G.729a is 15. PSQM testing under ideal conditions yields mean opinion scores of 4.14 for AMR (12.2 kbit/s), compared to 4.45 for G.711 (μ-law) PSQM testing under network stress yields mean opinion scores of 3.79 for AMR (12.2 kbit/s), compared to 4.13 for G.711 (μ-law)

Licensing and patent issues AMR codecs incorporate several patents of Nokia, Ericsson, NTT and VoiceAge, the last one being the License Administrator for the AMR patent pools. VoiceAge also accepts submission of patents for determination of their possible essentiality to these standards. The initial fee for professional content creation tools and "real-time channel" products is US$6,500. The minimum annual royalty is $10,000, which, in the first year, excludes the initial fee. Per-channel license fees fall from $0.99 to $0.50 with volume, up to a maximum of $2 million annually. In the category of personal computer products, e.g., media players, the AMR decoder is licensed for free. The license fee for a sold encoder falls from $0.40 to $0.30 with volume, up to a maximum of $300,000 annually. The minimum annual royalty is not applied to licensed products that fall under the category of personal computer products and use only the free decoder. More information:

VoiceAge licensing information, including pricing to license the AMR codecs 3GPP legal issues The 3G Patent Platform and its licensing policy AMR Codecs as Shared Libraries Archived 2021-04-11 at the Wayback Machine — legal notices for usage of amrnb and amrwb libraries based on the reference implementation

Software support 3GPP TS 26.073 – AMR speech Codec (C source code) – reference implementation Audacity (beta version 1.3) via the FFmpeg integration libraries (both input and output format) FFmpeg with OpenCORE AMR libraries Android Used for voice recorder. AMR Codecs as Shared Libraries Archived 2021-04-11 at the Wayback Machine – amrnb and amrwb libraries development site. These libraries are based on the reference implementation and were created to prevent embedding of possibly patented source code into many open source projects. Open source software to convert the .amr format: RetroCode, Amr2Wav, both are in an early developmental stage AMR Player is freeware to play AMR audio files, and can convert AMR from/to MP3/WAV audio format. Nokia Multimedia Converter 2.0 can convert (create) samples, one can use Nokia's conversion tool to create both .amr and .awb files. It works in Windows 7 as well if the setup is run in XP compatibility mode. MPlayer (SMPlayer, KMPlayer) Parole Media Player 0.8.1 (in Ubuntu 16.04) QuickTime Player and multimedia framework RealPlayer version 11 and later VLC media player version 1.1.0 and later (input format only, not output format) ffdshow Apple iPhone (can play back AMR files) iOS & macOS (iMessage) BlackBerry smartphones (used for voice recorder file format, while BlackBerry 10 cannot play AMR format) K-Lite Codec Pack Media Player Classic Home Cinema, around 1.7.1 foobar2000 with the component foo_input_amr

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Adaptive Multi-Rate audio codec

Start with the simplest possible case. Write down what Adaptive Multi-Rate audio codec 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 Adaptive Multi-Rate audio codec 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 Adaptive Multi-Rate audio codec 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 Adaptive Multi-Rate audio codec

In research
Adaptive Multi-Rate audio codec 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 Adaptive Multi-Rate audio codec 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
Adaptive Multi-Rate audio codec is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1999 software, Speech codecs, so understanding it makes those chapters shorter.
In everyday life
Look for Adaptive Multi-Rate audio codec 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 “Adaptive Multi-Rate audio codec” →

How to study Adaptive Multi-Rate audio codec in 20 minutes

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

Frequently asked questions

What is Adaptive Multi-Rate audio codec in simple terms?

The Adaptive Multi-Rate (AMR, AMR-NB or GSM-AMR) audio codec is an audio compression format optimized for speech coding. AMR is a multi-rate narrowband speech codec that encodes narrowband (200–3400 Hz) signals at variable bit rates ranging from 4.75 to 12.2 kbit/s with toll quality speech starting…

Why does Adaptive Multi-Rate audio codec 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 Adaptive Multi-Rate audio codec?

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 Adaptive Multi-Rate audio codec.

Tags

  • 1999 software
  • Speech codecs

Keep exploring