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
vvvv > osc > udp > lemur
vvvv > osc > udp > lemur
- Attachments
-
- vvvv to lemur.rar
- example patch
- (2.68 KiB) Downloaded 144 times
Last edited by jlys on 12 Jan 2012 15:18, edited 1 time in total.
Re: vvvv > osc > udp > lemur
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..
here's an image where you can see the osc bundle
tell me if something is missing or wrong to contact lemur..
- Attachments
-
- vvvv to lemur_2012.01.11-15.09.21.jpg (219.34 KiB) Viewed 4407 times
Last edited by jlys on 12 Jan 2012 15:19, edited 1 time in total.
Re: vvvv > osc > udp > lemur
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
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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: vvvv > osc > udp > lemur
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..
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..
- Attachments
-
- OSCDecodertest2_2012.01.12-03.39.49.jpg (210.04 KiB) Viewed 4388 times
Re: vvvv > osc > udp > lemur
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
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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: vvvv > osc > udp > lemur
Marino from support sent me this:
Thanks for your help Macciza and Marino! & Long live Liine! =)
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..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.
Thanks for your help Macciza and Marino! & Long live Liine! =)
Re: vvvv > osc > udp > lemur
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
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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: vvvv > osc > udp > lemur
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!
anyway for sending, it's 8000, engraved in my brain now..
seeya!