# US 12,603,095 B2 · Stereo audio signal delay estimation method and apparatus

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

- Number: US 12,603,095 B2
- Document ID: US12603095B2
- Status: Granted
- Kind: B2
- Application number: 18/154,549
- Filed: 2023-01-13
- Published: 2023-05-18
- Granted: 2026-04-14
- Earliest claimed: 2020-07-17
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jiance Ding; Zhe Wang; Bin Wang; Bingyin Xia
- Web page: https://patentgrep.com/patent/US12603095B2

## CPC

- G10L 19/008: Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
- G10L 21/0232: Processing in the frequency domain
- G10L 25/51: for comparison or discrimination
- G10L 25/84: for discriminating voice from noise
- G10L 25/87: Detection of discrete points within a voice signal
- H04S 7/307: {Frequency adjustment, e.g. tone control (H04S7/301 takes precedence)}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- H04S: STEREOPHONIC SYSTEMS

## Abstract

A stereo audio signal delay estimation method includes obtaining a current frame of a stereo audio signal. The current frame includes a first channel audio signal and a second channel audio signal. Estimating an inter-channel time (ITD) of the current frame using a first algorithm when a signal type of a noise signal included in the current frame is a coherent noise signal type, or estimating the ITD using a second algorithm when the signal type of the noise signal is a diffuse noise signal type. The first algorithm includes weighting a frequency domain cross power spectrum based on a first weighting function that includes a first construction factor. The second algorithm includes weighting the frequency domain cross power spectrum based on a second weighting function that includes a second construction factor different from the first construction factor.

## Claims

### Claim 1

A method comprising:
obtaining a current frame of a stereo audio signal, wherein the current frame comprises a first channel audio signal, a second channel audio signal, and a noise signal; and
estimating an inter-channel time difference between the first channel audio signal and the second channel audio signal using a first algorithm when a first signal type of the noise signal is a coherent noise signal type or using a second algorithm when the first signal type is a diffuse noise signal type,
wherein the first algorithm comprises weighting a frequency domain cross power spectrum of the current frame based on a first weighting function comprising a first construction factor, wherein the second algorithm comprises weighting the frequency domain cross power spectrum based on a second weighting function comprising a second construction factor different from the first construction factor, and wherein estimating the inter-channel time difference using the first algorithm comprises:
obtaining a first channel frequency domain signal and a second channel frequency domain signal;
calculating the frequency domain cross power spectrum based on the first channel frequency domain signal and the second channel frequency domain signal;
weighting the frequency domain cross power spectrum based on the first weighting function to obtain a weighted frequency domain cross power spectrum; and
obtaining a first estimated value of the inter-channel time difference based on the weighted frequency domain cross power spectrum, and
wherein the first construction factor comprises: a first Wiener gain factor corresponding to the first channel frequency domain signal, a second Wiener gain factor corresponding to the second channel frequency domain signal, an amplitude weighting parameter, and a squared coherence value of the current frame.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
obtaining first noise coherence value of the current frame; and
determining that the first signal type of the noise signal is one of the coherent noise signal type when the first noise coherence value is greater than or equal to a preset threshold, or that the first signal type of the noise signal is the diffuse noise signal type when the first noise coherence value is less than the preset threshold.

### Claim 3 (depends on 2)

The method of claim 2, wherein obtaining the first noise coherence value of the current frame comprises:
performing speech endpoint detection on the current frame to determine a second signal type of the current frame; and
calculating the first noise coherence value when a detection result indicates that the second signal type is a noise signal type, or determining a second noise coherence value of a previous frame of the current frame of the stereo audio signal as the first noise coherence value when the detection result indicates that the second signal type is a speech signal type.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first channel audio signal is a first channel time domain signal, wherein the second channel audio signal is a second channel time domain signal, and wherein obtaining the first channel frequency domain signal and the second channel frequency domain signal comprises performing time-frequency transform on the first channel time domain signal to obtain the first channel frequency domain signal and on the second channel time domain signal to obtain the second channel frequency domain signal.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first channel audio signal is the first channel frequency domain signal, and wherein the second channel audio signal is the second channel frequency domain signal.

