Description
The SID code word is a specific, fixed bit pattern that identifies a traffic frame as a Silence Insertion Descriptor (SID) frame within the GSM and 3GPP speech codec framework. It is defined in GSM 06.62, which specifies the comfort noise aspects of the GSM Enhanced Full Rate (EFR) and Adaptive Multi-Rate (AMR) codecs. The SID code word is used in conjunction with Discontinuous Transmission (DTX) and Comfort Noise Generation (CNG) to reduce transmission during periods of silence while maintaining a natural background noise at the receiver.
In a typical speech call, each 20 ms frame is classified as either a speech frame or a silence frame. When the encoder detects silence or background noise, it may choose to transmit a SID frame instead of a regular speech frame. The SID frame contains parameters that describe the background noise characteristics, such as its spectral shape and energy level. The SID code word is a unique bit sequence that the decoder recognizes as a SID frame, distinguishing it from speech frames and from other control frames. This allows the decoder to update its comfort noise model without confusing the SID frame with speech.
The SID code word is defined as a fixed pattern, meaning it does not vary with the content of the SID frame. In GSM 06.62, the code word is specified as a sequence of bits that occupies a defined position within the frame structure. For example, in the AMR codec, the SID frame is transmitted using a specific mode and the SID code word is part of the payload. The decoder checks for this pattern to identify the frame type. If the pattern matches, the decoder treats the frame as a SID frame and updates the comfort noise parameters; otherwise, it processes the frame as a speech frame.
The use of a fixed code word simplifies decoder implementation and ensures robust detection even in the presence of transmission errors. However, because the code word is fixed, it is possible for a speech frame to accidentally contain the same bit pattern, leading to a false detection. To mitigate this, the code word is chosen to be sufficiently distinct from typical speech parameters, and additional error detection mechanisms (such as CRC) may be used. In practice, the probability of false detection is very low.
The SID code word is part of the broader DTX/CNG mechanism that significantly improves spectral efficiency in cellular networks. By transmitting SID frames only when the background noise changes, the network reduces the average bit rate during silent periods, freeing capacity for other users. The SID code word ensures that these SID frames are correctly identified and processed, maintaining a pleasant background noise at the receiver instead of abrupt silence. This technology is used in GSM, AMR, and AMR-WB codecs, and its principles carry over to modern codecs such as EVS.
Purpose & Motivation
The SID code word exists to enable reliable identification of Silence Insertion Descriptor frames within a speech codec's bitstream. During a typical conversation, each party speaks for less than half the time, and there are also pauses within speech. Transmitting full speech frames during these silent periods wastes radio resources. Discontinuous Transmission (DTX) addresses this by stopping transmission during silence, but the receiver then hears nothing, which is unnatural and can be alarming to users. Comfort Noise Generation (CNG) solves this by synthesizing a low-level background noise at the receiver.
To generate comfort noise, the receiver needs information about the background noise at the sender. This information is sent in SID frames. However, the receiver must be able to distinguish SID frames from regular speech frames. The SID code word provides this distinction: it is a fixed bit pattern that acts as a label, telling the decoder 'this frame is a SID frame.' Without such a label, the decoder would misinterpret SID parameters as speech parameters, causing artifacts.
The SID code word was standardized in GSM 06.62 to ensure interoperability between different vendors' equipment. It is a simple but critical piece of the DTX/CNG puzzle, allowing networks to save bandwidth while maintaining acceptable voice quality. Its design reflects a balance between robustness (easy to detect) and low false-positive rate (unlikely to appear in speech frames). This concept has been carried forward into later 3GPP codecs, demonstrating its enduring utility.
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.
Defining Specifications
3GPP specifications that define or reference SID code word, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TS 46.031 vj00 | GSM Full Rate Speech DTX Operation | Rel-19 read |
| TS 46.041 vj00 | GSM Half Rate Speech DTX Operation | Rel-19 read |
| TS 46.081 vj00 | GSM Enhanced Full Rate DTX Operation | Rel-19 read |