# US 2021/0343309 A1 · System and a method for sound recognition

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

- Number: US 2021/0343309 A1
- Document ID: US20210343309A1
- Status: Published application
- Kind: A1
- Application number: 17/243,112
- Filed: 2021-04-28
- Published: 2021-11-04
- Earliest claimed: 2020-05-01
- Assignees: SystèMes De ContrôLe Actif Soft Db Inc.
- Applicants: SystèMes De ContrôLe Actif Soft Db Inc.
- Inventors: Alex BOUDREAU; Michel PEARSON; Louis-Alexis BOUDREAULT; Shean DE MONTIGNY-DESAUTEL
- Web page: https://patentgrep.com/patent/US20210343309A1

## CPC

- G10L 25/51: for comparison or discrimination
- G10L 21/02: Speech enhancement, e.g. noise reduction or echo cancellation (reducing echo effects in line transmission systems H04B3/20; echo suppression in hands-free telephones H04M9/08)
- G10L 21/14: by displaying frequency domain information
- G10L 25/18: the extracted parameters being spectral information of each sub-band
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A method for automatic for sound recognition, comprising a) raw spectrogram generation from a sound signal spectrum; b) wide-band spectrum determination; c) wide-band continuous spectrum determination; d) tonal and time-transient spectrum determination; wide-band continuous spectrogram and tonal and time-transient spectrogram determination; and) spectrogram image generation.

## Claims

### Claim 1

A method for automatic for sound recognition, comprising:
a) raw spectrogram generation from a sound signal spectrum;
b) wide-band spectrum determination;
c) wide-band continuous spectrum determination;
d) tonal and time-transient spectrum determination;
e) wide-band continuous spectrogram and tonal and time-transient spectrogram determination; and
f) spectrogram image generation.

### Claim 2 (depends on 1)

The method of claim 1, wherein step a) comprises using a fractional octave filter bank, yielding a filtered time-signal per frequency band; step b) comprises using a wide-band spectral envelope; step c) comprises using an exponential percentile estimator applied on the wide-band spectrum; step d) comprises subtracting the wide-band continuous spectrum from the sound signal spectrum; and step f) comprises using the tonal and time-transient spectrogram and the wide-band continuous spectrogram.

### Claim 3 (depends on 2)

The method of claim 2, wherein step a) comprises using a frequency-adapted band filter time response.

### Claim 4 (depends on 2)

The method of claim 2, wherein step b) comprises selecting using a cubic spline minimizing the following relation:
p
⁢
∑
i
=
0
n
-
1
⁢
w
i
·
(
y
i
-
f
⁡
(
x
i
)
)
2
+
(
1
-
p
)
·
w
with:
p=spline balance
w=weight between 0 and 1 of every value of [y]
f=spline equation; and
determining a first spline curve with a first unitary weight w1=1 for all points and a first spline balance p1; and a second spline curve using a second unitary weight with w2=1 for all points lying below the first spline curve, a third weight w3<w2 for all points lying above the first spline curve, and a second spline balance p2 higher than the first spline balance p1.

### Claim 5 (depends on 2)

The method of claim 2, wherein step a) comprises using a frequency-adapted band filter time response, and step b) comprises:
selecting using a cubic spline minimizing the following relation:
p
⁢
∑
i
=
0
n
-
1
⁢
w
i
·
(
y
i
-
f
⁡
(
x
i
)
)
2
+
(
1
-
p
)
·
w
with:
pp=spline balance
w=weight between 0 and 1 of every value of [y]
f=spline equation; and
determining a first spline curve with a first unitary weight w1=1 for all points and a first spline balance p1; and a second spline curve using a second unitary weight with w2=1 for all points lying below the first spline curve, a third weight w3<w2 for all points lying above the first spline curve, and a second spline balance p2 higher than the first spline balance p1.

### Claim 6 (depends on 2)

The method of claim 2, wherein step c) comprises selecting a frequency-adapted time constant for each frequency band signal.

### Claim 7 (depends on 2)

The method of claim 2, wherein step c) comprises selecting a frequency-adapted time constant for each frequency band signal, the time constant being selected to be shorter at high frequency and longer at low frequency.

### Claim 8 (depends on 2)

The method of claim 2, wherein step c) comprises selecting a frequency-adapted time constant for each frequency band signal as follows:
τ
=
1
(
Fh
-
Fl
)
·
log
⁡
(
Fc
)
with:
Fh=octave fraction filter upper cutoff frequency in Hertz
Fl=octave fraction filter upper cutoff frequency in Hertz
Fc=octave fraction filter center frequency in Hertz.

### Claim 9 (depends on 2)

