Yep, clock_delay() . Simples example is in Pd's "delay" object, x_time.c
cheers Miller On Sun, Jun 06, 2021 at 04:21:46PM -0700, Iain Duncan wrote: > Hi folks, I'm hoping someone can point me in the right direction here. I'm > porting Scheme for Max to pure data and I'm stuck figuring out how to get > delayed functions going. In Max, the SDK has a facility to make register a > callback to executed at some point in the future, a few different ways. Is > there a Pd equivalent, and if so, could anyone point me at resources or > code for it? I basically just need to be able to have a callback fire off > at the right time with one argument, which can be void pointer to the rest > of the stuff i want to get. > > thanks! > iain > _______________________________________________ > Pd-dev mailing list > [email protected] > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_listinfo_pd-2Ddev&d=DwICAg&c=-35OiAkTchMrZOngvJPOeA&r=XprZV3Fxus2L1LCw80hE4Q&m=uekrR-wLMB9CDNku0beRkRmoSJoExinRbBSlb0UQknQ&s=98jkGlO1FFE0Ea5fhSopCbZt6bmZH580Y0IUfgX4Rwk&e= > -- _______________________________________________ Pd-dev mailing list [email protected] https://lists.puredata.info/listinfo/pd-dev
