Detonate Loop

stanrad's icon

Hello.

I've managed to step through a sequence of a loaded midi file "event by event" using the "next" message of the detonate object.

However the challenge comes when I want to loop a sequence.

Has anyone found a solution to loop a section of a loaded midi file and step through it using the "next" message? Perhaps there is a way to select starting and ending points and loop between them?

Was not successful with the "start at" method.

Ideally, I'd like to jump between sections of a looped sequence in one bang.

stanrad's icon

loop-sequence1.maxpat
Max Patch

broc's icon

Once I made a patch to select the starting point (skipping previous events).
It could be expanded to select the ending point (skipping following events).

Max Patch
Copy patch and select New From Clipboard in Max.


stanrad's icon

Thanks Broc! Is there a way to advance though each event using the "next" message instead of "start"?

broc's icon

After "start" when skipping has finished (starting point reached) cut the detonate loop and trigger with "next" instead.