The method of claim 2, wherein step c) comprises using an asymmetrical weight exponential average as a percentile estimator, expressed as follows:
y
⁡
[
n
]
=
{
x
⁡
[
n
]
,
n
=
0
(
1
-
α
)
·
x
⁡
[
n
]
+
α
·
y
⁡
[
n
-
1
]
,
n
≥
1
with y[n] is an average result at sample n; x[n] is a value of input sample n; and ∝ is an average weight, determined as follows:
∝=e(−1/Fs·τ)
with Fs is a sampling frequency in Hertz and τ is a time constant, in seconds, selected with respect to the value x[n] of input sample n as a frequency-adapted time constant for each frequency band signal.

### Claim 10 (depends on 2)

The method of claim 2, wherein step c) comprises using an asymmetrical weight exponential average as a percentile estimator, expressed as follows:
y
⁡
[
n
]
=
{
x
⁡
[
n
]
,
n
=
0
(
1
-
α
)
·
x
⁡
[
n
]
+
α
·
y
⁡
[
n
-
1
]
,
n
≥
1
with y[n] is an average result at sample n; x[n] is a value of input sample n; and ∝ is an average weight, determined as follows:
∝=e(−1/Fs·τ)
with Fs is a sampling frequency in Hertz and τ is a time constant, in seconds, selected with respect to the value x[n] of input sample n as a frequency-adapted time constant for each frequency band signal as follows:
τ
=
1
(
Fh
-
Fl
)
·
log
⁡
(
Fc
)
with:
FFh=octave fraction filter upper cutoff frequency in Hertz
Fl=octave fraction filter upper cutoff frequency in Hertz
Fc=octave fraction filter center frequency in Hertz.

### Claim 11 (depends on 2)

The method of claim 2, wherein step b) comprises selecting a spectral envelope by using a cubic spline minimizing the following relation:
p
⁢
∑
i
=
0
n
-
1
⁢
w
i
·
(
y
i
-
f
⁡
(
x
i
)
)
2
+
(
1
-
p
)
·
w
with:
p=spline balance
w=weight between 0 and 1 of every value of [y]
f=spline equation; and
determining a first spline curve with a first unitary weight w1=1 for all points and a first spline balance p1; and a second spline curve using a second unitary weight with w2=1 for all points lying below the first spline curve, a third weight w3<w2 for all points lying above the first spline curve, and a second spline balance p2 higher than the first spline balance p1; and
step c) comprises using an asymmetrical weight exponential average as a percentile estimator, expressed as follows:
y
⁡
[
n
]
=
{
x
⁡
[
n
]
,
n
=
0
(
1
-
α
)
·
x
⁡
[
n
]
+
α
·
y
⁡
[
n
-
1
]
,
n
≥
1
with y[n] is an average result at sample n; x[n] is a value of input sample n; and ∝ is an average weight, determined as follows:
∝=e(−1/Fs·τ)
with Fs is a sampling frequency in Hertz and τ is a time constant in seconds selected with respect to the value x[n] of input sample n as a frequency-adapted time constant for each frequency band signal.

### Claim 12 (depends on 2)

The method of claim 2, wherein step d) comprises shifting the wide-band continuous spectrum and subtracting the shifted subtracting the wide-band continuous spectrum from the raw spectrum.

### Claim 13 (depends on 2)

The method of claim 2, wherein step b) comprises selecting a spectral envelope by using a cubic spline minimizing the following relation:
p
⁢
∑
i
=
0
n
-
1
⁢
w
i
·
(
y
i
-
f
⁡
(
x
i
)
)
2
+
(
1
-
p
)
·
w
with:
p=spline balance
w=weight between 0 and 1 of every value of [y]
f=spline equation and;
determining a first spline curve with a first unitary weight w1=1 for all points and a first spline balance p1; and a second spline curve using a second unitary weight with w2=1 for all points lying below the first spline curve, a third weight w3<w2 for all points lying above the first spline curve, and a second spline balance p2 higher than the first spline balance p1;
step c) comprises using an asymmetrical weight exponential average as a percentile estimator, expressed as follows:
y
⁡
[
n
]
=
{
x
⁡
[
n
]
,
n
=
0
(
1
-
α
)
·
x
⁡
[
n
]
+
α
·
y
⁡
[
n
-
1
]
,
n
≥
1
with y[n] is an average result at sample n; x[n] is a value of input sample n; and ∝ is an average weight, determined as follows:
∝=e(−1/Fs·τ)
with Fs is a sampling frequency in Hertz and τ is a time constant in seconds selected with respect to the value x[n] of input sample n as a frequency-adapted time constant for each frequency band signal; and
step d) comprises subtracting the wide-band continuous spectrum from the raw spectrum.

### Claim 14 (depends on 2)

The method of claim 2, wherein step e) comprises accumulating the wide-band continuous spectrum into the wide-band continuous spectrogram and accumulating the tonal and time-transient spectrum into the the tonal and time-transient spectrogram.

### Claim 15 (depends on 2)

