Abstract

Selection, test and standardization of a combined speech channel- coding algorithm at a data rate of 11.4 kbit/s to be used in the GSM-DMR system.

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
Mandate
T-172

Buy Documents

Standard

SIST ETS 300 581-2 E1:2003

English language (49 pages)
Preview
Preview
e-Library read for
×1 day

SIST ETS 300 581-2 E1:2003 is the Slovenian adoption of ETS 300 581-2 Edition 1, an ETSI European Telecommunication Standard for GSM half rate speech transcoding. It specifies the half rate speech codec, the parameter bitstream, and the test methods used to verify codec implementations in GSM Mobile Stations (MS) and Base Station Systems (BSS). The scope statement describes selection, test and standardization of a combined speech channel-coding algorithm at 11.4 kbit/s for the GSM-DMR system.

What does SIST ETS 300 581-2 E1:2003 specify?

SIST ETS 300 581-2 E1:2003 specifies the speech codec for the GSM half rate channel and the test methods used to verify that an implementation complies with the standard. It is organized as a short system-level document plus detailed technical annexes for parameters and bit order.

The main structure is:

  • Clause 1 - Scope
  • Clause 2 - Normative references
  • Clause 3 - Definitions, symbols and abbreviations
  • Clause 4 - Functional description of the GSM half rate speech codec
  • Clause 5 - Homing sequences
  • Annex A - Codec parameter description
  • Annex B - Order of occurrence of the codec parameters over Abis
  • Annex C - Bibliography
AnnexWhat it covers
Annex A (normative)Codec parameter description and the frame and subframe parameters
Annex B (normative)Order of occurrence of the codec parameters over Abis
Annex C (informative)Bibliography

What are the key requirements of SIST ETS 300 581-2 E1:2003?

SIST ETS 300 581-2 E1:2003 makes the codec and its verification methods mandatory for GSM half rate speech traffic channels used in MS and BSS implementations. In practice, this means a product has to match the specified bitstream, frame structure, and homing behavior if it is to interoperate on the half rate channel.

Codec framing and parameter coding

Clause 4 states that the codec works on 20 ms speech frames sampled at 8 kHz and derives 18 parameters per frame. These parameters are grouped into energy, spectral, and excitation information, and Annex A shows how they are coded into 112 bits, which corresponds to the basic 5.6 kbps coder bitstream. For an implementer, this fixes the exact frame format that must be generated and decoded.

Clause 4 also defines the order of occurrence of the parameters over Abis in Annex B. That matters because the network interface must carry the coded parameters in the correct sequence, not just with the correct content.

Input conditioning and short-term speech model

Clause 4.1.1 requires a fourth-order high-pass filter on the 13-bit linear PCM input speech to suppress low-frequency components below 120 Hz. This is the first conditioning step before analysis, so it directly affects the speech samples that the rest of the coder sees.

Clauses 4.1.3 to 4.1.7 describe how the short-term predictor is built with the Fixed Point Lattice Technique (FLAT) and its autocorrelation version AFLAT, then vector-quantized in three segments. The same part of the document also defines soft interpolation and spectral noise weighting. In practice, these steps shape the spectral envelope of speech and help the encoder keep the filter stable from frame to frame and subframe to subframe.

Voicing, lag search, and excitation selection

Clause 4.1.8 defines the open-loop and closed-loop long term predictor lag search, including the allowable lags and the four voicing modes. The encoder uses these steps to decide whether speech is unvoiced or voiced and to choose the delay that best matches the periodic part of the signal.

Clause 4.1.9 activates harmonic noise weighting in MODE 1, 2, or 3. That means the encoder reduces error near pitch harmonics when speech is voiced, which is the perceptual part of the excitation search.

Clause 4.1.10 defines the VSELP code search and the joint optimization of the long term predictor coefficient and the codebook gain. Clause 4.1.11 then quantizes the gain pair P0 and GS with separate mode-dependent vector quantizers. For a developer, these clauses define how the excitation is selected and how its gains are coded for each subframe.

