Note: plug-in building for hosts other than Ableton Live is no longer supported. For more information to help you make the transition to creating plug-ins in Max for Live, see Max for Live for Pluggo Developers.
plugphasor~ outputs an audio-rate sawtooth wave that is sample-synchronized to the beat of the host sequencer. The waveform can be fed to other audio objects to lock audio processes to the audio of the host.
signal:
The output of plugphasor~ is analogous to phasor~: it ramps from 0 to 1.0 over the period of a beat. If the current host environment does not support synchronization or the host's transport is stopped, the output of plugphasor~ is a zero signal.