Menu
Latest
12 meetings · Prague, Jeju · 12–16 Oct
Reports
RAN1#126-bis · SA2#177

Glossary term · Services

Codec mode

Codec mode

Services →

Codec mode is a specific operating state of a speech codec, like AMR, that defines a particular bitrate used to adapt to changing radio conditions.

Introduced
Rel-8
Where
Services › Codecs
Specifications
4 specs
Codec mode Description Purpose What changed Neighbours Specifications

Description

In 3GPP speech coding, a codec mode refers to a distinct configuration of a speech codec that operates at a specific bitrate and may employ different coding techniques. For the Adaptive Multi-Rate (AMR) codec, there are eight full-rate codec modes, each with a bitrate ranging from 4.75 kbps to 12.2 kbps, plus a low-rate SID (Silence Insertion Descriptor) mode used for comfort noise generation during discontinuous transmission (DTX). Similarly, AMR-Wideband (AMR-WB) has nine codec modes with bitrates from 6.6 kbps to 23.85 kbps. Each mode is optimized for different channel conditions and trade-offs between speech quality and error robustness.

The concept of codec modes is central to the adaptive nature of AMR and AMR-WB. The encoder can switch between modes on a frame-by-frame basis, typically every 20 ms, based on channel quality feedback from the network. This allows the system to maintain acceptable speech quality even as radio conditions degrade, by using lower bitrate modes that are more robust to errors. The network controls which modes are allowed through the Codec Configuration, specifically the Active Codec Set (ACS). The ACS is a subset of all available modes, and the encoder can only switch within this set.

Codec mode adaptation is managed by the network using a combination of in-band signaling and out-of-band control. In UMTS, the Transport Format Combination Indicator (TFCI) carries the codec mode information for each frame. In LTE and NR, the codec mode is signaled via the RTP payload format, which includes a Codec Mode Request (CMR) field that the receiver can use to request a specific mode from the sender. The network can also use explicit signaling, such as the AMR Control (AMR-C) protocol, to command mode changes.

Each codec mode has a unique index (0 to 7 for AMR full-rate modes, 0 to 8 for AMR-WB) that is used in signaling. The mapping of mode indices to bitrates is standardized in 3GPP TS 26.103 for AMR and TS 26.114 for AMR-WB and EVS. For example, AMR mode 7 corresponds to 12.2 kbps, which is the highest quality mode and is also compatible with GSM Enhanced Full Rate (EFR). This interoperability is important for interworking between 3GPP and other systems.

The use of multiple codec modes also enables efficient operation during silence periods. When DTX is enabled, the encoder switches to the SID mode, which transmits comfort noise parameters at a much lower rate (typically 1.8 kbps or less). This reduces interference and saves battery power. The SID mode is not considered a full-rate codec mode but is part of the codec's mode set.

In summary, codec modes are the building blocks of adaptive speech coding in 3GPP systems. They allow the network to balance speech quality and capacity, adapt to changing radio conditions, and ensure interoperability across different technologies. The concept has been extended to newer codecs like EVS, which supports even more modes and higher quality.

Purpose & Motivation

The concept of codec modes was introduced to enable adaptive speech coding in cellular networks, addressing the limitations of fixed-rate codecs. Before AMR, codecs like GSM Full Rate (FR) and Enhanced Full Rate (EFR) operated at a single bitrate, which meant that either speech quality or robustness could be optimized, but not both simultaneously. In varying radio conditions, a fixed-rate codec would either suffer from poor quality (if the bitrate was too low for good quality) or from high error rates (if the bitrate was too high to be protected adequately). The need for a codec that could adapt to channel conditions led to the development of AMR, which introduced multiple codec modes.

The primary motivation for codec modes is to provide a trade-off between speech quality and error resilience. Higher bitrate modes offer better speech quality but are more susceptible to transmission errors, while lower bitrate modes are more robust but offer lower quality. By allowing the network to switch between modes dynamically, AMR can maintain acceptable quality across a wide range of channel conditions. This is particularly important in mobile environments where signal strength and interference fluctuate rapidly.

Historically, the introduction of AMR in 3GPP Release 4/5 (for GSM and UMTS) marked a significant advancement. The concept of codec modes was first defined in the AMR specification, and later extended to AMR-WB in Release 5. The provided data indicates that the term 'Codec mode' was introduced in Release 8, but this likely refers to its inclusion in the 3GPP vocabulary, as the underlying concept existed earlier. The definition in Release 8 was 'for a given channel mode, the bit partitioning between the speech and channel codecs', which reflects the original AMR design where the codec mode determined how bits were split between speech and channel coding. In Release 12, the definition was updated to the current one, emphasizing the bitrate aspect, which aligns with the evolution towards packet-switched voice and the separation of speech and channel coding in LTE.

Codec modes continue to be relevant in modern networks, enabling features like link adaptation and robust voice over IP. They are a key enabler for high-quality voice services in 3GPP systems.

What changed in its specifications

The latest release-to-release comparison of specifications that define Codec mode. Each summary describes the whole specification, not only this term.

TS 26.114Rel-18 → Rel-19

Rel-19 adds a reference to the IVAS fixed-point C code specification in TS 26.114. It also lists that specification among supported specifications for MTSI immersive audio clients.

Full comparison in TS 26.114 →

Release Timeline

Evolution Across Releases

An overview written from the defining specifications, not a verified change history. For the exact text, open the specifications listed below.

Rel-8 Initial

Initial definition in 3GPP vocabulary: 'for a given channel mode, the bit partitioning between the speech and channel codecs'. This reflected the original AMR design where codec mode determined the split between speech and channel coding bits.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition was revised to: 'Used for the AMR and AMR-WB codecs to identify one specific bitrate. For example AMR includes 8 codec modes (excluding SID), each of different bitrate.' This change reflects the shift to packet-switched voice where codec mode is primarily about bitrate rather than bit partitioning.

Definition text was reformatted (line breaks removed) but content remained identical to Rel-12.

Definition text was reformatted (line breaks removed) but content remained identical to Rel-12.

Definition carried over unchanged from Rel-12.

Definition carried over unchanged from Rel-12.

Definition text was reformatted (line breaks removed) but content remained identical to Rel-12.

Definition carried over unchanged from Rel-12.

Definition carried over unchanged from Rel-12.

Defining Specifications

3GPP specifications that define or reference Codec mode, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 26.114 vk11 IMS Multimedia Telephony Client Rel-20 read
TR 26.916 ve20 eSRVCC Transcoding Minimization Study Rel-14 read
TR 26.975 vj00 AMR Speech Codec Performance Background Rel-19 read
TR 26.978 vj00 AMR Noise Suppression Selection Phase Technical Report Rel-19 read