Abstract

SUBJECT Addition of mu-law (PCS 1900).

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 EN 300 726 V7.0.2:2003

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

SIST EN 300 726 V7.0.2:2003 is the Slovenian adoption of ETSI EN 300 726 V7.0.2 for GSM Enhanced Full Rate (EFR) speech transcoding. It specifies the detailed mapping between 160-sample speech blocks and 244-bit encoded blocks, and it also defines conversion between A-law or μ-law (PCS 1900) PCM and 13-bit uniform PCM. It is aimed at people implementing, testing, or approving GSM speech codec equipment and software.

What does SIST EN 300 726 V7.0.2:2003 specify?

SIST EN 300 726 V7.0.2:2003 specifies the GSM EFR speech transcoder for the enhanced full rate speech traffic channel (TCH) in GSM, including the PCM interface, the encoder, the decoder, and the bit-exact reference behavior. It also states that audio performance requirements are included only to the extent that they affect transcoder performance.

The document is organized into the following main parts:

AnnexWhat it covers
Annex AInformative document change history

The body of the standard is split into clauses on scope, references, definitions/symbols/abbreviations, an outline description, the encoder, the decoder, C-code variables and tables, homing sequences, and bibliography. That structure matters because it separates the practical codec flow from the conformance material used for testing and reset behavior.

What are the key requirements of SIST EN 300 726 V7.0.2:2003?

SIST EN 300 726 V7.0.2:2003 defines a bit-exact speech coding chain based on Algebraic Code Excited Linear Prediction (ACELP), with a 20 ms frame of 160 samples at 8 kHz mapped to 244 bits, or 12.2 kbit/s. In practice, this is the core implementation target: the encoder must produce the right bitstream structure, and the decoder must reconstruct speech from it in the same frame rhythm.

Speech format and interface

Clause 1 and Clause 4 describe the speech input and output format. The codec works on 13-bit uniform PCM, left-justified in 16-bit words, and the three least significant bits are set to zero. The standard also specifies conversion between 8-bit A-law or μ-law (PCS 1900) and 13-bit uniform PCM through the ITU-T G.711 conversion rules.

This matters for interoperability. Equipment on the PSTN or terminal side can feed the codec through A-law or μ-law conversion, while the codec itself still sees the same 13-bit uniform PCM representation.

Encoder processing

Clause 5 describes the encoder in detail. The speech is pre-processed with high-pass filtering and down-scaling, then analyzed twice per frame with asymmetric windows for Linear Prediction (LP) analysis. The LP order is 10, and the LP coefficients are converted to Line Spectral Pair (LSP) form for quantization and interpolation.

In practice, this means implementers must preserve the exact analysis flow: two LP analyses per frame, two LSP sets, and interpolation for the subframes. The standard also uses open-loop pitch analysis twice per frame and closed-loop pitch search on each subframe with fractional lag resolution of 1/6 sample.

Subframe coding

The 20 ms frame is divided into four 5 ms subframes. For each subframe, the encoder computes a target signal, searches the adaptive codebook for pitch, searches the algebraic codebook for the innovation, quantizes the gains, and updates memory.

This matters because the codec is not a single block coder. Each subframe carries its own pitch, gain, and innovation information, and the encoder must update state after every subframe to keep the next one consistent.

Bit allocation and parameter ordering

Clause 4.5 and Table 6 define the order of the transmitted parameters and the bit allocation within each 244-bit frame. The standard also says that the most significant bits are sent first, and that bits are reordered by subjective importance before channel coding in GSM 05.03.

For implementers, this is the part that ties the codec to the channel coder. If the bit order is wrong, the speech quality drops quickly even if the codec mathematics are correct.

Decoder processing and post-processing

Clause 6 describes decoding, speech synthesis, and post-processing. The decoder reconstructs the LSPs, interpolates the LP filters for the four subframes, rebuilds the excitation from the adaptive and innovative codevectors, and then applies adaptive post-filtering and up-scaling.

