# US 2022/0284909 A1 · Method, apparatus, and device for transient noise detection

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

- Number: US 2022/0284909 A1
- Document ID: US20220284909A1
- Status: Published application
- Kind: A1
- Application number: 17/728,405
- Filed: 2022-04-25
- Published: 2022-09-08
- Earliest claimed: 2019-11-13
- Assignees: Tencent Music Entertainment Technology (Shenzhen) Co., Ltd.
- Applicants: Tencent Music Entertainment Technology (Shenzhen) Co., Ltd.
- Inventors: Chaopeng ZHANG
- Web page: https://patentgrep.com/patent/US20220284909A1

## CPC

- G10L 19/025: Detection of transients or attacks for time/frequency resolution switching
- G10L 21/0216: characterised by the method used for estimating noise
- G10L 19/0216: {using wavelet decomposition}
- G10L 25/18: the extracted parameters being spectral information of each sub-band
- G10L 25/21: the extracted parameters being power information
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Disclosed is a method, an apparatus, and a device for transient noise detection. The method includes: obtaining an audio frame signal having a preset duration; performing wavelet decomposition on a first audio frame signal to obtain a first wavelet decomposition signal corresponding to the first audio frame signal; determining a first reference audio intensity value of a first sub-wavelet decomposition signal according to reference audio intensity values of all samples in the first sub-wavelet decomposition signal; determining energy distribution information of the first wavelet decomposition signal according to first reference audio intensity values of all sub-wavelet decomposition signals in the first wavelet decomposition signal; and determining a probability that the first audio frame signal is transient noise according to the energy distribution information of the first wavelet decomposition signal.

## Claims

### Claim 1

A method for transient noise detection, comprising:
obtaining a first audio frame signal having a preset duration, the first audio frame signal comprising a plurality of samples and an audio intensity value of each sample;
performing wavelet decomposition on the first audio frame signal to obtain a first wavelet decomposition signal corresponding to the first audio frame signal, the first wavelet decomposition signal comprising a plurality of sub-wavelet decomposition signals, and each sub-wavelet decomposition signal comprising a plurality of samples and an audio intensity value of each sample;
determining a first reference audio intensity value of a first sub-wavelet decomposition signal according to reference audio intensity values of all samples in the first sub-wavelet decomposition signal;
determining energy distribution information of the first wavelet decomposition signal according to first reference audio intensity values of all sub-wavelet decomposition signals in the first wavelet decomposition signal; and
determining a probability that the first audio frame signal is transient noise according to the energy distribution information of the first wavelet decomposition signal.

### Claim 2 (depends on 1)

The method of claim 1, wherein obtaining the first audio frame signal having the preset duration comprises:
obtaining a first audio signal, the first audio signal comprising at least one audio frame signal, the at least one audio frame signal comprising the first audio frame signal, for each audio frame signal, performing wavelet decomposition to obtain a plurality of wavelet decomposition signals corresponding to each audio frame signal;
obtaining a wavelet signal sequence by splicing the wavelet decomposition signals corresponding to each audio frame signal according to a framing order of the at least one audio frame signal in the first audio signal, wherein
the method further comprises:
obtaining a first minimum audio intensity value of a first preset number of consecutive samples in the wavelet signal sequence and a second minimum audio intensity value of a second present number of consecutive samples in the wavelet signal sequence, wherein the first preset number of consecutive samples comprises a target sample and is before the target sample in the wavelet signal sequence, the second preset number of consecutive samples comprises the target sample and is after the target sample in the wavelet signal sequence, and determining a second reference audio intensity value according to the first minimum audio intensity value and the second minimum audio intensity value;
determining an average reference audio intensity value of the first audio frame signal according to second reference audio intensity values of all samples in the first wavelet decomposition signal;
determining a first probability according to the average reference audio intensity value of the first audio frame signal;
determining the probability that the first audio frame signal is transient noise according to the energy distribution information of the first wavelet decomposition signal comprises:
obtaining a second probability according to the energy distribution information of the first wavelet decomposition signal; and
determining the probability that the first audio frame signal is transient noise according to the first probability and the second probability.

### Claim 3 (depends on 1)

