Abstract:
A method and device for decoding a signal. The method for decoding a signal includes: obtaining spectral coefficients of sub-bands from a received bitstream by means of decoding; classifying sub-bands in which the spectral coefficients are located into a sub-band with saturated bit allocation and a sub-band with unsaturated bit allocation; performing noise filling on a spectral coefficient that has not been obtained by means of decoding and is in the sub-band with unsaturated bit allocation, so as to restore the spectral coefficient that has not been obtained by means of decoding; and obtaining a frequency domain signal according to the spectral coefficients obtained by means of decoding and the restored spectral coefficient. Therefore, a sub-band with unsaturated bit allocation in a frequency domain signal may be obtained by classification, thereby improving signal decoding quality.
Abstract:
Method and apparatus are provided for reconstructing a noise component of a speech/audio signal. A bitstream, is received and decoded to obtain a speech/audio signal. A first speech/audio signal is determined according to the speech/audio signal. A symbol of each sample value in the first speech/audio signal and an amplitude value of each sample value in the first speech/audio signal is determined. An adaptive normalization length and an adjusted amplitude value of each sample value are determined according to the adaptive normalization length and the amplitude value of each sample value. A second speech/audio signal is determined according to the symbol of each sample value and the adjusted amplitude value of each sample value.
Abstract:
In a signal coding method, bits for coding allocated to different bands of a frequency domain signal obtained from an input signal are adjusted to improve the coding quality. The total available bits for coding are first allocated to the bands of the frequency domain signal according to a predetermined allocation rule. The numbers of bits allocated to the respective bands of the frequency domain signal are then adjusted when a highest frequency of the frequency domain signal to which bits are allocated is greater than a predetermined value. The frequency domain signal is coded according to the adjusted bit allocation for the bands of the frequency domain signal.
Abstract:
The present disclosure relates to an audio signal coding method and apparatus. The method includes categorizing audio signals into high-frequency audio signals and low-frequency audio signals, coding the low-frequency audio signals using a corresponding low-frequency coding manner according to characteristics of low-frequency audio signals, and selecting a bandwidth extension mode to code the high-frequency audio signals according to the low-frequency coding manner and/or characteristics of the audio signals.
Abstract:
In a signal coding method, bits for coding allocated to different bands of a frequency domain signal obtained from an input signal are adjusted to improve the coding quality. The total available bits for coding are first allocated to the bands of the frequency domain signal according to a predetermined allocation rule. The numbers of bits allocated to the respective bands of the frequency domain signal are then adjusted when a highest frequency of the frequency domain signal to which bits are allocated is greater than a predetermined value. The frequency domain signal is coded according to the adjusted bit allocation for the bands of the frequency domain signal.
Abstract:
A method for predicting a bandwidth extension frequency band signal includes demultiplexing a received bitstream to obtain a frequency domain signal; determining whether a highest frequency bin, to which a bit is allocated, of the frequency domain signal is less than a preset start frequency bin of a bandwidth extension frequency band; predicting an excitation signal of the bandwidth extension frequency band according to the determination; and predicting the bandwidth extension frequency band signal according to the predicted excitation signal of the bandwidth extension frequency band and a frequency envelope of the bandwidth extension frequency band.
Abstract:
A method includes obtaining a signal type of an audio signal and a low frequency band signal of the audio signal, where the audio signal includes the low frequency band signal and a high frequency band signal; obtaining a frequency envelope of the high frequency band signal according to the signal type; predicting an excitation signal of the high frequency band signal according to the low frequency band signal; and restoring the high frequency band signal according to the frequency envelope of the high frequency band signal and the excitation signal of the high frequency band signal. By using the technical solutions of the embodiments of the present invention, an error existing between a high frequency band signal obtained by prediction and an actual high frequency band signal can be effectively reduced, and an accuracy rate of the predicted high frequency band signal can be increased.
Abstract:
A method and device for decoding a signal. The method for decoding a signal includes: obtaining spectral coefficients of sub-bands from a received bitstream by means of decoding; classifying sub-bands in which the spectral coefficients are located into a sub-band with saturated bit allocation and a sub-band with unsaturated bit allocation; performing noise filling on a spectral coefficient that has not been obtained by means of decoding and is in the sub-band with unsaturated bit allocation, so as to restore the spectral coefficient that has not been obtained by means of decoding; and obtaining a frequency domain signal according to the spectral coefficients obtained by means of decoding and the restored spectral coefficient. Therefore, a sub-band with unsaturated bit allocation in a frequency domain signal may be obtained by classification, thereby improving signal decoding quality.
Abstract:
An encoding method, a decoding method, an encoding apparatus, a decoding apparatus, a transmitter, a receiver, and a communications system. The encoding method includes: dividing a to-be-encoded time-domain signal into a low band signal and a high band signal; performing encoding on the low band signal to obtain a low frequency encoding parameter; performing encoding on the high band signal to obtain a high frequency encoding parameter, and obtaining a synthesized high band signal; performing short-time post-filtering processing on the synthesized high band signal to obtain a short-time filtering signal; and calculating a high frequency gain based on the high band signal and the short-time filtering signal. A technical solution according to the embodiments of the present invention can improve an encoding and/or decoding effect.
Abstract:
A method and an apparatus for allocating bits in an audio signal. The method includes dividing a frequency band of an audio signal into a plurality of subbands, quantizing a subband normalization factor of each subband; and an energy attribute of an audio signal of the corresponding group; allocating coding bits to at least one group, where a sum of coding bits allocated to the at least one group is the number of coding bits of the audio signal; and allocating the coding bits allocated to the at least one group to each subband in each group of the at least one group. In a case of a low or medium bit rate, the embodiments of the present invention can, by means of grouping, ensure relatively stable allocation of previous and subsequent frames and reduce impact of global allocation on partial discontinuity.