formants
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
formants
Format tracking algorithm.
Usage:
formants(type, fcd, f0, fmd, dt, kdt, minsd)
Parameters:
- type
- The type of formant candidate array:
0
- frequencies only.fcd(i,j)
= frq of candidate j in frame i
1
- frequencies and amplitudes.fcd(i,2*j)
= frq of candidate j in frame i
fcd(i,2*j+1)
= mp of candidate j in frame i
- fcd
- The array of formant candidates, format defined by the argument type.
- f0
- The f0 vector.
- fmd
- The formant model parameters:
- fmd(i,0) = minimum frequency of formant i
- fmd(i,1) = maximum frequency of formant i
- fmd(i,2) = maximum frequency slope of formant i (Hz / kdt)
- fmd(i,3) = maximum amplitude slope of formant i (dB / kdt)
- dt
- The hopsize.
- kdt
- The reference time for the slope values of the model (in seconds). The default is the same as dt.
- minsd
- The minimum duration of the tracking sections (in seconds). The default is
2 *
dt.
Function:
Formant tracking algorithm.
Result:
The formant frequency tracks.
Return Type:
array