The method of claim 1, wherein obtaining the first audio frame signal having the preset duration comprises:
obtaining a first audio signal, the first audio signal comprising at least one audio frame signal, the at least one audio frame signal comprising the first audio frame signal, wherein
the method further comprises:
dividing the first audio signal to a plurality of processing signals, wherein each processing signal comprises a third preset number of consecutive samples, an audio intensity value of each sample, and a frequency value of each sample, wherein the first audio signal comprises a plurality of audio frame signals;
determining a first smooth audio intensity value of a target sample according to an audio intensity value of a sample, wherein the sample is in a previous processing signal of a first processing signal where the target sample is located and has a frequency value same as the target sample, and an audio intensity value of the target sample;
determining an inhibition coefficient of the target sample according to a probability that an audio frame signal where the target sample is located is transient noise, the first smooth audio intensity value of the target sample, and the audio intensity value of the target sample; and
performing suppression on an audio intensity value of each sample in an audio frame signal where the target sample is located to obtain a suppressed audio frame signal, according to inhibition coefficients of all samples in the audio frame signal where the target sample is located.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
obtaining a probability that the first audio frame signal is transient noise and a probability that the second audio frame signal is transient noise, wherein the second audio frame signal is a previous audio frame signal of the first audio frame signal; and
obtaining a first smoothing probability according to the probability that the first audio frame signal is the transient noise and the probability that the second audio frame signal is transient noise and using the first smoothing probability as the probability that the first audio frame signal is transient noise.

### Claim 5 (depends on 2)

The method of claim 2, wherein determining the average reference audio intensity value of the first audio frame signal according to the second reference audio intensity values of all samples in the wavelet decomposition signal comprises:
dividing the wavelet signal sequence to a plurality of signals to-be-smoothed, wherein each signal to-be-smoothed comprises a fourth preset number of consecutive samples and an audio intensity value of each sample, each signal to-be-smoothed corresponds to a smoothing function, a time width of a definition domain of the smoothing function is not greater than a time width of the signal to-be-smoothed, a maximum value of a first smoothing function in the smoothing functions is located at a center of a definition domain of the first smoothing function;
determining an average of audio intensity values of all samples in the first signal to-be-smoothed as a first average reference audio intensity value of all samples in the first smoothing signal; and
performing convolution operation on the first average reference audio intensity value of all samples in each signal to-be-smoothed in the wavelet signal sequence and a corresponding smoothing function value to obtain a convolutional result, and using the convolutional result as an average reference audio intensity value of the first audio frame signal, wherein the smoothing function value is obtained according to the smoothing function and a time of a corresponding sample.

### Claim 6 (depends on 2)

The method of claim 2, further comprising:
before obtaining the first minimum audio intensity value of the first preset number of consecutive samples in the wavelet signal sequence, wherein the first preset number of consecutive samples comprises the target sample and is before the target sample in the wavelet signal sequence,
obtaining a third reference audio intensity of the target sample by multiplying an audio intensity value of a previous sample of the target sample in the wavelet signal sequence with a smoothing coefficient;
obtaining a fourth reference audio intensity value of the target sample by multiplying a remaining smoothing coefficient with an average of audio intensity values of all consecutive samples in the wavelet signal sequence which comprise the target sample and are spliced before the target sample in the wavelet signal sequence; and
obtaining the audio intensity value of the target sample by adding the third reference audio intensity value with the fourth reference audio intensity value.

### Claim 7 (depends on 1)

The method of claim 1, wherein the reference audio intensity value comprises an average and a variance of audio intensity values of a fifth preset number of consecutive samples.

### Claim 8 (depends on 1)

The method of claim 1, wherein the probability that the first audio frame signal is transient noise is expressed as
res
⁡
(
n
)
=
[
1
2
⁢
(
cos
⁡
(
result
(
n
)
×
π
λ
+
π
)
+
1
)
]
2
;
wherein result(n) represents energy distribution information of a wavelet decomposition signal corresponding to the nth audio frame signal, n represents an frame index indicating the nth audio frame signal, λ represents a first preset threshold, if a value of result(n) is greater than the first preset threshold, the probability that the first audio frame signal is transient noise is 1.

### Claim 9 (depends on 8)

The method of claim 8, wherein the energy distribution information of the first wavelet decomposition signal corresponding to the first audio frame signal is expressed as
result
(
n
)
=
Σ
1
l
[
1
N
⁢
Σ
i
=
(
n
-
1
)
⁢
N
+
1
n
⁢
N
⁢
(
x
l
(
i
)
-
m
l
1
(
i
-
1
)
)
m
l
2
(
i
-
1
)
]
;
wherein l represents the number of sub-wavelet decomposition signals comprised in the first wavelet decomposition signal, N represents the number of samples comprised in each sub-wavelet decomposition signal, n represents a frame index indicating the nth audio frame signal, xl(i) represents an audio intensity value of the lth sub-wavelet decomposition signal at the ith sample in a wavelet decomposition signal, ml1(i−1) represents an average of audio intensity values till the (i−1)th sample in the lth sub-wavelet decomposition signal, ml2(i−1) represents a variance of audio intensity values till the (i−1)th sample in the lth sub-wavelet decomposition signal.

### Claim 10 (depends on 1)

