Linear Prediction Spectral Envelope
Linear Prediction (LP) implicitly computes a spectral envelope that
is well adapted for audio work, provided the order of the predictor is
appropriately chosen. Due to the error minimized by
LP, spectral peaks are emphasized in the envelope, as they are
in the auditory system. (The peak-emphasis of LP is quantified
in §9.3.2 below.)
The term ``linear prediction'' refers to the process of predicting a
signal sample
based on
past samples:
 |
(10.2) |
We call

the
order of the linear predictor, and

the
prediction coefficients.
The
prediction error (or ``
innovations
sequence'' [
109]) is denoted

in (
9.2),
and it represents all new information entering the signal

at time

. Because the information is new,

is ``unpredictable.''
The predictable component of

contains no new information.
Taking the z transform of (9.2) yields
where

.
In signal modeling by linear prediction, we are given the signal

but not the prediction coefficients

. We must
therefore
estimate them. Let

denote the polynomial with estimated prediction
coefficients

. Then we have
where

denotes the estimated prediction-error
z transform. By
minimizing

, we define a minimum-
least-squares estimate

. In other words, the linear prediction coefficients

are
defined as those which minimize the sum of squared prediction errors
over some range of

, typically an interval over which the signal
is
stationary (defined in Chapter
5). It turns out
that this minimization results in maximally
flattening the
prediction-error
spectrum 
[
11,
148,
153].
That is, the optimal

is a
whitening filter (also
called an
inverse filter). This makes sense in terms
of Chapter
5 when one considers that a flat
power spectral
density corresponds to
white noise in the time domain, and only white
noise is completely unpredictable from one sample to the next. A
non-flat
spectrum corresponds to a nonzero
correlation between two
signal samples separated by some nonzero time interval.
If the prediction-error is successfully whitened, then the signal
model can be expressed in the frequency domain as
where

denotes the power spectral density of

(defined
in Chapter
5), and

denotes the variance of
the (white-
noise) prediction error

. Thus, the
spectral
magnitude envelope may be defined as
EnvelopeLPC
Subsections
Previous: Cepstral WindowingNext: Linear Prediction is Peak Sensitive
About the Author: Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at
Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See
http://ccrma.stanford.edu/~jos/ for details.