Code-excited linear prediction (CELP) is a
linear predictive speech coding algorithm originally proposed by
Manfred R. Schroeder
Manfred Robert Schroeder (12 July 1926 – 28 December 2009) was a German physicist, most known for his contributions to acoustics and computer graphics. He wrote three books and published over 150 articles in his field.
Born in Ahlen, he stud ...
and
Bishnu S. Atal
Bishnu S. Atal (born 1933) is an Indian physicist and engineer. He is a noted researcher in acoustics, and is best known for developments in speech coding. He advanced linear predictive coding (LPC) during the late 1960s to 1970s, and develope ...
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 (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 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 (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
The Cray-1 was a supercomputer designed, manufactured and marketed by Cray Research. Announced in 1975, the first Cray-1 system was installed at Los Alamos National Laboratory in 1976. Eventually, over 100 Cray-1s were sold, making it one of the ...
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