Inter-channel time difference estimation device and inter-channel time difference estimation method

The inter-channel time difference estimation device adaptively weights cross spectra based on ILD to improve ITD estimation accuracy, addressing the performance deterioration at large ILD values and enhancing encoding performance in stereo signal encoding.

WO2024202972A1PCT designated stage expired Publication Date: 2024-10-03PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/008025
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-14
Filing Date
2024-03-04
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing methods for estimating inter-channel time difference (ITD) in stereo signal encoding, such as the GCC-PHAT method, face performance deterioration when the inter-channel level difference (ILD) is large, leading to inaccurate ITD estimation.

Method used

An inter-channel time difference estimation device and method that adaptively weights the cross spectrum based on the ILD value, using different weighting coefficients for frequency bands below and above a threshold, and calculates the ILD from the absolute or energy sums of channel signals, to improve ITD estimation accuracy even when ILD is large.

Benefits of technology

The adaptive weighting approach enhances ITD estimation performance by reducing the impact of large ILD values, preventing erroneous ITD estimation and improving the sharpness of the inter-channel cross-correlation peak, thereby robustly estimating ITD across various signal conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024008025_03102024_PF_FP_ABST
    Figure JP2024008025_03102024_PF_FP_ABST
Patent Text Reader

Abstract

This inter-channel time difference estimation device comprises: a conversion unit for respectively converting a left (L) channel signal and a right (R) channel signal of a time domain constituting a stereo signal to an L channel spectrum signal and an R channel spectrum signal of a frequency domain; a computation unit for computing a cross-spectrum from the L channel spectrum signal and the R channel spectrum signal; a weighting unit for weighting the cross-spectrum in accordance with an inter-channel level difference (ILD) value related to the stereo signal; a conversion unit for converting the frequency-domain-weighted cross-spectrum to a time-domain inter-channel cross-correlation; and an estimation unit for estimating an inter-channel time difference (ITD) value for the stereo signal on the basis of the inter-channel cross-correlation.
Need to check novelty before this filing date? Find Prior Art

Description

Inter-channel time difference estimation device and inter-channel time difference estimation method

[0001] The present disclosure relates to an apparatus and method for estimating inter-channel time difference.

[0002] For example, there is a coding technique for stereo audio signals (hereinafter also referred to as stereo signals) (see, for example, Patent Document 1).

[0003] JP 2023-36893 A

[0004] Charles H. Knapp and G. Clifford Carter, “The Generalized Correlation Method for Estimation of Time Delay,” IEEE Trans. on Acoustics, Speech, and Signal Processing, vol. ASSP-24, no.4, pp.320-327, 1976

[0005] In stereo signal coding, there is room for improvement in the estimation of inter-channel time difference (ITD).

[0006] Non-limiting embodiments of the present disclosure contribute to providing an inter-channel time difference estimation device and an inter-channel time difference estimation method that can improve ITD estimation performance in encoding of stereo signals.

[0007] An inter-channel time difference estimation device according to an embodiment of the present disclosure includes a first conversion unit that converts a time-domain left (L) channel signal and a right (R) channel signal that constitute a stereo signal into a frequency-domain L channel spectral signal and an R channel spectral signal, respectively; a calculation unit that calculates a cross spectrum from the L channel spectral signal and the R channel spectral signal; a weighting unit that weights the cross spectrum according to an inter-channel level difference (ILD) value for the stereo signal; a second conversion unit that converts the weighted cross spectrum in the frequency domain into an inter-channel cross-correlation in the time domain; and an estimation unit that estimates an inter-channel time difference (ITD) value for the stereo signal based on the inter-channel cross-correlation.

[0008] These comprehensive or specific aspects may be realized as a system, an apparatus, a method, an integrated circuit, a computer program, or a recording medium, or may be realized as any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a recording medium.

[0009] According to an embodiment of the present disclosure, it is possible to improve the ITD estimation performance in encoding a stereo signal.

[0010] Further advantages and benefits of one embodiment of the present disclosure will become apparent from the specification and drawings. Such advantages and / or benefits may be provided by some embodiments and features described in the specification and drawings, respectively, but not necessarily all of them may be provided to obtain one or more identical features.

[0011] FIG. 1 shows an example of the configuration of a transmission system for speech and audio signals. FIG. 2 shows another example of the configuration of a speech and audio signal encoding device. Block diagram showing an example of the configuration of an ITD analysis and encoding unit. Block diagram showing an example of the configuration of an ITD analysis and encoding unit. Block diagram showing an example of the configuration of an ITD analysis and encoding unit. Block diagram showing an example of the configuration of an ITD analysis and encoding unit. Block diagram showing an example of the configuration of an ITD analysis and encoding unit.

[0012] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.

[0013] One method for encoding a stereo signal is to parameterize the stereo signal by the inter-channel time difference (ITD) for a stereo signal including an L channel (Left channel or L-ch) and an R channel (R-ch).

[0014] The inter-channel time difference (ITD) of a stereo signal is a parameter related to the time difference between the arrival times of sound between the left and right channels. For example, ITD estimation (or detection) involves calculating a cross spectrum (also called a cross power spectrum) based on the Fast Fourier Transform (FFT) spectra of a pair of channel signals included in the stereo signal. Then, the ITD is estimated based on the time lag relative to the peak position of the time-domain inter-channel cross correlation (ICC, or cross correlation function (CCF)) obtained by performing an Inverse Fast Fourier Transform (IFFT) on the cross spectrum.

[0015] One method for estimating ITD is the generalized cross-correlation phase transform (GCC-PHAT) method (see, for example, Non-Patent Document 1). Note that the GCC-PHAT method is also sometimes called the cross-power spectrum phase analysis (CSP) method.

[0016] In the GCC-PHAT method, for example, a cross spectrum calculated from the FFT spectrum of a pair of channel signals included in a stereo signal is weighted by the inverse of the amplitude of the cross spectrum.The GCC-PHAT method then estimates the ITD based on the time lag relative to the peak position of the time-domain inter-channel cross correlation (ICC) obtained by performing an IFFT on the weighted cross spectrum.

[0017] ITD is used, for example, in parametric stereo coding. Another parameter used in parametric stereo coding is the inter-channel level difference (ILD) for stereo signals. ILD is a parameter related to the level difference between the left and right channels.

[0018] If the ILD is large (for example, if there is a large level difference between the left and right channels), it is likely that one of the channels in the stereo signal was recorded far away or that there is some kind of obstacle in the path from the sound source to that channel. In this case, the ITD is likely to be some large value other than zero.

[0019] The ITD estimation method using the GCC-PHAT method is characterized by estimating the ITD using only the phase component (e.g., phase information) of the cross spectrum by weighting the cross spectrum with the inverse of the cross spectrum amplitude (e.g., whitening). However, when the ILD is large, the weighting of the cross spectrum component may not be appropriate. In this case, the ITD estimation performance may deteriorate (e.g., the ITD may become zero).

[0020] In one non-limiting embodiment of the present disclosure, a method for improving ITD estimation performance and encoding performance is described. For example, in one non-limiting embodiment of the present disclosure, when performing ITD estimation, a weighting of the cross spectrum is adaptively changed (or varied) according to the ILD. This makes it possible to improve ITD estimation performance even when the ILD is large.

[0021] [Configuration example of a speech and audio signal transmission system] Fig. 1 is a diagram showing a configuration example of a transmission system for speech signals or audio signals (for example, referred to as a speech and audio signal). Fig. 1(a) shows a configuration example of a speech and audio signal encoding device (hereinafter referred to as a "coding device"), and Fig. 1(b) shows a configuration example of a speech and audio signal decoding device (hereinafter referred to as a "decoding device").

[0022] [Example of configuration of encoding device] The encoding device 10 shown in Figure 1 (a) may include, for example, an input unit 11, an A / D conversion unit 12, an ILD analysis encoding unit 13, an ITD analysis encoding unit (e.g., corresponding to an inter-channel time difference estimation device) 14, a time difference adjustment unit 15, a stereo encoding unit 16, and a multiplexing unit 17.

[0023] The input unit 11 converts, for example, an input audio signal (for example, air vibration) into an electric signal (for example, an analog signal), and outputs the analog signal to the A / D conversion unit 12 .

