Change the interface on a OSC Command

Discuss Lemur and share techniques.
Post Reply
tbrown88
Newbie
Posts:1
Joined:21 Aug 2012 12:42
Change the interface on a OSC Command

Post by tbrown88 » 21 Aug 2012 13:53

Hi All,

New to Lemur. Just bought it today and trying to get some instant gratification...

I have two interfaces, i'm trying to get them to change via a OSC command.

Im using OSCulator, and think i've worked out how to send out messages to lemur so can somebody give me some hints as to what i need to do inside the app to get it to switch interfaces/pages's?

What im trying to do is;

when the ipad gets the osc command "xyz" it goes to interface "1" - the normal interface
when the ipad gets the osc command "abc" it goes to interface "2" - a interface that displays 'locked'

is this simple enough to perform? if it's not, I would settle for a textbox that covers the whole screen and being able to toggle it's visibility.

I suppose the osc command could look like /interface/changeto 1
does that sound right?

I have had a look at the manual, but it's all very complex and I have almost no background in this...
Any help would be great!

axel_liine
Liine Staff
Posts:126
Joined:14 Dec 2011 12:12

Re: Change the interface on a OSC Command

Post by axel_liine » 21 Aug 2012 15:02

Actually, the Lemur supports by default the "/interface" OSC command. Just pass the index of the interface as an argument, with the first interface being zero.

Code: Select all

/interface 0
/interface 1

Post Reply