Linear Predictive Coding
Linear Predictive Coding for Speech Modeling and Compression · Also known as: LPC, autoregressive model, speech prediction, vocal tract modeling
Linear Predictive Coding (LPC) is a powerful signal processing technique for modeling and compressing speech by assuming each speech sample can be predicted from a linear combination of previous samples. Pioneered by Burg and Makhoul in the 1970s, LPC is the foundation of speech codecs, speech synthesis, speaker recognition, and speech enhancement. LPC exploits the time-correlated structure of speech to achieve high compression ratios and enable efficient parameter extraction.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
When to use it
Use LPC for speech compression and coding (telephony, VoIP), speaker verification and recognition, voice quality assessment, speech synthesis (TTS), and speech enhancement. LPC is particularly effective at low bit rates (< 4 kbps) and for clean speech. For wideband audio (music) or very low bit rates (< 1 kbps), more sophisticated codecs may be preferred.
Strengths & limitations
- Highly efficient compression: speech can be represented with 12–24 parameters per 20 ms frame (~600 bits/sec), enabling 50:1+ compression.
- Represents vocal tract physics: LPC coefficients correspond to vocal tract resonances (formants), making them interpretable and robust to noise.
- Fast computation: LPC coefficients can be estimated in real time on embedded hardware using Durbin recursion or lattice algorithms.
- Provides clear separation of excitation (pitch, gain) and filter (vocal tract); enables speech modification (pitch shifting, time stretching, voice conversion).
- Well-established and standardized: LPC is used in military and cellular speech codecs; decades of refinement ensure reliability.
- Designed for speech; music and general audio require higher model order or alternative methods.
- Assumes linear vocal tract and steady-state sound production; transients (plosives, fricatives) are not modeled accurately.
- Pitch estimation is challenging, especially for female speakers and noisy conditions; pitch errors propagate into synthesis.
- Low-frequency residual (>1 kHz detail) is often quantized aggressively; speech intelligibility depends on accurate high-frequency representation.
- Individual speaker variation (accent, voice quality) not captured in basic LPC; speaker normalization requires additional processing.
Frequently asked
What is the optimal LPC order for speech?
Typical LPC order is 10–12 for speech at 8 kHz and 16–20 for wideband (16 kHz) speech. A rule of thumb: order ≈ 2 + fs/1000, where fs is sampling rate in Hz. Higher order captures more detail but requires more coefficients and risks overfitting. Listening tests often guide the choice.
How do I extract speaker identity from LPC coefficients?
Use cepstral analysis of LPC (inverse FFT of log LPC spectrum) to extract formant positions and fine spectral structure characteristic of a speaker. These cepstral features (typically 12–13 coefficients) are more discriminative than raw LPC and are used in speaker recognition systems.
Why is pitch estimation hard in LPC?
LPC models the vocal tract filter; pitch is determined by excitation (vibration rate), not the filter. Pitch estimation requires separate autocorrelation analysis or harmonic analysis of the residual signal. Noisy or weak pitch signals (female speakers, whisper) are particularly challenging; errors in pitch estimation directly degrade synthesis quality.
Can LPC compress music and general audio?
LPC is designed for speech and performs poorly on music because music has rich harmonic content and complex spectral structure. Higher LPC order (50+) can model music roughly, but dedicated audio codecs (MP3, AAC) achieve better quality and compression. LPC remains the standard for speech-only applications.
How is LPC related to CELP codecs?
CELP (Code-Excited Linear Prediction) enhances LPC by replacing a simple pitch excitation with a vector-quantized code from a codebook. This improves quality at low bit rates (< 8 kbps). CELP is the basis of many modern cellular speech codecs (GSM-EFR, EVRC, CDMA); it's essentially LPC plus sophisticated excitation modeling.
Sources
- Makhoul, J. (1975). Linear prediction: A tutorial review. Proceedings of the IEEE, 63(4), 561–580. DOI: 10.1109/PROC.1975.9792 ↗
- Rabiner, L. R., & Schafer, R. W. (1978). Digital Processing of Speech Signals. Prentice-Hall. ISBN: 978-0132136029
- Haykin, S. (2002). Adaptive Filter Theory (4th ed.). Prentice Hall. ISBN: 978-0130901262
How to cite this page
ScholarGate. (2026, June 3). Linear Predictive Coding for Speech Modeling and Compression. ScholarGate. https://scholargate.app/en/acoustics/linear-predictive-coding
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Bark and Mel ScalesAcoustics↔ compare
- BeamformingAcoustics↔ compare
- Cepstral AnalysisAcoustics↔ compare
- Psychoacoustic MaskingAcoustics↔ compare
- Speech IntelligibilityAcoustics↔ compare