[PD] schedule a sequence of events

Claude Heiland-Allen claudiusmaximus at goto10.org
Mon May 5 12:13:16 CEST 2008


This can be done with [pipe] and [list-drip] from list-abs, no externals 
required.  See attached.  Note: this works in "Pd-standard" ms instead 
of s, but the fix is trivial.

Hope this is useful,


Claude

altern wrote:
> hi
> 
> i needed to schedule a sequence of events, in this case start/stop 
> certain parts of a patch over time. I wanted to be able to pass to an 
> abstraction a list of time intervals (in secs and with variable length) 
> and then get output a series of bangs after each of the intervals. I 
> attach the solution I found, not sure if this is clever or there is 
> maybe something already done for this? I use drip, coll and delay.
> 
> It receives a list of times like
> 2 3 0.5
> and outputs the index at the right time. In this case after 2 secs 
> outputs num 0, after 3 secs num 1, and after half a sec more outputs num 2.
> 
> I called it sequence but i bet this name is already taken and it would 
> be wise to rename it with another one.
> 
> thanks for any feedback or ideas
> 
> enrike
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pure-pd-sequencer.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080505/8b96cefd/attachment.txt>


More information about the Pd-list mailing list