Code excited linear prediction


Code excited linear prediction

Code excited linear prediction (CELP) is a speech coding algorithm originally proposed by M.R. Schroeder and B.S. Atal in 1985. At the time, it provided significantly better quality than existing low bit-rate algorithms, such as RELP and LPC vocoders (e.g. FS-1015). Along with its variants, such as ACELP, RCELP, LD-CELP and VSELP, it is currently the most widely used speech coding algorithm. CELP is now used as a generic term for a class of algorithms and not for a particular codec.

Introduction

The CELP algorithm is based on four main ideas:

* Using the source-filter model of speech production through linear prediction (LP);
* Using an adaptive and a fixed codebook as the input (excitation) of the LP model;
* Performing a search in closed-loop in a “perceptually weighted domain”.
* Applying vector quantization (VQ)

The original algorithm as simulated in 1983 by Schroeder and Atal required 150 seconds to encode 1 second of speech when run on a Cray I supercomputer. Since then, more efficient ways of implementing the codebooks and improvements in computing capabilities have made it possible to run the algorithm in embedded devices, such as mobile phones.

CELP decoder

Before exploring the complex encoding process of CELP we introduce the decoder here. Figure 1 describes a generic CELP decoder. The excitation is produced by summing the contributions from an adaptive (aka pitch) codebook and a fixed (aka innovation or stochastic) codebook:

:e [n] =e_a [n] +e_f [n] ,

where e_{a} [n] is the adaptive (pitch) codebook contribution and e_{f} [n] is the fixed (innovation) codebook contribution. The fixed codebook is a vector quantization dictionary that is (implicitly or explicitly) hard-coded into the codec. This codebook can be algebraic (ACELP) or be stored explicitly (e.g. Speex). The entries in the adaptive codebook consist of delayed versions of the excitation. This makes it possible to efficiently code periodic signals, such as voiced sounds.

The filter that shapes the excitation has an all-pole model of the form 1/A(z), where A(z) is called the prediction filter and is obtained using linear prediction (Levinson-Durbin algorithm). An all-pole filter is used because it is a good representation of the human vocal tract and because it is easy to compute.

CELP encoder

The main principle behind CELP is called Analysis-by-Synthesis (AbS) and means that the encoding (analysis) is performed by perceptually optimizing the decoded (synthesis) signal in a closed loop. In theory, the best CELP stream would be produced by trying all possible bit combinations and selecting the one that produces the best-sounding decoded signal. This is obviously not possible in practice for two reasons: the required complexity is beyond any currently available hardware and the "best sounding" selection criterion implies a human listener.

In order to achieve real-time encoding using limited computing resources, the CELP search is broken down into smaller, more manageable, sequential searches using a simple perceptual weighting function. Typically, the encoding is performed in the following order:
* LPC coefficients are computed and quantized, usually as LSPs
* The adaptive (pitch) codebook is searched and its contribution removed
* The fixed (innovation) codebook is searched

Noise weighting

Most (if not all) modern audio codecs attempt to shape the coding noise so that it appears mostly in the frequency regions where the ear cannot detect it. For example, the ear is more tolerant to noise in parts of the spectrum that are louder and vice versa. That's why instead of minimizing the simple quadratic error, CELP minimizes the error for the "perceptually weighted" domain. The weighting filter W(z) is typically derived from the LPC filter by the use of bandwidth expansion:

:W(z) = frac{A(z/gamma_1)}{A(z/gamma_2)}

where gamma_1 > gamma_2.

External links

* This is based on a [http://people.xiph.org/~jm/papers/speex_lca2006.pdf paper] presented at [http://linux.conf.au/ Linux.Conf.Au]
* Some parts based on the Speex codec [http://www.speex.org/docs/ manual]
* [http://www.speech.cs.cmu.edu/comp.speech/Section3/Software/celp-3.2a.html reference implementations] of CELP 1016A and LPC 10e.

References

* B.S. Atal, "The History of Linear Prediction," "IEEE Signal Processing Magazine", vol. 23, no. 2, March 2006, pp. 154–161.

* M. R. Schroeder and B. S. Atal, "Code-excited linear prediction (CELP): high-quality speech at very low bit rates," in "Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing" (ICASSP), vol. 10, pp. 937–940, 1985.


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Code-excited linear prediction — (CELP) is a speech coding algorithm originally proposed by M.R. Schroeder and B.S. Atal in 1985. At the time, it provided significantly better quality than existing low bit rate algorithms, such as residual excited linear prediction and linear… …   Wikipedia

  • Code-Excited Linear Prediction — Prinzipaufbau des CELP Decoders Code( book) Excited Linear Prediction (CELP) ist ein hybrides Verfahren zur Audiodatenkompression, das die Vorteile der Signalformkodierung mittels Vektorquantisierung und der parametrischen Verfahren vereint. Das… …   Deutsch Wikipedia

  • Code Excited Linear Prediction — Code( book) Excited Linear Prediction (CELP) ist ein hybrides Audiokompressionsverfahren, das die Vorteile der Signalformkodierung mittels Vektorquantisierung und der parametrischen Verfahren vereint. Das Ergebnis ist eine gute Sprachqualität,… …   Deutsch Wikipedia

  • Algebraic Code Excited Linear Prediction — Der Algebraic Code Excited Linear Prediction, abgekürzt ACELP, stellt einen patentierten Vocoder der Firma VoiceAge Corporation dar, welcher bei der verlustbehafteten Kompression von Sprachsignalen im Telekommunikationsbereich Anwendung findet.… …   Deutsch Wikipedia

  • Algebraic code excited linear prediction — (ACELP) is a speech encoding algorithm where a limited set of pulses is distributed as excitation to linear prediction filter.The ACELP method is widely employed in current speech coding standards such as AMR, EFR, AMR WB and ITU T G series… …   Wikipedia

  • Relaxed code excited linear prediction — (RCELP) is a method used in some advanced speech codecs. The RCELP algorithm does not attempt to match the original signal exactly. Instead, it matches a time warped version of this original signal that conforms to a simplified pitch contour …   Wikipedia

  • Code-book Excited Linear Prediction — Code( book) Excited Linear Prediction (CELP) ist ein hybrides Audiokompressionsverfahren, das die Vorteile der Signalformkodierung mittels Vektorquantisierung und der parametrischen Verfahren vereint. Das Ergebnis ist eine gute Sprachqualität,… …   Deutsch Wikipedia

  • Residual-excited linear prediction — (RELP) is an obsolete speech coding algorithm. It was originally proposed in the 1970s and can be seen as an ancestor of Code Excited Linear Prediction (CELP). Unlike CELP however, RELP directly transmits the residual signal. To achieve lower… …   Wikipedia

  • Codebook Excited Linear Prediction — Code( book) Excited Linear Prediction (CELP) ist ein hybrides Audiokompressionsverfahren, das die Vorteile der Signalformkodierung mittels Vektorquantisierung und der parametrischen Verfahren vereint. Das Ergebnis ist eine gute Sprachqualität,… …   Deutsch Wikipedia

  • CELP — Code Excited Linear Prediction (Computing » General) Code Excited Linear Prediction (Computing » Networking) * Cellular Products, Inc. (Business » NASDAQ Symbols) * Code Excited Linear Projection (Academic & Science » Chemistry) …   Abbreviations dictionary