SIST ETS 300 961 E3:2003
(Main)Digital cellular telecommunications system (Phase 2+) (GSM); Full rate speech; Transcoding (GSM 06.10 version 5.2.1 Release 1996)
- Abstract
CRs from SMG#32
- Status
- Published
- Publication Date
- 30-Nov-2003
- Current Stage
- 6060 - National Implementation/Publication (Adopted Project)
- Start Date
- 01-Dec-2003
- Due Date
- 01-Dec-2003
- Completion Date
- 01-Dec-2003
SIST ETS 300 961 E3:2003 is the Slovenian adoption of ETS 300 961 Edition 3 from ETSI. It specifies the GSM Phase 2+ full rate speech transcoding procedure, including the 13-bit PCM interface, the RPE-LTP codec, fixed-point implementation details, and digital test sequences. The document is written for people implementing, testing, or verifying GSM full rate speech equipment and related interfaces.
What does SIST ETS 300 961 E3:2003 specify?
SIST ETS 300 961 E3:2003 specifies the transcoding used for the full-rate Traffic Channel (TCH) in the digital cellular telecommunications system. It covers the mapping between 160 input speech samples in 13-bit uniform PCM and 260-bit encoded speech frames, and the reverse mapping back to 160 reconstructed samples.
The standard also specifies conversion between 8-bit A-law PCM and 13-bit uniform PCM, and it limits the use of the transcoding scheme to the full-rate traffic channel. The document is organized into clauses on scope, transmission characteristics, the RPE-LTP codec functions, codec homing, computational details, and digital test sequences, with Annex A covering performance, subjective bit importance, and test sequence distribution.
| Annex | What it covers |
|---|---|
| Annex A | Performance of the RPE-LTP, subjective relevance of coded bits, and format for test sequence distribution |
What are the key requirements of SIST ETS 300 961 E3:2003?
SIST ETS 300 961 E3:2003 sets out the codec behavior at a level detailed enough for bit-exact implementation and verification. In practice, this means implementers have to match the defined frame structure, parameter order, arithmetic rules, and test behavior.
Frame structure and codec flow
The speech codec works on frames of 160 samples at 8 kHz, corresponding to 20 ms of speech, and produces 260 encoded bits per frame. The encoder divides each frame into four sub-frames of 40 samples. This matters because buffering, timing, and interworking with channel coding all depend on the exact frame and sub-frame boundaries.
The encoded data are grouped into short-term filter parameters, LTP parameters, and RPE parameters. Clause 1.7 also gives the order of occurrence and the bit allocation for the 260-bit speech frame. That ordering matters because the bits are rearranged by subjective importance before channel coding in GSM 05.03.
Audio interface and PCM conversion
Clause 1 describes the audio path as a 13-bit uniform PCM interface, with A/D and D/A conversion at the terminal or network side. The A-law to 13-bit uniform conversion follows the G.721/G.726 expand and compress procedures with LAW = 1. For a buyer or developer, this is the part that determines how the speech codec connects to real audio hardware and to PSTN-style interfaces.
Transmission characteristics
Clause 2 focuses on transmission characteristics that affect transcoder performance. It refers performance limits to the 13-bit uniform PCM interface, while noting that A-law measurement can be used for testing via G.711-style equipment. Clause 2.1 applies the same requirements for discrimination against out-of-band signals on transmit and spurious out-of-band signals on receive as in TE 04-15. Clause 2.2 defines transcoder delay and states that it should be less than 30 ms. This matters in practice because delay and audio-band filtering affect speech quality and mouth-to-ear performance.
Codec homing for bit-exact testing
Clause 4 defines codec homing as an optional feature for bit-exact tests. The standard defines an encoder-homing-frame and a decoder-homing-frame, along with home-state conditions for encoder and decoder internal variables. This is important for labs because it gives a controlled way to reset the codec and verify that an implementation behaves exactly as expected after synchronization.
Fixed-point arithmetic and implementation rules
Clause 5 defines the fixed-point implementation using 16-bit integers and 32-bit long integers, with saturating arithmetic. It also defines the basic operations used by the algorithm, such as add, sub, mult, mult_r, abs, div, and L_add. The practical effect is that implementers cannot choose their own arithmetic behavior if they want bit-exact results.
Clause 5 also gives the scaling conventions, array notation, loop structure, and the fixed-point procedures for the coder and decoder. It includes the tables used for quantization, gain decision levels, weighting filter coefficients, and mantissa factors. These details are what allow different implementations to produce the same coded bits and decoded output.
Digital test sequences
Clause 6 provides digital test sequences for encoder-only and decoder-only verification. It defines the file types used for input samples, coded parameters, and output samples, and it includes additional sequences for codec homing and for finding 20 ms framing. The test sequences are there so developers and test labs can check overflow handling, framing, and bit-exact output against reference data.
What terms does SIST ETS 300 961 E3:2003 define?
- Regular Pulse Excitation - Long Term prediction - Linear Predictive Coder (RPE-LTP) - The speech coding method used by the standard to compress and reconstruct full-rate GSM speech.
- Traffic Channel (TCH) - The channel type to which the transcoding procedure applies.
- Pulse Code Modulation (PCM) - The digital speech sample format used at the interface, including 13-bit uniform PCM and 8-bit A-law PCM.
- Log.-Area Ratios (LAR) - The coded short-term filter parameters sent once per frame.
- Long Term Prediction (LTP) - The part of the codec that estimates periodicity across sub-frames and uses lag and gain parameters.
- Adaptive Pulse Code Modulation (APCM) - The coding method used for the selected RPE pulse sequence.
- Voice Activity Detector (VAD) and Discontinuous Transmission (DTX) - Functions referenced in the homing procedure and home-state behavior.
Who uses SIST ETS 300 961 E3:2003?
SIST ETS 300 961 E3:2003 is used by GSM equipment manufacturers, speech codec developers, and test laboratories working on full-rate speech paths. It is also relevant to network-side implementers, mobile station developers, and people validating TRAU-related behavior.
Quality managers and conformity engineers use it to check bit-exact implementation, delay, framing, overflow handling, and codec homing behavior. Buyers and integrators use it to confirm that a speech-processing function matches the GSM Phase 2+ full-rate speech interface and test method.
Which standards are used with SIST ETS 300 961 E3:2003?
SIST ETS 300 961 E3:2003 uses several normative references to define abbreviations, channel coding, speech processing, conformance, PCM conversion, tone characteristics, and modem-related test signals.
- GSM 01.04 - Provides abbreviations and acronyms.
- GSM 05.03 - Defines channel coding and the bit rearrangement used before channel encoding.
- GSM 06.01 - Gives the processing functions and reference configuration for the speech transmission chain.
- GSM 11.10 - Provides conformity specification material used for performance characteristics.
- ETS 300 085 - Supports the handset-terminal attachment requirements referenced for audio performance.
- ITU-T G.711 - Provides PCM voice-frequency conventions and an A-law measurement basis.
- ITU-T G.712 - Provides transmission performance characteristics for PCM systems.
- ITU-T G.726 - Supports the A-law/PCM conversion procedures used by the standard.
- ITU-T Q.35 - Gives technical characteristics of telephone-service tones.
- ITU-T V.21 and ITU-T V.23 - Support the voice-band data test sequences.
- GSM 06.32 - Provides the Voice Activity Detector (VAD) reference used in homing-related state handling.
What does the SIST ETS 300 961 E3:2003 document contain?
The document contains a structured description of the codec, including block diagrams for the encoder and decoder, parameter ordering, and the sequence of processing stages. It also includes detailed fixed-point procedures for every major block of the RPE-LTP coder and decoder.
It provides tables for quantization, gain thresholds, weighting filter coefficients, and normalized mantissa factors, plus the encoder and decoder home-state tables. Clause 6 adds test configurations, frame definitions, overflow-point checks, and synchronization sequences for verification. Annex A adds performance notes, subjective bit-importance ranking, and the format for distributing test sequences.
Get Certified
Connect with accredited certification bodies for this standard

