A UGen that takes concurrent pitch tracker paths, and conditions them for the
Viterbi algorithm. The inputs are typically taken from AutoCorrelationPitches
,
and from this a suitable add
signal is produced to be used in the Viterbi
UGen.
The output are matrices of size (numIn + 1).squared
.
'''Warning:''' This is still not thoroughly tested.
- Value Params
- lags
pitches given as sample periods, such as returned by
AutoCorrelationPitches
.- maxLag
the maximum lag time, corresponding to the minimum pitch
- numIn
number of paths / candidates. to this the unvoiced candidate is added
- octaveCost
weighting factor for low versus high frequency preference.
- octaveJumpCost
costs for moving pitches up and down. to match the parameters in Praat, you should multiply the "literature" value by
0.01 * sampleRate / stepSize
(typically in the order of 0.25)- peaks
the peak amplitude of the underlying input signal, one sample per pitch frame, used for the unvoiced candidate.
- silenceThresh
threshold for determining whether window is background or foreground.
- strengths
strengths corresponding to the
lags
, such as returned byAutoCorrelationPitches
.- voicedUnvoicedCost
cost for transitioning between voiced and unvoiced segments. to match the parameters in Praat, the "literature" value by
0.01 * sampleRate / stepSize
(typically in the order of 0.25) see StrongestLocalMaxima see Viterbi- voicingThresh
threshold for determining whether window is voiced or unvoiced.
- Companion
- object