The post-filter is a cascade of formant postfiltering and tilt compensation, followed by Adaptive Gain Control (AGC). In practice, this shapes the decoded speech to improve perceived quality and to compensate for gain changes introduced by filtering.

Bit-exact C-code and conformance support

Clause 7 ties the specification to a fixed-point ANSI C codec description, with Word16 and Word32 integer types and named constants, variables, and tables. Table 6 gives the transmitted bit sequence, and the C-code tables support a bit-exact software implementation.

This matters for verification. Conformance testing can compare an implementation against the reference behavior much more reliably when the arithmetic and state variables are fixed at this level.

Homing and reset behavior

Clause 8 defines encoder homing, decoder homing, and the home state of the codec. It uses special homing frames and predefined state values so that a codec can be reset and checked in a bit-exact way, including remote or inband reset scenarios.

That is important for type approval, factory test, and maintenance. It gives a repeatable way to bring the codec back to a known state before testing.

What terms does SIST EN 300 726 V7.0.2:2003 define?

SIST EN 300 726 V7.0.2:2003 defines several codec terms that are central to GSM EFR:

  • Algebraic Code Excited Linear Prediction (ACELP) - A CELP method that uses an algebraic fixed codebook with sparse pulses.
  • Adaptive Gain Control (AGC) - A gain-matching method used after post-filtering to keep the output level stable.
  • Line Spectral Pair (LSP) - A representation of LP coefficients that is easier to quantize and interpolate.
  • Linear Prediction (LP) - A short-term speech model used to represent the vocal tract filter.
  • Long Term Predictor (LTP) - The pitch-based predictor that reuses past excitation to model periodicity.
  • Split Matrix Quantization (SMQ) - A joint quantization method used for the two LSP vectors.
  • Voice Activity Detection (VAD) - The activity detector referenced by the codec integration and homing behavior.

Who uses SIST EN 300 726 V7.0.2:2003?

SIST EN 300 726 V7.0.2:2003 is used by GSM terminal and network equipment designers, speech codec software developers, and test laboratories. It is also relevant to quality managers and conformity engineers who need bit-exact reference behavior for encoder, decoder, and homing tests.

The document is especially useful where GSM speech has to interwork with PSTN audio paths, because it defines the A-law and μ-law conversion path as well as the codec itself. It also supports teams working on VAD/DTX integration, comfort noise handling, and channel-coding interface behavior.

What changed in SIST EN 300 726 V7.0.2:2003 from the previous edition?

Annex A records the addition of μ-law (PCS 1900) and then a later update to Version 7.0.2 for publication. That change history shows that the document’s scope was expanded to cover μ-law support for PCS 1900 alongside the earlier GSM EFR material.

Which standards are used with SIST EN 300 726 V7.0.2:2003?

SIST EN 300 726 V7.0.2:2003 cites these companion standards and references:

  • GSM 01.04 - abbreviations and acronyms used in GSM documents.
  • GSM 03.50 - transmission planning aspects of the GSM speech service.
  • GSM 05.03 - channel coding, including the bit reordering noted for transmission.
  • GSM 06.32 - Voice Activity Detection (VAD).
  • GSM 06.51 - the general description of GSM EFR speech processing functions.
  • GSM 06.53 - the fixed-point ANSI-C code for the GSM EFR speech codec.
  • GSM 06.54 - test vectors for the GSM EFR speech codec.
  • ITU-T Recommendation G.711 - A-law and μ-law to linear PCM conversion.
  • ITU-T Recommendation G.726 - examples of fixed-point PCM conversion arithmetic.

What does the SIST EN 300 726 V7.0.2:2003 document contain?

SIST EN 300 726 V7.0.2:2003 contains the codec structure, the mathematical description of the encoder and decoder, and the supporting material needed for implementation and testing. It includes the LP analysis windows, the Levinson-Durbin procedure, LSP conversion and quantization methods, pitch search equations, codebook search methods, gain quantization, and decoder post-filtering.

