[PD] Clocks and [pipe] in Lua

matteo sisti sette matteosistisette at gmail.com
Thu Mar 13 14:38:03 CET 2008


> > Something like this probably works (untested...):
> >
> > function M:in_1(sel, atoms)
> > [...]
> > end
>
> Ah, a very elegant solution. It's tested now (attached) and seems to
> work really well.

I'll need some time to understand this (have to read some pdlua
documentaion, understand clicks, ntm get familiar with lua), so in the
meanwhile please forgive a stupid question:

Does this solve/eliminate the problem mentioned by Frank? that is:

> My problem is the hypothetical "makeclock". It should be a clock that
> somehow is tied to the event. But as I see it, clocks in pdlua are
> supposed to be tied to a pdclass object itself, and their callback
> methods don't accept any additional arguments to specify which of the
> event they should handle.

Thanks
m.

-- 
Matteo Sisti Sette
matteosistisette at gmail.com
http://www.matteosistisette.com




More information about the Pd-list mailing list