A sample accurate version of the Max metro object.
Detects state change when a phasor goes from one to zero. I first saw this in a patch by jhno. Here is a tutorial by Cycling 74: https://cycling74.com/wiki/index.php?title=MSP_Sequencing_Tutorial_1:_Audio-Rate_Sequencing
This patch is used as a clock in an RTTY (frequency shift keying) project. https://reactivemusic.net/?p=8893. It uses the count~ object instead of phasor~ because its easier to restart the clock at zero phase.
Download
https://github.com/tkzic/max-projects
folder: phasor-clock
patches:
- phasor-clock.maxpat