[PD] telling loops to wait!
Ian Smith-Heisters
heisters at 0x09.com
Fri Jan 28 05:51:22 CET 2005
Yes that makes sense. Unfortunately you didn't ask any other questions.
Somebody posted this earlier today:
http://www.catb.org/~esr/faqs/smart-questions.html
But, just to send you sailing in the general direction of an answer...
load your samples into arrays. Figure out a way to tell when an array is
done playing. Once you figure that out, you can have an event happen
when an array is done playing. Maybe that event could be figuring out
which array needs to be played next: another sample, or the same array
again?
And since you missed it somewhere: there are help files in the doc/
subdirectory of pd.
-Ian
robertgarvin at bellsouth.net wrote:
>
>
> I am trying to set up a sort of a drum loop program. my plan is to have
> several drum patterns "pre-loaded", and then using the "Key" object, at
> the press of at button, the patterns will change, but only if the loop
> is finished. _Example_: "drum beat 1" plays for 6 seconds. if I were to
> press the button for "drum beat 2", three seconds into the "drum beat
> 1", i need the first drum beat to finish playing, and /then /"drum beat
> 2" would start looping . does that make any sense?
>
> -Robert G.
>
--
Ian Smith-Heisters
http://www.0x09.com
More information about the Pd-list
mailing list