摘要:
A frame compensation method is provided. The method includes: obtaining a length of a lost frame and a length of a correct frame; determining that the length of the correct frame is integral power of 2 times of the length of the lost frame, and then obtaining a data sequence with the same length as the length of the lost frame according to the correct frame; and compensating the lost frame according to the data sequence to obtain a compensated data frame. A frame compensation system is also provided. Lost frames in various formats are compensated according to correct frames in various formats, so that the limitation of the related art that a lost frame in a single format can be merely compensated according to a correct frame in a single format is eliminated, and the effect of the compensated data frames is better than that of filling comfort noises.
摘要:
The present invention discloses a method for obtaining an attenuation factor. The method is adapted to process the synthesized signal in packet loss concealment, and includes: obtaining a change trend of a pitch of a signal; obtaining an attenuation factor, according to the change trend of the pitch of the signal. The present invention also discloses an apparatus for obtaining an attenuation factor. A self-adaptive attenuation factor is adjusted dynamically by using the latest change trend of a history signal by using the present invention. The smooth transition from the history data to the data last received is realized so that the attenuation speed is kept consistent between the compensated signal and the original signal as much as possible for adapting to the characteristic of various human voices.
摘要:
The present invention discloses a method for performing a frame erasure concealment to a higher-band signal, including: calculating a periodic intensity of a higher-band signal with respect to a lower-band signal; judging whether the periodic intensity of the higher-band signal is higher than or equal to a preconfigured threshold; if the periodic intensity of the higher-band signal is higher than or equal to the preconfigured threshold, using a pitch period repetition method to perform the frame erasure concealment to the higher-band signal of a current lost frame; and if the periodic intensity of the higher-band signal is lower than the preconfigured threshold, using a previous frame data repetition method to perform the frame erasure concealment to the higher-band signal of the current lost frame. The present invention further discloses a device for performing a frame erasure concealment to a higher-band signal and a speech decoder. The problem that the quality of the voice signal is lowered is avoided.
摘要:
The present invention discloses a signal processing method adapted to process a synthesized signal in packet loss concealment. The method includes the following steps: receiving a good frame following a lost frame, obtaining an energy ratio of energy of a signal in the signal of the good frame signal to energy of a synthesized signal corresponding to the same time of the good frame; and adjusting the synthesized signal in accordance with the energy ratio. The present invention also discloses a signal processing apparatus and a voice decoder. Through using the method provided by the present invention, the synthesized signal is adjusted in accordance with the energy ratio of the energy of the first good frame following the lost frame to the energy of the synthesized signal to ensure that there be not a waveform sudden change or an energy sudden change at the place where the lost frame and the first good frame following the lost frame are jointed in the synthesized signal, to realize the waveform's smooth transition and to avoid music noises.
摘要:
A method for performing a frame erasure concealment for a higher-band signal involves calculating a periodic intensity of the higher-band signal with respect to pitch period information of a lower-band signal; comparing the periodic intensity to a preconfigured threshold and, if the periodic intensity is greater or equal to the preconfigured threshold, performing the frame erasure concealment with a pitch period repetition based method. If the periodic intensity is less than the preconfigured threshold, performing the frame erasure concealment with a previous frame data repetition based method. A device for performing a frame erasure concealment includes a periodic intensity calculation module, a pitch period repetition module, and a previous frame data repetition module. The pitch period repetition module performs the frame erasure concealment with a pitch period repetition based method; and the previous frame data repetition module performs the frame erasure concealment with a previous frame data repetition based method.
摘要:
Embodiments of the present invention provide an audio signal coding and decoding method and device. The coding method includes: dividing a frequency band of an audio signal into a plurality of sub-bands, and quantifying a sub-band normalization factor of each sub-band; determining signal bandwidth of bit allocation according to the quantized sub-band normalization factor, or according to the quantized sub-band normalization factor and bit rate information; allocating bits for a sub-band within the determined signal bandwidth; and coding a spectrum coefficient of the audio signal according to the bits allocated for each sub-band. According to embodiments of the present invention, during coding and decoding, signal bandwidth of bit allocation is determined according to the quantized sub-band normalization factor and bit rate information. In this manner, the determined signal bandwidth is effectively coded and decoded by centralizing the bits, and audio quality is improved.
摘要:
A signal compression method includes: multiplying an input signal by a window function, calculating original autocorrelation coefficients of a windowed input signal. The method also includes calculating a white-noise correction factor or a lag-window according to the original autocorrelation coefficients, and calculating modified autocorrelation coefficients according to the original autocorrelation coefficients, the white-noise correction factor and the lag-window. The method further includes calculating linear prediction coefficients according to the modified autocorrelation coefficients, and outputting a coded bit stream according to the linear prediction coefficients.
摘要:
A coding method, a decoding method, a coding apparatus, and a decoding apparatus are disclosed herein. A coding method includes: obtaining a value of each sample of an input data frame; determining pulse samples and non-pulse samples in the input data frame according to the distribution of values of samples of the input data frame; encoding the determined pulse samples in the input data frame in a first coding mode to obtain a first data stream; encoding the determined non-pulse samples in the input data frame in a second coding mode to obtain a second data stream; and multiplexing the first data stream and the second data stream to obtain an output coded data stream of the input data frame. Compared with the prior art, the technical solution under the present disclosure reduces the number of bits required for encoding the entire data frame is reduced, and improves the compression efficiency of the data frame with a wide dynamic range.
摘要:
A signal compression method includes: multiplying an input signal by a window function, calculating original autocorrelation coefficients of a windowed input signal. The method also includes calculating a white-noise correction factor or a lag-window according to the original autocorrelation coefficients, and calculating modified autocorrelation coefficients according to the original autocorrelation coefficients, the white-noise correction factor and the lag-window. The method further includes calculating linear prediction coefficients according to the modified autocorrelation coefficients, and outputting a coded bit stream according to the linear prediction coefficients.
摘要:
The present invention relates to a method and apparatus for pitch search. One method includes: obtaining a characteristic function value of a residual signal, where the residual signal is a result of removing a Long-Term Prediction (LTP) contribution signal from input speech signals; and obtaining a pitch according to the characteristic function value of the residual signal.