Any way to change container tabs through osc message?

Discuss problems and solutions.
Post Reply
Rtech
Newbie
Posts: 26
Joined: 21 Dec 2012 20:30

Any way to change container tabs through osc message?

Post 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.
Last edited by Rtech on 27 Mar 2013 20:57, edited 1 time in total.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

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

Post 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).
Rtech
Newbie
Posts: 26
Joined: 21 Dec 2012 20:30

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

Post by Rtech »

Thanks for the help. Set up this way, will the tabs react to osc coming from m4l as well?
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

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

Post 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!

;)
Post Reply