lx.claudeheintzdesign.com Forum Index lx.claudeheintzdesign.com
A forum for discussion of LX Series lighting software
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LXConsole-OSC-Lemur

 
Post new topic   Reply to topic    lx.claudeheintzdesign.com Forum Index -> LXSeries Feedback
View previous topic :: View next topic  
Author Message
HarryTwoFingers



Joined: 17 Mar 2010
Posts: 33
Location: Sweden

PostPosted: Wed Nov 21, 2012 1:08 pm    Post subject: LXConsole-OSC-Lemur Reply with quote

LXConsole works fine with midi and OSC from TouchOsc.

I have started using another program like TouchOsc called Lemur.

Lemur is a little bit more exiting than TouchOsc.
Lemur has no problem sending midi to LXConsole but OSC...I can't make LXConsole and Lemur connect that way.

Questions: Can OSC messages look different, depending on what program they come from or is there a standard?

Can LXConsole also be made to work fully with Lemur?

Regards
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 05 Nov 2007
Posts: 1542

PostPosted: Wed Nov 21, 2012 8:13 pm    Post subject: Reply with quote

OSC is a standard format. TouchOSC is easy because it uses Bonjour to discover and connect to OSC capable devices on the network. I have no idea how Lemur connects.

You can read about how OSC messages are structured here:
http://opensoundcontrol.org/

Regardless of the parameters attached to a message, you should be able to detect the incoming address in the Setup window's OSC tab.

Typically, TouchOSC sends a 1 when a button is pressed and a 0 when a button is released. LXConsole only responds to commands with a non-zero value. Otherwise when you pressed and released a "Go" button, you would go twice, once for the press and once for the release.

Touch OSC sends slider values from 0 to 1.0. A SUB- action converts this to 0 to 100%. If you use this value in a command line, it is 1@%p. You can get at the underlying floating point value using 1@%f instead. So, if your OSC software was sending values of 0.0 to 100.0 instead of 0.0 to 1.0, this would allow the expected result.

You may be able to setup how the Lemur software addresses and what parameters it attaches to OSC messages. This should be a guide.

As far as making a connection, if Lemur does not use Bonjour, you will probably need to supply it with the correct IP address. You set this in the preferences and it should correspond to the IP address for the network connection that you are using. Typically the address starts with 169. if you are using the AirPort as a standalone wireless network. All networks can have various firewalls that block UDP traffic and that can prevent a connection.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
admin
Site Admin


Joined: 05 Nov 2007
Posts: 1542

PostPosted: Wed Nov 21, 2012 9:19 pm    Post subject: Reply with quote

I looked at the Lemur manual. I'm not exactly clear but it appears you may need the Lemur Daemon running on your Mac in order for it to receive OSC from the Lemur app. ( I'm not sure if this is just for the editor/MIDI or not.)

One thing I am sure of is that you'll need to change the OSC Port in LXConsole's preferences from the default 8000 to something other than 8000, 8001, or 8002.

From there the editor's basics seem to be similar to TouchOSC editor's. One thing that is different is that Lemur can talk to multiple OSC devices on different network connections. So, you need to set an OSC target eg. "Osc 0" for a control. "Osc 0" is then mapped in the Lemur App to LXConsole's OSC IP Address and Port number.

Other than that, you can assign custom addresses in the Lemur editor. This makes it possible to have controls that do not need to be setup in LXConsole. The latest builds respond to addresses starting with /cmd.lxconsole/ or /key.lxconsole/ So rather than detecting and assigning an OSC action in the Setup window, you can just assign an address to a button like this, "/cmd.lxconsole/GO" and have that button control the Live window's go. You can look at the TouchOSC remote file included in the LXConsole->Install Extras menu of the latest builds to see how the /key.lxconsole/ address form can be used to create a remote keypad with no setup (except assigning actions to the houselight and worklight buttons.)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nizer



Joined: 23 Jan 2011
Posts: 147
Location: Virginia

PostPosted: Tue May 05, 2015 2:53 pm    Post subject: Lemur OSC to LXConsole - No Joy Reply with quote

I recently discovered Lemur (a pro OSC app for iOS) and love it.

I normally use TouchOSC and it works as expected.

I can't get Lemur to trigger LX. I can see all the OSC packets coming in as expected in Osculator. I can also easily trigger QLAb with it.

I would be glad to purchase Lemur for you because apparently I am in unexplored territory as there are no post besides this one about LX and Lemur.

I wonder if HarryTwoFingers ever got this to work.

Thanks for any help.
_________________
Mark Nizer
mark@nizer.com
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 05 Nov 2007
Posts: 1542

PostPosted: Wed May 06, 2015 11:22 pm    Post subject: Reply with quote

OSC messages do have a standard. The standard contains a "bundle" type message that groups together several regular OSC messages into a single packet. Versions of LXConsole prior to v3.8.1 (today's latest build) did not support OSC bundles. As of v3.8.1, LXConsole will process OSC bundles as if they were a sequence of individual messages.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    lx.claudeheintzdesign.com Forum Index -> LXSeries Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Notice: This site uses cookies to improve user experience and not for advertising or tracking. For more info see forum policies.