[0024] The A / D conversion unit 12 converts, for example, an analog signal input from the input unit 11 into a digital signal, and outputs the digital signal to the ILD analysis and coding unit 13 , the ITD analysis and coding unit 14 , and the time difference adjustment unit 15 .

[0025] In the encoding device 10, at least one of the input unit 11 and the A / D conversion unit 12 may be provided in plural (for example, two) units in order to handle stereo signals.

[0026] The ILD analysis coding unit 13, for example, estimates and codes the inter-channel level difference (ILD) of the stereo signal input from the A / D conversion unit 12. The ILD analysis coding unit 13 outputs the estimated ILD (e.g., the ILD obtained by decoding the encoding result) to the ITD analysis coding unit 14 and the stereo coding unit 16, and outputs the ILD encoding result to the multiplexing unit 17. For example, the ILD analysis coding unit 13 may perform a process of calculating, as the ILD, an energy ratio for each channel obtained from the FFT spectrum of a pair of channel signals of the stereo signal. Note that the method of calculating the ILD is not limited to this.

[0027] The ITD analysis coding unit 14 estimates and codes the inter-channel time difference (ITD) of the stereo signal (e.g., L-channel signal and R-channel signal) input from the A / D conversion unit 12, for example, based on the ILD input from the ILD analysis coding unit 13. The ITD analysis coding unit 14 outputs the estimated ITD (e.g., the ITD decoded from the encoding result) to the time difference adjustment unit 15 and outputs the ITD encoding result to the multiplexing unit 17. For example, the ITD analysis coding unit 14 may perform processing to identify a time lag relative to the peak position of the inter-channel cross-correlation in the time domain obtained by performing IFFT on the cross spectrum calculated from the FFT spectrum of a pair of channel signals of the stereo signal. An example of the processing performed by the ITD analysis coding unit 14 will be described later.

[0028] As in the coding device 10 shown in FIG. 1(a), the ILD analysis coding unit 13 may be provided outside the ITD analysis coding unit 14, or as in the coding device 10a shown in FIG. 2, a configuration similar to the ILD analysis coding unit 13 may be provided inside the ITD analysis coding unit (ITD / ILD analysis coding unit 18 in FIG. 2).

[0029] The time difference adjustment unit 15 uses the ITD value input from the ITD analysis encoding unit 14 to adjust the time difference between the L channel (e.g., the L channel signal) and the R channel (e.g., the L channel signal) of the stereo signal input from the A / D conversion unit 12 (e.g., a process to eliminate time lag and align them), and outputs the time-adjusted stereo signal to the stereo encoding unit 16.

[0030] The stereo encoding unit 16 encodes the time-adjusted stereo signal (e.g., the L-channel signal and R-channel signal with the adjusted time difference) input from the time difference adjustment unit 15, and outputs the encoding result to the multiplexing unit 17.

[0031] An example of the internal configuration of the stereo encoding unit 16 will now be described.

[0032] The stereo encoding unit 16 may include, for example, a conversion unit (e.g., an FFT unit) that converts a signal from the time domain to a frequency domain signal, a stereo information extraction unit, a downmix unit, and an encoding unit (not shown).

[0033] The conversion unit converts, for example, the stereo signals (e.g., L channel signal and R channel signal) input to the stereo encoding unit 16 from the time domain to frequency domain data (e.g., FFT spectrum) for each channel, and outputs the data to the stereo information extraction unit and the downmix unit.

[0034] The stereo information extractor may extract the stereo information based on, for example, the FFT spectrum of each channel. For example, the stereo information extractor may parameterize the stereo signal using binaural cues such as ILD, ICC, and inter-channel phase difference (IPD), and output the parameterized stereo signal to the downmixer and the encoder. Note that the ILD may be input from, for example, the ILD analysis encoder 13.

[0035] The downmixing unit may, for example, modify (or manipulate) at least one FFT spectrum of the L channel and the R channel based on the FFT spectrum of each channel output from the conversion unit and the binaural cue parameters output from the stereo information extraction unit, perform downmixing, and generate a Mid signal (also referred to as an M signal, for example) and a Side signal (also referred to as an S signal, for example). For example, the downmixing unit may perform downmixing such that M=(L'+R') / 2 and S=(L'-R') / 2, and output the M signal and S signal to the encoding unit. Here, M is the Mid signal, S is the Side signal, L' is the modified FFT spectrum of the L channel, and R' is the modified FFT spectrum of the R channel.

[0036] The encoding unit encodes, for example, the M signal and S signal output from the downmix unit and the binaural cue parameters output from the stereo information extraction unit, and outputs the encoded data as an output signal of the stereo encoding unit 16.

[0037] An example of the internal configuration of the stereo encoding unit 16 has been described above.

[0038] The stereo encoding unit 16 is not limited to the encoding method described above, and may include various standardized audio and video codecs, such as those of the Moving Picture Experts Group (MPEG), the 3rd Generation Partnership Project (3GPP), or the International Telecommunication Union Telecommunication Standardization Sector (ITU-T).

[0039] In the encoding device 10, the multiplexing unit 17 multiplexes the encoded information (e.g., referred to as stereo encoded information or encoded stereo signal) input from the stereo encoding unit 16, the encoded data (e.g., referred to as ILD encoded information or encoded ILD) input from the ILD analysis encoding unit 13, and the encoded data (e.g., referred to as ITD encoded information or encoded ITD) input from the ITD analysis encoding unit 14, and transmits the multiplexed encoded information (e.g., referred to as encoded data) to the decoding device 20 via a communication network or a storage medium (not shown).

[0040] [Example of configuration of decoding device] The decoding device 20 shown in Figure 1 (b) may include, for example, a separation unit 21, an ITD decoding unit 22, an ILD decoding unit 23, a stereo decoding unit 24, a time difference adjustment unit 25, a D / A conversion unit 26, and an output unit 27.

[0041] The separation unit 21 receives encoded data generated in the encoding device 10 (or encoding device 10a), for example, via a communication network or a storage medium (not shown), separates the multiplexed encoded information from the encoded data, outputs the ITD encoded information to the ITD decoding unit 22, outputs the ILD encoded information to the ILD decoding unit 23, and outputs the stereo encoded information to the stereo decoding unit 24.

[0042] The ITD decoding unit 22 decodes the ITD from the ITD encoded information input from the separating unit 21 and outputs the decoded ITD (hereinafter referred to as the decoded ITD or the estimated ITD) to the time difference adjusting unit 25 .

[0043] The ILD decoding unit 23 decodes the ILD from the ILD encoded information input from the separating unit 21 and outputs the decoded ILD (hereinafter referred to as a decoded ILD or an estimated ILD) to the stereo decoding unit 24 .

[0044] The stereo decoding unit 24 decodes the stereo encoded information input from the separation unit 21 into a stereo signal, and outputs the decoded stereo signal (hereinafter referred to as a decoded stereo signal) to the time difference adjustment unit 25 .

[0045] An example of the internal configuration of the stereo decoding unit 24 will now be described.

[0046] The stereo decoding unit 24 may include, for example, a decoding unit, an upmixing unit, a stereo information synthesis unit, and a conversion unit (for example, an IFFT unit) that converts signals from the frequency domain to signals in the time domain (not shown).

[0047] The decoding unit decodes the input stereo coded information using a decoding method corresponding to the coding method used on the coding device 10 side, and outputs, for example, M signals, S signals, and binaural cue parameters to the upmixing unit and the stereo information synthesis unit. The decoding unit may include various standardized audio codecs, such as MPEG, 3GPP, or ITU-T. Note that the binaural cue parameters may include, for example, the decoded ILD input from the ILD decoding unit 23.

[0048] The upmixing unit may perform upmixing processing based on the M signal and S signal input from the decoding unit. For example, the upmixing unit performs upmixing processing such that L'=M+S and R'=MS, and outputs the L' signal and R' signal of the FFT spectrum to the stereo information synthesis unit.

[0049] The stereo information synthesis unit may, for example, perform the inverse operation of the encoding device 10 (e.g., the stereo information extraction unit) using binaural cue parameters (e.g., including the estimated ITD) input from the decoding unit and the L' signal and R' signal of the FFT spectrum input from the upmix unit, and output the L signal and R signal of the FFT spectrum to the conversion unit.

