7 Detailed bit allocation of the adaptive multi-rate codec

06.903GPPAdaptive Multi-Rate speech transcodingTS

The detailed allocation of the bits in the adaptive multi-rate speech encoder is shown for each mode in table 9a-9h. These tables show the order of the bits produced by the speech encoder. Note that the most significant bit (MSB) of each codec parameter is always sent first.

Table 9a: Source encoder output parameters in order of occurrence and bit allocation within the speech frame of 244 bits/20 ms, 12.2 kbit/s mode

Bits (MSB‑LSB)

Description

s1 ‑ s7

index of 1st LSF submatrix

s8 ‑ s15

index of 2nd LSF submatrix

s16 ‑ s23

index of 3rd LSF submatrix

s24

sign of 3rd LSF submatrix

s25 ‑ s32

index of 4th LSF submatrix

s33 ‑ s38

index of 5th LSF submatrix

subframe 1

s39 ‑ s47

adaptive codebook index

s48 ‑ s51

adaptive codebook gain

s52

sign information for 1st and 6th pulses

s53 ‑ s55

position of 1st pulse

s56

sign information for 2nd and 7th pulses

s57 ‑ s59

position of 2nd pulse

s60

sign information for 3rd and 8th pulses

s61 ‑ s63

position of 3rd pulse

s64

sign information for 4th and 9th pulses

s65 ‑ s67

position of 4th pulse

s68

sign information for 5th and 10th pulses

s69 ‑ s71

position of 5th pulse

s72 ‑ s74

position of 6th pulse

s75 ‑ s77

position of 7th pulse

s78 ‑ s80

position of 8th pulse

s81 ‑ s83

position of 9th pulse

s84 ‑ s86

position of 10th pulse

s87 ‑ s91

fixed codebook gain

subframe 2

s92 ‑ s97

adaptive codebook index (relative)

s98 ‑ s141

same description as s48 ‑ s91

subframe 3

s142 ‑ s194

same description as s39 ‑ s91

subframe 4

s195 ‑ s244

same description as s92 ‑ s141

Table 9b: Source encoder output parameters in order of occurrence and bit allocation within the speech frame of 204 bits/20 ms, 10.2 kbit/s mode

Bits (MSB‑LSB)

Description

s1 – s8

index of 1st LSF subvector

s9 ‑ s17

index of 2nd LSF subvector

s18 – s26

index of 3rd LSF subvector

subframe 1

s27 – s34

adaptive codebook index

s35

sign information for 1st and 5th pulses

s36

sign information for 2nd and 6th pulses

s37

sign information for 3rd and 7th pulses

s38

sign information for 4th and 8th pulses

s39-s48

position for 1st, 2nd, and 5th pulses

s49-s58

position for 3rd, 6th, and 7th pulses

s59-s65

position for 4th and 8th pulses

s66 – s72

codebook gains

subframe 2

s73 – s77

adaptive codebook index (relative)

s78 – s115

same description as s35 – s72

subframe 3

s116 – s161

same description as s27 – s72

subframe 4

s162 – s204

same description as s73 – s115

Table 9c: Source encoder output parameters in order of occurrence and bit allocation within the speech frame of 159 bits/20 ms, 7.95 kbit/s mode

Bits (MSB‑LSB)

Description

s1 – s9

index of 1st LSF subvector

s10 ‑ s18

index of 2nd LSF subvector

s19 – s27

index of 3rd LSF subvector

subframe 1

s28 – s35

adaptive codebook index

s36 – s39

position of 4th pulse

s40 – s42

position of 3rd pulse

s43 – s45

position of 2nd pulse

s46 – s48

position of 1st pulse

s49

sign information for 4th pulse

s50

sign information for 3rd pulse

s51

sign information for 2nd pulse

s52

sign information for 1st pulse

s53 – s56

adaptive codebook gain

s57 – s61

fixed codebook gain

subframe 2

s62 – s67

adaptive codebook index (relative)

s68 – s93

same description as s36 – s61

subframe 3

s94 – s127

same description as s28 – s61

subframe 4

s128 – s159

same description as s62 – s93

Table 9d: Source encoder output parameters in order of occurrence and bit allocation within the speech frame of 148 bits/20 ms, 7.40 kbit/s mode

