Triggering Different Events in Order
I am working on a composition that uses many different patches within a single patcher. I would like to be able to trigger different parts of the patcher (send a bang) in a specified order with my MIDI controller pedal.
How do I go about sending out a bang message to different parts of my patch in a specified order (e.g. the first time I hit the pedal, the audio turns on. The second time I hit it, the soundbite begins to play, the third time...)?
I'm using Max5 on a Macbook Pro, using a sustain pedal connected through a midi interface.
Thanks a lot.
[cycle]
If you want more flexibility in event ordering,
I would use [forward].
Yeah, that'll work.
I'd never even heard of [qlist].
There's a ton of ways to approach this. Think about objects that route messages and control flow like select, gate, route, router, switch, cycle, bucket, spray, send/receive/forward. Then think about objects that allow you to map one number to another like table, itable, multislider,coll, function, funbuff. Then objects that allow you to count like counter, incdec, +, accum.
that's like a whole semester of programming in one paragraph. brilliant
Tremendously helpful, everyone. Thanks!