A.4 Pole frequency calculation
3GPP46.032Full rate speechRelease 17TSVoice Activity Detector (VAD) for full rate speech traffic channels
This annex describes the algorithm used to determine whether the pole frequency for a second order analysis of the signal frame is less than 385 Hz.
The filter coefficients for a second order synthesis filter are calculated from the first two unquantized reflection coefficients rc[1..2] obtained from the speech encoder. This is done using the routine described in subclause 3.10.4. If the filter coefficients a[0..2] are defined such that the synthesis filter response is given by:
H(z) = 1 / (a[0] + a[1]z‑1 + a[2]z‑2 ) (1)
Then the positions of the poles in the Z‑plane are given by the solutions to the following quadratic:
a[0]z2 + a[1]z + a[2] = 0, a[0] = 1 (2)
The positions of the poles, z, are therefore:
z = re j*sqrt(im), j2 = ‑1 (3)
where:
re = ‑ a[1] / 2 (4)
im = (4*a[2] ‑ a[1]2 ) / 4 (5)
If im is negative then the poles lie on the real axis of the Z‑plane and the signal is not a tone and the algorithm terminates. If re is negative then the poles lie in the left hand side of the Z‑plane and the frequency is greater than 2 000 Hz and the prediction error test can be performed.
If im is positive and re is positive then the poles are complex and lie in the right hand side of the Z‑plane and the frequency in Hz is related to re and im by the expression:
freq = arctan (sqrt(im)/re ) * 4 000 / (6)
Having ensured that both im and re are positive, the test for a dominant frequency less than 385 Hz can be derived by substituting Equations 4 and 5 into Equation 6 and re‑arranging:
(4*a[2] ‑ a[1]2 ) / a[1]2 < (tan(*385/4 000))2 (7)
or
(4*a[2] ‑ a[1]2 ) / a[1]2 < 0.0973 (8)
If this test is true then the signal is not a tone and the algorithm terminates, otherwise the prediction error test is performed.
Annex B (normative):
Test sequences
The test vectors are described in the present document are supplied in archive en_300965v080000p0.zip which accompanies the present document. The files contained in this archive are listed in clause A.2.
The full rate test vectors apply to both GSM Phase 1 and Phase 2. However, the files pole1.* pole2.* pred1.* pred2.* and freq_sw.* are not required for Phase 1 (uplink and downlink) and Phase 2 uplink implementations.
Annex C (informative):
Change history
Change history |
|||||
SMG No. |
TDoc. No. |
CR. No. |
Section affected |
New version |
Subject/Comments |
SMG#09 |
4.0.5 |
ETSI Publication |
|||
SMG#17 |
4.2.1 |
ETSI Publication |
|||
SMG#23 |
4.3.1 |
ETSI Publication |
|||
SMG#23 |
5.0.3 |
Release 1996 version |
|||
SMG#27 |
6.0.0 |
Release 1997 version |
|||
SMG#29 |
7.0.0 |
Release 1998 version |
|||
7.0.1 |
Version update to 7.0.1 for Publication |
||||
SMG#31 |
8.0.0 |
Release 1999 version |
Change history |
|||||||
Date |
TSG # |
TSG Doc. |
CR |
Rev |
Subject/Comment |
Old |
New |
03-2001 |
11 |
Version for Release 4 |
4.0.0 |
||||
06-2002 |
16 |
Version for Release 5 |
4.0.0 |
5.0.0 |
|||
12-2004 |
26 |
Version for Release 6 |
5.0.0 |
6.0.0 |
|||
06-2007 |
36 |
Version for Release 7 |
6.0.0 |
7.0.0 |
|||
12-2008 |
42 |
Version for Release 8 |
7.0.0 |
8.0.0 |
|||
12-2009 |
46 |
Version for Release 9 |
8.0.0 |
9.0.0 |
|||
03-2011 |
51 |
Version for Release 10 |
9.0.0 |
10.0.0 |
|||
09-2012 |
57 |
Version for Release 11 |
10.0.0 |
11.0.0 |
|||
09-2014 |
65 |
Version for Release 12 |
11.0.0 |
12.0.0 |
|||
12-2015 |
70 |
Version for Release 13 |
12.0.0 |
13.0.0 |
Change history |
|||||||
Date |
Meeting |
TDoc |
CR |
Rev |
Cat |
Subject/Comment |
New version |
03-2017 |
SA#75 |
Version for Release 14 |
14.0.0 |
||||
06-2018 |
SA#80 |
– |
– |
– |
– |
Version for Release 15 |
15.0.0 |
2020-07 |
– |
– |
– |
– |
– |
Update to Rel-16 version (MCC) |
16.0.0 |
2022-04 |
– |
– |
– |
– |
– |
Update to Rel-17 version (MCC) |
17.0.0 |