On 2021-06-12 19:11, Iain Duncan wrote:
- Is the Pd clock scheduler only accurate to the ms or does it
operate at higher than ms accuracy? (As in, if I wanted to role my own mechanism closer to what Seb did, how frequently should my master time go off?)
It's subsample accurate in Pd's logical time. Interaction with DSP needs care, see for example [vline~].
I think if you keep a priority queue data structure you can schedule your single clock to the soonest event, maybe rescheduling it when new events are added or the clock expires and the event fires.
Claude