Bits (MSB‑LSB)

Description

s1 – s8

index of 1st LSF subvector

s9 ‑ s17

index of 2nd LSF subvector

s18 – s26

index of 3rd LSF subvector

subframe 1

s27 – s34

adaptive codebook index

s35 – s38

position of 4th pulse

s39 – s41

position of 3rd pulse

s42 – s44

position of 2nd pulse

s45 – s47

position of 1st pulse

s48

sign information for 4th pulse

s49

sign information for 3rd pulse

s50

sign information for 2nd pulse

s51

sign information for 1st pulse

s52 – s58

codebook gains

subframe 2

s59 – s63

adaptive codebook index (relative)

s64 – s87

same description as s35 – s58

subframe 3

s88 – s119

same description as s27 – s58

subframe 4

s120 – s148

same description as s59 – s87

Table 9e: Source encoder output parameters in order of occurrence and bit allocation within the speech frame of 134 bits/20 ms, 6.70 kbit/s mode

Bits (MSB‑LSB)

Description

s1 – s8

index of 1st LSF subvector

s9 ‑ s17

index of 2nd LSF subvector

s18 – s26

index of 3rd LSF subvector

subframe 1

s27 – s34

adaptive codebook index

s35 – s38

position of 3rd pulse

s39 – s42

position of 2nd pulse

s43 – s45

position of 1st pulse

s46

sign information for 3rd pulse

s47

sign information for 2nd pulse

s48

sign information for 1st pulse

s49 – s55

codebook gains

subframe 2

s56 – s59

adaptive codebook index (relative)

s60 – s80

same description as s35 – s55

subframe 3

s81 – s109

same description as s27 – s55

subframe 4

s110 – s134

same description as s56 – s80

Table 9f: Source encoder output parameters in order of occurrence and bit allocation within the speech frame of 118 bits/20 ms, 5.90 kbit/s mode

Bits (MSB‑LSB)

Description

s1 – s8

index of 1st LSF subvector

s9 ‑ s17

index of 2nd LSF subvector

s18 – s26

index of 3rd LSF subvector

subframe 1

s27 – s34

adaptive codebook index

s35 – s39

position of 2nd pulse

s40 – s43

position of 1st pulse

s44

sign information for 2nd pulse

s45

sign information for 1st pulse

s46 – s51

codebook gains

subframe 2

s52 – s55

adaptive codebook index (relative)

s56 – s72

same description as s35 – s51

subframe 3

s73 – s97

same description as s27 – s51

subframe 4

s98 – s118

same description as s52 – s72

Table 9g: Source encoder output parameters in order of occurrence and bit allocation within the speech frame of 103 bits/20 ms, 5.15 kbit/s mode

Bits (MSB‑LSB)

Description

s1 – s8

index of 1st LSF subvector

s9 ‑ s16

index of 2nd LSF subvector

s17 – s23

index of 3rd LSF subvector

subframe 1

s24 – s31

adaptive codebook index

s32

position subset

s33 – s35

position of 2nd pulse

s36 – s38

position of 1st pulse

s39

sign information for 2nd pulse

s40

sign information for 1st pulse

s41 – s46

codebook gains

subframe 2

s47 – s50

adaptive codebook index (relative)

s51 – s65

same description as s32 – s46

subframe 3

s66 – s84

same description as s47 – s65

subframe 4

s85 – s103

same description as s47 – s65

Table 9h: Source encoder output parameters in order of occurrence and bit allocation within the speech frame of 95 bits/20 ms, 4.75 kbit/s mode

Bits (MSB‑LSB)

Description

s1 – s8

index of 1st LSF subvector

s9 ‑ s16

index of 2nd LSF subvector

s17 – s23

index of 3rd LSF subvector

subframe 1

s24 – s31

adaptive codebook index

s32

position subset

s33 – s35

position of 2nd pulse

s36 – s38

position of 1st pulse

s39

sign information for 2nd pulse

s40

sign information for 1st pulse

s41 – s48

codebook gains

subframe 2

s49 – s52

adaptive codebook index (relative)

s53 – s61

same description as s32 – s40

subframe 3

s62 – s65

same description as s49 – s52

s66 – s82

same description as s32– s48

subframe 4

s83 – s95

same description as s49 – s61