It also includes a detailed bit allocation table, a pulse-track description for the algebraic codebook, and homing frame definitions with predefined state tables. Figures 1 to 4 show the analysis windows and the simplified encoder and decoder block diagrams, which help implementers map the equations to a working signal flow.

Buy Documents

Standard

SIST EN 300 726 V7.0.2:2003

English language (45 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 EN 300 726 V7.0.2:2003 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Digital cellular telecommunications system (Phase 2+) (GSM); Enhanced Full Rate (EFR) speech transcoding (GSM 06.60 version 7.0.2 Release 1998)". This standard covers: SUBJECT Addition of mu-law (PCS 1900).

SUBJECT Addition of mu-law (PCS 1900).

SIST EN 300 726 V7.0.2: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 EN 300 726 V7.0.2: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 EN 300 726 V7.0.2: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 References
  • 3 Definitions, symbols and abbreviations
  • 3.1 Definitions
  • 3.2 Symbols
  • 3.3 Abbreviations
  • 4 Outline description
  • 4.1 Functional description of audio parts
  • 4.2 Preparation of speech samples
  • 4.3 Principles of the GSM enhanced full rate speech encoder
  • 4.4 Principles of the GSM enhanced full rate speech decoder
  • 4.5 Sequence and subjective importance of encoded
  • 5 Functional description of the encoder
  • 5.1 Pre-processing
  • 5.2 Linear prediction analysis and quantization
  • 5.3 Open-loop pitch analysis
  • 5.4 Impulse response computation
  • 5.5 Target signal computation
  • 5.6 Adaptive codebook search
  • 5.7 Algebraic codebook structure and search
  • 5.8 Quantization of the fixed codebook gain
  • 5.9 Memory update
  • 6 Functional description of the decoder
  • 6.1 Decoding and speech synthesis
  • 6.2 Post-processing
  • 7 Variables, constants and tables in the C-code of the
  • 7.1 Description of the constants and variables used in the C
  • 8 Homing sequences
  • 8.1 Functional description
  • 8.2 Definitions
  • 8.3 Encoder homing
  • 8.4 Decoder homing
  • 8.5 Encoder home state
  • 8.6 Decoder home state
  • 9 Bibliography

1 Scope

The present document describes the detailed mapping between input blocks of 160 speech samples in 13-bit uniform PCM format to encoded blocks of 244 bits and from encoded blocks of 244 bits to output blocks of 160 reconstructed speech samples. The sampling rate is 8 000 sample/s leading to a bit rate for the encoded bit stream of 12,2 kbit/s. The coding scheme is the so-called Algebraic Code Excited Linear Prediction Coder, hereafter referred to as ACELP. The present document also specifies the conversion between A-law or μ-law (PCS 1900) 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. This part also describes the codec down to the bit level, thus enabling the verification of compliance to the part to a high degree of confidence by use of a set of digital test sequences. These test sequences are described in GSM 06.54 [7] and are available on disks.

In case of discrepancy between the requirements described in the present document and the fixed point computational description (ANSI-C code) of these requirements contained in GSM 06.53 [6], the description in GSM 06.53 [6] will prevail.

The transcoding procedure specified in the present document is applicable for the enhanced full rate speech traffic channel (TCH) in the GSM system.

In GSM 06.51 [5], a reference configuration for the speech transmission chain of the GSM enhanced full rate (EFR) 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 or μ- law (PCS 1900) 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 [3]. In the receive direction, the inverse operations take place.

2 References

The following documents contain provisions which, through reference in this text, constitute provisions of the present document.

  • References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
  • For a specific reference, subsequent revisions do not apply.
  • For a non-specific reference, the latest version applies.
  • A non-specific reference to an ETS shall also be taken to refer to later versions published as an EN with the same number.
  • For this Release 1998 document, references to GSM documents are for Release 1998 versions (version 7.x.y). [1] GSM 01.04: "Digital cellular telecommunications system (Phase 2+); Abbreviations and acronyms".

[2] GSM 03.50: "Digital cellular telecommunications system (Phase 2+); Transmission planning aspects of the speech service in the GSM Public Land Mobile Network (PLMN) system". [3] GSM 05.03: "Digital cellular telecommunications system (Phase 2+); Channel coding". [4] GSM 06.32: "Digital cellular telecommunications system (Phase 2+); Voice Activity Detection (VAD)".

[5] GSM 06.51: "Digital cellular telecommunications system (Phase 2+); Enhanced Full Rate (EFR) speech processing functions General description".

[6] GSM 06.53: "Digital cellular telecommunications system (Phase 2+); ANSI-C code for the GSM Enhanced Full Rate (EFR) speech codec".

ETSI

SIST EN 300 726 V7.0.2:2003 (GSM 06.60 version 7.0.2 Release 1998) 7 ETSI EN 300 726 V7.0.2 (1999-12) [7] GSM 06.54: "Digital cellular telecommunications system (Phase 2+); Test vectors for the GSM Enhanced Full Rate (EFR) speech codec".

[8] ITU-T Recommendation G.711 (1988): "Coding of analogue signals by pulse code modulation Pulse code modulation (PCM) of voice frequencies".

[9] ITU-T Recommendation G.726: "40, 32, 24, 16 kbit/s adaptive differential pulse code modulation (ADPCM)".

3 Definitions, symbols and abbreviations

3.1 Definitions

For the purposes of the present document, the following terms and definitions apply:

adaptive codebook: The adaptive codebook contains excitation vectors that are adapted for every subframe. 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 postfilter: This filter is applied to the output of the short term synthesis filter to enhance the perceptual quality of the reconstructed speech. In the GSM enhanced full rate codec, the adaptive postfilter is a cascade of two filters: a formant postfilter and a tilt compensation filter.

algebraic codebook: A fixed codebook where algebraic code is used to populate the excitation vectors (innovation vectors).The excitation contains a small number of nonzero pulses with predefined interlaced sets of positions. closed-loop pitch analysis: This is the adaptive codebook search, i.e., a process of estimating the pitch (lag) value from the weighted input speech and the long term filter state. In the closed-loop search, the lag is searched using error minimization loop (analysis-by-synthesis). In the GSM enhanced full rate codec, closed-loop pitch search is performed for every subframe.

direct form coefficients: One of the formats for storing the short term filter parameters. In the GSM enhanced full rate codec, all filters which are used to modify speech samples use direct form coefficients. fixed codebook: The fixed codebook contains excitation vectors for speech synthesis filters. The contents of the codebook are non-adaptive (i.e., fixed). In the GSM enhanced full rate codec, the fixed codebook is implemented using an algebraic codebook.

fractional lags: A set of lag values having sub-sample resolution. In the GSM enhanced full rate codec a sub-sample resolution of 1/6th of a sample is used.

frame: A time interval equal to 20 ms (160 samples at an 8 kHz sampling rate). integer lags: A set of lag values having whole sample resolution. interpolating filter: An FIR filter used to produce an estimate of sub-sample resolution samples, given an input sampled with integer sample resolution.

inverse filter: This filter removes the short term correlation from the speech signal. The filter models an inverse frequency response of the vocal tract.

lag: The long term filter delay. This is typically the true pitch period, or a multiple or sub-multiple of it. Line Spectral Frequencies: (see Line Spectral Pair) Line Spectral Pair: Transformation of LPC parameters. Line Spectral Pairs are obtained by decomposing the inverse filter transfer function A(z) to a set of two transfer functions, one having even symmetry and the other having odd symmetry. The Line Spectral Pairs (also called as Line Spectral Frequencies) are the roots of these polynomials on the z- unit circle).

