[PD-dev] Calling a method periodically

Claude Heiland-Allen claudiusmaximus at goto10.org
Mon Mar 17 21:13:38 CET 2008


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





More information about the Pd-dev mailing list