The method of claim 1, wherein determining the probability that the first audio frame signal is transient noise according to the energy distribution information of the first wavelet decomposition signal comprises:
obtaining a first average of audio intensity values of all samples in a first sub-wavelet decomposition signal and a second average of audio intensity values of all samples in a second sub-wavelet decomposition signal; and
determining the probability that the first audio frame signal is transient noise according a ratio between the first average and the second average.

### Claim 11 (depends on 2)

The method of claim 2, wherein the second probability is expressed as
p
S
(
n
)
=
1
1
+
e
thr
g
(
thr
s
-
s
c
(
n
)
)
;
wherein thrg represents a second preset threshold, thrs represents a third preset threshold, n represents a frame index indicating the nth audio frame signal, Sc(n) represents an average reference audio intensity value of the nth audio frame signal.

### Claim 12 (depends on 2)

The method of claim 2, further comprising:
before obtaining the first audio signal,
compensating high-frequency components of a first preset threshold in an original audio signal having the preset duration to obtain the first audio signal.

### Claim 13 (depends on 1)

The method of claim 1, wherein performing wavelet decomposition on the first audio frame signal comprises:
performing wavelet packet decomposition on the audio frame signal and using a signal obtained through wavelet packet decomposition as the wavelet decomposition signal.

### Claim 14

An apparatus for transient noise detection, comprising:
an obtaining module configured to obtain a first audio frame signal having a preset duration, the first audio frame signal comprising a plurality of samples and an audio intensity value of each sample;
a decomposition module configured to perform wavelet decomposition on a first audio frame signal to obtain a first wavelet decomposition signal corresponding to the first audio frame signal, the first wavelet decomposition signal comprising a plurality of sub-wavelet decomposition signals, and each sub-wavelet decomposition signal comprising a plurality of samples and an audio intensity value of each sample;
a determining module configured to determine a first reference audio intensity value of a first sub-wavelet decomposition signal according to reference audio intensity values of all samples in the first sub-wavelet decomposition signal;
the determining module is further configured to determine energy distribution information of the first wavelet decomposition signal according to first reference audio intensity values of all sub-wavelet decomposition signals in the first wavelet decomposition signal; and
the determining module is further configured to determine a probability that the first audio frame signal is transient noise according to the energy distribution information of the first wavelet decomposition signal.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the obtaining module configured to obtain the first audio frame signals having the preset duration is configured to:
obtain a first audio signal, the first audio signal comprising at least one audio frame signal, for each audio frame signal, performing wavelet decomposition to obtain a plurality of wavelet decomposition signals corresponding to each audio frame signal;
obtain a wavelet signal sequence by splicing the wavelet decomposition signals corresponding to each audio frame signal according to a framing order of the at least one audio frame signal in the first audio signal.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the obtaining module is further configured to:
obtain a first minimum audio intensity value of a first preset number of consecutive samples in the wavelet signal sequence and a second minimum audio intensity value of a second present number of consecutive samples in the wavelet signal sequence, wherein the first preset number of consecutive samples comprises a target sample and is before the target sample in the wavelet signal sequence, the second preset number of consecutive samples comprises the target sample and is after the target sample in the wavelet signal sequence, and determining a second reference audio intensity value according to the first minimum audio intensity value and the second minimum audio intensity value.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the determining module is further configured to:
determine an average reference audio intensity value of the first audio frame signal according to second reference audio intensity values of all samples in the first wavelet decomposition signal; and
determine a first probability according to the average reference audio intensity value of the first audio frame signal.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the determining module configured to determine the probability that the first audio frame signal is transient noise according to the energy distribution information of the first wavelet decomposition signal is configured to:
obtain a second probability according to the energy distribution information of the first wavelet decomposition signal; and
determine the probability that the first audio frame signal is transient noise according to the first probability and the second probability.

### Claim 19

A device for transient noise detection, comprising a transceiver, a processor, and a memory, wherein the processor is configured to execute computer programs stored in the memory to implement the following operations:
obtaining a first audio frame signal having a preset duration, the first audio frame signal comprising a plurality of samples and an audio intensity value of each sample;
performing wavelet decomposition on the first audio frame signal to obtain a first wavelet decomposition signal corresponding to the first audio frame signal, the first wavelet decomposition signal comprising a plurality of sub-wavelet decomposition signals, and each sub-wavelet decomposition signal comprising a plurality of samples and an audio intensity value of each sample;
determining a first reference audio intensity value of a first sub-wavelet decomposition signal according to reference audio intensity values of all samples in the first sub-wavelet decomposition signal;
determining energy distribution information of the first wavelet decomposition signal according to first reference audio intensity values of all sub-wavelet decomposition signals in the first wavelet decomposition signal; and
determining a probability that the first audio frame signal is transient noise according to the energy distribution information of the first wavelet decomposition signal.

### Claim 20 (depends on 1)

A non-transitory computer readable storage medium storing program codes which, when executed by a computer, are operable with the computer to perform the method of claim 1.
