max-msp-jitterableton-live

Gate vs toggle clip launch in Max4Live patch


I hope someone is able to help me with this. Ableton Live when you set a clip's launch mode to gate, it only plays when you hold down the key. I'm using a patch that takes an OSC message to launch the clip, but it will not work as a gate - it needs to have the stop all clips message, and this won't help in my situation. I need to "call fire" when 1 and "call stop all clips" when 0, but I'm not sure how to do this.
Can anyone help me with which object I should use? I've looked at various gates and swtiches, but I'm missing something. Thanks.part of M4L patch with launch and stop


Solution

  • After fiddling with the sel object, I discovered this: I needed to change the live.text object used to launch the clip from button to toggle.