OSc: is it possible to send the state of the loop button through OSC send?


    Dec 14 2021 | 10:19 pm
    I created a template with TouchOSC on an android tablet to launch some clips and to trigger the transport buttons. I also created a button to change the state of the loop button and I'm wondering if there is a way to get a feedback from Ableton through OSC to send a message like "\1\toggle4" that would switch on an "led" in the TouchOSC template.
    I tried with OSC Send but I can't map the loop button so I'm asking here if there is any other way to do it.
    I also would be glad if someone can point me to a comprehensive list of the OSC strings that Abletlon would recognize, both in and out, and the Ableton object or function they are related to. Thanks. fabio

    • Dec 16 2021 | 4:02 pm
      Again, you're going to need to learn the Live API to do this. Live doesn't have facilities to just send osc on state variables. You have to use either M4L or Python to read Live state from Live API calls, construct an OSC message, and send it out. It's all totally doable, but you will need to dive in and learn how to use Live API in Max and how to construct and send OSC messages.
    • Aug 05 2022 | 9:36 pm
      Let me reply to myself:
      Read the property "loop" of the class "live_set" with a live_path followed by a live.observer, then wire the leftmost output to an "udpsend" message in this form: ["udpsend" 1tcp address" "port"] e.g. [udpsend 192.168.0.255 9000]
    • Aug 06 2022 | 12:31 am
      Nice! and nice of you to post your solution too. :-)