plltrack
Tracks the pitch of a signal.
plltrack, 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".
Syntax
Performance
acps -- 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.
See also
Sensing and Control: Tempo and Pitch estimation
Credits
Author: Victor Lazzarini
NUI, Maynooth.
Maynooth, Ireland
September, 2012
New in Csound version 5.18.031