Help with a M4L patch : clip combos presets

chapelier fou's icon

Hi, i am currently writing a patch to use in my gigs. The goal is to be able to trigger different combinations of clips plus a selected scene.So the concept is :- play a combination of playing clips plus a selected scene
- hit 'capture'
- store the combination in a preset

Each playing clip slot's number is contained in a numbox. What i'd like to do is that, when it's -2, it stops any playing clip in that track, and when it's -1, it just does nothing. Otherwise it triggers the clip index according to the number (THIS PART WORKS)Any help would be great !!

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

chapelier fou's icon

No idea ? Should i use 1 live.object for each track ? it would be much easier but less elegant.

Lee's icon

i'll have a look this eve

chapelier fou's icon

Thanks very much !!
(i tried to post a patch back but the website seems buggy again)

Lee's icon

sorry, real life got in the way last night... will check this eve

chapelier fou's icon

damn, i can't seem to be able to post a patch here. Is the forum buggy on your side as well ?
my mail is louiswarynski(that'smyname)@gmail.dot.com
Thanks !

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

Hi, is that what you're looking for?

chapelier fou's icon

Thank you !! i'll have a deeper look tomorrow, but for now, i can tell that blocking -1 with route doesn't work because the pack object retains the former value anyway so it just retrigger the previous clip. i'll come back here if i don't figure it out by myself. sopping clips with -2 seems to work well.
Thanks again,
louis

Lee's icon

hi. yes, sorry, there's a 't 0' missing from the -1 outlet into the gate to close it...

chapelier fou's icon

perfect ! thank you so much !!

Lee's icon

no problemo :)

chapelier fou's icon

I am working on another side of the patch :
once i've made presets of clips, i want the next preset to be launched after a given amount of time (basically a song would be a succession of consecutive presets with different lengths).
This is my attempt, but not really successful.
The idea is when you trigger a preset, it sets a new time in timepoint for each preset.
Maybe i am going in the wrong direction ?
(PS : pasting patches in text format doesn't work nowadays ?)

Preset_launcher0.27.amxd
amxd
Lee's icon

hi. will take a look tomorrow... you should be able to "copy compressed" from MAX and then paste into the editor...

Lee's icon

Hi, so are you looking to have each preset play for a specific number of bars?