Abstract:
A method and an apparatus for generating a sideband residual signal. The method includes comparing energy of a first signal input by a first sound channel with energy of a second signal input by a second sound channel, if the energy of the first signal is greater than the energy of the second signal, generating a sideband residual signal by allocating a monophonic quantization error to the first signal, and if the energy of the first signal is smaller than the energy of the second signal, generating a sideband residual signal by allocating a monophonic quantization error to the second signal. By using the method and apparatus provided in the embodiments of the present invention, it can be avoided that a monophonic quantization error has a greater impact on a signal whose energy is smaller.
Abstract:
Embodiments of the present invention provide a method and an apparatus for generating a sideband residual signal. The method includes: comparing energy of a first signal input by a first sound channel with energy of a second signal input by a second sound channel; if the energy of the first signal is greater than the energy of the second signal, generating a sideband residual signal by allocating a monophonic quantization error to the first signal; and if the energy of the first signal is smaller than the energy of the second signal, generating a sideband residual signal by allocating a monophonic quantization error to the second signal. By using the method and apparatus provided in the embodiments of the present invention, it can be avoided that a monophonic quantization error has a greater impact on a signal whose energy is smaller.
Abstract:
The present disclosure provides a speech/audio signal processing method based on wideband switching and a coding apparatus. The method includes: if a first wideband speech/audio signal is a harmonic signal, adjusting a determining condition for determining that a second wideband speech/audio signal is a harmonic signal, to obtain a first determining condition, where the first wideband speech/audio signal is a signal before wideband switching, and the second wideband speech/audio signal is a signal after the wideband switching; and determining, according to the first determining condition, whether the second wideband speech/audio signal is a harmonic signal. In the case of wideband switching, signal types of speech/audio signals remain as consistent as possible before and after the switching, so that continuity of the speech/audio signal decoded by a decoder device is ensured as much as possible, further improving speech communication service quality.
Abstract:
A method, device, and system for signal encoding and decoding are disclosed. The method includes: 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. 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.
Abstract:
Embodiments of the present disclosure provide signal encoding and decoding methods and devices. The method includes: determining, a quantity k of subbands to be encoded, where i is a positive number, and k is a positive integer; selecting, according to quantized envelopes of all subbands, k subbands from all the subbands, or selecting k subbands from all subbands according to a psychoacoustic model; and performing a first-time encoding operation on spectral coefficients of the k subbands. In some embodiments of the present disclosure, the quantity k of subbands to be encoded is determined according to the quantity of available bits and the first saturation threshold, and encoding is performed on the k subbands that are selected from all the subbands, instead of on an entire frequency band.
Abstract:
Embodiments of the present application proposes a frequency envelope vector quantization method and apparatus, where the method includes: dividing N frequency envelopes in one frame into N1 vectors; quantizing a first vector in the N1 vectors by using a first codebook, to obtain a code word corresponding to the quantized first vector, where the first codebook is divided into 2B1 portions; determining, according to the code word corresponding to the quantized first vector; determining a second codebook according to the codebook of the ith portion; and quantizing a second vector in the N1 vectors based on the second codebook. In the embodiments of the present application, vector quantization can be performed on frequency envelope vectors by using a codebook with a smaller quantity of bits. Therefore, complexity of vector quantization can be reduced, and an effect of vector quantization can also be ensured.
Abstract:
Embodiments of the present disclosure provide signal encoding and decoding methods and devices. The method includes: determining, a quantity k of subbands to be encoded, where i is a positive number, and k is a positive integer; selecting, according to quantized envelopes of all subbands, k subbands from all the subbands, or selecting k subbands from all subbands according to a psychoacoustic model; and performing a first-time encoding operation on spectral coefficients of the k subbands. In the embodiments of the present disclosure, the quantity k of subbands to be encoded is determined according to the quantity of available bits and the first saturation threshold, and encoding is performed on the k subbands that are selected from all the subbands, instead of on an entire frequency band, which can reduce spectrum holes of a signal obtained through decoding, and therefore, can improve auditory quality of an output signal.
Abstract:
The present disclosure provides a speech/audio signal processing method based on wideband switching and a coding apparatus. The method includes: if a first wideband speech/audio signal is a harmonic signal, adjusting a determining condition for determining that a second wideband speech/audio signal is a harmonic signal, to obtain a first determining condition, where the first wideband speech/audio signal is a signal before wideband switching, and the second wideband speech/audio signal is a signal after the wideband switching; and determining, according to the first determining condition, whether the second wideband speech/audio signal is a harmonic signal. In the case of wideband switching, signal types of speech/audio signals remain as consistent as possible before and after the switching, so that continuity of the speech/audio signal decoded by a decoder device is ensured as much as possible, further improving speech communication service quality.
Abstract:
Embodiments of the present application proposes a frequency envelope vector quantization method and apparatus, where the method includes: dividing N frequency envelopes in one frame into N1 vectors; quantizing a first vector in the N1 vectors by using a first codebook, to obtain a code word corresponding to the quantized first vector, where the first codebook is divided into 2B1 portions; determining, according to the code word corresponding to the quantized first vector; determining a second codebook according to the codebook of the ith portion; and quantizing a second vector in the N1 vectors based on the second codebook. In the embodiments of the present application, vector quantization can be performed on frequency envelope vectors by using a codebook with a smaller quantity of bits. Therefore, complexity of vector quantization can be reduced, and an effect of vector quantization can also be ensured.
Abstract:
The present disclosure relates to a signal analyzer for processing an overlapped input signal frame comprising 2N subsequent input signal values. The signal analyzer comprises: a windower adapted to window the overlapped input signal frame to obtain a windowed signal, wherein the windower is adapted to zero M+N/2 subsequent input signal values of the overlapped input signal frame, wherein M is equal or greater than 1 and smaller than N/2; and a transformer adapted to transform the remaining 3N/2−M subsequent windowed signal values of the windowed signal using N−M sets of transform parameters to obtain a transformed-domain signal comprising N−M transformed-domain signal values.