OSc: is it possible to send the state of the loop button through OSC send?
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
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.
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]
Nice! and nice of you to post your solution too. :-)