How to stop any clip in a track using API?

Parametex's icon

Hi,

I wish to borrow your knowledge for how to stop any playing clipslot with M4L.

I am able to stop a clip in a track using the call stop function but in this case I must use the ID of the playing clip.

Is there a way to trigger the 'main' clip-stop button so that I would not need to keep track of the playing clip?

Thank you

Evan's icon

send a message "call stop_all_clips" to a track object.

sandcobainer~'s icon

Hey Evan,

3 years later I tried this and it didn't work. I think call stop_all_clips only works at the live.set path, not on a selected track. Any other objects? The documentation on LOM is very limited, most track specific properties are not listed.

Scott Findley's icon

Works like a champ for me..

Scott Findley's icon

Stoppen Clippen.amxd
application/octet-stream 16.36 KB
Kind of crude, but,it works!

sandcobainer~'s icon

Scott,

I just went back and did some digging and it works. Can't believe it was yet another basic patch issue that I couldn't figure out, I was triggering the global play and track stop with the same button.
TY.