plltrackInstrument Control:Sensing and Controlplltrackplltrack
Tracks the pitch of a signal.
Descriptionplltrack, a pitch tracker based on a phase-locked loop algorithm, described in Zolzer, U, Sankarababu, S.V. and Moller, S, "PLL-based Pitch Detection and Tracking for Audio Signals. Proc. of IIH-MSP 2012".
Syntaxacps, alock plltrack asig, kd [, kloopf, kloopq, klf, khf, kthresh]Performanceacps -- estimated pitch in Hz.
alock -- phase lock indicator, a phase error indicating the quality of the tracking, with values between 0 and 1. Higher values
indicate good tracking
kd -- PLL feedback gain, controls frequency range of PLL (between 0 and 1). Higher values increase the range of the tracking.
kloopf -- PLL LP filter cf, controls frequency range of PLL (opt, defaults to 20Hz).
kloopq -- PLL LP filter Q, controls rise time of FO step (opt, defaults to 1/3)
klf -- lowest tracking freq (opt, defaults to 20Hz)
khf -- highest tracking freq (opt, defaults to 1500Hz)
kthresh -- tracking signal level threshold (optional, defaults to 0.001, equiv to -60dBfs)
plltrack analyzes the input signal, asig,
estimating the fundamental of a monophonic signal. Its output is updated every sample.
Examples
Here is an example of the plltrack operator. It uses the file plltrack.csd.
Example of the plltrack operator.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoSensing and Control: Tempo and Pitch estimationCreditsAuthor: &namevictor;NUI, Maynooth.Maynooth, IrelandSeptember, 2012New in Csound version 5.18.031