Page 1 of 1

vvvv > osc > udp > lemur

Posted: 09 Jan 2012 23:34
by jlys
hi, i have some trouble sending osc to lemur with vvvv.
no problem receiving lemur ones in vvvv though. why? i don't know.. syntax maybe.

here's a patch showing the value encoded in osc and then sent via udp to the ipad. it's compressed in rar as vvvv's .v4p patch fileformat is not allowed..
download vvvv to run it, it's safe, light and easy > http://vvvv.org/downloads

maybe is there something special to put before the "/Container/Fader/x" string adress to access lemur's objects?

i tried both without success using the same port as the one used to receive data from lemur to vvvv or with another port set as target in lemur's osc config..

thanks by advance

Re: vvvv > osc > udp > lemur

Posted: 11 Jan 2012 14:16
by jlys
sooner the better..
here's an image where you can see the osc bundle
tell me if something is missing or wrong to contact lemur..

Re: vvvv > osc > udp > lemur

Posted: 12 Jan 2012 00:28
by Macciza
Hi
Have you tried it without using the 'bundles' ? Just straight OSC messages . . .
See if that helps . . .
Will have a bit more of a look later if possible . .
MM

Re: vvvv > osc > udp > lemur

Posted: 12 Jan 2012 03:17
by jlys
Hey thanks for helping,
Yes i tried without success. And lemur seems to send bundles (that's what i receive from him).
I tried modifying the parameters of vvvv's osc encoder to send a message that would look like the one sent by the lemur so i put a "float" typetag to have #28 at the end of the first part of the bundle (lemur's Osc messages have it).
I end up with almost the same message except... one character! a 1 in place of a zero..
I don't know what it represents but it could be the problem?
See by yourself on the screenshot.. The message at the bottom is the one received by lemur's fader. The one at top is the one i'm trying to send.
The fader on lemur is set on "Object Target Osc 0" with x on "Target Parent (Osc 0).
I tried changing the subtype of the arguments too.. "Real", "Normalized Real", others.. changes nothing..

Re: vvvv > osc > udp > lemur

Posted: 12 Jan 2012 04:53
by Macciza
Hi
Yes you probably want to use the float typetag and also pass the value as a float rather than AsString which would make it a string . . .

From memory the first bit after the #bundle should be the time-tag - can't recall if all 0's or a terminating 1 is the 'NOW' tag so that may be the issue there . . .
most of the time that sort of lower-level stuff is hidden in implementations but available functionally . . .

Not sure of Lemur's (or vvvv's) handling of time-tags - might need a quick email to either vvvv or Liine support . . .

Hope that helps

MM

Re: vvvv > osc > udp > lemur

Posted: 12 Jan 2012 15:07
by jlys
Marino from support sent me this:
To get feedback from VVVV through OSC you will need to set the output port on VVVV to 8000 (Lemur's default). This should fix the problem.
Indeed! At the end i send a f (float) value (but as a string in the osc encoder) and it works! I wonder how i missed that..

Thanks for your help Macciza and Marino! & Long live Liine! =)

Re: vvvv > osc > udp > lemur

Posted: 12 Jan 2012 15:36
by Macciza
Uhh

Of course - port 8000 for Lemur - How on earth did I miss THAT?
I must have assumed you had OSC comms working properly . . .
Sometimes even the simplest errors can slip by unseen . . .

Cheers
MM

Re: vvvv > osc > udp > lemur

Posted: 12 Jan 2012 16:30
by jlys
yeah. . i thought the port wasn't the problem as vvvv was receiving messages from lemur on any port, and i already tested 8000.. but with string typetags..
anyway for sending, it's 8000, engraved in my brain now..
seeya!