Official way to get audio-rate beat count to M4L device?

AudioMatt's icon

Title says it all really. I see plugphasor~ and plugsync but I don't see a super rock solid way to integrate those objects and get an audio-rate signal that contains a number that represents "524.6521 beats" in the timeline. Especially given looping.

My goal is to drive some groove objects that sync very tightly with regions in an arrangement-view-track.

Roman Thilenius's icon


what would you miss in plugphasor~?

AudioMatt's icon

[Plugphasor~] gives me the phase within the beat but no the position in the arrangement.
[plugsync] gives me the position within the arrangement but because it's at scheduler rate, I don't see a way to combine them to give me a single audio-rate signal representing the position of playback.

Roman Thilenius's icon


a combination of both should give you a system which works at signal rate except for the first beat.

but what about putting a counter in a poly~, start it on "play", turn dsp off again on "stop" and add the beat of plugsync? i can´t test this here.