ETSI

SIST EN 300 726 V7.0.2:2003 (GSM 06.60 version 7.0.2 Release 1998) 8 ETSI EN 300 726 V7.0.2 (1999-12) LP analysis window: For each frame, the short term filter coefficients are computed using the high pass filtered speech samples within the analysis window. In the GSM enhanced full rate codec, the length of the analysis window is 240 samples. For each frame, two asymmetric windows are used to generate two sets of LP coefficients. No samples of the future frames are used (no lookahead).

LP coefficients: Linear Prediction (LP) coefficients (also referred as Linear Predictive Coding (LPC) coefficients) is a generic descriptive term for describing the short term filter coefficients. open-loop pitch search: A process of estimating the near optimal lag directly from the weighted speech input. This is done to simplify the pitch analysis and confine the closed-loop pitch search to a small number of lags around the open-loop estimated lags. In the GSM enhanced full rate codec, open-loop pitch search is performed every 10 ms. residual: The output signal resulting from an inverse filtering operation. short term synthesis filter: This filter introduces, into the excitation signal, short term correlation which models the impulse response of the vocal tract.

perceptual weighting filter: This filter is employed in the analysis-by-synthesis search of the codebooks. The filter exploits the noise masking properties of the formants (vocal tract resonances) by weighting the error less in regions near the formant frequencies and more in regions away from them.

