1、 ETSI TS 126 101 V15.0.0 (2018-07) Digital cellular telecommunications system (Phase 2+) (GSM); Universal Mobile Telecommunications System (UMTS); LTE; Mandatory speech codec speech processing functions; Adaptive Multi-Rate (AMR) speech codec frame structure (3GPP TS 26.101 version 15.0.0 Release 15
2、) TECHNICAL SPECIFICATION ETSI ETSI TS 126 101 V15.0.0 (2018-07)13GPP TS 26.101 version 15.0.0 Release 15Reference RTS/TSGS-0426101vf00 Keywords GSM,LTE,UMTS ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 -
3、 NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electr
4、onic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF)
5、 version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDelivera
6、bleStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including
7、photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. ETSI 2018. All rights reserved. DECTTM, PLUG
8、TESTSTM, UMTSTMand the ETSI logo are trademarks of ETSI registered for the benefit of its Members. 3GPPTM and LTETMare trademarks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. oneM2M logo is protected for the benefit of its Members. GSMand the GSM logo ar
9、e trademarks registered and owned by the GSM Association. ETSI ETSI TS 126 101 V15.0.0 (2018-07)23GPP TS 26.101 version 15.0.0 Release 15Intellectual Property Rights Essential patents IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The information pe
10、rtaining 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 Secr
11、etariat. Latest updates are available on the ETSI Web server (https:/ipr.etsi.org/). 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
12、on the ETSI Web server) which are, or may be, or may become, essential to the present document. Trademarks The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners. ETSI claims no ownership of these except for any which are indicated as being
13、 the property of ETSI, and conveys no right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks. Foreword This Technical Specificatio
14、n (TS) has been produced by ETSI 3rd Generation Partnership Project (3GPP). The present document may refer to technical specifications or reports using their 3GPP identities, UMTS identities or GSM identities. These should be interpreted as being references to the corresponding ETSI deliverables. Th
15、e cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under http:/webapp.etsi.org/key/queryform.asp. Modal verbs terminology In the present document “shall“, “shall not“, “should“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as d
16、escribed in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI TS 126 101 V15.0.0 (2018-07)33GPP TS 26.101 version 15.0.0 Release 15Contents Intellectual Prop
17、erty Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 4g31 Scope 5g32 References 5g33 Definitions and Abbreviations 5g33.1 Definitions 5g33.2 Abbreviations . 5g34 AMR codec frame format (AMR IF1) . 6g34.1 AMR Header and AMR Auxiliary Information . 6g34.1.1 Frame Type, Mode Indication, a
18、nd Mode Request . 6g34.1.2 Frame Quality Indicator 7g34.1.3 Mapping to TX_TYPE and RX_TYPE 7g34.1.4 Codec CRC . 8g34.2 AMR Core Frame . 8g34.2.1 AMR Core Frame with speech bits: Bit ordering . 8g34.2.2 AMR Core Frame with speech bits: Class division 8g34.2.3 AMR Core Frame with comfort noise bits 9g
19、34.3 AMR frame composition 10g34.4 GSM-EFR Frame Composition 11g34.4.1 GSM-EFR Frame with speech bits . 11g34.4.2 GSM-EFR Frame with comfort noise bits 11g3Annex A (informative): AMR Interface Format 2 (with octet alignment) 13g3Annex B (normative): Tables for AMR Core Frame bit ordering 17g3Annex C
20、 (informative): Change history . 20g3History 21g3ETSI ETSI TS 126 101 V15.0.0 (2018-07)43GPP TS 26.101 version 15.0.0 Release 15Foreword This Technical Specification has been produced by the 3rdGeneration Partnership Project (3GPP). The contents of the present document are subject to continuing work
21、 within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows: Version x.y.z where: x the first digit: 1 presented to
22、TSG for information; 2 presented to TSG for approval; 3 or greater indicates TSG approved document under change control. y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc. z the third digit is incremented when editorial only change
23、s have been incorporated in the document. ETSI ETSI TS 126 101 V15.0.0 (2018-07)53GPP TS 26.101 version 15.0.0 Release 151 Scope The present document describes a generic frame format for the Adaptive Multi-Rate (AMR) speech codec and the Enhanced Full Rate (GSM-EFR) speech codec. This format shall b
24、e used as a common reference point when interfacing speech frames between different elements of the 3G system and between different systems. Appropriate mappings to and from this generic frame format will be used within and between each system element. Annex A describes a second frame format which s
25、hall be used when octet alignment of AMR frames is required. 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 numb
26、er, etc.) or non-specific. - For a specific reference, subsequent revisions do not apply. - For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that doc
27、ument in the same Release as the present document. 1 TS 26.090: “AMR Speech Codec; Speech Transcoding Functions“. 2 TS 26.093: “AMR Speech Codec; Source Controlled Rate Operation“. 3 TS 26.092: “AMR Speech Codec; Comfort Noise Aspects“. 4 TS 46.060: “EFR Speech Codec; Speech Transcoding Functions“.
28、5 TS 46.062: “EFR Speech Codec; Comfort Noise Aspects“. 3 Definitions and Abbreviations 3.1 Definitions For the purposes of the present document, the following terms and definitions apply: AMR mode: one of the eight AMR codec bit-rates denoted also with indices 0 to 7 where 0 maps to the 4.75 kbis/s
29、 mode and 7 maps to the 12.2 kbit/s mode. AMR codec mode: same as AMR mode. RX_TYPE: classification of the received frame as defined in 2. TX_TYPE: classification of the transmitted frame as defined in 2. 3.2 Abbreviations For the purposes of the present document, the following abbreviations apply:
30、CRC Cyclic Redundancy Check FQI Frame Quality Indicator GSM Global System for Mobile communication LSB Least Significant Bit MSB Most Significant Bit RX Receive PDC Personal Digital Communication (ARIB standard) SCR Source Controlled Rate operation SID Silence Descriptor (Comfort Noise Frame) ETSI E
31、TSI TS 126 101 V15.0.0 (2018-07)63GPP TS 26.101 version 15.0.0 Release 15TDMA Time Division Multiple Access (IS-641) TX Transmit 4 AMR codec frame format (AMR IF1) This clause describes the generic frame format for both the speech and comfort noise frames of the AMR speech codec. This format is refe
32、rred to as AMR Interface Format 1 (AMR IF1). Annex A describes AMR Interface Format 2 (AMR IF2). Each AMR codec mode follows the generic frame structure depicted in figure 1. The frame is divided into three parts: AMR Header, AMR Auxiliary Information, and AMR Core Frame. The AMR Header part include
33、s the Frame Type and the Frame Quality Indicator fields. The AMR auxiliary information part includes the Mode Indication, Mode Request, and Codec CRC fields. The AMR Core Frame part consists of the speech parameter bits or, in case of a comfort noise frame, the comfort noise parameter bits. In case
34、of a comfort noise frame, the comfort noise parameters replace Class A bits of AMR Core Frame while Class B and C bits are omitted. Figure 1: Generic AMR frame structure 4.1 AMR Header and AMR Auxiliary Information This subclause describes the AMR Header of figure 1. 4.1.1 Frame Type, Mode Indicatio
35、n, and Mode Request Table 1a defines the 4-bit Frame Type field. Frame Type can indicate the use of one of the eight AMR codec modes, one of four different comfort noise frames, or an empty frame. In addition, three Frame Type Indices are reserved for future use. The same table is reused for the Mod
36、e Indication and Mode Request fields which are 3-bit fields each and are defined only in the range 07 to specify one of the eight AMR codec modes. ETSI ETSI TS 126 101 V15.0.0 (2018-07)73GPP TS 26.101 version 15.0.0 Release 15Table 1a: Interpretation of Frame Type, Mode Indication and Mode Request f
37、ields Frame Type Mode Indication Mode Request Frame content (AMR mode, comfort noise, or other) 0 0 0 AMR 4,75 kbit/s 1 1 1 AMR 5,15 kbit/s 2 2 2 AMR 5,90 kbit/s 3 3 3 AMR 6,70 kbit/s (PDC-EFR) 4 4 4 AMR 7,40 kbit/s (TDMA-EFR) 5 5 5 AMR 7,95 kbit/s 6 6 6 AMR 10,2 kbit/s 7 7 7 AMR 12,2 kbit/s (GSM-EF
38、R) 8 - - AMR SID 9 - - GSM-EFR SID 10 - - TDMA-EFR SID 11 - PDC-EFR SID 12-14 - - For future use 15 - - No Data (No transmission/No reception) 4.1.2 Frame Quality Indicator The content of the Frame Quality Indicator field is defined in Table 1b. The field length is one bit. The Frame Quality Indicat
39、or indicates whether the data in the frame contains errors. Table 1b: Definition of Frame Quality Indicator Frame Quality Indicator (FQI) Quality of data 0 Bad frame or Corrupted frame (bits may be used to assist error concealment) 1 Good frame 4.1.3 Mapping to TX_TYPE and RX_TYPE Table 1c shows how
40、 the AMR Header data (FQI and Frame Type) maps to the TX_TYPE and RX_TYPE frames defined in 2. Table 1c: Mapping of Frame Quality Indicator and Frame Type to TX_TYPE and RX_TYPE 2, respectively Frame Quality Indicator Frame Type Index TX_TYPE or RX_TYPE Comment 1 0-7 SPEECH_GOOD The specific Frame T
41、ype Index depends on the bit-rate being used. 0 0-7 SPEECH_BAD The specific Frame Type Index depends on the bit-rate being used. The corrupted data may be used to assist error concealment. 1 8 8 SID_FIRST or SID_UPDATE For AMR: SID_FIRST and SID_UPDATE are differentiated using one Class A bit: STI.
42、0 8 SID_BAD For AMR 1 9 GSM-EFR SID For GSM-EFR 0 9 GSM-EFRSID_BAD For GSM-EFR 1 10-11 SID_UPDATE For TDMA-EFR and PDC-EFR 0 10-11 SID_BAD For TDMA-EFR and PDC-EFR 1 15 NO_DATA Typically a non-transmitted frame or an erased or stolen frame with no data usable to assist error concealment. ETSI ETSI T
43、S 126 101 V15.0.0 (2018-07)83GPP TS 26.101 version 15.0.0 Release 154.1.4 Codec CRC Generic AMR codec frames with Frame Type 0.11 are associated with an 8-bit CRC for error-detection purposes. The Codec CRC field of AMR Auxiliary Information in figure 1 contains the value of this CRC. These eight pa
44、rity bits are generated by the cyclic generator polynomial: - G(x)=D8+ D6+ D5+ D4+ 1 which is computed over all Class A bits of AMR Core Frame. Class A bits for Frame Types 0.7 are defined in subclause 4.2.2 (for speech bits) and for Frame Types 8.11 in subclause 4.2.3 (for comfort noise bits). When
45、 Frame Type Index of table 1a is 15 the CRC field is not included in the Generic AMR frame. 4.2 AMR Core Frame This subclause contains the description of AMR Core Frame of figure 1. The descriptions for AMR Core Frame with speech bits and with comfort noise bit are given separately. 4.2.1 AMR Core F
46、rame with speech bits: Bit ordering This subclause describes how AMR Core Frame carries the coded speech data. The bits produced by the speech encoder are denoted as s(1),s(2),.,s(K), where K refers to the number of bits produced by the speech encoder as shown in table 2. The notation s(i) follows t
47、hat of 1. The speech encoder output bits are ordered according to their subjective importance. This bit ordering can be utilized for error protection purposes when the speech data is, for example, carried over a radio interface. Tables B.1 to B.8 in Annex B define the AMR IF1 bit ordering for all th
48、e eight AMR codec modes. In these tables the speech bits are numbered in the order they are produced by the corresponding speech encoder as described in the relevant tables of TS 26.090 1. The reordered bits are denoted below, in the order of decreasing importance, as d(0),d(1),.,d(K-1). The orderin
49、g algorithm is described in pseudo code as: - for j = 0 to K-1 - d(j) := s(tablem(j)+1); where tablem(j) refers to the relevant table in Annex B depending on the AMR mode m=07. The Annex B tables should be read line by line from left to right. The first element of the table has the index 0. 4.2.2 AMR Core Frame with speech bits: Class division The reordered bits are further divided into three indicative classes according to their subjective importance. This class division is only informative and provides supporting information for mapping this generi