Modeling the voice
The voice can be modelled as an acoustic system of two parts: the source and the filter.
This is a very common model of the human voice fittingly called the source-filter model of voice production.
The most general description of the source-filter model does not make any assumptions about possible interactions between the source and the filter (e.g. the behaviour of the filter affecting the behaviour of the source and vice versa).
To simplify things, we will make the assumption, also quite common, that there are no such source-filter interactions.
This is a very important assumption, though not without drawbacks, because it will allow us to use linear prediction for formant estimation.
Expressing the source-filter model in the digital Z-domain yield the following:
, where corresponds to the speech signal.
is the source (glottal flow) and is the filter (vocal tract filter).
represents the lip radiation effect, which can be grossly modelled as a first-order FIR filter.
, where
Now, in practice, we can often cancel out the lip radiation effect in the preprocessing stage by combining it with pre-emphasis. More on that later. For this reason we can consider only and from this point forward.
Let's go further in our modelisation: we can assume that the vocal tract filter is a cascade of resonances and antiresonances.
We can model each resonance as a two-pole filter where the two poles are complex conjugates of each other.
And likewise, each antiresonance as a two-zero filter where the two zeroes are complex conjugates of each other.
We can then express the poles and zeroes using the frequencies and bandwidths in Hertz, given a sampling frequency .
, where and are the bandwidth and frequency of the resonance.
, where and are the bandwidth and frequency of the antiresonance.
Since we assumed that those filters are cascaded, we can express as the product of all the resonance and antiresonance filters.
, where and are the number of resonances and antiresonances respectively.
Expanding both polynomials, we end up with a fraction of two polynomials of , the numerator of degree , the denominator of degree .
Considering this expression, we can reformulate the problem of formant estimation as solving for those two polynomials.