Decoder chain and test homing

Clause 4.2 defines the decoder chain: combined excitation generation, adaptive pitch prefiltering for voiced modes, synthesis filtering, adaptive spectral postfiltering, and automatic gain control. This is the receive-side reconstruction path, so it determines how the coded parameters become audible speech.

Clause 5 defines encoder and decoder homing frames and the home-state behavior used for bit-exact testing. In practice, test labs and implementers use these sequences to reset the codec into a known state before running conformance or interoperability tests.

What terms does SIST ETS 300 581-2 E1:2003 define?

  • VSELP - Vector-Sum Excited Linear Prediction, the speech coding method used by the GSM half rate codec.
  • CELP - Code Excited Linear Prediction, the broader class of analysis-by-synthesis speech coding to which the codec belongs.
  • MODE - A two-bit code that selects one of the four voicing modes for the current frame.
  • INT_LPC - The soft interpolation bit that tells the encoder and decoder whether interpolated spectral parameters are used.
  • LAG - The long term filter delay, typically related to pitch period, that points into the adaptive codebook.
  • GSP0 - The vector quantizer code used for the gain parameters P0 and GS.
  • homing frame - A special encoder or decoder frame used to force the codec into its home state for testing and remote reset.

Who uses SIST ETS 300 581-2 E1:2003?

SIST ETS 300 581-2 E1:2003 is used by codec developers, mobile and base station equipment designers, and DSP engineers who implement GSM half rate speech. It is also used by quality managers, approval engineers, and test laboratories that need bit-exact conformance tests, homing procedures, and the correct Abis parameter order.

It is relevant in GSM mobile communications equipment, especially products that carry half rate speech traffic channels. The document is also useful for buyers and integrators who need to confirm that an implementation matches the specified codec behavior before deployment.

What changed in SIST ETS 300 581-2 E1:2003 from the previous edition?

SIST ETS 300 581-2 E1:2003 is identical to ETS 300 581-2 Edition 1 and corresponds to GSM 06.20 version 4.2.1. The history notes a new presentation and later conversion to PDF after the first edition.

Which standards are used with SIST ETS 300 581-2 E1:2003?

Normative references

ReferenceWhat it contributes
GSM 06.02 (ETS 300 581-1)Half rate speech processing functions
GSM 06.06 (ETS 300 581-7)ANSI-C code for the GSM half rate speech codec
GSM 06.07 (ETS 300 581-8)Test vectors for the GSM half rate speech codec

Companion parts named in the foreword

PartWhat it covers
GSM 06.02 / ETS 300 581-1Half rate speech processing functions
GSM 06.21 / ETS 300 581-3Substitution and muting of lost frames for half rate speech traffic channels
GSM 06.22 / ETS 300 581-4Comfort noise aspects for half rate speech traffic channels
GSM 06.41 / ETS 300 581-5Discontinuous Transmission (DTX) for half rate speech traffic channels
GSM 06.42 / ETS 300 581-6Voice Activity Detection (VAD) for half rate speech traffic channels
GSM 06.06 / ETS 300 581-7ANSI-C code for the GSM half rate speech codec
GSM 06.07 / ETS 300 581-8Test vectors for the GSM half rate speech codec

What does the SIST ETS 300 581-2 E1:2003 document contain?

The document contains the functional description of the encoder and decoder, including the high-pass filter, FLAT and AFLAT procedures, lag search, codebook search, gain quantization, and postfiltering. It also contains step-by-step homing procedures for encoder and decoder operation.

It includes figures for the codec block diagram, lag search, code search, and decoder structure, plus tables for windowing coefficients, interpolation curves, allowable lags, and frame parameter coding. Annex A and Annex B are the most implementation-focused parts because they define the coded parameters and their transmission order.

Buy Documents

Standard

SIST ETS 300 581-2 E1:2003

English language (49 pages)
Preview
Preview
e-Library read for
×1 day

Get Certified

Connect with accredited certification bodies for this standard

ANCE

Mexican certification and testing association.

EMA Mexico Verified