subframe: A time interval equal to 5 ms (40 samples at an 8 kHz sampling rate). vector quantization: A method of grouping several parameters into a vector and quantizing them simultaneously. zero input response: The output of a filter due to 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 purposes of the present document, the following symbols apply:

Az() The inverse filter with unquantized coefficients

Az() The inverse filter with quantified coefficients

Hz() = The speech synthesis filter with quantified coefficients

Az() a The unquantized linear prediction parameters (direct form coefficients)

a The quantified linear prediction parameters

m The order of the LP model

The long-term synthesis filter Bz() Wz The perceptual weighting filter (unquantized coefficients)

γ ,γ The perceptual weighting factors

Fz() Adaptive pre-filter E T The nearest integer pitch lag to the closed-loop fractional pitch lag of the subframe β The adaptive pre-filter coefficient (the quantified pitch gain)

Az(/ γ ) n Hz() = The formant postfilter f

Az(/ γ ) d γ Control coefficient for the amount of the formant post-filtering n γ Control coefficient for the amount of the formant post-filtering d Hz() Tilt compensation filter t ETSI

SIST EN 300 726 V7.0.2:2003 (GSM 06.60 version 7.0.2 Release 1998) 9 ETSI EN 300 726 V7.0.2 (1999-12) γ Control coefficient for the amount of the tilt compensation filtering t μ = γ k ' A tilt factor, with k ' being the first reflection coefficient t 1 1 hn() The truncated impulse response of the formant postfilter f L The length of hn() h f ri() The auto-correlations of hn() h f

Az(/ γ ) The inverse filter (numerator) part of the formant postfilter n

1 /Az(/ γ ) The synthesis filter (denominator) part of the formant postfilter d

rn() The residual signal of the inverse filter Az(/ γ ) n hz() Impulse response of the tilt compensation filter t β ()n The AGC-controlled gain scaling factor of the adaptive postfilter sc α The AGC factor of the adaptive postfilter Hz() Pre-processing high-pass filter h1 wn() ,wn() LP analysis windows I II ()I L wn() 1 I Length of the first part of the LP analysis window ()I L wn() 2 I Length of the second part of the LP analysis window ()II L wn() 1 II Length of the first part of the LP analysis window ()II L wn() 2 II Length of the second part of the LP analysis window rk() The auto-correlations of the windowed speech s'(n) ac wi() Lag window for the auto-correlations (60 Hz bandwidth expansion) lag f

The bandwidth expansion in Hz f The sampling frequency in Hz s rk'() ac The modified (bandwidth expanded) auto-correlations Ei() The prediction error in the ith iteration of the Levinson algorithm LD k The ith reflection coefficient

()i a The jth direct form coefficient in the ith iteration of the Levinson algorithm j

Fz() Symmetric LSF polynomial

Fz()

Antisymmetric LSF polynomial

