Digital Enhanced Cordless Telecommunications (DECT); Low Complexity Communication Codec plus (LC3plus)

RTS/DECT-00369

General Information

Status
Not Published
Current Stage
12 - Completion
Due Date
25-Oct-2021
Completion Date
18-Oct-2021
Ref Project
Standard
ETSI TS 103 634 V1.3.1 (2021-10) - Digital Enhanced Cordless Telecommunications (DECT); Low Complexity Communication Codec plus (LC3plus)
English language
163 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


TECHNICAL SPECIFICATION
Digital Enhanced Cordless Telecommunications (DECT);
Low Complexity Communication Codec plus (LC3plus)


2 ETSI TS 103 634 V1.3.1 (2021-10)

Reference
RTS/DECT-00369
Keywords
audio, codec, DECT, full-band, LC3plus,
superwideband, voice, VoIP
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 - APE 7112B
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° w061004871

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 electronic 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 prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
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/ETSIDeliverableStatus.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
Notice of disclaimer & limitation of liability
The information provided in the present deliverable is directed solely to professionals who have the appropriate degree of
experience to understand and interpret its content in accordance with generally accepted engineering or
other professional standard and applicable regulations.
No recommendation as to products and services or vendors is made or should be implied.
No representation or warranty is made that this deliverable is technically accurate or sufficient or conforms to any law
and/or governmental rule and/or regulation and further, no representation or warranty is made of merchantability or fitness
for any particular purpose or against infringement of intellectual property rights.
In no event shall ETSI be held liable for loss of profits or any other incidental or consequential damages.

