Page 1 of 1

Any way to change container tabs through osc message?

Posted: 26 Mar 2013 23:16
by Rtech
Or have the tabs transmit an OSC message when they are selected on the lemur template? I'm making a M4L device with tabs and am trying to synchronize the tabs on screen in Ableton with the container tabs in the Lemur template.

Re: Any way to change container tabs through osc message?

Posted: 27 Mar 2013 07:37
by Softcore
Use pads or switches to change the tabs with scripting - selecttab(object, tabindex) instead of the native tab system (then you can hide the native tab buttons). This way, you can send OSC messages everytime a tab is selected (via your own pads-switches).

Re: Any way to change container tabs through osc message?

Posted: 27 Mar 2013 12:42
by Rtech
Thanks for the help. Set up this way, will the tabs react to osc coming from m4l as well?

Re: Any way to change container tabs through osc message?

Posted: 27 Mar 2013 13:45
by Softcore
Indirectly yes....As in, the pads will react to incoming messages so they will, in turn, do what you have set them to do to the tabs....Sorry I cant be more specific but thats only because Im not very experienced with the OSC messages and how you set them up....The process described however, indeed works with midi messages and there's no reason why it wouldnt with OSC ones!

for example, if a pad is set to select the first tab of a container with the following script

on expression x, rise from zero

Code: Select all

selecttab(Containername, 0);
Then when this pad receives incoming messages which the pad is mapped to (midi or OSC), it will again, select that tab!

;)