The present disclosure relates generally to audio signal processing and, more particularly, to audio signal bandwidth extension in code excited linear prediction (CELP) based speech coders and corresponding methods.
Some embedded speech coders such as ITU-T G.718 and G.729.1 compliant speech coders have a core code excited linear prediction (CELP) speech codec that operates at a lower bandwidth than the input and output audio bandwidth. For example, G.718 compliant coders use a core CELP codec based on an adaptive multi-rate wideband (AMR-WB) architecture operating at a sample rate of 12.8 kHz. This results in a nominal CELP coded bandwidth of 6.4 kHz. Coding of bandwidths from 6.4 kHz to 7 kHz for wideband signals and bandwidths from 6.4 kHz to 14 kHz for super-wideband signals must therefore be addressed separately.
One method to address the coding of bands beyond the CELP core cut-off frequency is to compute a difference between the spectrum of the original signal and that of the CELP core and to code this difference signal in the spectral domain, usually employing the Modified Discrete Cosine Transform (MDCT). This method has the disadvantage that the CELP encoded signal must be decoded at the encoder and then windowed and analyzed in order to derive the difference signal, as described more fully in ITU-T Recommendation G.729.1, Amendment 6 and in ITU-T Recommendation G.718 Main Body and Amendment 2. However this often leads to long algorithmic delays since the CELP encoding delays are sequential with the MDCT analysis delays. In the example, above, the algorithmic delay is approximately 26-30 ms for the CELP part plus approximately 10-20 ms for the spectral MDCT part.
U.S. Pat. No. 5,127,054 assigned to Motorola Inc. describes regenerating missing bands of a subband coded speech signal by non-linearly processing known speech bands and then bandpass filtering the processed signal to derive a desired signal. The Motorola Patent processes a speech signal and thus requires the sequential filtering and processing. The Motorola Patent also employs a common coding method for all sub-bands.
The coding and reproducing of fine structure of missing bands by transposing and translating components from coded regions in the spectral domain is known generally and is sometimes referred to as Spectral Band Replication (SBR). In order for SBR processing to be employed where the speech codec operates at a bandwidth other than the input and output audio bandwidth, an analysis of the decoded speech would be required pursuant to ITU-T Recommendation G.729.1, Amendment 6 and ITU-T Recommendation G.718 Main Body and Amendment 2, resulting in relatively long algorithmic delay.
The various aspects, features and advantages of the invention will become more fully apparent to those having ordinary skill in the art upon careful consideration of the following Detailed Description thereof with the accompanying drawings described below. The drawings may have been simplified for clarity and are not necessarily drawn to scale.
According to one aspect of the disclosure an audio signal having an audio bandwidth extending beyond an audio bandwidth of a code excited linear prediction (CELP) excitation signal is decoded in an audio decoder including a CELP-based decoder element. Such a decoder may be used in applications where there is a wideband or super-wideband bandwidth extension of a narrowband or wideband speech signal. More generally, such a decoder may be used in any application where the bandwidth of the signal to be processed is greater than the bandwidth of the underlying decoder element.
The process is illustrated generally in the diagram 200 of
In a more particular implementation, the second excitation signal is obtained from an up-sampled CELP excitation signal that is based on the CELP excitation signal, i.e., the first excitation signal, as described below. In the schematic block diagram 300 of
Generally, an up-sampled excitation signal is based on the up-sampled fixed codebook signal and an up-sampled pitch period value. In one implementation, the up-sampled pitch period value is characteristic of an up-sampled adaptive codebook output. According to this implementation, in
In one embodiment, the up-sampled pitch period, Tu, is based on a product of the sampling multiplier L and a pitch period of the CELP-based decoder element, T, as illustrated in
In
In an alternative implementation, the up-sampled pitch period value is characteristic of an up-sampled long-term predictor filter. According to this alternative implementation, the up-sampled excitation signal u′(n) is obtained by passing the up-sampled fixed codebook signal c′(n) through an up-sampled long-term predictor filter. The up-sampled fixed codebook signal c′(n) may be scaled before it is applied to the up-sampled long-term predictor filter or the scaling may be applied to the output of the up-sampled long-term predictor filter. The up-sampled long term predictor filter, Lu(z), is characterized by the up-sampled pitch period, Tu, and a gain parameter G, which may differ from gp, and has a z-domain transfer function similar in form to the following equation.
Generally, the audio bandwidth of the second excitation signal is extended beyond the audio bandwidth of the CELP-based decoder element by applying a non-linear operation to the second excitation signal or to a precursor of the second excitation signal. In
In some embodiments specifically designed to address unvoiced speech, the second excitation signal may be scaled and combined with a scaled broadband Gaussian signal prior to filtering. A mixing parameter related to an estimate of the voicing level, V, of the decoded speech signal is used in order to control the mixing process. The value of V is estimated from the ratio of the signal energy in the low frequency region (CELP output signal) to that in the higher frequency region as described by the energy based parameters. Highly voiced signals are characterized as having high energy at lower frequencies and low energy at higher frequencies, yielding V values approaching unity. Whereas highly unvoiced signals are characterized as having high energy at higher frequencies and low energy at lower frequencies, yielding V values approaching zero. It will be appreciated that this procedure will result in smoother sounding unvoiced speech signals and achieve a result similar to that described in U.S. Pat. No. 6,301,556 assigned to Ericsson Telefon AB.
The second excitation signal is subject to a bandpass filtering process, whether or not the second excitation signal is scaled and combined with a scaled broadband Gaussian signal as described above. Particularly, a set of signals is obtained or generated by filtering the second excitation signal with a set of bandpass filters. Generally, the bandpass filtering process performed in the audio decoder corresponds to an equivalent filtering process applied to an input audio signal at an encoder. In
In one implementation, the bandpass filtering process in the decoder includes combining the outputs of a set of complementary all-pass filters. Each of the complementary all-pass filters provides the same fixed unity gain over the full frequency range, combined with a non-uniform phase response. The phase response may be characterized for each all-pass filter as having a constant time delay (linear phase) below a cut-off frequency and a constant time delay plus a Π phase shift above the cut-off frequency. When one all-pass filter is added to an all-pass filter comprising a constant time delay (z−d) the output has a low-pass characteristic with frequencies below the cut-off frequency in-phase, and so reinforcing one-another, whereas above the cut-off frequency the components are out-of-phase, and so cancel each other out. Subtracting the outputs from the two filters yields a high-pass response as the reinforced regions and cancellation regions are exchanged. When the outputs of two all-pass filters are subtracted from one another, the in-phase components of the two filters cancel one another whereas the out-of-phase components reinforce to yield a band-pass response. This is depicted in
In another implementation, the filtering process performed in the decoder is performed in a single bandpass filtering stage without a bandpass pre-filter.
In some implementations, the set of signals output from the bandpass filtering are first scaled using a set of energy-based parameters before combining. The energy-based parameters are obtained from the encoder as discussed above. The scaling process is illustrated at 250 in
In one embodiment, the set of energy-based parameters are generally representative of an input audio signal at the encoder. In another embodiment, the set of energy-based parameters used at the decoder are representative of a process of bandpass filtering an input audio signal at the encoder, wherein the bandpass filtering process performed at the encoder is equivalent to the bandpass filtering of the second excitation signal at the decoder. It will be evident that by employing equivalent or even identical filters in the encoder and decoder and matching the energies at the output of the decoder filters to those at the encoder, the encoder signal will be reproduced as faithfully as possible.
In one implementation, the set of signals is scaled based on energy at an output of the set of bandpass filters in the audio decoder. The energy at the output of the set of bandpass filters in the audio decoder is determined by an energy measurement interval that is based on the pitch period of the CELP-based decoder element. The energy measurement interval, Ie, is related to the pitch period, T, of the CELP-based decoder element and is dependent upon the level of voicing estimated, V, in the decoder by the following equation.
where S is a fixed number of samples that correspond to a speech synthesis interval and L is the up-sampling multiplier. The speech synthesis interval is usually the same as the subframe length of the CELP-based decoder element.
In
In
While the present disclosure and the best modes thereof have been described in a manner establishing possession and enabling those of ordinary skill to make and use the same, it will be understood and appreciated that there are equivalents to the exemplary embodiments disclosed herein and that modifications and variations may be made thereto without departing from the scope and spirit of the inventions, which are to be limited not by the exemplary embodiments but by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2456/DEL/2010 | Oct 2010 | IN | national |
The present application is related to co-pending and commonly assigned U.S. application Ser. No. ______ (Motorola Atty. Docket No. CS37796AUD) filed on the same date, the contents of which are incorporated herein by reference.