The present disclosure relates generally to speech and audio coding and, more particularly, to embedded speech and audio coding using a hybrid core codec with enhancement encoding.
Speech coders based on source-filter models are known to have quality problems processing generic audio input signals such as music, tones, background noise, and even reverberant speech. Such codecs include Linear Predictive Coding (LPC) processors like Code Excited Linear Prediction (CELP) coders. Speech coders tend to process speech signals low bit rates. Conversely, generic audio coding systems based on auditory models typically don't process speech signals very well to sensitivities to distortion in human speech coupled with bit rate limitations. One solution to this problem has been to provide a classifier to determine, on a frame by frame basis, whether an input signal is more or less speech like, and then to select the appropriate coder, i.e., a speech or generic audio coder, based on the classification. An audio signal processer capable of processing different signal types is sometimes referred to as a hybrid core codec.
An example of a practical system using a speech-generic audio input discriminator is described in EVRC-WB (3GPP2 C.S0014-C). The problem with this approach is, as a practical matter, that it is often difficult to differentiate between speech and generic audio inputs, particularly where the input signal is near the switching threshold. For example, the discrimination of signals having a combination of speech and music or reverberant speech may cause frequent switching between speech and generic audio coders, resulting in a processed signal having inconsistent sound quality.
Another solution to providing good speech and generic audio quality is to utilize an audio transform domain enhancement layer on top of a speech coder output. This method subtracts the speech coder output signal from the input signal, and then transforms the resulting error signal to the frequency domain where it is coded further. This method is used in ITU-T Recommendation G.718. The problem with this solution is that when a generic audio signal is used as input to the speech coder, the output can be distorted, sometimes severely, and a substantial portion of the enhancement layer coding effort goes to reversing the effect of noise produced by signal model mismatch, which leads to limited overall quality for a given bit rate.
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.
The disclosure is drawn generally to methods and apparatuses for processing audio signals and more particularly for processing audio signals arranged in a sequence, for example, a sequence of frames or sub-frames. The input audio signals comprising the frames are typically digitized. The signal units are generally classified, on a unit by unit basis, as being more suitable for one of at least two different coding schemes. In one embodiment, the coded units or frames are combined with an error signal and an indication of the coding scheme for storage or communication. The disclosure is also drawn to methods and apparatuses for decoding the combination of the coded units and the error signal based on the coding scheme indication. These and other aspects of the disclosure are discussed more fully below.
In one embodiment, the audio signals are classified as being more or less speech like, wherein more speech-like frames are processed with a codec more suitable for speech-like signals, and the less speech-like frames are processed with a codec more suitable for less speech like signals. The present disclosure is not limited to processing audio signal frames classified as either speech or generic audio signals. More generally, the disclosure is directed toward processing audio signal frames with one of at least two different coders without regard for the type of codec and without regard for the criteria used for determining which coding scheme is applied to a particular frame.
In the present application, less speech-like signals are referred to as generic audio signals. Generic audio signal however are not necessarily devoid of speech. Generic audio signals may include music, tones, background noise or combinations thereof alone or in combination with some speech. A generic audio signal may also include reverberant speech. That is, a speech signal that has been corrupted by large amounts of acoustic reflections (reverb) may be better suited for coding by a generic audio coder since the model parameters on which the speech coding algorithm is based may have been compromised to some degree. In one embodiment, a frame classified as a generic audio frame includes non-speech with speech in the background, or speech with non-speech in the background. In another embodiment, a generic audio frame includes a portion that is predominantly non-speech and another, less prominent, portion that is predominantly speech.
In the process 100 of
In
In
In
In
In
In
The difference signal is input to an enhancement layer coder 270, which generates the enhancement layer bitstream based on the difference signal. In the alternative processor of
In some implementations, the frames of the input audio signal are processed before or after generation of the difference signal. In one embodiment, the difference signal is weighted and transformed into the frequency domain, for example using an MDCT, for processing by the enhancement layer encoder. In the enhancement layer, the error signal is comprised of a weighted difference signal that is transformed into the MDCT (Modified Discrete Cosine Transform) domain for processing by an error signal encoder, e.g., the enhancement layer encoder in
E=MDCT{W(s−sc)}, Eqn. (1)
where W is a perceptual weighting matrix based on the Linear Prediction (LP) filter coefficients A(z) from the core layer decoder, s is a vector (i.e., a frame) of samples from the input audio signal s(n), and sc is the corresponding vector of samples from the core layer decoder.
In one embodiment, the enhancement layer encoder uses a similar coding method for frames processed by the speech coder and for frames processed by the generic audio coder. In the case where the input frame is classified as a speech frame that is coded by a CELP coder, the linear prediction filter coefficients (A(z)) generated by the CELP coder are available for weighting the corresponding error signal based on the difference between the input frame and the processed frame sc(n) output by the speech (CELP) coder. However, for the case where the input frame is classified as a generic audio frame coded by a generic audio coder using an MDCT based coding scheme, there are no available LP filter coefficients for weighting the error signal. To address this situation, in one embodiment, LP filter coefficients are first obtained by performing an LPC analysis on the processed frame sc(n) output the generic audio coder before generation of the error signal at the difference signal generator. These resulting LPC coefficients are then used for generation of the perceptual weighting matrix W applied to the error signal before enhancement layer encoding.
In another implementation, the generation of the error signal E includes modification of the signal sc(n) by pre-scaling. In a particular embodiment, a plurality of error values are generated based on signals that are scaled with different gain values, wherein the error signal having a relatively low value is used to generate the enhancement layer bitstream. These and other aspects of the generation and processing of the error signal are described more fully in U.S. Publication No. 20090112607 corresponding to U.S. application Ser. No. 12/187,423 entitled “Method and Apparatus for Generating an Enhancement Layer within an Audio Coding System”.
In
In
In
Generally the input audio signal may be subject to delay, by a delay entity not shown, inherent to the first and/or second coders. Particularly, a delay element may be required along one or more of the processing paths to synchronize the information combined at the multiplexor. For example, the generation of the enhancement layer bitstream may require more processing time relative to the generation of one of the encoded bitstreams. Thus it may be necessary to delay the encoded bitstream in order synchronize it with the coded enhancement layer bitstream. Communication of the codeword may also be delayed in order to synchronize the codeword with the coded bit stream and the coded enhancement layer. Alternatively, the multiplexor may store and hold the codeword, and the coded bitstreams as they are generated and perform the multiplexing only after receipt of all of the element to be combined.
The input audio signal may be subject to filtering, by a filtering entity not shown, preceding the first or second coders. In one embodiment, the filtering entity performs re-sampling or rate conversion processing on the input signal. For example, an 8, 16 or 32 kHz input audio signal may be converted to a 12.8 kHz speech signal. More generally, the signal to all of the coders may be subject to a rate conversion, either upsampling or downsampling. In embodiments where one frame type is subject to rate conversion and the other frame type is not, is may be necessary to provide some delay in the processing of the frame that are not subject to rate conversion. One or more delay elements may also be desirable where the conversion rates of different frame type introduce different amounts of delay.
In one embodiment, the input audio signal is classified as either a speech signal or a generic audio signal based on corresponding sets of processed audio frames produced by the different audio coders. In the exemplary speech and generic audio signal processing embodiment, such an implementation suggests that the input frame be processed by both the audio coder and the speech coder before mode selection occurs or is determined. In
In
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 | Name | Date | Kind |
|---|---|---|---|
| 6029128 | Jarvinen et al. | Feb 2000 | A |
| 6236960 | Peng et al. | May 2001 | B1 |
| 6263312 | Kolsnik et al. | Jul 2001 | B1 |
| 6424940 | Agassy et al. | Jul 2002 | B1 |
| 6658383 | Koishida et al. | Dec 2003 | B2 |
| 7130796 | Tasaki | Oct 2006 | B2 |
| 7739120 | Makinen | Jun 2010 | B2 |
| 7783480 | Yoshida | Aug 2010 | B2 |
| 8275626 | Neuendorf et al. | Sep 2012 | B2 |
| 20030004711 | Koishida et al. | Jan 2003 | A1 |
| 20060047522 | Ojanpera | Mar 2006 | A1 |
| 20060173675 | Ojanpera | Aug 2006 | A1 |
| 20080065374 | Mittal et al. | Mar 2008 | A1 |
| 20100070269 | Gao | Mar 2010 | A1 |
| 20100280823 | Shlomot et al. | Nov 2010 | A1 |
| 20100292993 | Vaillancourt et al. | Nov 2010 | A1 |
| 20110016077 | Vasilache et al. | Jan 2011 | A1 |
| Number | Date | Country |
|---|---|---|
| 1483759 | Aug 2004 | EP |
| 1533789 | May 2005 | EP |
| 1619664 | Jan 2006 | EP |
| 1449205 | Sep 2007 | EP |
| 1845519 | Oct 2007 | EP |
| 2009055192 | Apr 2009 | WO |
| 2009126759 | Oct 2009 | WO |
| Entry |
|---|
| Scheirer and Kim; Generalized Audio Coding with MPEG-4 Structured Audio; Machine Listing Group, MIT Media Laboratory, Cambridge MA USA; 16 pages. |
| Purnhagen, An Overview of MPEG-4 Audio Version 2; Laboratorium Fur Informationstechologie; University of Hannover, Hannover, Germany; 12 pages. |
| Ramprashad; A Two Stage Hybrid Embedded Speech/Audio Coding Structure; Bell Laboratories, Lucent Technologies; Murray Hill, NJ; 4 pages. |
| Ramprashad; The Multimode Transform Predictive Coding Paradigm; IEEE Transactions on Speech and Audio Processing, vol. 11, No. 2, Mar. 2003; 13 pages. |
| Tancerel, et al., “Combined Speech and Audio Coding by Discrimination” Proceedings of the 2000 IEEE Workshop on Speech Coding, Sep. 17-20, 2000, pp. 154-156. |
| Qualcomm Inc., “Draft ToRs, Time Schedule and Qualification Test Conditions to Develop EVRC-WB Interworking Annex to G.EV-VBR”; International Telecommunication Union; COM16-C440-E; Apr. 2008; 11 pages. |
| Mittal, et al., “Coding Unconstrained FCB Excitation Using Combinatorial and Huffman Codes,” Proceedings of the 2002 IEEE Workshop on Speech Coding, Oct. 6-9, 2002, pp. 129-131. |
| Ashley, et al., Wideband Coding of Speech Using a Scalable Pulse Codebook, Proceedings of the 2000 IEEE Workshop on Speech Coding, Sep. 17-20, 2000, pp. 148-150. |
| Mittal, et al.,“Low Complexity Factorial Pulse Coding of MDCT Coefficients using Approximation of Combinatorial Functions,” IEEE International Conference on Acoustics, Speech and Signal Processing, 2007, ICASSP 2007, Apr. 15-20, 2007, pp. I-289 -I-292. |
| 3rd Gerneration Partnership Project, “3GPP TS 26.290 V7.0.0 (Mar. 2007); 3rd Generation Partnership Project; Technical Specification Group Service and System Aspects; Audio Codec Processing Functions; Extended Adaptive Multi-Rate-Wideband (AMR-WB+) Codec; Transcoding Functions,” 3rd generation Partnership Project, Release 7, Mar. 2007. |
| Chan, et al., “Frequency Domain Postfiltering for Multiband Excited Linear Predictive Coding of Speech,” Electronics Letters, Jun. 6, 1996, pp. 1061-1063. |
| Chen, et al., “Adaptive Postfiltering for Quality Enhancement of Coded Speech,” IEEE Transactions on Speech and Audio Processing, vol. 3, No. 1, Jan. 1995, pp. 59-71. |
| Andersen, et al., “Reverse Water-Filling in Predictive Encoding of Speech,” Proceedings of the 1999 IEEE Workshop on Speech Coding, Jun. 20-23, 1999, pp. 105-107. |
| Makinen, et al., “AMR-WB+: A New Audio Coding Standard for 3rd Generation Mobile Audio Service,” Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, 2005, ICASSP'05, vol. 2, Mar. 18-23, 2005, pp. ii/1109-ii/1112. |
| Faller, et al., “Technical Advances in Digital Audio Radio Broadcasting,” Proceedings of the IEEE, vol. 90, Issue 8, Aug. 2002, pp. 1303-1333. |
| Salami, et al., “Extended AMR-WB for High-Quality Audio on Mobile Devices,” IEEE Communications Magazine, vol. 44, Issue 5, May 2006, pp. 90-97. |
| Hung, et al., “Error-Resilient Pyramid Vector Quantization for Image Compression,” IEEE Transactions on Image Processing, vol. 7, Issue 10, Oct. 1998, pp. 1373-1386. |
| Kovesi, et al., “A Scalable Speech and Adiuo Coding Scheme with Continuous Bitrate Flexibility,” Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing 2004 (ICASSP '04) Montreal, Quebec, Canada, May 17-21, 2004, vol. 1, pp. 273-276. |
| Ramprashad, “Embedded Coding Using a Mixed Speech and Audio Coding Paradigm,” International Journal of Speech Technology, Kluwer Academic Publishers, Netherlands, vol. 2, No. 4, May 1999, pp. 359-372. |
| Patent Cooperation Treaty, “PCT Search Report and Written Opinion of the International Searching Authority” for International Application No. PCT/US2008/077693 (CML06419) Dec. 15, 2008, 12 pages. |
| Ramprashad, “High Quality Embedded Wideband Speech Coding Using an Inherently Layered Coding Paradigm,” Proceedings of International Conference on Acoustics, Speech, and Signal Processing, ICASSP 2000, vol. 2, Jun. 5-9, 2000, pp. 1145-1148. |
| International Telecommunication Union, “G.729.1, Series G: Transmission Systems and Media, Digital Systems and Networks, Digital Terminal Equipments—Coding of analogue signals by methods other than PCM,G.729 based Embedded Variable bit-rate coder: An 8-32 kbit/s scalable wideband coder bitstream interoperable with G.729,” ITU-T Recomendation G.729.1, May 2006, Cover page, pp. 11-18. Full document available at: http://www.itu.int/rec/T-REC-G.729.1-200605-I/en. |
| USPTO U.S. Appl. No. 12/187,423; “Method and Apparatus for Generating an Enhancement Layer within an Audio Coding System”; Motorola Docket No. CML06419; Specification 19 pages. |
| 3rd Generation Partnership Project 2; 3GPP2 C.20014-D, Version1.0, May 2009; “Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems”. |
| International Telecommunication Union, G.718, Series G: Transmission Systems and Media, Digital Systems and Networks, Digital Terminal Equipments—Coding of analogue signals by methods other than PCM; Frame Error Robust Narrowband and Wideband Embedded Variable bit-rate Coding of Speech and Audio from 8-32 kbit/s. |
| Patent Cooperation Treaty, “PCT Search Report and Written Opinion of the International Searching Authority” for International Application No. PCT/US2010/058193 (CS37078AUD) Feb. 8, 2011, 10 pages. |
| Jelinek et al. “ITU-T G.EV-VBR Baseline Codec” IEEE International Conference on Acoustics, Speech and Signal Processing, 2008, pp. 4749-4752. |
| Number | Date | Country | |
|---|---|---|---|
| 20110161087 A1 | Jun 2011 | US |