摘要:
A method and an apparatus for estimating an interchannel delay of a sound signal are, related to the communication field and capable of realizing a stable sound field in a crosstalk. The method includes calculating an error between an actual interchannel phase difference and a predicted interchannel phase difference of a sound signal. The predicted interchannel phase difference is predicted according to a predetermined interchannel delay of the sound signal. The method also includes determining whether the sound signal is a sound signal in a crosstalk according to the error. The method further includes, if the sound signal is a sound signal in the crosstalk, setting an interchannel delay corresponding to the sound signal to a fixed value. The apparatus is configured to perform the method.
摘要:
A stereo encoding method, a stereo encoding device, and an encoder are provided. The stereo encoding method includes: obtaining a left channel energy relation coefficient and a right channel energy relation coefficient; obtaining a left energy sum and a right energy sum respectively; performing cross correlation between sub-bands of a first monophonic signal at a wave trough and sub-bands of the left channel signal according to the left channel energy relation coefficient, and performing cross correlation between sub-bands of the first monophonic signal at the wave trough and sub-bands of the right channel signal according to the right channel energy relation coefficient; obtaining a scaling factor by using the left energy sum, the right energy sum, and cross correlation results; and encoding the stereo left and right channel signals according to the scaling factor.
摘要:
A stereo encoding method and apparatus are provided, so as to reduce distortion caused by delay adjustment. The stereo encoding method includes: extracting a current interchannel delay of a stereo signal and a previous delay adjacent to the current interchannel delay; performing adjustment frame judgment according to characteristics of the current stereo signal when the current delay and the previous delay are different; and performing delay adjustment on the stereo signal by using the current interchannel delay if it is judged that a frame where the current delay occurs is an adjustment frame.
摘要:
A method and an apparatus for processing a signal are provided. The method includes: obtaining an energy average value of each sub-band for a current frame frequency-domain signal; obtaining a current frame modification coefficient of each sub-band for the current frame frequency-domain signal according to a spectral envelope and the energy average value of each sub-band; obtaining a weighted modification coefficient of each sub-band for the current frame frequency-domain signal by using the current frame modification coefficient and a relevant frame modification coefficient; and modifying the spectral envelope of each sub-band for the current frame frequency-domain signal by using the weighted modification coefficient.
摘要:
A method for estimating inter-channel delay and an apparatus for estimating inter-channel delay and an encoder are provided by the embodiments of the present invention. The method includes: obtaining signal sound field information from a cross-correlation function and a cumulative cross-correlation function of synthetic signals of left and right sound channels respectively; obtaining adjustment information of the cumulative cross-correlation function according to the sound field information that is respectively obtained; adjusting the cumulative cross-correlation function by using the adjustment information, so as to obtain the adjusted cumulative cross-correlation function; and determining a time corresponding to a maximum value in the adjusted cumulative cross-correlation function as an inter-channel delay. Therefore, the delay between the signals of the left and right sound channels can be estimated correctly, so as to improve the stability of the synthetic stereo sound field.
摘要:
A method, device and system for signal encoding and decoding, the method comprising: encoding a core layer signal to obtain a core layer signal code; selecting an enhancement sample point that requires enhancement layer signal encoding according to the core layer signal code and the number of bits that can be used by an enhancement layer; obtaining an enhancement layer signal code of the enhancement sample point; and outputting a bit stream, where the bit stream includes the core layer signal code and the enhancement layer signal code. In embodiments of the present invention, according to the number of bits that can be used by the enhancement layer, the enhancement sample point that requires enhancement layer signal encoding is selected; the enhancement layer signal of the selected enhancement sample point is encoded and decoded; when no sufficient bits are available for the enhancement layer, the enhancement quality of the core layer can be improved.
摘要:
A transient signal encoding method and device, decoding method and device, and processing system, where the transient signal encoding method includes: obtaining a reference sub-frame where a maximal time envelope having a maximal amplitude value is located from time envelopes of all sub-frames of an input transient signal; adjusting an amplitude value of the time envelope of each sub-frame before the reference sub-frame in such a way that a first difference is greater than a preset first threshold, in which the first difference is a difference between the amplitude value of the time envelope of each sub-frame before the reference sub-frame and the amplitude value of the maximal time envelope; and writing the adjusted time envelope into bitstream.
摘要:
A coding method is adapted to select different codebook search algorithms according to varied types of input signals. An encoder using the coding method is also provided. As appropriate search algorithms may be selected according to all possible structural features of the input signals, certain types of signals for which satisfactory results may be obtained through simple computations may match with search algorithms suitable for these signal types and having low computation complexities, so as to achieve better performance with fewer system resources. Meanwhile, other types of signals that need complicated computations may be processed by more sophisticated search algorithms, thereby ensuring the coding quality.
摘要:
A method and an apparatus for estimating an interchannel delay of a sound signal are disclosed, related to the communication field and capable of realizing a stable sound field in a crosstalk. The method includes: calculating an error between an actual interchannel phase difference and a predicted interchannel phase difference of a sound signal, where the predicted interchannel phase difference is predicted according to a predetermined interchannel delay of the sound signal; determining whether the sound signal is a sound signal in a crosstalk according to the error; and if the sound signal is a sound signal in the crosstalk, setting an interchannel delay corresponding to the sound signal to a fixed value
摘要:
The present invention relates to information processing technologies and discloses an encoding and decoding method and device to solve the poor decoding quality problem. The technical solution of the present invention includes: encoding each sample of an input signal to generate an encoded signal of a core layer; comparing residuals of all or a part of the samples of the input signal with encoding thresholds, where the residuals are generated by core layer encoding, and performing encoding according to comparison results to generate an encoded signal of an enhancement layer; and writing the encoded signal of the core layer and the encoded signal of the enhancement layer into a bitstream to generate an encoded signal of the input signal.