摘要:
A fixed codebook search method includes: initializing a counter; searching for pulses and calculating the value of a cost function Qk; initializing the counter if the Qk value increases; increasing the value of the counter if the Qk value does not increase; judging whether the value of the counter is greater than the threshold value; continuing the search process if the value of the counter is not greater than the threshold value; and ending the whole search process if the value of the counter is greater than the threshold value. The present invention reduces the search count and improves the search efficiency.
摘要:
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 fixed codebook search method includes initializing a counter, searching for pulses and calculating the value of a cost function Qk, initializing the counter if the Qk value increases, increasing the value of the counter if the Qk value does not increase, judging whether the value of the counter is greater than the threshold value, continuing the search process if the value of the counter is not greater than the threshold value, and ending the whole search process if the value of the counter is greater than the threshold value.
摘要:
A fixed codebook search method includes initializing a counter, searching for pulses and calculating the value of a cost function Qk, initializing the counter if the Qk value increases, increasing the value of the counter if the Qk value does not increase, judging whether the value of the counter is greater than the threshold value, continuing the search process if the value of the counter is not greater than the threshold value, and ending the whole search process if the value of the counter is greater than the threshold value.
摘要:
A fixed codebook search method includes: initializing a counter; searching for pulses and calculating the value of a cost function Qk; initializing the counter if the Qk value increases; increasing the value of the counter if the Qk value does not increase; judging whether the value of the counter is greater than the threshold value; continuing the search process if the value of the counter is not greater than the threshold value; and ending the whole search process if the value of the counter is greater than the threshold value. The present invention reduces the search count and improves the search efficiency.
摘要:
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, 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.
摘要:
Embodiments of the present invention provide a stereo signal down-mixing method, encoding/decoding apparatus and system. The down-mixing method includes: converting a first channel time-domain signal and a second channel time-domain signal into a first channel frequency-domain signal and a second channel frequency-domain signal; obtaining a frequency-domain channel signal level difference and a frequency-domain channel signal phase difference between the two channel frequency-domain signals; for each frequency bin in each frequency band, using a function based on the frequency-domain channel signal level difference and frequency-domain channel signal phase difference to obtain a down-mixed signal phase that is located between phases of the two channel frequency-domain signals, and obtaining a down-mixed signal amplitude through calculation; and obtaining a frequency-domain down-mixed signal according to the phase and amplitude.