f0ac
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
This function implements a F0 detection algorithm using autocorrelation, as described by Paul Boersma (1993: Accurate Short-Term Analysis of the Fundamental Frequency and the Harmonics-To-Noise Ratio of a Sampled Sound. Proceedings of the IFA. Vol 17. pp 97-110).
- Usage
f0ac(x, sr, dt, minf0, maxf0, nppw, nMaxCandidates, thSilence, thVoice, costOct, costOctJump, costVUV)
- x
- signal vector.
- sr
- sampling rate in Hertz.
- dt
- analysis hopsize in seconds; If this argument equals 0, the hopsize is set to
nppw / minf0 / 4
(default=0) - minf0
- minimum f0 in Hz (default=75)
- maxf0
- maximum f0 in Hz (default=400)
- nppw
- number of f0 periods per analysis window (default=3)
- nMaxCandidates
- maximum number of f0 candidates (default=15)
- thSilence
- silence threshold (default=0.05)
- thVoice
- voicing threshold (default=0.4)
- costOct
- octave cost (default=0.01)
- costOctJump
- octave jump cost (default=0.4)
- costVUV
- voiced/unvoiced transition cost (default=0.2)