The method of claim 2, wherein step f) comprises combining the wide-band continuous spectrogram and the tonal and time-transient spectrogram into spectrogram image frames.

### Claim 16 (depends on 2)

The method of claim 2, wherein step f) comprises using a first channel to store the wide-band continuous spectrogram and a second channel to store the tonal and time-transient spectrogram.

### Claim 17 (depends on 2)

The method of claim 2, wherein step f) comprises selecting a first dynamic range for generating tonal and time-transient spectrogram images, and a second dynamic range for generating wide-band continuous spectrogram images.

### Claim 18 (depends on 2)

The method of claim 2, wherein step b) comprises selecting a spectral envelope by using a cubic spline minimizing the following relation:
p
⁢
∑
i
=
0
n
-
1
⁢
w
i
·
(
y
i
-
f
⁡
(
x
i
)
)
2
+
(
1
-
p
)
·
w
with:
p=spline balance
w=weight between 0 and 1 of every value of [y]
f=spline equation; and
determining a first spline curve with a first unitary weight w1=1 for all points and a first spline balance p1; and a second spline curve using a second unitary weight with w2=1 for all points lying below the first spline curve, a third weight w3<w2 for all points lying above the first spline curve, and a second spline balance p2 higher than the first spline balance p1;
step c) comprises using an asymmetrical weight exponential average as a percentile estimator, expressed as follows:
y
⁡
[
n
]
=
{
x
⁡
[
n
]
,
n
=
0
(
1
-
α
)
·
x
⁡
[
n
]
+
α
·
y
⁡
[
n
-
1
]
,
n
≥
1
with y[n] is an average result at sample n; x[n] is a value of input sample n; and ∝ is an average weight, determined as follows:
∝=e(−1/Fs·τ)
with Fs is a sampling frequency in Hertz and τ is a time constant in seconds selected with respect to the value x[n] of input sample n as a frequency-adapted time constant for each frequency band signal;
step d) comprises subtracting the wide-band continuous spectrum from the raw spectrum; and
step e) comprises accumulating the wide-band continuous spectrum into the wide-band continuous spectrogram and accumulating the tonal and time-transient spectrum into the tonal and time-transient spectrogram.

### Claim 19 (depends on 2)

The method of claim 2, wherein step b) comprises selecting a spectral envelope by using a cubic spline minimizing the following relation:
p
⁢
∑
i
=
0
n
-
1
⁢
w
i
·
(
y
i
-
f
⁡
(
x
i
)
)
2
+
(
1
-
p
)
·
w
with:
p=spline balance
w=weight between 0 and 1 of every value of [y]
f=spline equation; and
determining a first spline curve with a first unitary weight w1=1 for all points and a first spline balance p1; and a second spline curve using a second unitary weight with w2=1 for all points lying below the first spline curve, a third weight w3<w2 for all points lying above the first spline curve, and a second spline balance p2 higher than the first spline balance p1;
step c) comprises using an asymmetrical weight exponential average as a percentile estimator, expressed as follows:
y
⁡
[
n
]
=
{
x
⁡
[
n
]
,
n
=
0
(
1
-
α
)
·
x
⁡
[
n
]
+
α
·
y
⁡
[
n
-
1
]
,
n
≥
1
with y[n] is an average result at sample n; x[n] is a value of input sample n; and ∝ is an average weight, determined as follows:
∝=e(−1/Fs·τ)
with Fs is a sampling frequency in Hertz and r is a time constant in seconds selected with respect to the value x[n] of input sample n as a frequency-adapted time constant for each frequency band signal;
step d) comprises subtracting the wide-band continuous spectrum;
step e) comprises accumulating the wide-band continuous spectrum into the wide-band continuous spectrogram and accumulating the tonal and time-transient spectrum into the tonal and time-transient spectrogram; and
step f) comprises combining the wide-band continuous spectrogram and the tonal and time-transient spectrogram into spectrogram image frames.

### Claim 20

A method for automatic for sound recognition, comprising a) raw spectrogram generation from a sound signal spectrum; b) wide-band spectrum determination; c) wide-band continuous spectrum determination; d) tonal and time-transient spectrum determination; e) wide-band continuous spectrogram and tonal and time-transient spectrogram determination; and f) spectrogram image generation;
wherein step a) comprises using a fractional octave filter bank using a frequency-adapted band filter time response, yielding a filtered time-signal per frequency band; step b) comprises using a wide-band spectral envelope; step c) comprises applying an exponential percentile estimator on the wide-band spectrum; step d) comprises subtracting the wide-band continuous spectrum from the raw sound signal spectrum; step e) comprises accumulating the wide-band continuous spectrum into the wide-band continuous spectrogram and accumulating the tonal and time-transient spectrum into the tonal and time-transient spectrogram; and step f) comprises combining the wide-band continuous spectrogram and the tonal and time-transient spectrogram into spectrogram image frames.