Fz() PolynomialFz with root z =−1 eliminated

1 1

Fz() Fz with root z = 1 eliminated

2 2 Polynomial q

The line spectral pairs (LSPs) in the cosine domain q An LSP vector in the cosine domain ()n

q The quantified LSP vector at the ith subframe of the frame n

ω

The line spectral frequencies (LSFs) Tx() A m th order Chebyshev polynomial m fi(),f (i) The coefficients of the polynomialsFz() andFz() 12 1 2

fi(),f (i) The coefficients of the polynomialsFz() andFz() 12 1 2 fi() The coefficients of eitherFz() orFz() 1 2 Cx() Sum polynomial of the Chebyshev polynomials x Cosine of angular frequency ω λ Recursion coefficients for the Chebyshev polynomial evaluation k ETSI

SIST EN 300 726 V7.0.2:2003 (GSM 06.60 version 7.0.2 Release 1998) 10 ETSI EN 300 726 V7.0.2 (1999-12) f The line spectral frequencies (LSFs) in Hz

t f = ff �f The vector representation of the LSFs in Hz

12 10 ()1 ()2 z ()n , z ()n The mean-removed LSF vectors at frame n ()1 ()2 r ()n , r ()n The LSF prediction residual vectors at frame n p()n The predicted LSF vector at frame n ()2 r� ()n −1 The quantified second residual vector at the past frame k

f The quantified LSF vector at quantization index k E The LSP quantization error LSP wi,,=11�,0, LSP-quantization weighting factors

d The distance between the line spectral frequencies f and f i i+1 i−1 hn() The impulse response of the weighted synthesis filter O The correlation maximum of open-loop pitch analysis at delay k k Oi,,=13�, The correlation maxima at delaysti,,=13�, t i

Mt,,i =13,�, The normalized correlation maxima M and the corresponding delaysti,,=13�,

ii i i Az(/ γ )

Hz()W()z = The weighted synthesis filter

Az()A(z/ γ )

Az(/ γ ) The numerator of the perceptual weighting filter

1/(Az/ γ ) The denominator of the perceptual weighting filter

T The nearest integer to the fractional pitch lag of the previous (1st or 3rd) subframe

sn'( ) The windowed speech signal sn() The weighted speech signal w

sn() Reconstructed speech signal

sn′() The gain-scaled post-filtered signal

sn() Post-filtered speech signal (before scaling) f xn() The target signal for adaptive codebook search t xn() x The target signal for algebraic codebook search 2 2

res ()n The LP residual signal LP cn() The fixed codebook vector vn() The adaptive codebook vector yn()=v(n)∗h(n) The filtered adaptive codebook vector yn() The past filtered excitation k un() The excitation signal un� The emphasized adaptive codebook vector

un�'( ) The gain-scaled emphasized excitation signal The best open-loop lag T op t Minimum lag search value min t Maximum lag search value max Rk Correlation term to be maximized in the adaptive codebook search

b The FIR filter for interpolating the normalized correlation term Rk

Rk The interpolated value of Rk for the integer delay k and fraction t

t ETSI

SIST EN 300 726 V7.0.2:2003 (GSM 06.60 version 7.0.2 Release 1998) 11 ETSI EN 300 726 V7.0.2 (1999-12) b The FIR filter for interpolating the past excitation signal un() to yield the adaptive codebook

vector vn() A Correlation term to be maximized in the algebraic codebook search at index k k C The correlation in the numerator of A at index k k k E The energy in the denominator of A at index k D k k t dH= x The correlation between the target signalxn and the impulse response hn , i.e., backward

2 2 filtered target H The lower triangular Toepliz convolution matrix with diagonal h 0 and lower diagonals

hh13,,� 9

t Φ=HH The matrix of correlations of hn

dn() The elements of the vector d φ(,ij) The elements of the symmetric matrix Φ c The innovation vector k C The correlation in the numerator of A k m The position of the i th pulse

ϑ The amplitude of the i th pulse

