Modelintro
Source-filter model
Also called source-filter model of speech production, source-filter theory.
Speech as a glottal or noise source passed through a vocal tract filter, so the spectrum splits into an excitation and an envelope.
The source-filter model describes a speech signal as the output of a linear filter, the vocal tract, driven by a source: a train of glottal pulses for voiced sounds, noise for unvoiced sounds, or both. Because the two parts are assumed independent, the spectrum of a frame is the product of a fine structure set by the source and a smooth envelope set by the filter, and the log spectrum is their sum. It is a physical model of how speech is made; linear predictive coding is a method that fits its filter as an all-pole model, and the cepstrum is a method that separates its two parts.
The machine
Speech is sampled at , here 16 kHz. One frame of 10 to 30 ms is modeled as
where each factor is a linear time-invariant system, and the parameters change from frame to frame.
- Source . For voiced sounds, an impulse train with period samples, so the fundamental frequency is . For unvoiced sounds, white noise. A gain scales either one. Voiced fricatives such as "z" mix both.
- Glottal pulse . Each glottal pulse is a smooth bump, not an impulse. Its spectrum falls by about 12 dB per octave above a few hundred Hz, and it is often modeled by two real poles near (heuristic).
- Vocal tract . For vowels, an all-pole filter with . Each pair of complex poles at radius and angle is a formant at with a bandwidth of about Hz. Nasals and some consonants also need zeros.
- Radiation . The sound at a distance from the lips is about the derivative of the volume velocity, , a rise of 6 dB per octave (heuristic).
The model assumes that the source does not depend on the filter, that the tract is linear, and that the parameters are fixed within a frame (quasi-stationarity). Many uses merge , and into one all-pole filter of order , which gives the classic model of linear prediction, .
What it counts
A frame is described by a few numbers: a voicing decision, for voiced frames, a gain , and the coefficients of , or equivalently formant frequencies and bandwidths. A common rule of thumb for the order is , one pole pair per kHz of bandwidth for the formants plus 2 poles for the glottal and radiation slope (heuristic); this gives at 8 kHz and at 16 kHz. With an update every 10 ms, the whole model is a few hundred numbers per second, against 16 000 samples per second for the waveform, which is why vocoders and LPC coders use it.
Relation to other models
- Linear prediction. Linear predictive coding estimates and from a frame by solving the normal equations with the Levinson-Durbin recursion. It assumes the merged all-pole filter and no explicit glottal pulse; see also linear prediction.
- Lossless tube model. A tract made of short tubes of equal length with different areas, lossless and closed at the glottis, has an all-pole transfer function whose reflection coefficients come from the area ratios. This is the physical reading of the reflection coefficients of the Levinson recursion.
- Homomorphic model. Taking the log of turns the product into a sum, and the cepstrum of the sum places the envelope at low quefrencies and the pitch at the quefrency .
- Front ends. The mel filter bank, MFCC and perceptual linear prediction all try to keep and discard : wide filters average over the harmonics, and a short cepstrum keeps only the envelope. Pre-emphasis undoes part of the spectral slope of before analysis.
- Neural vocoders. Modern speech synthesis often drops the explicit split, but some neural vocoders still drive a learned filter with a pulse and noise source.
Known results in the model
Harmonics sample the envelope (theorem). If is a periodic impulse train with period , the output is periodic with period , and its spectrum is made of lines at the harmonics with amplitudes proportional to . So a voiced spectrum is the envelope seen only at multiples of . For with one formant at 1000 Hz and a bandwidth of 80 Hz at 16 kHz (, , ), a source at Hz gives harmonics at 900, 1000 and 1100 Hz with levels , 0 and dB relative to the peak, and the harmonic at 2000 Hz is at dB. A source at Hz misses the peak: its harmonics near the formant are at 900 and 1200 Hz, at and dB, which is why formants are hard to measure in high voices.
Linear prediction is exact on an all-pole output (theorem). If is the impulse response of with of order and all zeros inside the unit circle, then its autocorrelation over all time satisfies for , the Yule-Walker equations, and . So the Levinson-Durbin recursion of order on returns and exactly. For the one-formant filter above, the recursion on the autocorrelation of 20 000 samples of the impulse response returns , and an error of 1.0000. On a short windowed frame of a voiced signal the equations hold only approximately, and the estimate is biased toward the nearest harmonic (measurement).
Resonances of a uniform tube (theorem, for the ideal tube). A lossless uniform tube of length , closed at the glottis and open at the lips, resonates at . With cm and m/s this is 500, 1500, 2500 Hz and so on, the formants of a neutral vowel. A shorter tract moves every formant up by the same factor, which is one reason formants of children are higher than those of adults.
Separation in the cepstrum (theorem, with a heuristic condition). For a minimum phase with poles , the complex cepstrum of is for , whose size is at most . The cepstrum of a periodic impulse train is nonzero only at multiples of . So when the envelope part has decayed well before , a low-time lifter separates the two. At Hz and 16 kHz, samples, and an envelope with pole radii up to 0.98 has terms of size at most there.
Spectral slope (measurement). The glottal fall of about 12 dB per octave and the radiation rise of 6 dB per octave leave voiced speech with a fall of about 6 dB per octave above a few hundred Hz. Pre-emphasis with undoes most of it.
References
- Gunnar Fant, Acoustic Theory of Speech Production, the source, the vocal tract transfer function and the radiation as separate factors of the speech spectrum
- L. R. Rabiner and R. W. Schafer, Digital Processing of Speech Signals, Prentice Hall, 1978, Chapter 3 (the digital model of speech production: the excitation, the vocal tract as lossless tubes and an all-pole filter, and the radiation)
- Xuedong Huang, Alex Acero and Hsiao-Wuen Hon, Spoken Language Processing, Prentice Hall, 2001, Chapter 6 (Speech Signal Representations), the source-filter view behind linear prediction and the cepstrum
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag QFYSEB Edit this page History Report an error Markdown