# US 2016/0260443 A1 · Method and apparatus for detecting a voice activity in an input audio signal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0260443 A1
- Document ID: US20160260443A1
- Status: Published application
- Kind: A1
- Application number: 15/157,424
- Filed: 2016-05-18
- Published: 2016-09-08
- Earliest claimed: 2010-12-24
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Zhe Wang
- Web page: https://patentgrep.com/patent/US20160260443A1

## CPC

- G10L 21/0308: characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
- G10L 15/20: Speech recognition techniques specially adapted for robustness in adverse environments, e.g. in noise, of stress induced speech (G10L21/02 takes precedence)
- G10L 19/0208: {Subband vocoders}
- G10L 19/22: Mode decision, i.e. based on audio signal content versus external parameters
- G10L 25/78: Detection of presence or absence of voice signals (switching of direction of transmission by voice frequency in two-way loud-speaking telephone systems H04M9/10)
- G10L 25/84: for discriminating voice from noise
- G10L 2025/786: {Adaptive threshold}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

The disclosure provides a method and an apparatus for detecting a voice activity in an input audio signal composed of frames. A noise attribute of the input signal is determined based on a received frame of the input audio signal. A voice activity detection (VAD) parameter is derived based on the noise attribute of the input audio signal using an adaptive function. The derived VAD parameter is compared with a threshold value to provide a voice activity detection decision. The input audio signal is processed according to the voice activity detection decision.

## Claims

### Claim 1

A method for detecting a voice activity in an input audio signal for use by a voice signal encoder, wherein the input audio signal is composed of frames, the method comprising:
determining a noise attribute of the input audio signal based on a received frame of the input audio signal;
dividing the received frame of the input audio signal into one or more frequency sub-bands;
obtaining a signal to noise ratio for each of the one or more frequency sub-bands;
calculating a sub-band specific parameter of each frequency sub-band based on the signal to noise ratio of the frequency sub-band using an adaptive function, wherein at least one parameter of the adaptive function is selected based on the noise attribute of the input audio signal;
deriving a modified segmental signal to noise ratio as a voice activity detection (VAD) parameter by summing up the calculated sub-band specific parameter of each frequency sub-band; and
comparing the VAD parameter with a threshold value to provide a voice activity detection decision (VADD).

### Claim 2 (depends on 1)

The method according to claim 1, wherein the noise attribute of the input audio signal is one of:
a long term signal to noise ratio,
a background noise variation, or
a long term signal to noise ratio and a background noise variation.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the adaptive function is a non-linear function.

### Claim 4 (depends on 1)

The method according to claim 1, wherein obtaining a signal to noise ratio for a frequency sub-band comprises:
obtaining a signal energy for the frequency sub-band,
estimating a background noise energy for the frequency sub-band, and
calculating the signal to noise ratio of the frequency sub-band based on the signal energy and the background noise energy of the frequency sub-band.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the signal energy of the frequency sub-band is a smoothed signal energy, the smoothed signal energy is a weighted average between the signal energy of the frequency sub-band in the received frame and the signal energy of the frequency sub-band in at least one previously received frame.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the modified signal to noise ratio (mssnr) is calculated by summing up the sub-band specific parameter (sbsp) of each frequency sub-band as follows:
mssnr
=
∑
i
=
0
N

sbsp

(
i
)
wherein N is the number of frequency sub-bands into which the input frame is divided, and
wherein sbsp(i) is the sub-band specific parameter of the ith frequency sub-band calculated based on the signal to noise ratio of the ith frequency sub-band using the adaptive function.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the sub-band specific parameter of the ith frequency sub-band sbsp(i) is calculated as follows:
sbsp(i)=(ƒ(snr(i))+α)β
wherein snr(i) is the signal to noise ratio of the ith frequency sub-band of the received frame of the input audio signal, (ƒ(snr(i))+α)β is the adaptive function used to calculate the sub-band specific parameter sbsp(i), and α, β are two configurable variables of the adaptive function.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the variable α of the adaptive function depends on a long term signal to noise ratio (lsnr) of the input audio signal as follows:
α=g(i,lsnr)
wherein g(i, lsnr) is a linear or non-linear function,
and wherein the variable β of the adaptive function depends on the long term signal to noise ratio (lsnr) of the input audio signal and φ:
β=h(lsnr,φ)
wherein h(lsnr, φ) is a non-linear function and φ=ƒ(snr(i))+α

### Claim 9 (depends on 8)

The method according to claim 8, wherein the variable α of the adaptive function is calculated through the function g(i, lsnr) by:
α=g(i,lnsr)=a(i)lsnr+b(i)
wherein a(i) and b(i) are real numbers depending on a sub-band index i (1≦i≦N), and wherein the variable β of the adaptive function is calculated through the function β=h(lsnr, φ) by:
β
=
h

