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 » 03 Jan 2016 20:22

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 » 05 Jan 2016 01:33

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 » 05 Jan 2016 11:40

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 » 05 Jan 2016 14:13

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.66KiB)Downloaded 193 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 » 06 Jan 2016 13:27

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 » 07 Jan 2016 01:07

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