### Claim 6 (depends on 4)

The method of claim 4, wherein the first weighting function Φnew1(k) satisfies one of the following formulas:
Φ
new
⁢
_
⁢
1
(
k
)
=
W
x
⁢
1
(
k
)
⁢
W
x
⁢
2
(
k
)
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
β
×
Γ
2
(
k
)
(
1.
-
Γ
2
(
k
)
)
,
or
Φ
new
⁢
_
⁢
1
(
k
)
=
W
x
⁢
1
(
k
)
⁢
W
x
⁢
2
(
k
)
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
β
×
Γ
2
(
k
)
,
wherein β is the amplitude weighting parameter, β∈[0,1], Wx1(k) is the first Wiener gain factor corresponding to the first channel frequency domain signal, Wx2(k) is the second Wiener gain factor corresponding to the second channel frequency domain signal, X1(k) is the first channel frequency domain signal, X2(k) is the second channel frequency domain signal, X2*(k) is a conjugate function of X2(k), Γ2(k) is a squared coherence value of a kth frequency bin of the current frame,
Γ
2
(
k
)
=
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
2
❘
"\[LeftBracketingBar]"
X
1
(
k
)
❘
"\[RightBracketingBar]"
2
⁢
❘
"\[LeftBracketingBar]"
X
2
(
k
)
❘
"\[RightBracketingBar]"
2
,
k is a frequency bin index value, k=0, 1, . . . , NDFT−1, and NDFT is a total quantity of frequency bins of the current frame after time-frequency transform.

### Claim 7 (depends on 4)

The method of claim 4, wherein the first Wiener gain factor corresponding to the first channel frequency domain signal is a first initial Wiener gain factor of the first channel frequency domain signal, wherein the second Wiener gain factor corresponding to the second channel frequency domain signal is a second initial Wiener gain factor of the second channel frequency domain signal, and wherein after obtaining the current frame of the stereo audio signal, the method further comprises:
obtaining a second estimated value of a first channel noise power spectrum based on the first channel frequency domain signal;
determining the first initial Wiener gain factor based on the second estimated value;
obtaining a third estimated value of a second channel noise power spectrum based on the second channel frequency domain signal; and
determining the second initial Wiener gain factor based on the third estimated value.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first initial Wiener gain factor Wx1A(k) satisfies the following formulas:
W
x
⁢
1
A
(
k
)
=
❘
"\[LeftBracketingBar]"
X
1
(
k
)
❘
"\[RightBracketingBar]"
2
-
❘
"\[LeftBracketingBar]"
N
^
1
(
k
)
❘
"\[RightBracketingBar]"
2
❘
"\[LeftBracketingBar]"
X
1
(
k
)
❘
"\[RightBracketingBar]"
2
,
wherein the second initial Wiener gain factor Wx2A(k) satisfies the following formula:
W
x
⁢
2
A
(
k
)
=
❘
"\[LeftBracketingBar]"
X
2
(
k
)
❘
"\[RightBracketingBar]"
2
-
❘
"\[LeftBracketingBar]"
N
^
2
(
k
)
❘
"\[RightBracketingBar]"
2
❘
"\[LeftBracketingBar]"
X
2
(
k
)
❘
"\[RightBracketingBar]"
2
,
wherein |{circumflex over (N)}1(k)|2 is the second estimated value of the first channel noise power spectrum, |{circumflex over (N)}2(k)|2 is the third estimated value of the second channel noise power spectrum, X1(k) is the first channel frequency domain signal, X2(k) is the second channel frequency domain signal, k is a frequency bin index value, k=0, 1, . . . , NDFT−1, and NDFT is a total quantity of frequency bins of the current frame after time-frequency transform.

### Claim 9 (depends on 4)

