M4L - Stop all Clips wit Live.API

Sym's icon

Hey, could someone help me out with a quick explanation on how to call the Stop All Clips command in the Live API. I'm able to launch single scenes without problems but I can't find the way how to call the Stop All Clips command. At the moment I'm trying to call it over this path path live_set master_track.

Thanks for your help!

broc's icon

I think the path is just 'live_set'.

Sym's icon

Awesome, thanks! worked like expected

Stephane Morisse's icon

CPU and latency-wise, I wonder if that's not simpler to do a midi mapping, even through M4L. What's the reason why you want it to work through API ?

Sym's icon

Hey Stephane, thanks for joining in. Actually your right, my first attempt was to send a note through noteout with the plan to map it to MIDI the stop all clips button.

However when patching in Max, I could display all Midi Ports in a umenu, as soon as running it in M4L it didn't display any Ports at all.

But now I just realized I could send the noteout out of the Midi Track and map the Output to the Stop Button.

Thanks for your input!

Valerio Viperino's icon

UP!

I'd like to observe the Stop All Clips button in the master track, could someone please share a patch or give a little advice on how to do it?
In the api abstractions I didn't find anything related to the Stop All Clips.
Thanks!

Valerio Viperino's icon

// Double post, sorry! :)

broc's icon

The LOM provides a complete description what can be done with the Live API.
Notice that observing 'Stop All Clips' is not listed there.

Thomas Escure's icon

Hello,

I'd also like to call the Stop All Clips commande, but I need the clips to be stopped as soon as I call it (unquantized).
Is there a way to do it using "regular" Max / MaxForLive objects, or do I need to use JavaScript ?

Any help appreciated !

Evan's icon

You can do it with regular objects.

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

Thomas Escure's icon

Thank you very much !

Regards,

Thomas