Switching tabs and interfaces using midi/osc

Discuss Lemur and share techniques.
Post Reply
Gass n Klang
Newbie
Posts: 42
Joined: 01 Jan 2016 20:45

Switching tabs and interfaces using midi/osc

Post by Gass n Klang »

hey guys, is it possible to switch interfaces and tabs using Midi or OSC commands?
rad3d
Newbie
Posts: 32
Joined: 27 Nov 2015 04:15

Re: Switching tabs and interfaces using midi/osc

Post by rad3d »

Sure it is. You can act on a Midi/OSC message the same way you can act on a button.
Gass n Klang
Newbie
Posts: 42
Joined: 01 Jan 2016 20:45

Re: Switching tabs and interfaces using midi/osc

Post 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?
rad3d
Newbie
Posts: 32
Joined: 27 Nov 2015 04:15

Re: Switching tabs and interfaces using midi/osc

Post 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.
Attachments
Midi Tab Test.jzml
(1.66 KiB) Downloaded 186 times
Gass n Klang
Newbie
Posts: 42
Joined: 01 Jan 2016 20:45

Re: Switching tabs and interfaces using midi/osc

Post by Gass n Klang »

very nice. Does this even work without the "monitor"?
rad3d
Newbie
Posts: 32
Joined: 27 Nov 2015 04:15

Re: Switching tabs and interfaces using midi/osc

Post 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.
Post Reply