Page 1 of 1

Text to Lemur via OSC

Posted: 09 Dec 2011 22:18
by gio
Been trying to update a label with MaxMSP sending OSC to the Lemur, but can't seem to be able to change the Text object content. My connection is ok, and I know I have bi-directional communication. I am sending the following message to the Lemur "/Test @content MyText" where /Test is the custom OSC address of my label. Anybody successful with this?

Re: Text to Lemur via OSC

Posted: 10 Dec 2011 01:14
by Macciza
High
The code looks fine - so long as you are not actually sending the surrounding ""'s . . .
Using a message box containing /Text @content MyText sent to udpsend set to the Lemur ip:port should work
Remember that if it is in a Container its address become /Container.Text *edit: sorry /Container/Text
Check your ip:ports and try again - It works for me OSX 10.6.8. . .

Cheers
MM

Re: Text to Lemur via OSC

Posted: 10 Dec 2011 17:01
by gio
Hi there,

thanks a lot for the reply. So here is the thing: if the text object is in a plain interface with no containers, then I can update the text via OSC. However, if the text object is in a container, this does not work anymore. I have tried using in Max both the "self assigned" OSC address for the object and a "custom" OSC address as well, but none of them works.
Are you able to update text for objects in containers? If yes, what's the trick? Once again, thanks a lot for the help! Much appreciated. BTW, I am using OSX 1.6.6 and Max 5.1.8.

Re: Text to Lemur via OSC

Posted: 11 Dec 2011 01:22
by Macciza
Hi
I think you may need to double check your addressing - both methods work here for me ie assigned and custom . . .
Have attached basic project and Max patch that should work . . .
Cheers
MM
TextTest.zip
TextTest Project and MaxPatch
(1.36 KiB) Downloaded 335 times

Re: Text to Lemur via OSC

Posted: 11 Dec 2011 20:01
by gio
Thanks! I was doing something stupid with the self assigned OSC address (including /light at the end of the address in Max). Now it's working! Thanks a lot. But I still have problems with "custom" OSC address, the ones you give yourself to the object. Those don't see to work properly. I might be doing something stupid again....