Programmer Guide/Command Reference/EVAL/f0ac: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 15: Line 15:
:;<var>costVUV</var>:voiced/unvoiced transition cost (default=0.2)
:;<var>costVUV</var>: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.
;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|formants]], [[Programmer_Guide/SPU_Reference/F0TH]]
;See also: [[../formants|formants]], [[Programmer_Guide/SPU_Reference/F0AC]]


[[../#Functions|<function list>]]
[[../#Functions|<function list>]]

Revision as of 15:26, 20 April 2011

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)
minf0minimum f0 in Hz (default=75)
maxf0maximum f0 in Hz (default=400)
nppwnumber 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)
costOctJumpoctave 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, Programmer_Guide/SPU_Reference/F0AC

<function list>

Navigation menu

Personal tools