Programmer Guide/Command Reference/EVAL/formants: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
:;<var>bias</var>:tracking bias in Hz | :;<var>bias</var>:tracking bias in Hz | ||
:;<var>lmin</var>:the minimum length of a track in frames | :;<var>lmin</var>:the minimum length of a track in frames | ||
;Result: A matrix with N rows and L columns. Each column ''l'' contains the formant track with order ''l+1 | ;Result: A matrix with N rows and L columns. Each column ''l'' contains the formant track with order ''l''+1. L is the maximum formant order or the maximum number of parallel tracks. | ||
;See also: [[../f0ac|f0ac]], [[../lpc|lpc]], [[../cepstrum|cepstrum]], [[../ipeaks|ipeaks]], [[Programmer_Guide/SPU_Reference/FORMANTS|FORMANTS]] | ;See also: [[../f0ac|f0ac]], [[../lpc|lpc]], [[../cepstrum|cepstrum]], [[../ipeaks|ipeaks]], [[Programmer_Guide/SPU_Reference/FORMANTS|FORMANTS]] | ||
[[../#Functions|<function list>]] | [[../#Functions|<function list>]] |
Revision as of 14:54, 20 April 2011
Format tracking algorithm.
- Usage
formants(cf, ca, f0, mflag, bias, lmin)
- cf
- a matrix containing the frequencies of the formant candidates in Hz
- ca
- a matrix containing the amplitudes of formant candidates in dB
- each row of cf/ca contains the candidates of one frame
- number of frames: N=
nrow(cf)
- maximum number of candidates M=
ncol(cf)
- ca must be a matrix with the same dimensions as cf or a scalar (if amplitudes should not be used for formant tracking)
- f0
- f0 vector
- f0 must be a vector with length N containing the f0 values or a scalar (if f0 should not be used for formant tracking)
- if f0 is supplied, the formant tracking is only applied to voiced regions
- mflag
- selects the tracking method
- currently only one method (mflag=0) is implemented (see sp-atom FORMANTS for more details)
- a second method using a formant modell is under development
- bias
- tracking bias in Hz
- lmin
- the minimum length of a track in frames