Abstract:
An inter-channel phase difference (IPD) parameter extraction method and apparatus, where the extraction method includes obtaining a parameter obtaining an information extraction manner for a current frame of a multi-channel signal, obtaining an IPD parameter extraction manner for the current frame based on the parameter obtaining the information extraction manner, where the obtained IPD parameter extraction manner is one of at least two preset IPD parameter extraction manners, and obtaining an IPD parameter of the current frame based on the obtained IPD parameter extraction manner for the current frame.
Abstract:
A method for processing an audio signal, including: sound is converted to an analog audio input signal and converted into a digital audio signal; a windowed time domain signal is obtained and then a twiddled signal is obtained; the twiddled signal is pre-rotated and then an FFT is performed; an in-place fixed rotate compensation is performed on the FFT signal and then an post-rotated is performed; a quantized signal is obtained and then wrote into a bitstream for transmitting or storing.
Abstract:
An audio signal processing method and apparatus and a differential beamforming method and apparatus to resolve a problem that an existing audio signal processing system cannot process audio signals in multiple application scenarios at the same time. The method includes determining a super-directional differential beamforming weighting coefficient, acquiring an audio input signal and determining a current application scenario and an audio output signal, acquiring, a weighting coefficient corresponding to the current application scenario, performing super-directional differential beamforming processing on the audio input signal using the acquired weighting coefficient in order to obtain a super-directional differential beamforming signal in the current application scenario, and performing processing on the formed signal to obtain a final audio signal required by the current application scenario. By using this method, a requirement that different application scenarios require different audio signal processing manners can be met.
Abstract:
A data processing method is disclosed, including: twiddling input data, so as to obtain twiddled data; pre-rotating the twiddled data by using a symmetric rotate factor, where the rotate factor is a·W4L2p+1, p=0, . . . , L/2−1, and a is a constant; performing a Fast Fourier (Fast Fourier Transform, FFT) transform of L/2 point on the pre-rotated data, where L is the length of the input data; post-rotating the data that has undergone the FFT transform by using a symmetric rotate factor, where the rotate factor is b·W4L2q+1, q=0, . . . , L/2−1, and b is a constant; and obtaining output data.
Abstract:
A stereo signal processing method includes performing delay estimation on a stereo signal of a current frame to determine an inter-channel time difference of the current frame, identifying a sign of the inter-channel time difference of the current frame is different from a sign of an inter-channel time difference of a previous frame of the current frame, performing delay alignment processing on the first-channel signal of the current frame based on the inter-channel time difference of the current frame, and performing delay alignment processing on the second-channel signal of the current frame based on the inter-channel time difference of the previous frame.
Abstract:
A method for encoding an audio signal includes obtaining an ITD value of a current frame of an audio signal; obtaining a characteristic parameter of the current frame, wherein the characteristic parameter comprises at least one of a signal-to-noise ratio of the current frame or a peak feature of cross correlation coefficients of the current frame; determining, based on the characteristic parameter, whether to use the initial ITD value as the finalized ITD value of the current frame; and encoding the current frame based on the finalized ITD value of the current frame, wherein if the initial ITD value is determined as not used as the finalized ITD value of the current frame, the finalized ITD value of the current frame is the same as a finalized ITD value of a previous frame of the current frame.
Abstract:
An encoding method includes determining an adaptive broadening factor based on a quantized line spectral frequency (LSF) vector of a first channel of a current frame of an audio signal and an LSF vector of a second channel of the current frame, and writing the quantized LSF vector and the adaptive broadening factor into a bitstream.
Abstract:
An encoding method includes determining an adaptive broadening factor based on a quantized line spectral frequency (LSF) vector of a first channel of a current frame of an audio signal and an LSF vector of a second channel of the current frame, and writing the quantized LSF vector and the adaptive broadening factor into a bitstream.
Abstract:
The present disclosure discloses an inter-channel phase difference parameter encoding method, where a current frame is obtained; a signal type and a previous IPD parameter encoding scheme of a previous frame are obtained; a current IPD parameter encoding scheme is obtained at least based on the signal type of the previous frame and the previous IPD parameter encoding scheme; and an IPD parameter of the current frame is processed based on the current IPD parameter encoding scheme.
Abstract:
Various embodiments provide a method and an apparatus for determining a weighting factor during stereo signal encoding. In those embodiments, a parameter value corresponding to the encoding mode of the to-be-encoded signal is determined based on an encoding mode of a to-be-encoded signal in a stereo signal and a correspondence between an encoding mode and a parameter value. Based on the determined parameter value and an energy spectrum of a linear prediction filter corresponding to an original line spectral frequency parameter of the to-be-encoded signal, a weighting factor for calculating a distance between the original line spectral frequency parameter and a target original line spectral frequency parameter is calculated.