N The number of pulses in the fixed codebook excitation p E The energy in the denominator of A D k res ()n The normalized long-term prediction residual LTP bn() Thesumofthenormalized dn vector and normalized long-term prediction residual

res ()n LTP sn() The sign signal for the algebraic codebook search b

dn() Sign extended backward filtered target

φ (,ij) The modified elements of the matrix Φ , including sign information t z , zn The fixed codebook vector convolved with hn()

En() The mean-removed innovation energy (in dB) E The mean of the innovation energy

En() The predicted energy bb b b The MA prediction coefficients

12 3 4

Rk() The quantified prediction error at subframe k E The mean innovation energy I Rn() The prediction error of the fixed-codebook gain quantization E The quantization error of the fixed-codebook gain quantization Q

en() The states of the synthesis filter 1/Az() en() The perceptually weighted error of the analysis-by-synthesis search w η The gain scaling factor for the emphasized excitation g The fixed-codebook gain

g The predicted fixed-codebook gain

g The quantified fixed codebook gain

g The adaptive codebook gain p

g The quantified adaptive codebook gain p ETSI

SIST EN 300 726 V7.0.2:2003 (GSM 06.60 version 7.0.2 Release 1998) 12 ETSI EN 300 726 V7.0.2 (1999-12)

γ =gg/ A correction factor between the gain g and the estimated one g gc c c c c

γ The optimum value for γ gc gc γ Gain scaling factor sc

3.3 Abbreviations

For the purposes of the present document, the following abbreviations apply. Further GSM related abbreviations may be found in GSM 01.04 [1].

ACELP Algebraic Code Excited Linear Prediction AGC Adaptive Gain Control CELP Code Excited Linear Prediction FIR Finite Impulse Response ISPP Interleaved Single-Pulse Permutation LP Linear Prediction LPC Linear Predictive Coding LSF Line Spectral Frequency LSP Line Spectral Pair LTP Long Term Predictor (or Long Term Prediction) MA Moving Average

4 Outline description

The present document is structured as follows:

Section 4.1 contains a functional description of the audio parts including the A/D and D/A functions. Section 4.2 describes the conversion between 13-bit uniform and 8-bit A-law or μ-law (PCS 1900) samples. Sections 4.3 and 4.4 present a simplified description of the principles of the GSM EFR encoding and decoding process respectively. In subclause 4.5, the sequence and subjective importance of encoded parameters are given. Section 5 presents the functional description of the GSM EFR encoding, whereas clause 6 describes the decoding procedures. Section 7 describes variables, constants and tables of the C-code of the GSM EFR codec.

4.1 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 PCM − microphone; − input level adjustment device; − input anti-aliasing filter; − sample-hold device sampling at 8 kHz; − analogue−to−uniform digital conversion to 13−bit representation. The uniform format shall be represented in two's complement.

2) Uniform digital PCM to analogue − conversion from 13−bit/8 kHz uniform PCM to analogue; − a hold device; − reconstruction filter including x/sin( x ) correction; ETSI

SIST EN 300 726 V7.0.2:2003 (GSM 06.60 version 7.0.2 Release 1998) 13 ETSI EN 300 726 V7.0.2 (1999-12) − output level adjustment device; − earphone or loudspeaker.

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 or μ-law (PCS 1900) compounded format, based on a standard A-law or μ-law (PCS 1900) codec/filter according to ITU-T Recommendations G.711 [8] and G.714, followed by the 8-bit to 13-bit conversion as specified in subclause 4.2.1.

For the D/A operation, the inverse operations take place.

In the latter case it should be noted that the specifications in ITU-T 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 GSM 03.50 [2] in clause 2.

4.2 Preparation of speech samples

The encoder is fed with data comprising of samples with a resolution of 13 bits left justified in a 16-bit word. The three least significant bits are set to '0'. The decoder outputs data in the same format. Outside the speech codec further processing must be applied if the traffic data occurs in a different representation.

...