[0050] The conversion unit, for example, converts the L and R signals of the FFT spectrum into digital signals of the L and R channels in the time domain for each channel, and outputs the digital signals as output signals of the stereo decoding unit 24 (e.g., decoded stereo signals).

[0051] An example of the configuration of the stereo decoding unit 24 has been described above.

[0052] In the decoding device 20, the time difference adjustment unit 25 uses the decoded ITD input from the ITD decoding unit 22 to adjust the inter-channel time difference (e.g., process the time-aligned signals back into signals with the original time difference) for the decoded stereo signals (e.g., the decoded L-channel signal and the decoded R-channel signal) input from the stereo decoding unit 24, and outputs the time-adjusted decoded stereo signals to the D / A conversion unit 26.

[0053] The D / A conversion unit 26 converts, for example, the digital signal input from the time difference adjustment unit 25 into an audio signal (analog signal), and outputs it to the output unit 27 .

[0054] The output unit 27 converts the analog signal input from the D / A conversion unit 26 into air vibrations and outputs the converted signals via a speaker, for example.

[0055] In order to handle stereo signals, the decoding device 20 may include a plurality (for example, two) of at least one of the D / A conversion units 26 and the output units 27 .

[0056] [Configuration Example of ITD Analysis and Encoding Unit] Next, a configuration example and an operation example of the ITD analysis and encoding unit 14 will be described.

[0057] First, an example of the configuration of an ITD analyzing and encoding unit based on an existing method will be described. Fig. 3 is a block diagram showing an example of the configuration of an ITD analyzing and encoding unit.

[0058] The ITD analyzing and encoding unit shown in FIG. 3 may include, for example, an FFT unit 101, a cross-spectrum calculating unit 102, a cross-spectrum weighting unit 103, an IFFT unit 104, and an ITD detecting unit 105.

[0059] For example, time-domain stereo signals (e.g., an L channel or L channel signal (e.g., represented by "l") and an R channel or R channel signal (e.g., represented by "r")) may be input to the FFT unit 101, one channel at a time, independently. The FFT unit 101 converts, for example, each of the time-domain channel signals into a frequency-domain signal (hereinafter referred to as an "FFT spectrum," an "L channel spectrum signal," and an "R channel spectrum signal"). The FFT unit 101 outputs information related to the FFT spectrum to the cross-spectrum calculation unit 102. Note that the method of converting the time-domain signal into the frequency-domain signal is not limited to FFT, and other methods may be used.

[0060] Cross spectrum calculation section 102 calculates a cross spectrum based on the FFT spectrum of each channel input from FFT section 101. Cross spectrum calculation section 102 outputs information about the obtained cross spectrum to cross spectrum weighting section 103.

[0061] Cross spectrum weighting section 103 weights the cross spectrum input from cross spectrum calculation section 102, for example, with the inverse of the amplitude of the cross spectrum. Cross spectrum weighting section 103 outputs the weighted cross spectrum to IFFT section 104.

[0062] For example, IFFT section 104 converts (inversely converts) the cross spectrum weighted in cross-spectrum weighting section 103 from the frequency domain to a time domain signal. IFFT section 104 outputs the time domain signal obtained by the conversion to ITD detection section 105 as a weighted cross-correlation function (e.g., a whitened cross-correlation function). Note that the method of converting a frequency domain signal to a time domain signal is not limited to IFFT, and other methods may be used.

[0063] The ITD detection unit 105 detects (or estimates) the ITD based on, for example, the cross-correlation function in the time domain output from the IFFT unit 104 .

[0064] For example, the cross-correlation function CSP obtained in the IFFT unit 104 is 1,2(τ) is expressed as the following equation (1-1).

[0065] In equation (1-1), Φ 1,2 (ω) indicates the cross spectrum, and Wg indicates a weighting coefficient, which is expressed as in the following equation (1-2).

[0066] In equation (1-2), |Φ 1,2 (ω)| denotes the amplitude of the cross spectrum (amplitude spectrum).

[0067] In this way, the ITD analysis and coding unit shown in FIG. 3 calculates the cross-spectral amplitude |Φ of the stereo signal. 1,2 The ITD is detected based on the weighted cross spectrum using a weighting factor Wg based on |(ω)|.

[0068] As described above, when the ILD is large, the weighting of the cross-spectrum components in the ITD analyzing and coding unit shown in Fig. 3 becomes inappropriate, which may result in a deterioration in the ITD estimation performance in the ITD analyzing and coding unit shown in Fig. 3. Below, as an example, a method for improving the ITD estimation accuracy even when the ILD is large will be described.

[0069] FIG. 4 is a block diagram showing an example of the configuration of the ITD analyzing and encoding unit 14 according to this embodiment.

[0070] 4 (corresponding to, for example, an inter-channel time difference estimation device) is configured such that, compared to the configuration of the ITD analysis and coding unit shown in FIG. 3 , the cross-spectral weighting unit 103 is replaced with a cross-spectral adaptive weighting unit 111. In the ITD analysis and coding unit 14 shown in FIG. 4 , components different from the cross-spectral adaptive weighting unit 111 may be the same as those in FIG. 3 , for example.

[0071] 4, the ILD value input to the ITD analyzing / coding unit 14 may be input from an ILD analyzing / coding unit 13 provided outside the ITD analyzing / coding unit 14. Alternatively, as shown in an ITD analyzing / coding unit 14a shown in FIG. 5, the ILD value may be calculated in an ILD analyzing / coding unit 121 provided inside the ITD analyzing / coding unit 14a. In the ITD analyzing / coding unit 14a shown in FIG. 5, components different from the ILD analyzing / coding unit 121 may be the same as those in FIG. 4, for example. For example, the ITD analyzing / coding unit 14a shown in FIG. 5 corresponds to the ITD / ILD analyzing / coding unit 18 shown in FIG. 2.

[0072] The ILD analyzing and coding unit 121 (or an external ILD analyzing and coding unit 13; the same applies hereinafter) may calculate an ILD value from a time-domain stereo signal (e.g., an L-channel signal and an R-channel signal). For example, the ILD analyzing and coding unit 121 calculates the sum of absolute values ​​of each channel based on the time-domain stereo signal (e.g., Lch[t] and Rch[t]) in the current frame, and calculates the ratio of the absolute sums of each channel as the ILD.

[0073] For example, ILD may be expressed as the ratio of the absolute sum of the L channel signal (Lch[t]) to the absolute sum of the R channel signal (Rch[t]), as shown in the following equation (2-1): ILD = Σ( abs( Lch[t] ) ) / Σ( abs( Rch[t] ) ) (2-1)

[0074] Furthermore, the ILD analyzing and encoding unit 121 may use the ILD shown in equation (2-1) as the "current frame ILD" and calculate the "long-term ILD" expressed as in the following equation (2-2). For example, α may be 0.7 or another value. Long-term ILD = α × long-term ILD + (1 - α) × current frame ILD (2-2)

[0075] Furthermore, the ILD analyzing and encoding unit 121 may, for example, find the sum of the energies of each channel instead of the sum of the absolute values ​​of each channel calculated by equation (2-1), and calculate the ratio of the energy sums of each channel as the ILD.

[0076] For example, the ILD based on the energy sum of each channel may be expressed as the ratio of the energy sum of the L channel signal (Lch[t]) to the energy sum of the R channel signal (Rch[t]), as shown in the following equation (2-3): ILD = Σ( ( Lch[t] × Lch[t] ) ) / Σ( Rch[t] × Rch[t] ) ) (2-3)

[0077] Alternatively, the ILD analyzing and encoding unit 121 may calculate the ILD value from a frequency-domain stereo signal (e.g., an L-channel spectral signal and an R-channel spectral signal). For example, the ILD analyzing and encoding unit 121 may obtain spectral energy for each channel (e.g., NrgL[f] and NrgR[f]) based on the FFT spectrum of a pair of channel signals of the stereo signal, and calculate the ratio of the sum of the spectral energy of each channel as the ILD.