The method of claim 4, wherein the first Wiener gain factor corresponding to the first channel frequency domain signal is a first improved Wiener gain factor of the first channel frequency domain signal, wherein the second Wiener gain factor corresponding to the second channel frequency domain signal is a second improved Wiener gain factor of the second channel frequency domain signal, and wherein after obtaining the current frame of the stereo audio signal, the method further comprises:
obtaining a first initial Wiener gain factor of the first channel frequency domain signal and a second initial Wiener gain factor of the second channel frequency domain signal;
constructing a first binary masking function for the first initial Wiener gain factor to obtain the first improved Wiener gain factor; and
constructing a second binary masking function for the second initial Wiener gain factor to obtain the second improved Wiener gain factor.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first improved Wiener gain factor Wx1B(k) satisfies the following formulas:
W
x
⁢
1
B
(
k
)
=
{
1
if
⁢
W
x
⁢
1
A
(
k
)
≥
μ
0
0
if
⁢
W
x
⁢
1
A
(
k
)
<
μ
0
,
wherein the second improved Wiener gain factor
W
x
⁢
2
x
⁢
1
B
(
k
)
satisfies the following formula:
W
x
⁢
2
B
(
k
)
=
{
1
if
⁢
W
x
⁢
2
A
(
k
)
≥
μ
0
0
if
⁢
W
x
⁢
2
A
(
k
)
<
μ
0
,
wherein μ0 is a binary masking threshold of the first Wiener gain factor and the second Wiener gain factor, W1A(k) is the first initial Wiener gain factor, and Wx2A(k) is the second initial Wiener gain factor.

### Claim 11 (depends on 1)

The method of claim 1, wherein the first channel audio signal is a first channel time domain signal, wherein the second channel audio signal is a second channel time domain signal, and wherein estimating the inter-channel time difference using the second algorithm comprises:
performing time-frequency transform on the first channel time domain signal to obtain a first channel frequency domain signal and on the second channel time domain signal to a second channel frequency domain signal;
calculating the frequency domain cross power spectrum based on the first channel frequency domain signal and the second channel frequency domain signal; and
weighting the frequency domain cross power spectrum based on the second weighting function to obtain a first estimated value of the inter-channel time difference, and
wherein the second construction factor comprises an amplitude weighting parameter and a squared coherence value of the current frame.

### Claim 12 (depends on 1)

The method of claim 1, wherein the first channel audio signal is a first channel frequency domain signal, wherein the second channel audio signal is a second channel frequency domain signal; wherein estimating the inter-channel time difference using the second algorithm comprises:
calculating the frequency domain cross power spectrum based on the first channel frequency domain signal and the second channel frequency domain signal;
weighting the frequency domain cross power spectrum based on the second weighting function to obtain a weighted frequency domain cross power spectrum; and
obtaining an estimated value of the inter-channel time difference based on the weighted frequency domain cross power spectrum,
wherein the second construction factor comprises an amplitude weighting parameter and a squared coherence value of the current frame.

### Claim 13 (depends on 11)

The method of claim 11, wherein the second weighting function Φnew2(k) satisfies the following formula:
Φ
new
⁢
_
⁢
2
(
k
)
=
1
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
β
×
Γ
2
(
k
)
,
wherein β is the amplitude weighting parameter, β∈[0,1], X1(k) is the first channel frequency domain signal, X2(k) is the second channel frequency domain signal, X2*(k) is a conjugate function of X2(k), Γ2(k) is a squared coherence value of a kth frequency bin of the current frame,
Γ
2
(
k
)
=
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
2
❘
"\[LeftBracketingBar]"
X
1
(
k
)
❘
"\[RightBracketingBar]"
2
⁢
❘
"\[LeftBracketingBar]"
X
2
(
k
)
❘
"\[RightBracketingBar]"
2
,
k is a frequency bin index value, k=0, 1, . . . , NDFT−1, and NDFT is a total quantity of frequency bins of the current frame after time-frequency transform.

### Claim 14

An apparatus, comprising:
a memory configured to store instructions; and
a processor coupled to the memory and configured to execute the instructions to cause the apparatus to:
obtain a current frame of a stereo audio signal, wherein the current frame comprises a first channel audio signal, a second channel audio signal, and a noise signal; and
estimate an inter-channel time difference between the first channel audio signal and the second channel audio signal using a first algorithm when a first signal type of the noise signal is a coherent noise signal type, or using a second algorithm when the first signal type is a diffuse noise signal type,
wherein the first algorithm comprises weighting a frequency domain cross power spectrum of the current frame based on a first weighting function comprising a first construction factor, and wherein the second algorithm comprises weighting the frequency domain cross power spectrum based on a second weighting function comprising a second construction factor different from the first construction factor, and wherein executing the instructions to cause the apparatus to estimate the inter-channel time difference using the first algorithm further causes the apparatus to:
obtain a first channel frequency domain signal and a second channel frequency domain signal;
calculate the frequency domain cross power spectrum based on the first channel frequency domain signal and the second channel frequency domain signal;
weight the frequency domain cross power spectrum based on the first weighting function to obtain a weighted frequency domain cross power spectrum; and
obtain a first estimated value of the inter-channel time difference based on the weighted frequency domain cross power spectrum, and
wherein the first construction factor comprises: a first Wiener gain factor corresponding to the first channel frequency domain signal, a second Wiener gain factor corresponding to the second channel frequency domain signal, an amplitude weighting parameter, and a squared coherence value of the current frame.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the processor is further configured to execute the instructions to cause the apparatus to:
obtain a first noise coherence value of the current frame; and
determine that the first signal type of the noise signal is one of the coherent noise signal type when the first noise coherence value is greater than or equal to a preset threshold, or that the first signal type of the noise signal is the diffuse noise signal type when the first noise coherence value is less than the preset threshold.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the processor is further configured to execute the instructions to cause the apparatus to:
perform speech endpoint detection on the current frame to determine a second signal type of the current frame; and
calculate the first noise coherence value of the current frame when a detection result indicates that the second signal type is a noise signal type, or determine a second noise coherence value of a previous frame of the current frame of the stereo audio signal as the first noise coherence value when the detection result indicates that the second signal type is a speech signal type.

### Claim 17 (depends on 14)

The apparatus of claim 14, wherein the first channel audio signal is a first channel time domain signal, and the second channel audio signal is a second channel time domain signal; and wherein the processor is further configured to execute the instructions to cause the apparatus to: perform time-frequency transform on the first channel time domain signal to obtain a first channel frequency domain signal and on the second channel time domain signal to obtain a second channel frequency domain signal.

### Claim 18 (depends on 14)

The apparatus of claim 14, wherein the first channel audio signal is the first channel frequency domain signal, and the second channel audio signal is the second channel frequency domain signal.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein the first weighting function Φnew1(k) satisfies one of the following formula:
Φ
new
⁢
_
⁢
1
(
k
)
=
W
x
⁢
1
(
k
)
⁢
W
x
⁢
2
(
k
)
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
β
×
Γ
2
(
k
)
(
1.
-
Γ
2
(
k
)
)
,
or
Φ
new
⁢
_
⁢
1
(
k
)
=
W
x
⁢
1
(
k
)
⁢
W
x
⁢
2
(
k
)
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
β
×
Γ
2
(
k
)
,
wherein β is the amplitude weighting parameter, β∈[0,1], Wx1(k) is the first Wiener gain factor corresponding to the first channel frequency domain signal, Wx2(k) is the second Wiener gain factor corresponding to the second channel frequency domain signal, X1(k) is the first channel frequency domain signal, X2(k) is the second channel frequency domain signal, X2*(k) is a conjugate function of X2(k), Γ2(k) is a squared coherence value of a kth frequency bin of the current frame,
Γ
2
(
k
)
=
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
2
❘
"\[LeftBracketingBar]"
X
1
(
k
)
❘
"\[RightBracketingBar]"
2
⁢
❘
"\[LeftBracketingBar]"
X
2
(
k
)
❘
"\[RightBracketingBar]"
2
,
k is a frequency bin index value, k=0, 1, . . . , NDFT−1, and NDFT is a total quantity of frequency bins of the current frame after time-frequency transform.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein the first Wiener gain factor corresponding to the first channel frequency domain signal is a first initial Wiener gain factor of the first channel frequency domain signal, and the second Wiener gain factor corresponding to the second channel frequency domain signal is a second initial Wiener gain factor of the second channel frequency domain signal, and wherein the processor is further configured to execute the instructions to cause the apparatus to:
obtain a second estimated value of a first channel noise power spectrum based on the first channel frequency domain signal, and determining the first initial Wiener gain factor based on the second estimated value; and
obtain a third estimated value of a second channel noise power spectrum based on the second channel frequency domain signal, and determining the second initial Wiener gain factor based on the third estimated value.

### Claim 21 (depends on 20)

The apparatus of claim 20, wherein the first initial Wiener gain factor Wx1A(k) satisfies the following formula:
W
x
⁢
1
A
(
k
)
=
❘
"\[LeftBracketingBar]"
X
1
(
k
)
❘
"\[RightBracketingBar]"
2
-
❘
"\[LeftBracketingBar]"
N
^
1
(
k
)
❘
"\[RightBracketingBar]"
2
❘
"\[LeftBracketingBar]"
X
1
(
k
)
❘
"\[RightBracketingBar]"
2
,
wherein the second initial Wiener gain factor Wx2A(k) satisfies the following formula:
W
x
⁢
2
A
(
k
)
=
❘
"\[LeftBracketingBar]"
X
2
(
k
)
❘
"\[RightBracketingBar]"
2
-
❘
"\[LeftBracketingBar]"
N
^
2
(
k
)
❘
"\[RightBracketingBar]"
2
❘
"\[LeftBracketingBar]"
X
2
(
k
)
❘
"\[RightBracketingBar]"
2
,
wherein |{circumflex over (N)}1(k)|2 is the second estimated value of the first channel noise power spectrum, |{circumflex over (N)}2(k)|2 is the third estimated value of the second channel noise power spectrum, X1(k) is the first channel frequency domain signal, X2(k) is the second channel frequency domain signal, k is a frequency bin index value, k=0, 1, . . . , NDFT−1, and NDFT is a total quantity of frequency bins of the current frame after time-frequency transform.

### Claim 22 (depends on 17)

The apparatus of claim 17, wherein the first Wiener gain factor corresponding to the first channel frequency domain signal is a first improved Wiener gain factor of the first channel frequency domain signal, and the second Wiener gain factor corresponding to the second channel frequency domain signal is a second improved Wiener gain factor of the second channel frequency domain signal, and wherein the processor is further configured to execute the instructions to cause the apparatus to:
obtain a first initial Wiener gain factor of the first channel frequency domain signal and a second initial Wiener gain factor of the second channel frequency domain signal;
construct a first binary masking function for the first initial Wiener gain factor to obtain the first improved Wiener gain factor; and
construct a second binary masking function for the second initial Wiener gain factor to obtain the second improved Wiener gain factor.

### Claim 23 (depends on 22)

The apparatus of claim 22, wherein the first improved Wiener gain factor Wx1B(k) satisfies the following formula:
W
x
⁢
1
B
(
k
)
=
{
1
if
⁢
W
x
⁢
1
A
(
k
)
≥
μ
0
0
if
⁢
W
x
⁢
1
A
(
k
)
<
μ
0
,
wherein the second improved Wiener gain factor
W
x
⁢
2
x
⁢
1
B
(
k
)
satisfies the following formula:
W
x
⁢
2
B
(
k
)
=
{
1
if
⁢
W
x
⁢
2
A
(
k
)
≥
μ
0
0
if
⁢
W
x
⁢
2
A
(
k
)
<
μ
0
,
wherein μ0 is a binary masking threshold of the first Wiener gain factor and the second Wiener gain factor, Wx1A(k) is the first initial Wiener gain factor, and Wx2A(k) is the second initial Wiener gain factor.

### Claim 24 (depends on 14)

The apparatus of claim 14, wherein the first channel audio signal is a first channel time domain signal, the second channel audio signal is a second channel time domain signal, and wherein the processor is further configured to execute the instructions to cause the apparatus to:
perform time-frequency transform on the first channel time domain signal to obtain a first channel frequency domain signal and on the second channel time domain signal to a second channel frequency domain signal;
calculate the frequency domain cross power spectrum based on the first channel frequency domain signal and the second channel frequency domain signal; and
weight the frequency domain cross power spectrum based on the second weighting function to obtain a first estimated value of the inter-channel time difference, and
wherein the second construction factor comprises an amplitude weighting parameter and a squared coherence value of the current frame.

### Claim 25 (depends on 14)

The apparatus of claim 14, wherein the first channel audio signal is a first channel frequency domain signal, and the second channel audio signal is a second channel frequency domain signal; and wherein the processor is further configured to execute the instructions to cause the apparatus to:
calculate the frequency domain cross power spectrum based on the first channel frequency domain signal and the second channel frequency domain signal;
weight the frequency domain cross power spectrum based on the second weighting function to obtain a weighted frequency domain cross power spectrum; and
obtain an estimated value of the inter-channel time difference based on the weighted frequency domain cross power spectrum,
wherein the second construction factor comprises an amplitude weighting parameter and a squared coherence value of the current frame.

### Claim 26 (depends on 24)

The apparatus of claim 24, wherein the second weighting function Φnew2(k) satisfies the following formula:
Φ
new
⁢
_
⁢
2
(
k
)
=
1
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
β
×
Γ
2
(
k
)
,
wherein β is the amplitude weighting parameter, β∈[0,1], X1(k) is the first channel frequency domain signal, X2(k) is the second channel frequency domain signal, X2*(k) is a conjugate function of X2(k), Γ2(k) is a squared coherence value of a kth frequency bin of the current frame,
Γ
2
(
k
)
=
❘
"\[LeftBracketingBar]"
X
1
(
k
)
⁢
X
2
*
(
k
)
❘
"\[RightBracketingBar]"
2
❘
"\[LeftBracketingBar]"
X
1
(
k
)
❘
"\[RightBracketingBar]"
2
⁢
❘
"\[LeftBracketingBar]"
X
2
(
k
)
❘
"\[RightBracketingBar]"
2
,
k is the frequency bin index value, k=0, 1, . . . , NDFT−1, and NDFT is a total quantity of frequency bins of the current frame after time-frequency transform.

### Claim 27

A computer program product comprising computer-executable instructions stored on a non-transitory computer-readable storage medium, the computer-executable instructions when executed by a processor of an apparatus, cause the apparatus to:
obtain a current frame of a stereo audio signal, wherein the current frame comprises a first channel audio signal, a second channel audio signal, and a noise signal; and
estimate an inter-channel time difference between the first channel audio signal and the second channel audio signal using one of a first algorithm when a first signal type of the noise signal is a coherent noise signal type, wherein the first algorithm comprises weighting a frequency domain cross power spectrum of the current frame based on a first weighting function comprising a first construction factor, or a second algorithm when the first signal type of the noise signal is a diffuse noise signal type, wherein the second algorithm comprises weighting the frequency domain cross power spectrum of the current frame based on a second weighting function comprising a second construction factor different from the first construction factor; and
wherein the computer-executable instructions to estimate the inter-channel time difference using the first algorithm when executed by the processor, further cause the apparatus to:
obtain a first channel frequency domain signal and a second channel frequency domain signal;
calculate the frequency domain cross power spectrum based on the first channel frequency domain signal and the second channel frequency domain signal;
weight the frequency domain cross power spectrum based on the first weighting function to obtain a weighted frequency domain cross power spectrum; and
obtain a first estimated value of the inter-channel time difference based on the weighted frequency domain cross power spectrum, and
wherein the first construction factor comprises: a first Wiener gain factor corresponding to the first channel frequency domain signal, a second Wiener gain factor corresponding to the second channel frequency domain signal, an amplitude weighting parameter, and a squared coherence value of the current frame.
