摘要:
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
摘要:
A method, an apparatus, and a system for encoding and decoding multi-channel signals are disclosed. The method for encoding multi-channel signals includes: determining the category of an index corresponding to a channel level difference (CLD) which needs to be quantized in a current frame; quantizing the CLD of at least one frequency band whose index category is the same as the determined category of the index in the current frame, and obtaining quantized data.
摘要:
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 switching speech or audio signals, wherein the method for switching speech or audio signals includes when switching of a speech or audio, weighting a first high frequency band signal of a current frame of speech or audio signal and a second high frequency band signal of the previous M frame of speech or audio signals to obtain a processed first high frequency band signal, where M is greater than or equal to 1, and synthesizing the processed first high frequency band signal and a first low frequency band signal of the current frame of speech or audio signal into a wide frequency band signal. In this way, speech or audio signals with different bandwidths can be smoothly switched, thus improving the quality of audio signals received by a user.
摘要:
A method and an apparatus for switching speech or audio signals, wherein the method for switching speech or audio signals includes when switching of a speech or audio, weighting a first high frequency band signal of a current frame of speech or audio signal and a second high frequency band signal of the previous M frame of speech or audio signals to obtain a processed first high frequency band signal, where M is greater than or equal to 1, and synthesizing the processed first high frequency band signal and a first low frequency band signal of the current frame of speech or audio signal into a wide frequency band signal. In this way, speech or audio signals with different bandwidths can be smoothly switched, thus improving the quality of audio signals received by a user.
摘要:
A signal delay detection method, a detection apparatus, and a coder are disclosed to improve accuracy of detecting the signal delay. The method includes: obtaining a first cumulative cross-correlation function according to cross-correlation functions between channel signals; determining a first delay between the channel signals corresponding to the first cumulative cross-correlation function; adjusting a second cumulative cross-correlation function according to a relationship between the first delay and a second delay that exist between the channel signals, where the second delay is obtained at time of adjusting the second cumulative cross-correlation function and an initial value of the second delay is determined according to an initial value of a second weighting coefficient of the second cumulative cross-correlation function; and determining the second delay corresponding to the adjusted second cumulative cross-correlation function as a delay detected between the channel signals.
摘要:
A method and an apparatus for switching speech or audio signals, wherein the method for switching speech or audio signals includes when switching of a speech or audio, weighting a first high frequency band signal of a current frame of speech or audio signal and a second high frequency band signal of the previous M frame of speech or audio signals to obtain a processed first high frequency band signal, where M is greater than or equal to 1, and synthesizing the processed first high frequency band signal and a first low frequency band signal of the current frame of speech or audio signal into a wide frequency band signal. In this way, speech or audio signals with different bandwidths can be smoothly switched, thus improving the quality of audio signals received by a user.
摘要:
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.