[0078] For example, the sum of the spectral energies of each channel is expressed as in the following equation (2-4). Furthermore, the ILD based on the sum of the spectral energies of each channel may be expressed as the ratio of the sum of the spectral energies of the L channel spectral signal (Lch[f]) to the sum of the spectral energy of the R channel spectral signal (Rch[f]), as in the following equation (2-5). GL = ΣNrgL[f], GR = ΣNrgL[f] (2-4) ILD = abs( ( sqrt( GL / (GR+1) ) - 1 ) / ( sqrt( GL / (GR+1) +1 ) ) (2-5)

[0079] In equation (2-5), ILD is a value in the range of 0<=ILD<1. For example, the closer the spectral energy sum of each channel is, the closer ILD is to 0, and the more different the spectral energy sum of each channel is, the closer ILD is to 1. Note that the function abs(x) is a function that returns the absolute value of x, and the function sqrt(x) is a function that returns the square root of x.

[0080] In equation (2-4), the ILD analyzing and encoding unit 121 may calculate the sum of the spectral energies of each channel in a portion (or a specific) of the frequency bands. For example, the ILD analyzing and encoding unit 121 may calculate the ILD using the spectral energy of a frequency band below 8 kHz. The specific frequency band is not limited to a frequency band below 8 kHz, and may be another frequency band.

[0081] 4 or 5 , cross-spectrum adaptive weighting section 111 weights the cross spectrum input from cross-spectrum calculation section 102, for example, with the reciprocal of the amplitude of the cross spectrum. After weighting according to the reciprocal of the amplitude of the cross spectrum, cross-spectrum adaptive weighting section 111 weights the cross spectrum according to the ILD value input from ILD analysis coding section 121.

[0082] Generally, frequency components that are important for humans to perceive the direction from which a sound is coming are considered to be 1500 Hz or less. Therefore, the cross-spectral adaptive weighting unit 111 weights the cross spectrum as follows, using an ILD value (e.g., a value obtained by equation (2-5)) and weighting coefficients (e.g., "weight_fac" and "weight_fac_2") according to the frequency band. For example, the cross-spectral adaptive weighting unit 111 uses the following weighting coefficients instead of the weighting coefficient Wg shown in equations (1-1) and (1-2): Weighting coefficient for frequencies below 1500 Hz: weight_fac Weighting coefficient for frequencies equal to or greater than 1500 Hz: weight_fac × pow(1 / (fn-1), weight_fac_2)

[0083] Here, f indicates a spectral bin, and n indicates the spectral bin corresponding to 1500 Hz. For example, if the spectral bin interval is 25 Hz, the spectral bin corresponding to 1500 Hz is n = 60. Furthermore, the function pow(x, y) indicates a function that returns the value of x raised to the yth power.

[0084] The weighting coefficients may be, for example, weight_fac = β, weight_fac_2 = ILD × γ. For example, β = 4 (1 < β <= 10) or γ = 10 / 3. β may be set in conjunction with ILD, for example, β = ILD × ε + 1 (1 < ε <= 10). Note that the values ​​of β, γ, and ε are not limited to these and may be other values.

[0085] In this way, the weighting coefficients used for weighting differ between the frequency band below 1500 Hz and the frequency band above 1500 Hz.

[0086] Regarding the above weighting coefficients, in the frequency band above 1500 Hz, the higher the frequency (spectral bin) f, the smaller the weighting coefficient (weight_fac × pow(1 / (fn-1), weight_fac_2) is set to, so that the cross-spectral components are reduced (e.g., weakened).

[0087] Furthermore, with regard to the weighting coefficient (weight_fac × pow(1 / (fn-1), weight_fac_2), if weight_fac_2 = ILD × γ, the larger the ILD (e.g., the larger the weight_fac_2), the greater the degree to which weight_fac is reduced by pow(1 / (fn-1), weight_fac_2), and therefore the cross-spectral components are reduced (e.g., weakened). On the other hand, the smaller the ILD (e.g., the smaller the weight_fac_2), the smaller the degree to which weight_fac is reduced by pow(1 / (fn-1), weight_fac_2), and therefore the cross-spectral components are less likely to be reduced.

[0088] Here, for example, if a frequency band above 1500 Hz contains other signal components (e.g., noise) that are different from the target for ITD estimation, the ITD may be erroneously estimated near zero due to the other signal components. On the other hand, as described above, when the ILD is large, the ITD is expected to assume a large value other than near zero. That is, when the ILD is large, an ITD value that appears near zero is likely to be erroneous. As described above, the ITD analysis / coding unit 14 (or the ITD analysis / coding unit 14a) reduces cross-spectral components above 1500 Hz as the ILD increases. This prevents the ITD from being erroneously estimated near zero even when other signal components (e.g., noise) different from the signal for which the ITD is to be estimated (e.g., a signal below 1500 Hz) are included. This allows the ITD analysis / coding unit 14 to appropriately estimate the ITD corresponding to frequency components (e.g., cross-spectral components below 1500 Hz) that are important for humans to perceive the direction of sound arrival.

[0089] Furthermore, the smaller the ILD, the less likely the cross-spectral components above 1500 Hz are to be reduced. Therefore, the ITD analysis and coding unit 14 can improve the accuracy of ITD estimation (e.g., the sharpness of the ICC peak in the time domain) by performing ITD estimation using components across the entire frequency band.

[0090] Furthermore, in the frequency band below 1500 Hz, the weighting coefficient is set to a constant value (e.g., weight_fac=β (constant)) regardless of the ILD value, or to a value that increases as the ILD increases (e.g., weight_fac=β=ILD×ε+1). This allows components below 1500 Hz, which are important frequency components for humans to perceive the direction from which a sound is coming, to remain unreduced by the weighting process regardless of the ILD value (or to be emphasized according to the ILD value). Therefore, the ITD analyzing and encoding unit 14 can appropriately estimate the ITD based on the components below 1500 Hz.

[0091] The weighting coefficients are not limited to the above example.

[0092] For example, the accuracy of ITD estimation may be degraded depending on the window characteristics of the FFT used to obtain the cross spectrum. Therefore, for example, if the influence of the FFT window extends to a very low frequency bin (e.g., "m"), the cross spectrum adaptive weighting unit 111 may set a smaller weight for bin m that is influenced by the FFT window.

[0093] For example, when the influence of the FFT window extends up to around 50 Hz, the cross-spectrum adaptive weighting unit 111 weights the cross spectrum as follows: Weighting coefficient for frequencies equal to or less than 50 Hz: weight_fac × pow(1 / (mf), weight_fac_2) Weighting coefficient for frequencies higher than 50 Hz and lower than 1500 Hz: weight_fac Weighting coefficient for frequencies equal to or higher than 1500 Hz: weight_fac × pow(1 / (fn-1), weight_fac_2)

[0094] Here, when the interval between spectral bins is 25 Hz, m = 3. Furthermore, weight_fac, weight_fac_2, f, and n are the same as those described above.

[0095] This reduces the cross-spectrum components in the frequency band below 50 Hz, thereby preventing degradation of ITD estimation accuracy due to the FFT window characteristics. Also, in the frequency band above 1500 Hz, as described above, the cross-spectrum components are reduced according to the frequency f and the ILD value, thereby preventing errors in ITD estimation.

[0096] In the above example, the frequency components below 1500 Hz are important for humans to perceive the direction from which a sound is coming, but this is not limiting and other frequencies (thresholds) may be used to determine the weighting coefficients. For example, if the frequency components below 1600 Hz are important for humans to perceive the direction from which a sound is coming, the cross-spectrum adaptive weighting unit 111 weights the cross spectrum as follows: Weighting coefficient for frequencies below 1600 Hz: weight_fac Weighting coefficient for frequencies above 1600 Hz: weight_fac × pow(1 / (fn-1), weight_fac_2)

[0097] Furthermore, when the influence of the FFT window is taken into consideration, the cross-spectrum adaptive weighting unit 111 weights the cross spectrum as follows: Weighting coefficient for frequencies equal to or lower than 50 Hz: weight_fac × pow(1 / (mf), weight_fac_2) Weighting coefficient for frequencies higher than 50 Hz and lower than 1600 Hz: weight_fac Weighting coefficient for frequencies equal to or higher than 1600 Hz: weight_fac × pow(1 / (fn-1), weight_fac_2)

[0098] Here, if the spectral bin interval is 25 Hz, n = 64. Also, weight_fac, weight_fac_2, m, and f are the same values ​​as above.

[0099] In the above example, the frequency (threshold) at which the FFT window has an effect on the ITD estimation is set to 50 Hz, but this is not limitative and other frequencies may be used.

[0100] As described above, in this embodiment, the ITD analysis / encoding unit 14 (or the ITD analysis / encoding unit 14 a) adaptively weights frequency components important for humans to perceive the sound arrival direction or cross spectra that do not adversely affect ITD estimation using an FFT window by multiplying them by a constant (e.g., β) or by weighting according to the ILD (e.g., β = ILD × ε + 1), while weighting (attenuating) the cross spectra of other frequency components according to the ILD. This allows the ITD analysis / encoding unit 14 to appropriately weight cross-spectral components according to the ILD value, thereby improving ITD estimation performance. Therefore, according to this embodiment, ITD estimation performance can be robustly improved even when the ILD value of the input signal is large.

[0101] Note that, in the above example, the case where the weighting coefficients (e.g., weight_fac and weight_fac_2) are separately set according to the frequency band has been described, but it is not limited thereto. For example, when the ILD in Equation (2-5) is greater than or equal to the threshold Th, a single weighting coefficient (e.g., weight_fac = 1 / f (f>=1) or weight_fac = 1 / sqrt(f)) may be set for the cross-spectrum of all frequency bands. Note that the threshold Th may be a value such as Th = 0.2 or 0.3, or other values. Also, for example, for all frequency bands, weight_fac = c + d / f (f>=1, 0<c<1, 0<d<1, c + d = 1) may be used. For example, c = 0.01 and d = 0.99 may be used, or other values. Also, for example, for all frequency bands, weight_fac = h - j×f / N (f>=1, h>=j×f / N, 0<j<h) may be used. For example, when h = 1, j = 0.99 (0<j<1) may be used. Also, N indicates the number of points of the FFT, and for example, N = 640 may be used.

[0102] (Modification Example 1) In Modification Example 1, the case where ITD estimation is performed using spectral flatness (SFM: Spectral Flatness Measurement) will be further described.

[0103] FIG. 6 is a block diagram showing a configuration example of the ITD analysis encoding unit 14b according to Modification Example 1.

[0104] The ITD analysis encoding unit 14b shown in FIG. 6 (for example, corresponding to an inter-channel time difference estimation device) is different, for example, in that the SFM calculation unit 131 is added as compared with FIGS. 4 and 5. In the ITD analysis encoding unit 14b shown in FIG. 6, the components different from the SFM calculation unit 131 may be the same as those in FIG. 4 or FIG. 5, for example. Note that in FIG. 6, at least one of the ILD analysis encoding unit 121 and the SFM calculation unit 131 may be provided outside the ITD analysis encoding unit 14b.

[0105] 6 , the SFM calculation unit 131 calculates the spectral flatness (SFM) of the stereo signal based on, for example, the FFT spectrum of each channel input from the FFT unit 101. For example, the stronger the tonality or periodicity of the input signal, the lower the SFM. The SFM calculation unit 131 outputs information about the calculated SFM to the cross-spectral adaptive weighting unit 111.

[0106] The cross-spectrum adaptive weighting unit 111 smoothes the cross spectrum input from the cross-spectrum calculation unit 102, for example, based on the SFM input from the SFM calculation unit 131. For example, the larger the SFM (the lower the tonality), the more likely the cross spectrum is to be whitened, and the smaller the SFM (the higher the tonality), the more likely weakly periodic components in the cross spectrum may be reduced (e.g., weakened). Note that Patent Document 1 may be referenced for an example of a method for calculating the SFM and smoothing the cross spectrum using the SFM.

[0107] The cross-spectrum adaptive weighting unit 111 weights the cross spectrum smoothed using SFM with the inverse of the amplitude (weighting coefficient) of the cross spectrum smoothed using SFM, and then weights the cross spectrum according to the ILD. Note that the weighting according to the ILD may be similar to the example described above.

[0108] This allows the ITD analyzing and coding unit 14b to stably estimate the ITD in accordance with the tonal characteristics based on the spectral flatness (SFM), thereby improving the accuracy of ITD estimation.

[0109] In the above description, SFM is used as a parameter for determining whether or not a stereo signal contains many zero-amplitude frequency components (for example, whether or not the signal has tonality or periodicity). However, this is not limited to this, and other parameters may also be used.

[0110] (Modification 2) In Modification 2, a case will be described in which ITD estimation is further performed using the maximum amplitude of the cross spectrum.

[0111] FIG. 7 is a block diagram showing an example of the configuration of an ITD analyzing and encoding unit 14c according to the second modification.

[0112] The ITD analyzing and coding unit 14c (e.g., corresponding to an inter-channel time difference estimation device) shown in Fig. 7 differs from Fig. 6 in that it additionally includes a maximum amplitude detecting unit 141. In the ITD analyzing and coding unit 14c shown in Fig. 7, components different from the maximum amplitude detecting unit 141 may be the same as those in Fig. 6, for example.

[0113] 7, at least one of the ILD analyzing and coding unit 121, the SFM calculating unit 131, and the maximum amplitude detecting unit 141 may be provided outside the ITD analyzing and coding unit 14 c. Also, the ITD analyzing and coding unit 14 c may not need to perform ITD estimation based on SFM (for example, Variation 1), and may not need to be provided with a corresponding configuration.

[0114] 7 , maximum amplitude detector 141 detects the maximum value of the cross spectrum amplitude (e.g., referred to as maximum amplitude) based on the cross spectrum (e.g., amplitude spectrum) of the current frame input from cross spectrum calculator 102. Maximum amplitude detector 141 outputs information related to the detected maximum amplitude of the cross spectrum to cross spectrum adaptive weighting section 111.

[0115] The cross-spectrum adaptive weighting unit 111 performs weighting based on the cross-spectrum amplitude and the maximum amplitude of the cross-spectrum input from the maximum amplitude detection unit 141, for example, on the cross-spectrum input from the cross-spectrum calculation unit 102 or the cross-spectrum smoothed by SFM (for example, Modification 1). After performing weighting based on the maximum amplitude of the cross-spectrum, the cross-spectrum adaptive weighting unit 111 performs weighting based on the ILD. Note that the weighting based on the ILD may be similar to, for example, the example described above.

[0116] For example, the weighting coefficient AdpWg based on the maximum amplitude of the cross spectrum is expressed as in the following equation (3-1).

[0117] In equation (3-1), |Φ 1,2where |(ω)| denotes the amplitude of the cross spectrum (amplitude spectrum), and C denotes a weighting control coefficient for adaptively changing the weighting coefficient AdpWg in accordance with the maximum amplitude of the cross spectrum. In this way, the ITD analysis and coding unit 14c adaptively changes the amplitude |Φ 1,2 The weighting coefficient AdpWg based on |(ω)| is varied.

[0118] For example, in equation (3-1), the value of C may be set to a constant value of about 1 / 10,000 to 1 / 100,000 of the maximum amplitude of the cross spectrum. In this case, the weight control coefficient C shown in equation (3-1) is calculated based on the amplitude |Φ 1,2 (ω)| is sufficiently small for large components (e.g., peak components) of amplitude |Φ 1,2 On the other hand, the weight control coefficient C shown in equation (3-1) is the reciprocal of the amplitude |Φ 1,2 For small components of |(ω)| (eg, zero amplitude components), the weighting factor AdpWg is large and can be close to zero.

[0119] As a result, for example, the ITD analysis encoding unit 14c weights small-amplitude components with a value smaller than the reciprocal of the cross-spectral amplitude, thereby further reducing (e.g., suppressing or weakening) the cross-spectral components. This allows the ITD analysis encoding unit 14c to appropriately weight the cross-spectrum even when the stereo signal contains many zero-amplitude frequency components (e.g., when the signal is highly tonal), thereby improving the accuracy of ITD estimation.

[0120] The weighting control coefficient C may be expressed as, for example, C=|CrSpMax|·D. Here, CrSpMax indicates the maximum amplitude of the cross spectrum detected by the maximum amplitude detector 141. D is a coefficient for adjusting C, and for example, D=10 -α or D=2 -β For example, α and β are coefficients for adjusting the influence (for example, degree) of the strength of the weighting.

[0121] For example, the coefficient α can take a positive value. The smaller the value of the coefficient α, the smaller the weighting coefficient AdpWg, making it easier to weaken frequency components with zero amplitude. On the other hand, the larger the value of the coefficient α, the larger the weighting coefficient AdpWg. For example, when α>10, the result is equivalent to weighting without using the weight control coefficient C (e.g., equation (1-2)). Furthermore, it has been experimentally found that a value in the range of 3≦α≦6 is desirable.

[0122] Furthermore, for example, the coefficient β can take a positive value. The smaller the value of the coefficient β, the smaller the weighting coefficient AdpWg, making it easier to weaken frequency components with zero amplitude. On the other hand, the larger the value of the coefficient β, the larger the weighting coefficient AdpWg. For example, it has been experimentally found that a value in the range of 10≦β≦20 is desirable.

[0123] The method of calculating C and the method of calculating D (for example, the set values ​​of α and β) are not limited to the above-mentioned example.

[0124] Furthermore, although the setting of the weighting control coefficient C according to the maximum amplitude of the cross spectrum has been described, the parameters used to set the weighting control coefficient C are not limited to the maximum amplitude of the cross spectrum. For example, the weighting control coefficient C may be set according to at least one of the maximum amplitude, average amplitude, and minimum amplitude of the cross spectrum. Alternatively, the parameters used to set the weighting control coefficient C may be fixed values ​​that do not depend on the amplitude of the cross spectrum.

[0125] (Modification 3) In Modification 3, a case will be described in which ITD estimation is further performed using IPD (for example, first-order difference of IPD spectrum).

[0126] FIG. 8 is a block diagram showing an example of the configuration of an ITD analyzing and encoding unit 14d according to the third modification.

[0127] An ITD analyzing and coding unit 14d (e.g., corresponding to an inter-channel time difference estimation device) shown in Fig. 8 differs from that shown in Fig. 7 in that it additionally includes a first-order differential calculation unit 151. In the ITD analyzing and coding unit 14d shown in Fig. 8, components different from the first-order differential calculation unit 151 may be the same as those shown in Fig. 7, for example.

[0128] 8, at least one of the ILD analysis coding unit 121, the SFM calculation unit 131, the maximum amplitude detection unit 141, and the first-order difference calculation unit 151 may be provided outside the ITD analysis coding unit 14d. Furthermore, the ITD analysis coding unit 14d does not need to perform ITD estimation based on at least one of the SFM and the maximum amplitude (for example, Modification 1 or Modification 2), and does not need to be provided with a corresponding configuration.

[0129] 8 , the first-order difference calculation unit 151 calculates an inter-channel phase difference spectrum (IPD spectrum) and calculates a first-order difference based on the IPD spectrum. When calculating the first-order difference of the IPD spectrum, the first-order difference calculation unit 151 may, for example, narrow the calculation to a frequency band in which linear features are likely to appear. For example, the frequency range for calculating the IPD spectrum may be 0 Hz to 1500 Hz or 0 kHz to 1600 Hz, taking into account the characteristics of human hearing.

[0130] Furthermore, when the first-order difference calculation unit 151 calculates the first-order difference of the IPD spectrum, if the phase difference folds over more than one period (e.g., from −π to +π), the first-order difference fluctuates significantly, which may affect the determination of the presence or absence of the "straight line." For this reason, the first-order difference calculation unit 151 may not use data close to the upper or lower limit of the phase (e.g., −π or +π) for the determination (e.g., calculation of the variance value). This improves the accuracy of the first-order difference determination. For example, the range of target data used for the first-order difference determination may be narrowed by setting IPD spectra with amplitudes in the range of −0.75π or greater and 0.75π or less as target data to be used for the determination.

[0131] The cross-spectrum adaptive weighting unit 111 may, for example, calculate the variance of the first-order difference to determine whether the IPD spectrum input from the first-order difference calculation unit 151 has a clear linear (sawtooth) characteristic. The smaller the variance of the calculated first-order difference, the higher the likelihood of a non-zero ITD. If the ITD is non-zero, the IPD spectrum is likely to contain a mixture of a clear linear (sawtooth) frequency band and other frequency bands. Therefore, for example, when the ILD is large, the cross-spectrum adaptive weighting unit 111 adaptively weights the IPD spectrum by increasing the cross-spectrum corresponding to the clear linear (sawtooth) frequency band and decreasing the cross-spectrum of other frequency components. Note that the coefficients for increasing and decreasing the weights according to the ILD may be the same as those in the above-described embodiment.

[0132] The embodiments of the present disclosure have been described above.

[0133] In addition, for signals input from a typical stereo microphone, the larger the ILD, the more likely the ITD is to deviate from 0. On the other hand, if there is a difference in sensitivity between the microphones corresponding to the two channels, or if the stereo signal is generated without using a microphone, the ILD may be large even if the ITD is 0. In this case, reducing the weight of the portion where the ITD is near 0 is not considered appropriate processing. Therefore, for example, the weighting processing in the cross-spectral adaptive weighting unit 111 is applied to cases where the input is from a typical stereo microphone and there is no difference in the performance of the two microphones (e.g., when the difference in performance between the microphones can be confirmed, or when the difference in performance between the microphones can be corrected even if there is a difference in performance), but may not be applied to other cases.

[0134] Here, cases where the difference in microphone performance can be corrected refer to cases where, for example, the average amplitude of the output from the left channel microphone and the output from the right channel microphone can be observed and adjustments can be made by multiplying the gain of at least one of the microphones so that the amplitude ratio between the two is 1. It also refers to any case where the characteristics of both microphones can be adjusted in advance to make them uniform.

[0135] Furthermore, when a stereo signal is generated without using a microphone, any stereo signal can be generated. Therefore, ILD and ITD are independent phenomena, making it difficult to assume a correlation between the two. Therefore, in this case, it is not necessary to apply cross-spectral weighting based on ILD. For example, if it is known that the selected input device is two microphone pairs installed in different locations on a terminal equipped with an audio encoding device, the above-described weighting may be applied. However, if another input device (e.g., an external microphone attached to the terminal) is selected, switching control may be performed so that the above-described weighting is not applied. For example, in order to determine whether to switch, the encoding device 10 may include means for acquiring information about the selected input device and confirming whether the selected input device is a stereo microphone consisting of two microphone pairs installed at different locations (e.g., with a certain distance between the microphones).

[0136] Furthermore, for example, the encoding device 10 may receive an input signal in a format accompanied by metadata including data indicating information about the recording environment, extract information about the input device used at the time of recording from the metadata, confirm whether the input device is a stereo microphone consisting of a pair of microphones with a certain distance between them, and control whether or not to apply the weighting described above.

[0137] Although various embodiments have been described above with reference to the drawings, it goes without saying that the present disclosure is not limited to such examples. Furthermore, the components in the above-described embodiments may be combined in any manner.

[0138] Furthermore, the notation "... section" in the above-described embodiments may be replaced with other notations such as "... circuitry," "... device," "... unit," or "... module."

[0139] The present disclosure can be realized by software, hardware, or software in conjunction with hardware. Each functional block used in the description of the above embodiments may be partially or entirely realized as an LSI, which is an integrated circuit, and each process described in the above embodiments may be partially or entirely controlled by a single LSI or a combination of LSIs. The LSI may be composed of individual chips, or may be composed of a single chip that includes some or all of the functional blocks. The LSI may have data input and output. Depending on the degree of integration, the LSI may also be called an IC, system LSI, super LSI, or ultra LSI.

[0140] The integrated circuit method is not limited to LSI, and may be realized by a dedicated circuit, a general-purpose processor, or a dedicated processor. Also, a field programmable gate array (FPGA) that can be programmed after LSI manufacturing, or a reconfigurable processor that can reconfigure the connections and settings of circuit cells within the LSI, may be used. The present disclosure may be realized as digital processing or analog processing.

[0141] Furthermore, if an integrated circuit technology that can replace LSI emerges due to advances in semiconductor technology or other derivative technologies, it is natural that such technology may be used to integrate functional blocks. The application of biotechnology, etc. is also a possibility.

[0142] The present disclosure may be implemented in any type of apparatus, device, or system (collectively referred to as a communications apparatus) that has a communications function. The communications apparatus may include a radio transceiver and processing / control circuitry. The radio transceiver may include a receiver and a transmitter, or both functions. The radio transceiver (transmitter and receiver) may include a radio frequency (RF) module and one or more antennas. The RF module may include an amplifier, an RF modulator / demodulator, or the like. Non-limiting examples of communication devices include telephones (e.g., cell phones, smartphones), tablets, personal computers (PCs) (e.g., laptops, desktops, notebooks), cameras (e.g., digital still / video cameras), digital players (e.g., digital audio / video players), wearable devices (e.g., wearable cameras, smartwatches, tracking devices), game consoles, digital book readers, telehealth / telemedicine devices, communication-enabled vehicles or mobile transportation (e.g., cars, airplanes, ships), and combinations of the above devices.

[0143] The communication devices are not limited to portable or mobile devices, but also include any kind of non-portable or fixed equipment, devices, and systems, such as smart home devices (such as home appliances, lighting equipment, smart meters or measuring devices, control panels, etc.), vending machines, and any other "things" that may exist on an IoT (Internet of Things) network.

[0144] Communications include data communications using cellular systems, wireless local area networks (LANs), communication satellite systems, and the like, as well as data communications using combinations of these.

[0145] A communications apparatus also includes devices such as controllers and sensors connected or coupled to a communications device that performs the communications functions described in this disclosure, such as controllers and sensors that generate control and data signals used by the communications device to perform the communications functions of the communications apparatus.

[0146] The communication apparatus also includes infrastructure facilities, such as base stations, access points, and any other apparatus, device, or system that communicates with or controls the various apparatuses listed above, but are not limited to these.

[0147] An inter-channel time difference estimation device according to an embodiment of the present disclosure includes a first conversion unit that converts a time-domain left (L) channel signal and a right (R) channel signal that constitute a stereo signal into a frequency-domain L channel spectral signal and an R channel spectral signal, respectively; a calculation unit that calculates a cross spectrum from the L channel spectral signal and the R channel spectral signal; a weighting unit that weights the cross spectrum according to an inter-channel level difference (ILD) value for the stereo signal; a second conversion unit that converts the weighted cross spectrum in the frequency domain into an inter-channel cross-correlation in the time domain; and an estimation unit that estimates an inter-channel time difference (ITD) value for the stereo signal based on the inter-channel cross-correlation.

[0148] In the inter-channel time difference estimation device according to an embodiment of the present disclosure, the weighting unit weights the cross spectrum with the inverse of the amplitude of the cross spectrum, and then weights the cross spectrum according to the ILD value.

[0149] In the inter-channel time difference estimation device according to an embodiment of the present disclosure, the weighting coefficients used for the weighting are different between a frequency band below a first threshold and a frequency band equal to or greater than the first threshold.

[0150] In the inter-channel time difference estimation device according to an embodiment of the present disclosure, when the ILD value is equal to or greater than a threshold, the weighting coefficient used for the weighting is uniform across the entire frequency band.

[0151] In an inter-channel time difference estimation device according to an embodiment of the present disclosure, the ILD value is calculated from the L channel signal and the R channel signal, or the L channel spectrum signal and the R channel spectrum signal.

[0152] In an inter-channel time difference estimation device according to one embodiment of the present disclosure, the ILD value is a ratio of the sum of absolute values ​​of the L channel signals to the sum of absolute values ​​of the R channel signals, or a ratio of the sum of energy of the L channel signals to the sum of energy of the R channel signals.

[0153] An inter-channel time difference estimation apparatus according to an embodiment of the present disclosure further includes a flatness calculation unit that calculates a spectral flatness of the stereo signal, and the weighting unit smoothes the cross spectrum based on the spectral flatness and then weights the cross spectrum according to the ILD value.

[0154] An inter-channel time difference estimation device according to an embodiment of the present disclosure further includes a detection unit that detects a maximum value of the amplitude of the cross spectrum, and the weighting unit weights the cross spectrum based on the maximum value and then weights the cross spectrum according to the ILD value.

[0155] An inter-channel time difference estimation device according to an embodiment of the present disclosure further includes a calculation unit that calculates a first-order difference of an inter-channel phase difference (IPD) value for the stereo signal, and the weighting unit performs weighting on the cross spectrum based on the first-order difference and then weights the IPD value according to the IPD value.

[0156] An encoding device according to one embodiment of the present disclosure includes the above-described inter-channel time difference estimation device, an adjustment unit that adjusts the time difference between the L channel signal and the R channel signal using the ITD value, an encoding unit that encodes the L channel signal and the R channel signal whose time difference has been adjusted and outputs them as an encoded stereo signal, and a multiplexing unit that multiplexes the encoded stereo signal and the ITD value.

[0157] In an inter-channel time difference estimation method according to an embodiment of the present disclosure, an inter-channel time difference estimation device converts a time-domain left (L) channel signal and a right (R) channel signal constituting a stereo signal into an L-channel spectral signal and an R-channel spectral signal in the frequency domain, respectively, calculates a cross spectrum from the L-channel spectral signal and the R-channel spectral signal, weights the cross spectrum according to an inter-channel level difference (ILD) value for the stereo signal, converts the weighted frequency-domain cross spectrum into an inter-channel cross-correlation in the time domain, and estimates an inter-channel time difference (ITD) value for the stereo signal based on the inter-channel cross-correlation.

[0158] In the method for estimating inter-channel time difference according to an embodiment of the present disclosure, the weighting according to the ILD value is performed after weighting the cross spectrum with the inverse of the amplitude of the cross spectrum.

[0159] In the method for estimating a time difference between channels according to an embodiment of the present disclosure, the weighting coefficients used for the weighting are different between a frequency band below a first threshold and a frequency band equal to or greater than the first threshold.

[0160] In the method for estimating inter-channel time difference according to an embodiment of the present disclosure, when the ILD value is equal to or greater than a threshold, the weighting coefficient used for the weighting is uniform across the entire frequency band.

[0161] In the inter-channel time difference estimation method according to an embodiment of the present disclosure, the ILD value is calculated from the L channel signal and the R channel signal, or the L channel spectrum signal and the R channel spectrum signal.

[0162] In an inter-channel time difference estimation method according to one embodiment of the present disclosure, the ILD value is a ratio of the sum of absolute values ​​of the L channel signals to the sum of absolute values ​​of the R channel signals, or a ratio of the sum of energy of the L channel signals to the sum of energy of the R channel signals.

[0163] In the method for estimating inter-channel time difference according to an embodiment of the present disclosure, the spectral flatness of the stereo signal is calculated, and weighting according to the ILD value is performed after smoothing the cross spectrum based on the flatness.

[0164] In a method for estimating inter-channel time difference according to an embodiment of the present disclosure, the maximum value of the amplitude of the cross spectrum is detected, and weighting according to the ILD value is performed after weighting the cross spectrum based on the maximum value.

[0165] In an inter-channel time difference estimation method according to an embodiment of the present disclosure, a first-order difference of an inter-channel phase difference (IPD) value for the stereo signal is calculated, and weighting according to the IPD is performed after weighting the cross spectrum based on the first-order difference.

[0166] In an encoding method according to one embodiment of the present disclosure, an encoding device estimates the ITD value based on the inter-channel time difference estimation method, adjusts the time difference between the L channel signal and the R channel signal using the ITD value, encodes the L channel signal and the R channel signal with the adjusted time difference, outputs them as an encoded stereo signal, and multiplexes the encoded stereo signal with the ITD value.

[0167] a first decoding unit that decodes the coded information of the stereo signal to obtain a decoded ITD value; a second decoding unit that decodes the coded information of the stereo signal to obtain a decoded stereo signal; and an adjustment unit that adjusts a time difference between the L channel signal and the R channel signal included in the decoded stereo signal using the decoded ITD value. The ITD value is estimated based on inter-channel cross-correlation obtained by converting, in the coding device, each of the L channel signal and the R channel signal into an L channel spectral signal and an R channel spectral signal in the frequency domain, calculating a cross spectrum from the L channel spectral signal and the R channel spectral signal, weighting the cross spectrum according to an inter-channel level difference (ILD) value for the stereo signal, and transforming the weighted cross spectrum from the frequency domain into the time domain.

[0168] In a decoding method according to an embodiment of the present disclosure, a decoding device separates, from coded data generated in a coding device, coded information of a stereo signal constituting a time-domain left (L) channel signal and a right (R) channel signal, and coded information of an inter-channel time difference (ITD) value for the stereo signal, decodes the coded information of the ITD value to obtain a decoded ITD value, decodes the coded information of the stereo signal to obtain a decoded stereo signal, and adjusts a time difference between the L channel signal and the R channel signal included in the decoded stereo signal using the decoded ITD value, and the ITD value is estimated based on inter-channel cross-correlation obtained by converting, in the coding device, each of the L channel signal and the R channel signal into an L channel spectral signal and an R channel spectral signal in the frequency domain, calculating a cross spectrum from the L channel spectral signal and the R channel spectral signal, weighting the cross spectrum according to an inter-channel level difference (ILD) value for the stereo signal, and transforming the weighted cross spectrum from the frequency domain into the time domain.

[0169] The disclosures of U.S. Provisional Application No. 63 / 455,282, filed March 29, 2023, and the disclosures of the specification, drawings, and abstract of Japanese Patent Application No. 2023-211344, filed December 14, 2023, are incorporated herein by reference in their entirety.

[0170] An embodiment of the present disclosure is useful for coding systems and the like.

[0171] 10, 10a Encoding device 11 Input unit 12 A / D conversion unit 13, 121 ILD analysis and encoding unit 14, 14a, 14b, 14c, 14d ITD analysis and encoding unit 15, 25 Time difference adjustment unit 16 Stereo encoding unit 17 Multiplexing unit 20 Decoding device 21 Separation unit 22 ITD decoding unit 23 ILD decoding unit 24 Stereo decoding unit 26 D / A conversion unit 27 Output unit 101 FFT unit 102 Cross spectrum calculation unit 103 Cross spectrum weighting unit 104 IFFT unit 105 ITD detection unit 111 Cross spectrum adaptive weighting unit 131 SFM calculation unit 141 Maximum amplitude detection unit 151 First-order difference calculation unit

Claims

1. An inter-channel time difference estimation device comprising: a first conversion unit that converts each of a time-domain left (L) channel signal and a right (R) channel signal that constitute a stereo signal into a frequency-domain L channel spectrum signal and an R channel spectrum signal; a calculation unit that calculates a cross spectrum from the L channel spectrum signal and the R channel spectrum signal; a weighting unit that weights the cross spectrum in accordance with an inter-channel level difference (ILD) value for the stereo signal; a second conversion unit that converts the weighted cross spectrum in the frequency domain into an inter-channel cross-correlation in the time domain; and an estimation unit that estimates an inter-channel time difference (ITD) value for the stereo signal based on the inter-channel cross-correlation.

2. The inter-channel time difference estimation device according to claim 1, wherein the weighting section weights the cross spectrum by the inverse of an amplitude of the cross spectrum, and then weights the cross spectrum according to the ILD value.

3. The inter-channel time difference estimation device according to claim 1, wherein the weighting coefficients used for the weighting are different between a frequency band below a first threshold and a frequency band equal to or higher than the first threshold.

4. The inter-channel time difference estimation device according to claim 1, wherein when the ILD value is equal to or greater than a threshold, a single weighting coefficient is used for the weighting across an entire frequency band.

5. The inter-channel time difference estimation device according to claim 1, wherein the ILD value is calculated from the L channel signal and the R channel signal, or from the L channel spectrum signal and the R channel spectrum signal.

6. The inter-channel time difference estimation device according to claim 1, wherein the ILD value is a ratio of a sum of absolute values ​​of the L channel signals to a sum of absolute values ​​of the R channel signals, or a ratio of a sum of energies of the L channel signals to a sum of energies of the R channel signals.

7. The inter-channel time difference estimation device according to claim 1, further comprising a flatness calculation unit that calculates a spectral flatness of the stereo signal, wherein the weighting unit smoothes the cross spectrum based on the spectral flatness and then performs weighting in accordance with the ILD value.

8. The inter-channel time difference estimation device according to claim 1, further comprising a detection unit that detects a maximum value of the amplitude of the cross spectrum, and wherein the weighting unit weights the cross spectrum based on the maximum value and then weights the cross spectrum in accordance with the ILD value.

9. The inter-channel time difference estimation device according to claim 1, further comprising a calculation unit that calculates a first-order difference of an Inter-channel Phase Difference (IPD) value for the stereo signal, wherein the weighting unit performs weighting on the cross spectrum based on the first-order difference and then performs weighting in accordance with the IPD value.

10. A coding device comprising: an inter-channel time difference estimation device as claimed in claim 1; an adjustment unit that adjusts the time difference between the L channel signal and the R channel signal using the ITD value; a coding unit that codes the L channel signal and the R channel signal whose time difference has been adjusted and outputs the coded stereo signal; and a multiplexing unit that multiplexes the coded stereo signal and the ITD value.

11. An inter-channel time difference estimation method, comprising: an inter-channel time difference estimation device; converting each of a time-domain left (L) channel signal and a right (R) channel signal constituting a stereo signal into a frequency-domain L channel spectrum signal and an R channel spectrum signal; calculating a cross spectrum from the L channel spectrum signal and the R channel spectrum signal; weighting the cross spectrum in accordance with an inter-channel level difference (ILD) value for the stereo signal; converting the weighted cross spectrum in the frequency domain into an inter-channel cross-correlation in the time domain; and estimating an inter-channel time difference (ITD) value for the stereo signal based on the inter-channel cross-correlation.

12. The method of claim 11, wherein the weighting according to the ILD value is performed after weighting the cross spectrum with the inverse of the amplitude of the cross spectrum.

13. The method for estimating a time difference between channels according to claim 11, wherein a weighting coefficient used for the weighting is different between a frequency band below a first threshold and a frequency band equal to or higher than the first threshold.

14. The method of claim 11, wherein when the ILD value is equal to or greater than a threshold, a single weighting factor is used for the weighting across the entire frequency band.

15. The method of claim 11, wherein the ILD value is calculated from the L channel signal and the R channel signal, or the L channel spectrum signal and the R channel spectrum signal.

16. The method of claim 11, wherein the ILD value is a ratio of a sum of absolute values ​​of the L channel signals to a sum of absolute values ​​of the R channel signals, or a ratio of a sum of energies of the L channel signals to a sum of energies of the R channel signals.

17. The method of claim 11, further comprising: calculating a spectral flatness of the stereo signals; and weighting the ILD value according to the ILD value after smoothing the cross spectrum based on the flatness.

18. The method for estimating a time difference between channels according to claim 11, further comprising: detecting a maximum value of the amplitude of the cross spectrum; and weighting the cross spectrum according to the ILD value after weighting the cross spectrum based on the maximum value.

19. The method of estimating an inter-channel time difference according to claim 11, further comprising: calculating a first-order difference of an inter-channel phase difference (IPD) value for the stereo signal; and weighting the ILD according to the IPD after weighting the cross spectrum based on the first-order difference.

20. An encoding method comprising: an encoding device estimating the ITD value based on the inter-channel time difference estimation method described in claim 11; adjusting the time difference between the L channel signal and the R channel signal using the ITD value; encoding the L channel signal and the R channel signal with the time difference adjusted, and outputting the encoded stereo signal as an encoded stereo signal; and multiplexing the encoded stereo signal and the ITD value.

Citation Information

Patent Citations

  • Apparatus and method for estimating inter-channel time difference

    JP2019502966A

  • Apparatus, method or computer program for estimating inter-channel time difference

    JP2021519949A

  • Correlation function generation device, correlation function generation method, correlation function generation program, and wave source direction estimation device

    WO2018131099A1

  • Encoding device and encoding method

    WO2019058927A1

  • Method and apparatus for estimating time delay of stereo audio signal

    WO2022012629A1