Page 1 of 1

Switching tabs and interfaces using midi/osc

Posted: 03 Jan 2016 20:22
by Gass n Klang
hey guys, is it possible to switch interfaces and tabs using Midi or OSC commands?

Re: Switching tabs and interfaces using midi/osc

Posted: 05 Jan 2016 01:33
by rad3d
Sure it is. You can act on a Midi/OSC message the same way you can act on a button.

Re: Switching tabs and interfaces using midi/osc

Posted: 05 Jan 2016 11:40
by Gass n Klang
Thanks but where can I do the link? So e.g. I want set "Program change 1" to "jump to Interface 1 Tab 1". How to do that?

Re: Switching tabs and interfaces using midi/osc

Posted: 05 Jan 2016 14:13
by rad3d
Here's a simple test.

There's an 'On MIDI' script (chkMidi) in the tabbed container that looks for PC messages on any channel for Lemur Target 3 (change this to whatever your controller's target is in Lemur). It then simply passes the PC value to a selecttab() request. The On Midi script can also reside outside of the container, as long as you address the proper container in the first argument of the selecttab() function.

Re: Switching tabs and interfaces using midi/osc

Posted: 06 Jan 2016 13:27
by Gass n Klang
very nice. Does this even work without the "monitor"?

Re: Switching tabs and interfaces using midi/osc

Posted: 07 Jan 2016 01:07
by rad3d
Yeah - but I'm setting the monitor value in the chkMidi script, so removing will cause an error with that script. Remove the Monitor.value= line from the script and it will all work without the monitor.