ANCE
Mexican certification and testing association.

Intertek Slovenia
Intertek testing, inspection, and certification services in Slovenia.

LNE (Laboratoire National de Métrologie et d'Essais)
French national laboratory for metrology and testing.
Sponsored listings
Frequently Asked Questions
SIST ETS 300 961 E3:2003 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Digital cellular telecommunications system (Phase 2+) (GSM); Full rate speech; Transcoding (GSM 06.10 version 5.2.1 Release 1996)". This standard covers: CRs from SMG#32
CRs from SMG#32
SIST ETS 300 961 E3:2003 is classified under the following ICS (International Classification for Standards) categories: 33.070.50 - Global System for Mobile Communication (GSM). The ICS classification helps identify the subject area and facilitates finding related standards.
SIST ETS 300 961 E3:2003 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
Contents
- 1 Scope
- 1.1 Normative references
- 1.2 Outline description
- 1.3 Functional description of audio parts
- 1.4 PCM Format conversion
- 1.5 Principles of the RPE-LTP encoder
- 1.6 Principles of the RPE-LTP decoder
- 1.7 Sequence and subjective importance of encoded parameters
- 2 Transmission characteristics
- 2.1 Performance characteristics of the analogue/digital interfaces
- 2.2 Transcoder delay
- 3 Functional description of the RPE-LTP codec
- 3.1 Functional description of the RPE-LTP encoder
- 3.2 Decoder
- 4 Codec homing
- 4.1 Functional description
- 4.2 Definitions
- 4.3 Encoder homing
- 4.4 Decoder homing
- 4.5 Encoder home state
- 4.6 Decoder home state
- 5 Computational details of the RPE-LTP codec
- 5.1 Data representation and arithmetic operations
- 5.2 Fixed point implementation of the RPE-LTP coder
- 5.3 Fixed point implementation of the RPE-LTP decoder
- 5.4 Tables used in the fixed point implementation of the RPE-LTP coder and decoder
- 6 Digital test sequences
- 6.1 Input and output signals
- 6.2 Configuration for the application of the test sequences
- 6.3 Test sequences
- Annex A (informative): Codec performance
- Annex B (informative): Test sequence diskettes
- Annex C (informative): Change Request History
1 Scope
The transcoding procedure specified in this European Telecommunication Standard (ETS) is applicable for the full-rate Traffic Channel (TCH) in the digital cellular telecommunications system. The use of this transcoding scheme for other applications has not been considered. In GSM 06.01, a reference configuration for the speech transmission chain of the digital cellular telecommunications system is shown. According to this reference configuration, the speech encoder takes its input as a 13 bit uniform PCM signal either from the audio part of the mobile station or on the network side, from the PSTN via an 8 bit/A-law to 13 bit uniform PCM conversion. The encoded speech at the output of the speech encoder is delivered to a channel encoder unit which is specified in GSM 05.03. In the receive direction, the inverse operations take place.
The present document describes the detailed mapping between input blocks of 160 speech samples in 13 bit uniform PCM format to encoded blocks of 260 bits and from encoded blocks of 260 bits to output blocks of 160 reconstructed speech samples. The sampling rate is 8000 sample/s leading to an average bit rate for the encoded bit stream of 13 kbit/s. The coding scheme is the so-called Regular Pulse Excitation - Long Term prediction - Linear Predictive Coder, here-after referred to as RPE-LTP. The present document also specifies the conversion between A-law PCM and 13 bit uniform PCM. Performance requirements for the audio input and output parts are included only to the extent that they affect the transcoder performance. The ETS also describes the codec down to the bit level, thus enabling the verification of compliance to the ETS to a high degree of confidence by use of a set of digital test sequences. These test sequences are described and are included in this ETS on diskette.
1.1 Normative references
The present document incorporates by dated and undated reference, provisions from other publications. These normative references are cited at the appropriate places in the text and the publications are listed hereafter. For dated references, subsequent amendments to or revisions of any of these publications apply to this ETS only when incorporated in it by amendment or revision. For undated references, the latest edition of the publication referred to applies.
[1] GSM 01.04 (ETR 350): "Digital cellular telecommunications system (Phase 2+); Abbreviations and acronyms".
[2] GSM 05.03 (ETS 300 909): "Digital cellular telecommunications system (Phase 2+); Channel coding".
[3] GSM 06.01 (ETS 300 960): "Digital cellular telecommunications system (Phase 2+); Full rate speech; Processing functions".
[4] GSM 11.10 (ETS 300 607): "Digital cellular telecommunications system (Phase 2); Mobile Station (MS) conformity specification".
[5] ETS 300 085: "Integrated Services Digital Network (ISDN); 3,1kHz telephony teleservice; Attachment requirements for handset terminals (Candidate NET 33)".
[6] ITU-T Recommendation G.711: "Pulse code modulation (PCM) of voice frequencies".
[7] ITU-T Recommendation G.712: "Transmission performance characteristics of pulse code modulation".
[8] ITU-T Recommendation G.726: "40, 32, 24, 16 kbit/s adaptive differential pulse code modulation (ADPCM)".
[9] ITU-T Recommendation Q.35: "Technical characteristics of tones for the telephone service".
SIST ETS 300 961 E3:2003 Page 10 ETS 300 961: December 2000 (GSM 06.10 version 5.2.1) [10] ITU-T Recommendation V.21: "300 bits per second duplex modem standardized for use in the general switched telephone network". [11] ITU-T Recommendation V.23: "600/1 200-band modem standardized for use in the general switched telephone network".
[12] GSM 06.32 (ETS 300 965): "Digital cellular telecommunications system (Phase 2+); Voice Activity Detector (VAD)".
1.1.1 Abbreviations
Abbreviations used in this ETS are listed in GSM 01.04.
1.2 Outline description
The ETS is structured as follows:
Subclause 1.3 contains a functional description of the audio parts including the A/D and D/A functions. Subclause 1.4 describes the conversion between 13 bit uniform and 8 bit A-law samples. Subclauses 1.5 and 1.6 present a simplified description of the principles of the RPE-LTP encoding and decoding process respectively. In subclause 1.7, the sequence and subjective importance of encoded parameters are given.
Clause 2 deals with the transmission characteristics of the audio parts that are relevant for the performance of the RPE-LTP codec.
Some transmission characteristics of the RPE-LTP codec are also specified in clause 2. Clause 3 presents the functional description of the RPE-LTP coding and decoding procedures, whereas clause 4 describes the computational details of the algorithm. Procedures for the verification of the correct functioning of the RPE-LTP are described in clause 5.
Performance and network aspects of the RPE-LTP codec are contained in annex A.
1.3 Functional description of audio parts
The analogue-to-digital and digital-to-analogue conversion will in principle comprise the following elements:
1) Analogue to uniform digital:
- microphone;
- input level adjustment device;
- input anti-aliasing filter;
- sample-hold device sampling at 8 kHz;
- analogue-to-uniform digital conversion to 13 bits representation.
The uniform format shall be represented in two’s complement.
2) Uniform digital to analogue:
- conversion from 13 bit /8 kHz uniform PCM to analogue;
- a hold device;
- reconstruction filter including x/sin x correction;
- output level adjustment device;
- earphone or loudspeaker.
SIST ETS 300 961 E3:2003 Page 11 ETS 300 961: December 2000 (GSM 06.10 version 5.2.1) In the terminal equipment, the A/D function may be achieved either:
- by direct conversion to 13 bit uniform PCM format;
- or by conversion to 8 bit/A-law companded format, based on a standard A-law codec/filter according to ITU-T Recommendation G.711/714, followed by the 8-bit to 13-bit conversion according to the procedure specified in subclause 1.4.
For the D/A operation, the inverse operations take place.
In the latter case it should be noted that the specifications in ITU-T recommendation G.714 (superseded by G.712) are concerned with PCM equipment located in the central parts of the network. When used in the terminal equipment, the present document does not on its own ensure sufficient out-of-band attenuation.
The specification of out-of-band signals is defined in section 2 between the acoustic signal and the digital interface to take into account that the filtering in the terminal can be achieved both by electronic and acoustical design.
1.4 PCM Format conversion
The conversion between 8 bit A-law companded format and the 13-bit uniform format shall be as defined in ITU-T Recommendation G.721 (superseded by G.726), subclause 4.2.1, sub-block EXPAND and subclause 4.2.7, sub-block COMPRESS. The parameter LAW = 1 should be used.
1.5 Principles of the RPE-LTP encoder
A simplified block diagram of the RPE-LTP encoder is shown in figure 1.1. In this diagram the coding and quantization functions are not shown explicitly.
The input speech frame, consisting of 160 signal samples (uniform 13 bit PCM samples), is first pre-processed to produce an offset-free signal, which is then subjected to a first order pre-emphasis filter. The 160 samples obtained are then analysed to determine the coefficients for the short term analysis filter (LPC analysis). These parameters are then used for the filtering of the same 160 samples. The result is 160 samples of the short term residual signal. The filter parameters, termed reflection coefficients, are transformed to log.area ratios, LARs, before transmission.
For the following operations, the speech frame is divided into 4 sub-frames with 40 samples of the short term residual signal in each. Each sub-frame is processed blockwise by the subsequent functional elements.
Before the processing of each sub-block of 40 short term residual samples, the parameters of the long term analysis filter, the LTP lag and the LTP gain, are estimated and updated in the LTP analysis block, on the basis of the current sub-block of the present and a stored sequence of the 120 previous reconstructed short term residual samples.
A block of 40 long term residual signal samples is obtained by subtracting 40 estimates of the short term residual signal from the short term residual signal itself. The resulting block of 40 long term residual samples is fed to the Regular Pulse Excitation analysis which performs the basic compression function of the algorithm.
As a result of the RPE-analysis, the block of 40 input long term residual samples are represented by one of 4 candidate sub-sequences of 13 pulses each. The subsequence selected is identified by the RPE grid position (M). The 13 RPE pulses are encoded using Adaptive Pulse Code Modulation (APCM) with estimation of the sub-block amplitude which is transmitted to the decoder as side information. The RPE parameters are also fed to a local RPE decoding and reconstruction module which produces a block of 40 samples of the quantized version of the long term residual signal. By adding these 40 quantized samples of the long term residual to the previous block of short term residual signal estimates, a reconstructed version of the current short term residual signal is obtained.
SIST ETS 300 961 E3:2003 Page 12 ETS 300 961: December 2000 (GSM 06.10 version 5.2.1) The block of reconstructed short term residual signal samples is then fed to the long term analysis filter which produces the new block of 40 short term residual signal estimates to be used for the next sub-block thereby completing the feedback loop.
1.6 Principles of the RPE-LTP decoder
The simplified block diagram of the RPE-LTP decoder is shown in fig 1.2. The decoder includes the same structure as the feed-back loop of the encoder. In error-free transmission, the output of this stage will be the reconstructed short term residual samples. These samples are then applied to the short term synthesis filter followed by the de-emphasis filter resulting in the reconstructed speech signal samples.
1.7 Sequence and subjective importance of encoded parameters
As indicated in fig 1.1 the three different groups of data are produced by the encoder are:
- the short term filter parameters;
- the Long Term Prediction (LTP) parameters;
- the RPE parameters.
The encoder will produce this information in a unique sequence and format, and the decoder shall receive the same information in the same way. In table 1.1, the sequence of output bits b1 to b260 and the bit allocation for each parameter is shown.
The different parameters of the encoded speech and their individual bits have unequal importance with respect to subjective quality. Before being submitted to the channel encoding function the bits have to be rearranged in the sequence of importance as given in GSM 05.03. The ranking has been determined by subjective testing and the procedure used is described in annex A, subclause A.2. Table 1.1: Encoder output parameters in order of occurrence and bit allocation within the speech frame of 260 bits/20 ms
Parameter Parameter Parameter Var. Number Bit no.
number name name of bits (LSB-MSB)
1 LAR 1 6 b1 - b6 2 LAR 2 6 b7 - b12 FILTER 3 Log. Area LAR 3 5 b13 - b17 4 ratios LAR 4 5 b18 - b22 PARAMETERS 5 1 - 8 LAR 5 4 b23 - b26 6 LAR 6 4 b27 - b30 7 LAR 7 3 b31 - b33 8 LAR 8 3 b34 - b36
Sub-frame no.1
LTP 9 LTP lag N1 7 b37 - b43 PARAMETERS 10 LTP gain b1 2 b44 - b45
11 RPE grid position M1 2 b46 - b47 RPE 12 Block amplitude Xmax1 6 b48 - b53 PARAMETERS 13 RPE-pulse no.1 x1(0) 3 b54 - b56 14 RPE-pulse no.2 x1(1) 3 b57 - b59
25 RPE-pulse no.13 x1(12) 3 b90 - b92
SIST ETS 300 961 E3:2003 Page 13 ETS 300 961: December 2000 (GSM 06.10 version 5.2.1) Sub-frame no.2
LTP 26 LTP lag N2 7 b93 - b99 PARAMETERS 27 LTP gain b2 2 b100- b101
28 RPE grid position M2 2 b102- b103 RPE 29 Block amplitude Xmax2 6 b104- b109 PARAMETERS 30 RPE-pulse no.1 x2(0) 3 b110- b112 31 RPE-pulse no.2 x2(1) 3 b113- b115
42 RPE-pulse no.13 x2(12) 3 b146- b148
Table 1.1: Encoder output parameters in order of occurrence and bit allocation within the speech frame of 260 bits/20 ms Sub-frame no.3
LTP 43 LTP lag N3 7 b149- b155 PARAMETERS 44 LTP gain b3 2 b156- b157
45 RPE grid position M3 2 b158- b159 RPE 46 Block amplitude Xmax3 6 b160- b165 PARAMETERS 47 RPE-pulse no.1 x3(0) 3 b166- b168 48 RPE-pulse no.2 x3(1) 3 b169- b171
59 RPE-pulse no.13 x3(12) 3 b202- b204
Sub-frame no.4
LTP 60 LTP lag N4 7 b205- b211 PARAMETERS 61 LTP gain b4 2 b212- b213
62 RPE grid position M4 2 b214- b215 RPE 63 Block amplitude Xmax4 6 b216- b221 PARAMETERS 64 RPE-pulse no.1 x4(0) 3 b222- b224 65 RPE-pulse no.2 x4(1) 3 b225- b227
76 RPE-pulse no.13 x4(12) 3 b258- b260
SIST ETS 300 961 E3:2003 Page 14 ETS 300 961: December 2000 (GSM 06.10 version 5.2.1) Reflection coefficients coded as Log. - Area Ratios Short term (36 bits/20 ms) LPC analysis RPE parameters (1) (2) Input RPE grid (47 bits/5 ms) Short term Pre- + selection analysis processing signal and coding filter
(3) (4) (5) RPE grid Long term
decoding and analysis positioning filter LTP parameters LTP (9 bits/5 ms) analysis (1) Short term residual To (2) Long term residual (40 samples) (3) Short term residual estimate (40 samples) radio (4) Reconstructed short term residual (40 samples) (5) Quantized long term residual (40 samples) subsystem
Figure 1.1: Simplified block diagram of the RPE - LTP encoder
SIST ETS 300 961 E3:2003 Page 15 ETS 300 961: December 2000 (GSM 06.10 version 5.2.1) Reflection coefficients coded as Log. - Area Ratios (36 bits/20 ms) RPE grid Short term Output Postdecoding and + synthesis processing signal positioning filter RPE parameters Long term (47 bits/5 ms) synthesis filter LTP parameters (9 bits/5 ms) From radio subsystem
Figure 1.2: Simplified block diagram of the RPE - LTP decoder
2 Transmission characteristics
This clause specifies the necessary performance characteristics of the audio parts for proper functioning of the speech transcoder. Some transmission performance characteristics of the RPE-LTP transcoder are also given to assist the designer of the speech transcoder function. The information given here is redundant and the detailed specifications are contained in recommendation GSM 11.10. The performance characteristics are referred to the 13 bit uniform PCM interface. NOTE: To simplify the verification of the specifications, the performance limits may be referred to an A-law measurement interface according to ITU-T Recommendation G.711. In this way, standard measuring equipments for PCM systems can be utilized for measurements. The relationship between the 13 bit format and the A-law companded shall follow the procedures defined in subclause 1.4.
2.1 Performance characteristics of the analogue/digital interfaces
Concerning 1) discrimination against out-of-band signals (sending) and 2) spurious out-of-band signals (receiving), the same requirements as defined in ETSI standard TE 04-15 (digital telephone, candidate NET33) apply.
2.2 Transcoder delay
Consider a back to back configuration where the parameters generated by the encoder are delivered to the speech decoder as soon as they are available.
The transcoder delay is defined as the time interval between the instant a speech frame of 160 samples has been received at the encoder input and the instant the corresponding 160 reconstructed speech samples have been out-put by the speech decoder at an 8 kHz sample rate. The theoretical minimum delay which can be achieved is 20 ms. The requirement is that the transcoder delay should be less than 30 ms.
SIST ETS 300 961 E3:2003 Page 16 ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
3 Functional description of the RPE-LTP codec
The block diagram of the RPE-LTP-coder is shown in figure 3.1. The individual blocks are described in the following subclauses.
3.1 Functional description of the RPE-LTP encoder
The Pre-processing section of the RPE-LTP encoder comprises the following two sub-blocks:
- Offset compensation (3.1.1);
- Pre-emphasis (3.1.2).
The LPC analysis section of the RPE-LTP encoder comprises the following five sub-blocks:
- Segmentation (3.1.3);
- Auto-Correlation (3.1.4);
- Schur Recursion (3.1.5);
- Transformation of reflection coefficients to Log.-Area Ratios (3.1.6);
- Quantization and coding of Log.-Area Ratios (3.1.7).
The Short term analysis filtering section of the RPE-LTP comprises the following four sub-blocks:
- Decoding of the quantized Log.-Area Ratios (LARs) (3.1.8);
- Interpolation of Log.-Area Ratios (3.1.9);
- Transformation of Log.-Area Ratios into reflection coefficients (3.1.10);
- Short term analysis filtering (3.1.11).
The Long Term Predictor (LTP) section comprises 4 sub-blocks working on subsegments (3.1.12) of the short term residual samples:
- Calculation of LTP parameters (3.1.13);
- Coding of the LTP lags (3.1.14) and the LTP gains (3.1.15);
- Decoding of the LTP lags (3.1.14) and the LTP gains (3.1.15);
- Long term analysis filtering (3.1.16), and Long term synthesis filtering (3.1.17).
The RPE encoding section comprises five different sub-blocks:
- Weighting filter (3.1.18);
- Adaptive sample rate decimation by RPE grid selection (3.1.19);
- APCM quantization of the selected RPE sequence (3.1.20);
- APCM inverse quantization (3.1.21);
- RPE grid positioning (3.1.22).
Pre-processing section
3.1.1 Offset compensation
Prior to the speech encoder an offset compensation, by a notch filter is applied in order to remove the offset of the input signal s to produce the offset-free signal s . o of s (k) = s (k) - s (k-1) + alpha*s (k-1) (3.1.1) of o o of
alpha = 32735*2
3.1.2 Pre-emphasis
The signal s is applied to a first order FIR pre-emphasis filter leading to the input signal s of the analysis of section.
s(k) = s (k) - beta*s (k-1) (3.1.2) of of
beta= 28180*2
SIST ETS 300 961 E3:2003 Page 17 ETS 300 961: December 2000 (GSM 06.10 version 5.2.1) LPC analysis section
3.1.3 Segmentation
The speech signal s(k) is divided into non-overlapping frames having a length of T = 20 ms
(160 samples). A new LPC-analysis of order p=8 is performed for each frame.
3.1.4 Autocorrelation
The first p+1 = 9 values of the Auto-Correlation function are calculated by:
ACF(k)= ∑ s(i)s(i-k) ,k = 0,1...,8 (3.2) i=k
3.1.5 Schur Recursion
The reflection coefficients are calculated as shown in figure 3.2 using the Schur Recursion algorithm. The term "reflection coefficient" comes from the theory of linear prediction of speech (LPC), where a vocal tract representation consisting of series of uniform cylindrical sections is assumed. Such a representation can be described by the reflection coefficients or the area ratios of connected sections.
3.1.6 Transformation of reflection coefficients to Log.-Area Ratios
The reflection coefficients r(i), (i=1..8), calculated by the Schur algorithm, are in the range:
-1 <= r(i) <= + 1
Due to the favourable quantization characteristics, the reflection coefficients are converted into Log.-Area Ratios which are strictly defined as follows:
1 + r(i) Logarea(i) = log (----------) (3.3)
1 - r(i)
Since it is the companding characteristic of this transformation that is of importance, the following segmented approximation is used.
r(i) ; |r(i)| < 0.675 LAR(i) = sign[r(i)]*[2|r(i)|-0.675] ; 0.675 <= |r(i)| < 0.950 sign[r(i)]*[8|r(i)|-6.375] ; 0.950 <= |r(i)| <= 1.000 (3.4)
with the result that instead of having to divide and obtain the logarithm of particular values, it is merely necessary to multiply, add and compare these values.
...



