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)
Digital cellular telecommunications system (Phase 2+) (GSM); Full rate speech; Transcoding (GSM 06.10 version 5.2.1 Release 1996)
CRs from SMG#32
Digitalni celični telekomunikacijski sistem (faza 2+) – Govor s polno hitrostjo – Prekodiranje (GSM 06.10, različica 5.2.1, izdaja 1996)
General Information
Standards Content (Sample)
SLOVENSKI STANDARD
SIST ETS 300 961 E3:2003
01-december-2003
'LJLWDOQLFHOLþQLWHOHNRPXQLNDFLMVNLVLVWHPID]D±*RYRUVSROQRKLWURVWMR±
3UHNRGLUDQMH*60UD]OLþLFDL]GDMD
Digital cellular telecommunications system (Phase 2+) (GSM); Full rate speech;
Transcoding (GSM 06.10 version 5.2.1 Release 1996)
Ta slovenski standard je istoveten z: ETS 300 961 Edition 3
ICS:
33.070.50 Globalni sistem za mobilno Global System for Mobile
telekomunikacijo (GSM) Communication (GSM)
SIST ETS 300 961 E3:2003 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST ETS 300 961 E3:2003
---------------------- Page: 2 ----------------------
SIST ETS 300 961 E3:2003
EUROPEAN ETS 300 961
TELECOMMUNICATION December 2000
STANDARD Third Edition
Source: SMG Reference: RE/SMG-110610QR2
ICS: 33.020
Key words: Digital cellular telecommunications system, Global System for Mobile communications (GSM)
R
GLOBAL SYSTEM FOR
MOBILE COMMUNICATIONS
Digital cellular telecommunications system (Phase 2+);
Full rate speech;
Transcoding
(GSM 06.10 version 5.2.1 Release 1996)
ETSI
European Telecommunications Standards Institute
ETSI Secretariat
Postal address: F-06921 Sophia Antipolis CEDEX - FRANCE
Office address: 650 Route des Lucioles - Sophia Antipolis - Valbonne - FRANCE
Internet: secretariat@etsi.fr - http://www.etsi.org
Tel.: +33 4 92 94 42 00 - Fax: +33 4 93 65 47 16
Copyright Notification: No part may be reproduced except as authorized by written permission. The copyright and the
foregoing restriction extend to reproduction in all media.
© European Telecommunications Standards Institute 2000. All rights reserved.
---------------------- Page: 3 ----------------------
SIST ETS 300 961 E3:2003
Page 2
ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
Whilst every care has been taken in the preparation and publication of the present document, errors in
content, typographical or otherwise, may occur. If you have comments concerning its accuracy, please
write to "ETSI Standards Making Support Dept." at the address shown on the title page.
---------------------- Page: 4 ----------------------
SIST ETS 300 961 E3:2003
Page 3
ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
Contents
Intellectual Property Rights.7
Foreword.7
1 Scope .9
1.1 Normative references.9
1.1.1 Abbreviations.10
1.2 Outline description .10
1.3 Functional description of audio parts .10
1.4 PCM Format conversion .11
1.5 Principles of the RPE-LTP encoder .11
1.6 Principles of the RPE-LTP decoder .12
1.7 Sequence and subjective importance of encoded parameters.12
2 Transmission characteristics.15
2.1 Performance characteristics of the analogue/digital interfaces .15
2.2 Transcoder delay .15
3 Functional description of the RPE-LTP codec .16
3.1 Functional description of the RPE-LTP encoder.16
3.1.1 Offset compensation.16
3.1.2 Pre-emphasis .16
3.1.3 Segmentation .17
3.1.4 Autocorrelation .17
3.1.5 Schur Recursion.17
3.1.6 Transformation of reflection coefficients to Log.-Area Ratios .17
3.1.7 Quantization and coding of Log.-Area Ratios .18
3.1.8 Decoding of the quantized Log.-Area Ratios .18
3.1.9 Interpolation of Log.-Area Ratios.18
3.1.10 Transformation of Log.-Area Ratios into reflection coefficients .19
3.1.11 Short term analysis filtering .19
3.1.12 Sub-segmentation .19
3.1.13 Calculation of the LTP parameters.19
3.1.14 Coding/Decoding of the LTP lags.20
3.1.15 Coding/Decoding of the LTP gains.20
3.1.16 Long term analysis filtering.20
3.1.17 Long term synthesis filtering.21
3.1.18 Weighting Filter.21
3.1.19 Adaptive sample rate decimation by RPE grid selection.21
3.1.20 APCM quantization of the selected RPE sequence.22
3.1.21 APCM inverse quantization .23
3.1.22 RPE grid positioning.23
3.2 Decoder.23
3.2.1 RPE decoding section .23
3.2.2 Long Term Prediction section.23
3.2.3 Short term synthesis filtering section.24
3.2.4 Post-processing.24
4 Codec homing .28
4.1 Functional description .28
4.2 Definitions .28
4.3 Encoder homing.29
4.4 Decoder homing.29
4.5 Encoder home state.30
4.6 Decoder home state.30
---------------------- Page: 5 ----------------------
SIST ETS 300 961 E3:2003
Page 4
ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
5 Computational details of the RPE-LTP codec . 31
5.1 Data representation and arithmetic operations . 31
5.2 Fixed point implementation of the RPE-LTP coder. 33
5.2.0 Scaling of the input variable. 33
5.2.1 Downscaling of the input signal . 33
5.2.2 Offset compensation. 33
5.2.3 Pre-emphasis. 34
5.2.4 Autocorrelation. 34
5.2.5 Computation of the reflection coefficients. 35
5.2.6 Transformation of reflection coefficients to Log.-Area Ratios. 36
5.2.7 Quantization and coding of the Log.-Area Ratios. 36
5.2.8 Decoding of the coded Log.-Area Ratios. 37
5.2.9 Computation of the quantized reflection coefficients. 38
5.2.9.1 Interpolation of the LARpp[1.8] to get the LARp[1.8] . 38
5.2.9.2 Computation of the rp[1.8] from the interpolated
LARp[1.8] . 38
5.2.10 Short term analysis filtering . 39
5.2.11 Calculation of the LTP parameters . 39
5.2.12 Long term analysis filtering . 40
5.2.13 Weighting filter . 42
5.2.14 RPE grid selection . 42
5.2.15 APCM quantization of the selected RPE sequence . 43
5.2.16 APCM inverse quantization . 44
5.2.17 RPE grid positioning . 44
5.2.18 Update of the reconstructed short term residual signal dp[-120.-1] . 44
5.3 Fixed point implementation of the RPE-LTP decoder. 44
5.3.1 RPE decoding section . 44
5.3.2 Long term synthesis filtering . 45
5.3.3 Computation of the decoded reflection coefficients. 45
5.3.4 Short term synthesis filtering section. 45
5.3.5 De-emphasis filtering . 46
5.3.6 Upscaling of the output signal. 47
5.3.7 Truncation of the output variable . 47
5.4 Tables used in the fixed point implementation of the RPE-LTP coder and decoder . 47
6 Digital test sequences. 48
6.1 Input and output signals . 49
6.2 Configuration for the application of the test sequences . 49
6.2.1 Configuration 1 (encoder only) . 49
6.2.2 Configuration 2 (decoder only) . 49
6.3 Test sequences . 50
6.3.1 Test sequences for configuration 1. 50
6.3.2 Test sequences for configuration 2. 51
6.3.3 Additional Test sequences for Codec Homing . 55
6.3.3.1 Codec homing frames. 55
6.3.3.2 Sequence for an extensive test of the decoder homing. 55
6.3.3.3 Sequences for finding the 20 ms framing of the GSM full
rate speech encoder . 55
6.3.3.4 Formats and sizes of the synchronization sequences . 56
Annex A (informative): Codec performance . 58
A.1 Performance of the RPE-LTP. 58
A.1.1 Introduction. 58
A.1.2 Speech performance. 58
A.1.2.1 Single encoding . 58
A.1.2.2 Speech performance when interconnected with coding systems on an
analogue basis. 59
A.1.2.2.1 Performance with 32 kbit/s ADPCM (G.721, superseded
by G.726). 59
A.1.2.2.2 Performance with another RPE-LTP codec . 59
A.1.2.2.3 Performance with encoding other than RPE-LTP and 32
kbit/s ADPCM (G.721, superseded by G.726). 59
---------------------- Page: 6 ----------------------
SIST ETS 300 961 E3:2003
Page 5
ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
A.1.3 Non-speech performance .59
A.1.3.1 Performance with single sine waves .59
A.1.3.2 Performance with DTMF tones.60
A.1.3.3 Performance with information tones.60
A.1.3.4 Performance with voice-band data.60
A.1.4 Delay.60
A.1.5 Bibliography .61
A.2 Subjective relevance of the speech coder output bits.62
A.3 Format for test sequence distribution.63
A.3.1 Type of files provided.63
A.3.2 File format description.64
Annex B (informative): Test sequence diskettes.66
Annex C (informative): Change Request History .67
History.68
---------------------- Page: 7 ----------------------
SIST ETS 300 961 E3:2003
Page 6
ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
Blank page
---------------------- Page: 8 ----------------------
SIST ETS 300 961 E3:2003
Page 7
ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
Intellectual Property Rights
IPRs essential or potentially essential to the present document may have been declared to ETSI. The
information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-
members, and can be found in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or
potentially Essential, IPRs notified to ETSI in respect of ETSI standards", which is available from the ETSI
Secretariat. Latest updates are available on the ETSI Web server (http://www.etsi.org/ipr).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI.
No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the
updates on the ETSI Web server) which are, or may be, or may become, essential to the present
document.
Foreword
This European Telecommunication Standard (ETS) has been produced by the Special Mobile Group
(SMG) Technical Committee of the European Telecommunications Standards Institute (ETSI).
The present document specifies the full rate speech transcoding within the digital cellular
telecommunications system.
The associated files (annex B) are supplied with this ETS, the files contain test sequences, as described
in clause 6 and annex A.3.
The diskettes are labelled as follows:
Diskette 1 ETS 300 961, annex B: Test sequences for the GSM Full Rate speech codec;
Test sequences SEQ01.xxx to SEQ05.xxx. (Diskette 1 contains LHA
compressed files.)
Diskette 2 ETS 300 961, annex B: Test sequences for the GSM Full Rate speech codec
with homing frames; Test sequences SEQ01H.* to SEQ02H.*.
Diskette 3 ETS 300 961, annex B: Test sequences for the GSM Full Rate speech codec
with homing frames; Test sequences SEQ03H.* to SYNC159.COD.
Diskette 4 ETS 300 961, annex B : 8 bit A-law test sequences for the GSM Full Rate
speech codec with and without homing frames (Diskette 4 contains self-
extracting files).
Diskette 5 ETS 300 961, annex B: 8 bit μ-law test sequences for the GSM Full Rate
speech codec with and without homing frames (Diskette 5 contains self-
extracting files).
The contents of this ETS may be subject to continuing work within SMG and may change following formal
SMG approval. Should SMG modify the contents of this ETS, it will be resubmitted for OAP by ETSI with
an identifying change of release date and an increase in version number as follows:
Version 5.x.y
where:
5 GSM Phase 2+ Release 1996.
x the second digit is incremented for changes of substance, i.e. technical enhancements,
corrections, updates, etc.;
y the third digit is incremented when editorial only changes have been incorporated in the
specification.
The specification from which this ETS has been derived was originally based on CEPT documentation,
hence the presentation of this ETS may not be entirely in accordance with the ETSI/PNE rules.
---------------------- Page: 9 ----------------------
SIST ETS 300 961 E3:2003
Page 8
ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
Transposition dates
Date of adoption of this ETS: 1 December 2000
Date of latest announcement of this ETS (doa):
31 March 2001
Date of latest publication of new National Standard
or endorsement of this ETS (dop/e): 30 September 2001
Date of withdrawal of any conflicting National Standard (dow): 30 September 2001
---------------------- Page: 10 ----------------------
SIST ETS 300 961 E3:2003
Page 9
ETS 300 961: December 2000 (GSM 06.10 version 5.2.1)
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".
---------------------- Page: 11 ----------------------
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.
---------------------- Page: 12 ----------------------
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
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.