ms is likely too long. I think you'd probably want to have an OS-level high frequency timer, think sending MIDI Clock sync. Those are likely to take more CPU but should not be 100%. Without knowing the details of the project, if it were me, I might try writing a simple C/C++ utility that runs a high frequency timer and sends out timing beats with you can periodically synchronize over OSC for the whole system of clients... but then that starts to fall into work already done by others... what is the timing accuracy of Ableton Link, for example? There is an external for it.

On Oct 16, 2025, at 10:47 AM, Patko nytkophilus <colet.patrice@gmail.com> wrote:



Le 16 oct. 2025 à 08:54, Peter P. <peterparker@fastmail.com> a écrit :

I tried polling [time] with a high speed [metro 0.001] and compare
that time to a threshold value. But that maxes out cpu usage to 100%.

a workaround would be about creating an external combining writesf~ and a microseconds polling
---
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/CDQ7K5OOOSIFMTFRESNJHBX4AUS6GGBJ/

To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

--------
Dan Wilcox
danomatika.com
robotcowboy.com