f0ac

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 09:52, 1 October 2015 by Toni (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)
Result
The f0 vector. The vector contains the f0 values in Hz. The vector length depends mainly on the length of the signal vector x and the hopsize dt. For unvoiced frames the f0 values are set to zero.
See also
formants, SPU F0AC

<function list>

Navigation menu

Personal tools