Intertek Slovenia

Intertek testing, inspection, and certification services in Slovenia.

UKAS Slovenia Verified

LNE (Laboratoire National de Métrologie et d'Essais)

French national laboratory for metrology and testing.

COFRAC France Verified

Sponsored listings

Frequently Asked Questions

SIST ETS 300 581-2 E1:2003 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "European digital cellular telecommunications system; Half rate speech; Part 2: Half rate speech transcoding (GSM 06.20)". This standard covers: Selection, test and standardization of a combined speech channel- coding algorithm at a data rate of 11.4 kbit/s to be used in the GSM-DMR system.

Selection, test and standardization of a combined speech channel- coding algorithm at a data rate of 11.4 kbit/s to be used in the GSM-DMR system.

SIST ETS 300 581-2 E1: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 581-2 E1:2003 is associated with the following European legislation: Standardization Mandates: T-172. When a standard is cited in the Official Journal of the European Union, products manufactured in conformity with it benefit from a presumption of conformity with the essential requirements of the corresponding EU directive or regulation.

SIST ETS 300 581-2 E1: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
  • 2 Normative references
  • 3 Definitions, symbols and abbreviations
  • 3.1 Definitions
  • 3.2 Symbols
  • 3.3 Abbreviations
  • 4 Functional description of the GSM half rate speech codec
  • 4.1 GSM half rate speech encoder
  • 2 G J
  • 4.2 GSM half rate speech decoder
  • 5 Homing sequences
  • 5.1 Functional description
  • 5.2 Definitions
  • 5.3 Encoder homing
  • 5.4 Decoder homing
  • 5.5 Encoder home state
  • 5.6 Decoder home state
  • Annex A (normative): Codec parameter description
  • Annex B (normative): Order of occurrence of the codec parameters over Abis
  • Annex C (informative): Bibliography

1 Scope

This European Telecommunications Standard (ETS) specifies the speech codec to be used for the GSM half rate channel. It also specifies the test methods to be used to verify that the codec implementation complies with this ETS.

The requirements are mandatory for the codec to be used either in GSM Mobile Stations (MS)s or Base Station Systems (BSS)s that utilise the half rate GSM speech traffic channel.

2 Normative references

This ETS 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 06.02 (ETS 300 581-1): "European digital cellular telecommunications system; Half rate speech Part 1: Half rate speech processing functions". [2] GSM 06.06 (ETS 300 581-7): "European digital cellular telecommunications system; Half rate speech Part 7: ANSI-C code for the GSM half rate speech codec".

[3] GSM 06.07 (ETS 300 581-8): "European digital cellular telecommunications system; Half rate speech Part 8: Test vectors for the GSM half rate speech codec".

3 Definitions, symbols and abbreviations

3.1 Definitions

For the purpose of this ETS, the following definitions apply.

adaptive codebook: The adaptive codebook is derived from the long term filter state. The lag value can be viewed as an index into the adaptive codebook.

adaptive pitch prefilter: In the GSM half rate speech decoder, this filter is applied to the excitation signal to enhance the periodicity of the reconstructed speech. Note that this is done prior to the application of the short term filter.

adaptive spectral postfilter: In the GSM half rate speech decoder, this filter is applied to the output of the short term filter to enhance the perceptual quality of the reconstructed speech. allowable lags: The set of lag values which may be coded by the GSM half rate speech encoder and transmitted to the GSM half rate speech decoder. This set contains both integer and fractional values. See table 3.

analysis window: For each frame, the short term filter coefficients are computed using the high pass filtered speech samples within the analysis window. The analysis window is 170 samples in length, and is centered about the last 100 samples in the frame.

basis vectors: A set of M, M1, or M2 vectors of length Ns used to generate the VSELP codebook vectors. These vectors are not necessarily orthogonal.

closed loop lag search: A process of determining the near optimal lag value from the weighted input speech and the long term filter state.

closed loop lag trajectory: For a given frame, the sequence of near optimal lag values whose elements correspond to each of the four subframes as determined by the closed loop lag search.

SIST ETS 300 581-2 E1:2003 Page 8 ETS 300 581-2: November 1995 (GSM 06.20 version 4.2.1) codebook: A set of vectors used in a vector quantizer.

Codeword (OR Code): An M, M1, or M2 bit symbol indicating the vector to be selected from a VSELP codebook.

Delta (LAG) code: A four bit code indicating the change in lag value for a subframe relative to the previous subframe's coded lag. For frames in which the long term predictor is enabled (MODE 1, 2, or 3), the lag for subframe 1 is independently coded using eight bits, and delta codes are used for subframes 2, 3, and 4.

direct form coefficients: One of the formats for storing the short term filter parameters. All filters which are used to modify speech samples use direct form coefficients. fractional lags: A set of lag values having sub-sample resolution. Note that not every fractional lag value considered in the GSM half rate speech encoder is an allowable lag value. frame: A time interval equal to 20 ms, or 160 samples at an 8 kHz sampling rate. harmonic noise weighting filter: This filter exploits the noise masking properties of the spectral peaks which occur at harmonics of the pitch frequency by weighting the residual error less in regions near the pitch harmonics and more in regions away from them. Note that this filter is only used when the long term filter is enabled (MODE = 1, 2 or 3).

high pass filter: This filter is used to de-emphasize the low frequency components of the input speech signal.

integer lags: A set of lag values having whole sample resolution. interpolating filter: An FIR filter used to estimate sub-sample resolution samples, given an input sampled with integer sample resolution.

lag: The long term filter delay. This is typically the pitch period, or a multiple or sub-multiple of it. long term filter: This filter is used to generate the periodic component in the excitation for the current subframe. This filter is only enabled for MODE = 1, 2 or 3.

LPC coefficients: Linear Predictive Coding (LPC) coefficients is a generic descriptive term for describing the short term filter coefficients.

open loop lag search: A process of estimating the near optimal lag directly from the weighted speech input. This is done to narrow the range of lag values over which the closed loop lag search shall be performed.

open loop lag trajectory: For a given frame, the sequence of near optimal lag values whose elements correspond to the four subframes as determined by the open loop lag search. reflection coefficients: An alternative representation of the information contained in the short term filter parameters.

residual: The output signal resulting from an inverse filtering operation. short term filter: This filter introduces, into the excitation signal, short term correlation which models the impulse response of the vocal tract.

soft interpolation: A process wherein a decision is made for each frame to use either interpolated or uninterpolated short term filter parameters for the four subframes in that frame. soft interpolation bit: A one bit code indicating whether or not interpolation of the short term parameters is to be used in the current frame.

SIST ETS 300 581-2 E1:2003 Page 9 ETS 300 581-2: November 1995 (GSM 06.20 version 4.2.1) spectral noise weighting filter: This filter exploits the noise masking properties of the formants (vocal tract resonances) by weighting the residual error less in regions near the formant frequencies and more in regions away from them.

subframe: A time interval equal to 5 ms, or 40 samples at an 8 kHz sampling rate. vector quantization: A method of grouping several parameters into a vector and quantizing them simultaneously.

GSP0 vector quantizer: The process of vector quantization, its intermediate parameters (GS and P0) for the coding of the excitation gains β and γ.

VSELP codebook: Vector-Sum Excited Linear Predictive (VSELP) codebook, used in the GSM half rate speech coder, wherein each codebook vector is constructed as a linear combination of the fixed basis vectors.

zero input response: The output of a filter due to all past inputs, i.e. due to the present state of the filter, given that an input of zeros is applied.

zero state response: The output of a filter due to the present input, given that no past inputs have been applied, i.e. given the state information in the filter is all zeroes.

3.2 Symbols

For the purpose of this ETS, the following symbols apply.

A(z) Short term spectral filter.

α The LPC coefficients.

b (n) The output of the long term filter state (adaptive codebook) for lag L. L β The long term filter coefficient.

C(z) Second weighting filter.

e(n) Weighted error signal th f (i) The coefficients of the j phase of the 10th order interpolating filter used to j evaluate candidate fractional lag values; i ranges from 0 to P -1. f th g (i) The coefficients of the j phase of the 6th order interpolating filter used to j interpolate C's and G's as well as fractional lags in the harmonic noise weighting; i ranges from 0 to Pg-1.

γ The gain applied to the vector(s) selected from the VSELP codebook(s). H A M2 bit code indicating the vector to be selected from the second VSELP codebook (when operating in mode 0).

I A M or M1 bit code indicating the vector to be selected from one of the two first VSELP codebooks.

L The long term filter lag value.

L 142 (samples), the maximum possible value for the long term filter lag. max L 21 (samples), the minimum possible value for the long term filter lag. min M 9, the number of basis vectors, and the number of bits in a codeword, for the VSELP codebook used in modes 1, 2, and 3.

M1 7, the number of basis vectors, and the number of bits in a codeword, for the first VSELP codebook used in mode 0.

M2 7, the number of basis vectors, and the number of bits in a codeword, for the second VSELP codebook used in mode 0.

MODE A two bit code indicating the mode for the current frame. See annex A. N 170, the length of the analysis window. This is the number of high pass filtered A speech samples used to compute the short term filter parameters for each frame.

N 160, the number of samples per frame (at a sampling rate of 8 kHz). F N 10, the short term filter order.

p N 40, the number of samples per subframe (at a sampling rate of 8 kHz). s P1 6, the number of bits in the prequantizer for the r1 - r3 vector quantizer. P2 5, the number of bits in the prequantizer for the r4 - r6 vector quantizer. P3 4, the number of bits in the prequantizer for the r7 - r10 vector quantizer.

SIST ETS 300 581-2 E1:2003 Page 10 ETS 300 581-2: November 1995 (GSM 06.20 version 4.2.1) P The order of one phase of an interpolating filter used to evaluate candidate f fractional lag values. P equals 10 for j ≠ 0 and equal to 1 for j = 0. f P The order of one phase of an interpolating filter, f (n), used to interpolate C's and g j G's as well as fractional lags in the harmonic noise weighting, P equals 6. g pitch The time duration between the glottal pulses which result when the vocal chords vibrate during speech production.

Q1 11, the number of bits in the r1 - r3 reflection coefficient vector quantizer. Q2 9, the number of bits in the r4 - r6 reflection coefficient vector quantizer. Q3 8, the number of bits in the r7 - r10 reflection coefficient vector quantizer. R0 A five bit code used to indicate the energy level in the current frame. r(n) The long term filter state (the history of the excitation signal); n < 0 r (n) The long term filter state with the adaptive codebook output for lag L appended. L s'(n) Synthesised speech.

W(z) Spectral weighting filter.

λ The harmonic noise weighting filter coefficient.

hnw ξ The adaptive pitch prefilter coefficient.

x Ceiling function: the largest integer y where y < x + 1,0. x Floor function: the largest integer y where y ≤ x.

K xi Summation: x(j)+x(j+1)+...+x(K).

ij= K xibg Product: x(j)(x(j+1))....(x(K))

ij= max(x,y) Find the larger of two numbers x and y.

min(x,y) Find the smaller of two numbers x and y.

round(x) Round the non-integer x to the closest integer yy:,=+x 05 y: y=x+0,5.

3.3 Abbreviations

For the purposes of this ETS the following abbreviations apply. AFLAT Autocorrelation Fixed point LAttice Technique CELP Code Excited Linear Prediction FLAT Fixed Point Lattice Technique LTP Long Term Predictor SST Spectral Smoothing Technique VSELP Vector-Sum Excited Linear Prediction

SIST ETS 300 581-2 E1:2003 Page 11 ETS 300 581-2: November 1995 (GSM 06.20 version 4.2.1)

4 Functional description of the GSM half rate speech codec

The GSM half rate codec uses the VSELP (Vector-Sum Excited Linear Prediction) algorithm. The VSELP algorithm is an analysis-by-synthesis coding technique and belongs to the class of speech coding algorithms known as CELP (Code Excited Linear Prediction).

The GSM half rate codec's encoding process is performed on a 20 ms speech frame at a time. A speech frame of the sampled speech waveform is read and based on the current waveform and the past history of the waveform, the codec encoder derives 18 parameters that describe it. The parameters extracted are grouped into the following three general classes:

  • energy parameters (R0 and GSP0);
  • spectral parameters (LPC and INT_LPC);
  • excitation parameters (LAG and CODE).

These parameters are quantised into 112 bits for transmission as described in annex A and their order of occurrence over Abis is given in annex B.

The GSM half rate codec is an analysis-by-synthesis codec, therefore the speech decoder is primarily a subset of the speech encoder. The quantised parameters are decoded and a synthetic excitation is generated using the energy and excitation parameters. The synthetic excitation is then filtered to provide the spectral information resulting in the generation of the synthesised speech. See figure 1. Figure 1: Block diagram of the GSM half rate speech codec The ANSI-C code that describes the GSM half rate speech codec is given in GSM 06.06 (ETS 300 581-7) [2] and the test sequences in GSM 06.07 (ETS 300 581-8) [3]. See clause 5 for the codec homing test vectors.

4.1 GSM half rate speech encoder

The GSM half rate speech encoder uses an analysis by synthesis approach to determine the code to use to represent the excitation for each subframe. The codebook search procedure consists of trying each codevector as a possible excitation for the Code Excited Linear Predictive (CELP) synthesizer. The synthesized speech s'(n) is compared against the input speech and a difference signal is generated. This difference signal is then filtered by a spectral weighting filter, W(z), (and possibly a second weighting filter, C(z)) to generate a weighted error signal, e(n). The power in e(n) is computed. The codevector which generates the minimum weighted error power is chosen as the codevector for that subframe. The spectral weighting filter serves to weight the error spectrum based on perceptual considerations. This weighting filter is a function of the speech spectrum and can be expressed in terms of the α parameters of the short term (spectral) filter.

N p −1 1− αz ∑ i i=1 bg Wz = (1) N p −1 1− α%z ∑ i i=1

SIST ETS 300 581-2 E1:2003 Page 12 ETS 300 581-2: November 1995 (GSM 06.20 version 4.2.1) The computation of the %α coefficients is described in subclause 4.1.7.

The second weighting filter C(z), if used, is a harmonic weighting filter and is used to control the amount of error in the harmonics of the speech signal. If the weighting filter(s) are moved to both input paths to the subtracter, an equivalent configuration is obtained as shown in figure 2. Figure 2: Block diagram of the GSM half rate speech encoder (MODE = 1,2 and 3) Here H(z) is the combination of A(z), the short term (spectral) filter, and W(z), the spectral weighting filter. These filters are combined since the denominator of A(z) is cancelled by the numerator of W(z).

Hz = (2)

N p ~ −1 1− α z ∑ i =1

There are two approaches that can be used for calculating the gain, γ. The gain can be determined prior to codebook search based on residual energy. This gain would then be fixed for the codebook search. Another approach is to optimize the gain for each codevector during the codebook search. The

SIST ETS 300 581-2 E1:2003 Page 13 ETS 300 581-2: November 1995 (GSM 06.20 version 4.2.1) codevector which yields the minimum weighted error would be chosen and its corresponding optimal gain would be used for γ. The latter approach generally yields better results since the gain is optimized for each codevector. This approach also implies that the gain term needs to be updated at the subframe rate. The optimal code and gain for this technique can be computed as follows:

The input speech is first filtered by a high pass filter as described in subclause 4.1.1. The short term filter parameters are computed from the filtered input speech once per frame. A fast fixed point covariance lattice technique is used. Subclauses 4.1.3 and 4.1.4 describes in detail how the short term parameters are determined and quantized. An overall frame energy is also computed and coded once per frame. Once per frame, one of the four voicing modes is selected. If MODE≠0, the long term predictor is used and the long term predictor lag, L, is updated at the subframe rate. L and a VSELP codeword are selected sequentially. Each is chosen to minimize the weighted mean square error. The long-term filter coefficient, β, and the codebook gain, γ, are optimized jointly. Subclause 4.1.8 describes the technique for selecting from among the voicing modes and, if one of voiced modes is chosen, determining the long-term filter lag. Subclause 4.1.10 describes an efficient technique for jointly optimizing β, γ and the codeword selection. Subclause 4.1.10 also includes the description of the fast VSELP codebook search technique. The β and γ parameters are transformed to equivalent parameters using the frame energy term, and are vector quantized every subframe. The coding of the frame energy and the β and γ parameters is described in subclause 4.1.11.

4.1.1 High-pass filter

The 13 bit linear Pulse Code Modulated (PCM) input speech, x(n), is filtered by a fourth order pole-zero high pass filter. This filter suppresses the frequency components of the input speech which are below 120 Hz. The filter is implemented as a cascade of two second-order Infinite Impulse Response (IIR) filters. Incorporated into the filter coefficients is a gain of 0,5. The difference equation for the first filter is:

2 2

yn=−b x n i+ a y n− j (3)

∑∑1,,i 1 j i=−0 j1 where:

b = 0,335052

b = -0,669983 a = 0,926117 11 11 b = 0,335052 a = -0,429413 12 12 The difference equation for the second filter is:

2 2

yn()=−b y(n i)+ a y n− j (4)

2,,i 2 j

i==0 j1 where:

b = 0,335052

b = -0,669434 a = 0,965332 21 21 b = 0,335052 a = -0,469513 22 22

4.1.2 Segmentation

A sample buffer containing the previous 195 input high pass filtered speech samples, y(n), is shifted so that the oldest 160 samples are shifted out while the next 160 input samples are shifted in. The oldest 160 samples in the buffer correspond to the next frame of samples to be encoded. The analysis interval comprises the most recent 170 samples in the buffer. The samples in the buffer are labelled as s(n) where 0≤n≤194 and s(0) is the first (oldest) sample.

4.1.3 Fixed Point Lattice Technique (FLAT)

th Let r represent the j reflection coefficient. The FLAT algorithm for the determination of the reflection j coefficients is stated as follows:

SIST ETS 300 581-2 E1:2003 Page 14 ETS 300 581-2: November 1995 (GSM 06.20 version 4.2.1) STEP 1 Compute the covariance (autocorrelation) matrix from the input speech:

N A φbgik,=+sbn 24−igsbn+ 24−kg 0 ≤ i, k ≤ N (5)

p nN= p STEP 2 The φ(i,k) array is modified by windowing bg bgc h φφ',ik=−ik, w i k 0 ≤ i, k ≤ N (6) p STEP 3 Fibg,'k =φbgi,k 0 ≤ i, k ≤ N - 1 (7) 0 p bg b g Bi,'k=+φ i11,k+ 0 ≤ i, k ≤ N - 1 (8) 0 p bg b g Ci,'k=+φ i,k 1 0 ≤ i, k ≤ N - 1 (9) 0 p STEP 4 set j = 1 STEP 5 Compute r j bg d i CC00,,+−NjN−j jj−−11p p r =−2 (10) j bgbgdidi FB00,,++00FN−j,N−j+BN−j,N−j jj−−11 j−1p p j−1p p STEP 6 If j = N then done.

P STEP 7 Update F (i,k), B (i,k), C (i,k) 0 ≤ i, k ≤ N -j-1 j j j P

Fbgi,,k=+F bgik rdiC bgik,+C bgk,i+r Bbi,kg (11) jj−−11jj j−1 jj−1

Bbi,,kg=Bbgik+11+ +rdiCbgik++11, +Cbgk+1,i+1+rFbi++11,kg, (12) j j−−11jjjj−1 j−1

Cbi,,kg=+Cbgik11+rdiBbgik,++Fbgi,k+1+r Cbk+1,ig (13) jj−−11jj j−1 jj−1 STEP 8 j = j+1 STEP 9 go to step 5.

...