(
lsnr
,
ϕ
)
=
{
β
1
ϕ
≥
d


and


lsnr
>
e
2
β
2
ϕ
≥
d


and


e
1
<
lsnr
≤
e
2
β
3
ϕ
≥
d


and


lsnr
≤
e
1
β
4
otherwise
wherein β1, β2, β3, β4, d, e1 and e2 are integer or floating numbers, β1<β2<β3 and e1<e2, and wherein lsnr is the long term signal to noise ratio.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the derived modified segmental signal to noise ratio (mssnr) is compared with a threshold value (thr) being set to:
thr
=
{
k
1
lsnr
>
e
2
k
2
e
1
<
lsnr
≤
e
2
k
3
lsnr
≤
e
1
wherein k1>k2>k3 and e1<e2 are integer or floating numbers, lsnr is the long term signal to noise ratio,
and wherein the voice activity detection decision (VADD) is generated as follows:
V


A


D


D
=
{
1
mssnr
>
thr
0
mssnr
≤
thr
wherein VADD=1 indicates that the received frame is an active frame with voice activity being present;
and VADD=0 indicates that the received frame is a passive frame with voice activity being absent.

### Claim 11 (depends on 7)

The method according to claim 7, wherein the variable α of the adaptive function depends on a long term signal to noise ratio (lsnr) of the input audio signal and an estimated background noise variation (ε) as follows:
α=g(i,lsnr,ε)=a(i)lsnr+b(i)+c(ε)
wherein a(i), b(i) are real numbers depending on a sub-band index i (1≦i≦N) and c(ε) is a real number depending on the estimated fluctuation of the background noise of the input audio signal, and
wherein the variable β of the adaptive function is calculated by:
β
=
h

(
lsnr
,
ϕ
,
ɛ
)
=
{
β
1
ϕ
≥
d


and


lsnr
>
e
2


and


ɛ
≤
p
β
2
ϕ
≥
d


and


lsnr
>
e
2


and


ɛ
>
p
β
3
ϕ
≥
d


and


e
1
<
lsnr
<
e
2


and


ɛ
≤
p
β
4
ϕ
≥
d


and


e
1
<
lsnr
<
e
2


and


ɛ
>
p
β
5
ϕ
≥
d


and


lsnr
≤
e
1


and


ɛ
≤
p
β
6
ϕ
≥
d


and


lsnr
≤
e
1


and


ɛ
>
p
β
7
ϕ
<
d
wherein φ=ƒ(snr(i))+α, β1-β7, d, p, e1 and e2 are integer or floating numbers, lsnr is the long term signal to noise ratio, and e1<e2.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the derived modified segmental signal to noise ratio (mssnr) is compared with a threshold value (thr) being set to:
thr
=
{
q
1
+
r
1
·
Min

[
lsnr
-
v
1
W
1
,
1
]
lsnr
>
e
2
q
2
+
r
2
·
Min

[
lsnr
-
v
2
W
2
,
1
]
e
1
<
lsnr
≤
e
2
q
3
+
r
3
·
Max

[
lsnr
-
v
3
W
3
,
1
]
lsnr
≤
e
1
wherein q1, q2, q3, r1, r2, r3, e1, e2, v1, v2, v3 and W1, W2, W3 are integer or floating numbers, e1<e2;
and wherein the voice activity detection decision (VADD) is generated as follows:
V


A


D


D
=
{
1
mssnr
>
thr
0
mssnr
≤
thr
wherein VADD=1 indicates that the received frame is an active frame with voice activity being present;
and VADD=0 indicates that the received frame is a passive frame with voice activity being absent.

### Claim 13

A voice encoder, comprising a receiver and a memory storing program codes for execution by a processor, wherein:
the receiver is configured to receive at least one frame of an input audio signal; and
the program codes comprise instructions for:
determining a noise attribute of the input audio signal based on the received frame of the input audio signal,
dividing the received frame of the input audio signal into one or more frequency sub-bands,
obtaining a signal to noise ratio for each of the one or more frequency sub-bands,
calculating a sub-band specific parameter of each frequency sub-band based on the signal to noise ratio of the frequency sub-band using an adaptive function, wherein at least one parameter of the adaptive function is selected based on the noise attribute of the input audio signal,
deriving a modified segmental signal to noise ratio as a voice activity detection (VAD) parameter by summing up the sub-band specific parameter of frequency each sub-band, and
comparing the VAD parameter with a threshold value to provide a voice activity detection decision (VADD).

### Claim 14 (depends on 13)

The voice encoder according to claim 13, wherein the noise attribute of the input audio signal is one of:
a long term signal to noise ratio,
a background noise variation, or
a long term signal to noise ratio and a background noise variation.

### Claim 15 (depends on 13)

The voice encoder according to claim 13, wherein the adaptive function is a non-linear function.

### Claim 16 (depends on 13)

The voice encoder according to claim 13, wherein obtaining a signal to noise ratio for a frequency sub-band comprises:
obtaining a signal energy of the frequency sub-band,
estimating a background noise energy for the frequency sub-band, and
calculating the signal to noise ratio of the frequency sub-band based on the signal energy and the background noise energy of the frequency sub-band.

### Claim 17 (depends on 13)

The voice encoder according to claim 13, further comprising an audio signal processor, wherein the audio signal processor is configured to process the audio input signal according to the VADD.

### Claim 18 (depends on 16)

The voice encoder according to claim 16, wherein the signal energy of the sub-band is a smoothed signal energy, the smoothed signal energy is a weighted average between the signal energy of the frequency sub-band in the received frame and the signal energy of the frequency sub-band in at least one previously received frame.

### Claim 19 (depends on 13)

The voice encoder according to claim 13, wherein the variable α of the adaptive function depends on a long term signal to noise ratio (lsnr) of the input audio signal as follows:
α=g(i,lsnr)
wherein g(i, lsnr) is a linear or non-linear function.
