Scene increment / loop

jomtones's icon

I recently built this 'relative' scene launcher to simplify scene automation from my MIDI controller - I just need to launch any scene labelled 'mstr' to be able to launch scenes relative to it from my other, hard-mapped buttons.

I now want to be able to set it up so that my drummer can step through these scenes with one drum-pad - increment the current scene. I'm thinking I need add a 'loop length' to the master scene name, and then use another regexp to extract the number from the end of the scene, so he can loop around a few scenes.

Total noob at this, I wonder if anyone can help me get started? I attach the current scene launching patch - I've added 'post-it' style notes to it that should hopefully make things clearer than my rambling :)

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

jomtones's icon

Err ok I'm getting somewhere with this but now stumped by some basic regexp stuff... any help much appreciated!

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

I just want the regexp to pull the last number from a scene label and set that as the 'scene loop length'.

jomtones's icon

Darn, I just realised I have a more tricky regexp to write... basically it needs to do this:

IF scene has 'mstr' in the label, THEN Get scene 'loop length' from last numbers in scene label.

Is something like this possible?

jomtones's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Patch so far:

11OLSEN's icon

it's like the guy on ableton forum wrote you need to make your problem more specific. how can i tell how the scene name will look like. what's between mstr and the number.

why don't you put example messages (names) in there.
O.