[PD-dev] Calling a method periodically

Greg Surges surgesg at gmail.com
Mon Mar 17 21:49:15 CET 2008


Thanks Claude and Georg,

It looks like this is the right track...

Looking at the metro code, I'm a little confused as to how the object
continues to output bangs after the first. What does it mean that
clock_delay "calls back"?

Thanks


On Mon, Mar 17, 2008 at 3:13 PM, Claude Heiland-Allen <
claudiusmaximus at goto10.org> wrote:

> Greg Surges wrote:
> > Hi all,
> >
> > Is there any way to have an external call a method periodically, without
> > being triggered?
>
> Clocks.  Check the C API in "m_pd.h"..
>
> > I'm thinking of a histogram with a decay function, where the values are
> > decremented every second (or other time value).
>
> I've done something like this with Lua, although I had the decrementing
> done by a [gemhead] not an internal clock, for tighter syncing with
> visuals.  That's what made the keys fade from orange->grey->blue, if you
> happened to be at LAC Club Night during my set.
>
> > Thanks!
> >
> > -Greg
>
>
> Claude
> --
> http://claudiusmaximus.goto10.org
>
>


-- 
http://www.uwm.edu/~gssurges/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20080317/307f6dd5/attachment.htm>


More information about the Pd-dev mailing list