Two methods, In the time domain.
Counting zero crossings, in the time domain, to measure the period and frequency of a sine wave, using zerox~ and edge~
A patch by Mari Kimura that compares the Max fzero~ object with the IRCAM gbr.yin~ object – measuring frequency in the time domain. gbr.yin~ uses autocorrelation.
Note: gbr.yin~ is part of the FTM package. Download and install from here: http://ftm.ircam.fr/index.php/Download
download
https://github.com/tkzic/max-projects
folder: pitch-tracking
patches:
- zerox-test.maxpat
- MKtest-pitchtrack.maxpat