Code-excited linear prediction (CELP) is a
linear predictive speech coding
Speech coding is an application of data compression of digital audio signals containing speech. Speech coding uses speech-specific parameter estimation using audio signal processing techniques to model the speech signal, combined with generic ...
algorithm originally proposed by
Manfred R. Schroeder and
Bishnu S. Atal in 1985. At the time, it provided significantly better quality than existing low bit-rate algorithms, such as
residual-excited linear prediction (RELP) and
linear predictive coding
Linear predictive coding (LPC) is a method used mostly in audio signal processing and speech processing for representing the spectral envelope of a digital signal of speech in compressed form, using the information of a linear predictive mo ...
(LPC)
vocoders
A vocoder (, a portmanteau of ''voice'' and ''encoder'') is a category of speech coding that analyzes and synthesizes the human voice signal for audio data compression, multiplexing, voice encryption or voice transformation.
The vocoder wa ...
(e.g.,
FS-1015). Along with its variants, such as
algebraic CELP,
relaxed CELP
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 confo ...
,
low-delay CELP and
vector sum excited linear prediction, it is currently the most widely used speech coding algorithm. It is also used in
MPEG-4 Audio
MPEG-4 Part 3 or MPEG-4 Audio (formally ISO/ IEC 14496-3) is the third part of the ISO/ IEC MPEG-4 international standard developed by Moving Picture Experts Group. It specifies audio coding methods. The first version of ISO/IEC 14496-3 was publi ...
speech coding. CELP is commonly used as a generic term for a class of algorithms and not for a particular codec.
Background
The CELP algorithm is based on four main ideas:
* Using the
source-filter model of speech production through
linear prediction (LP) (see the textbook "speech coding algorithm");
* 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
Vector quantization (VQ) is a classical quantization technique from signal processing that allows the modeling of probability density functions by the distribution of prototype vectors. It was originally used for data compression. It works by di ...
(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-1 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 fixed (a.k.a. stochastic or innovation) and adaptive (a.k.a. pitch) codebooks:
:
where