Any software contained in this deliverable is provided "AS IS" with no warranties, express or implied, including but not
limited to, the warranties of merchantability, fitness for a particular purpose and non-infringement of intellectual property
rights and ETSI shall not be held liable in any event for any damages whatsoever (including, without limitation, damages
for loss of profits, business interruption, loss of information, or any other pecuniary loss) arising out of or related to the use
of or inability to use the software.
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including 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 2021.
All rights reserved.
ETSI
3 ETSI TS 103 634 V1.3.1 (2021-10)
Contents
Intellectual Property Rights . 9
Foreword . 9
Modal verbs terminology . 9
Executive summary . 10
Introduction . 10
1 Scope . 11
2 References . 11
2.1 Normative references . 11
2.2 Informative references . 12
3 Definition of terms, symbols and abbreviations . 13
3.1 Terms . 13
3.2 Symbols . 14
3.2.1 Mathematical symbols . 14
3.2.2 Operator symbols . 14
3.3 Abbreviations . 14
4 General description. 16
4.1 Overview . 16
4.2 Transcoding functions . 17
4.3 ANSI C-code . 19
4.4 Conformance testing. 19
4.5 RTP payload format . 19
4.6 Performance characterization . 19
5 Codec algorithm description . 20
5.1 General codec description . 20
5.2 General codec parameters. 21
5.2.1 Audio channels . 21
5.2.2 Sampling rates . 21
5.2.3 Bits per sample . 21
5.2.4 Frame size and delay. 21
5.2.5 Bit budget and bitrate . 22
5.2.6 Bandwidth . 22
5.3 Encoding process . 22
5.3.1 Encoder modules . 22
5.3.2 Input signal . 23
5.3.3 Input signal scaling . 23
5.3.4 Low delay MDCT analysis . 23
5.3.4.1 Overview . 23
5.3.4.2 Update time buffer . 24
5.3.4.3 Time-frequency transformation. 24
5.3.4.4 Energy estimation per band . 25
5.3.4a Near Nyquist detector . 25
5.3.5 Bandwidth detector . 26
5.3.5.1 Algorithm . 26
5.3.5.2 Parameters . 27
5.3.6 Time Domain Attack Detector . 27
5.3.6.1 Overview . 27
5.3.6.2 Downsampling and Filtering of Input Signal . 27
5.3.6.3 Energy Calculation . 27
5.3.6.4 Attack Detection . 28
5.3.7 Spectral Noise Shaping . 28
5.3.7.1 Overview . 28
5.3.7.2 SNS analysis . 29
ETSI
4 ETSI TS 103 634 V1.3.1 (2021-10)
5.3.7.2.1 Overview . 29
5.3.7.2.2 Padding . 29
5.3.7.2.3 Smoothing . 29
5.3.7.2.4 Pre-emphasis . 29
5.3.7.2.5 Noise floor . 30
5.3.7.2.6 Logarithm . 30
5.3.7.2.7 Band Energy Grouping . 30
5.3.7.2.8 Mean removal and scaling, attack handling. 30
5.3.7.3 SNS quantization . 31
5.3.7.3.1 General . 31
5.3.7.3.2 Stage 1 . 31
5.3.7.3.3 Stage 2 . 32
5.3.7.3.4 Multiplexing of SNS VQ Codewords . 37
5.3.7.3.5 Synthesis of the Quantized SNS scale factor vector . 39
5.3.7.4 SNS scale factors interpolation . 39
5.3.7.5 Spectral shaping . 39
5.3.8 Bandwidth control . 40
5.3.9 Temporal Noise Shaping (TNS) . 40
5.3.9.1 Overview . 40
5.3.9.2 TNS analysis . 41
5.3.9.3 Quantization . 42
5.3.9.4 Filtering . 43
5.3.10 Long term postfilter . 43
5.3.10.1 Overview . 43
5.3.10.2 Time-domain signals . 43
5.3.10.3 Resampling. 44
5.3.10.4 High-pass filtering . 44
5.3.10.5 Pitch detection algorithm . 44
5.3.10.6 LTPF bitstream . 45
5.3.10.7 LTPF pitch-lag parameter . 46
5.3.10.8 LTPF activation bit . 47
5.3.11 Spectral quantization. 47
5.3.11.1 Overview . 47
5.3.11.2 Bit budget . 48
5.3.11.3 First global gain estimation . 48
5.3.11.4 Quantization . 49
5.3.11.5 Bit consumption . 49
5.3.11.6 Truncation . 51
5.3.11.7 Global gain adjustment . 51
5.3.12 Residual coding . 52
5.3.13 Noise level estimation . 52
5.3.13.1 Overview . 52
5.3.13.2 Relevant spectral lines . 53
5.3.13.3 Noise level calculation . 53
5.3.14 Bitstream encoding . 54
5.3.14.1 Overview . 54
5.3.14.2 Initialization . 54
5.3.14.3 Side information . 54
5.3.14.4 Arithmetic encoding . 55
5.3.14.4.1 Overview . 55
5.3.14.4.2 Pseudo code implementation . 56
5.3.14.5 Residual data and finalization . 57
5.3.14.6 Functions . 57
5.3.15 Encoding of Low-frequency effects . 59
5.4 Decoding process . 60
5.4.1 Decoder modules . 60
5.4.2 Bitstream decoding . 60
5.4.2.1 Overview . 60
5.4.2.2 Initialization . 60
5.4.2.3 Side information . 61
5.4.2.4 Special decoder mode indicators . 61
5.4.2.5 Padding pattern . 62
ETSI
5 ETSI TS 103 634 V1.3.1 (2021-10)
5.4.2.6 Bandwidth interpretation . 62
5.4.2.7 Arithmetic decoding . 63
5.4.2.8 Residual data and finalization . 64
5.4.2.9 Functions . 66
5.4.3 Residual decoding . 67
5.4.4 Noise filling . 67
5.4.5 Global gain. 68
5.4.6 TNS decoder . 68
5.4.7 SNS decoder . 69
5.4.7.1 Overview . 69
5.4.7.2 SNS scale factor decoding . 69
5.4.7.2.1 SNS VQ decoding . 69
5.4.7.2.2 Stage 1 SNS VQ decoding. 69
5.4.7.2.3 Stage 2 SNS VQ decoding. 70
5.4.7.2.4 Unit energy normalization of the received shape . 73
5.4.7.2.5 Reconstruction of the Quantized SNS Scalefactors . 73
5.4.7.3 SNS scale factors interpolation . 73
5.4.7.4 Spectral Shaping . 74
5.4.8 Low delay MDCT synthesis . 74
5.4.9 Long term postfilter . 74
5.4.9.1 Overview . 74
5.4.9.2 Transition handling . 75
5.4.9.3 Remaining of the frame . 76
5.4.10 Output signal scaling and rounding . 77
5.5 Frame structure . 78
5.6 Error concealment . 78
5.6.1 General consideration . 78
5.6.2 PLC trigger . 79
5.6.3 PLC method selection and method application . 79
5.6.3.1 Method selection . 79
5.6.3.2 MDCT frame repetition with sign scrambling . 80
5.6.3.3 Time domain concealment . 82
5.6.3.3.1 Overview . 82
5.6.3.3.2 LPC parameter calculation . 82
5.6.3.3.3 Construction of the periodic part of the excitation . 83
5.6.3.3.4 Construction of the random part of the excitation . 85
5.6.3.3.5 Construction of the total excitation, synthesis and post-processing . 86
5.6.3.3.6 Time domain alias cancelation . 86
5.6.3.3.7 Handling of multiple frame losses . 87
5.6.3.4 Frequency domain concealment (Phase ECU) . 87
5.6.3.4.1 Phase ECU overview . 87
5.6.3.4.2 Spectral Shape . 88
5.6.3.4.3 Transient analysis . 89
5.6.3.4.4 Fine Spectral analysis . 90
5.6.3.4.5 Frame reconstruction . 91
5.6.4 PLC operation related to LTPF . 92
5.7 External rate adaptation . 93
5.8 High-resolution audio support . 93
5.8.1 Overview . 93
5.8.2 Changes to the algorithm in high-resolution mode . 93
5.8.3 High-Resolution mode and channel coding . 97
5.9 Tables and constants . 97
5.9.1 Band tables index . 97
5.9.2 Low delay MDCT windows. 98
5.9.2.1 Frame size 2,5 ms . 98
5.9.2.2 Frame size 5 ms . 98
5.9.2.3 Frame size 10 ms . 98
5.9.3 SNS quantization . 99
5.9.4 Temporal noise shaping . 100
5.9.5 Long term postfiltering . 100
5.9.6 Spectral data. 101
ETSI
6 ETSI TS 103 634 V1.3.1 (2021-10)
6 Source code description. 101
6.1 Overview . 101
6.2 Contents of the C source code . 102
6.3 File formats . 102
6.3.1 Sound file (encoder input and decoder output) . 102
6.3.2 Switching profile (encoder input) . 102
6.3.3 Parameter bitstream file (encoder output and decoder input) . 102
6.4 Test vector package . 102
7 Conformance . 103
7.1 Overview . 103
7.2 Test framework . 103
7.2.1 Test material . 103
7.2.2 Test permutations and codec parameters . 104
7.2.3 Modules under test . 104
7.2.4 Quality metric calculation . 104
7.2.4.1 Root Mean Square . 104
7.2.4.2 Delta ODG value . 105
7.2.4.3 Maximum Loudness Difference (MLD) . 106
7.2.4.4 Thresholds . 107
7.2.5 Software and tools . 107
7.2.5.1 Gen_rate_profile . 107
7.2.5.2 Eid-xor . 107
7.2.5.3 flipG192 . 107
7.2.5.4 G.192 bitstream format . 108
7.2.5.5 Note to platform-dependent conformance . 108
7.2.5.6 Reference conformance test script . 108
7.3 Conformance tests . 108
7.3.1 Test groups. 108
7.3.2 Core coder tests . 109
7.3.2.1 SQAM test. 109
7.3.2.2 Band limitation test . 109
7.3.2.3 Low pass test . 109
7.3.2.4 Bitrate switching test . 109
7.3.2.5 Bandwidth switching test . 110
7.3.3 Concealment tests . 110
7.3.3.1 Packet loss concealment . 110
7.3.3.2 Partial concealment . 110
7.3.4 Channel coder . 110
7.3.4.1 Channel coder test for correctable frames . 110
7.3.4.2 Channel decoder test for non-correctable frames . 111
7.3.4.3 Error protection mode switching test . 111
7.3.4.4 Combined channel coding test for correctable frames . 111
7.3.4.5 Combined channel coding test for non-correctable frames . 112
7.3.4.6 Void. 112
7.3.5 High-resolution mode test . 112
7.3.5.1 Core coder tests . 112
7.3.5.2 Concealment tests . 112
7.3.5.3 Channel coder . 112
7.3.5.4 Precision tests . 113
7.3.5.4.1 General . 113
7.3.5.4.2 Total Harmonic Distortion plus Noise . 113
7.3.5.4.3 Signal to Noise Ratio . 113
7.3.6 Low-frequency effects test . 114
7.4 Mapping conformance test, module and quality metric . 114
7.4.1 Encoder . 114
7.4.2 Decoder . 114
7.4.3 Encoder-Decoder (EncDec) . 115
7.5 Quality metric thresholds . 115
7.6 Conformance criteria . 115
7.7 Codec tests. 116
7.7.1 General LC3plus test . 116
ETSI
7 ETSI TS 103 634 V1.3.1 (2021-10)
7.7.2 Applications . 116
Annex A (normative): Application layer forward error correction . 117
A.1 Channel Coder . 117
A.1.1 Overview . 117
A.1.2 Bitrate Conversion . 118
A.1.3 General Channel Coder Parameters . 119
A.1.3.1 EP mode . 119
A.1.3.2 Slot Size . 119
A.1.3.3 EPMR . 119
A.1.3.4 Combined Channel Coding Flag . 119
A.1.4 Derived Channel Coder Parameters . 119
A.1.4.1 Number of Code Words . 119
A.1.4.2 Code Word Lengths . 120
A.1.4.3 Hamming Distances . 120
A.1.4.4 Number of Partial Concealment Code Words . 120
A.1.4.5 Size of Partial Concealment Block . 120
A.1.4.6 CRC Hash Sizes . 120
A.1.4.7 Data Size . 120
A.1.5 Algorithmic Description of the Channel Encoder . 121
A.1.5.1 Input/Output . 121
A.1.5.2 Data Pre-Processing . 121
A.1.5.3 Reed-Solomon Encoding . 122
A.1.5.4 Mode Signalling . 123
A.1.5.5 Code Word Multiplexing . 123
A.1.6 Algorithmic Description of the Channel Decoder . 124
A.1.6.1 Input/Output . 124
A.1.6.2 Code Word De-Multiplexing . 124
A.1.6.3 Mode Detection . 124
A.1.6.3.1 Overview . 124
A.1.6.3.2 Stage 1 . 124
A.1.6.3.3 Stage 2 . 125
A.1.6.4 EPMR Estimation when Frame is not decodable . 126
A.1.6.5 Error Correction . 127
A.1.6.5.1 Overview . 127
A.1.6.5.2 Calculation of Error Locator Polynomials . 128
A.1.6.5.3 Calculation of Error Positions . 129
A.1.6.5.4 Calculation of Error Symbols . 129
A.1.6.6 De-Colouration and RS Decoding . 130
A.1.6.7 Data Post-Processing . 130
A.1.7 Padding bytes . 132
A.1.8 Bit error Concealment . 132
A.1.8.1 Reorder Bitstream .
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...