[PD-dev] Calling a method periodically
Georg Holzmann
grh at mur.at
Mon Mar 17 21:11:34 CET 2008
Hallo!
Greg Surges schrieb:
> Hi all,
>
> Is there any way to have an external call a method periodically, without
> being triggered?
> I'm thinking of a histogram with a decay function, where the values are
> decremented every second (or other time value).
Clocks can be used to do that. Look e.g. at the code of the metro object
in pd core.
You could also look at externals/grh/threadlib/callbacks.c, but I guess
it's easier to understand it in the metro object code.
LG
Georg
More information about the Pd-dev
mailing list