We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey there. I'm setting up some basic OSC comm from OpenFrameworks(in Xcode) to Processing. Attached are screenshots of the code on each side. The " x: " is unusual to me on the OF side. I'm new to OF however. I'm seeking tips on the correct code for the Processing side of things. Many thanks :)
Answers
I will suggest you verify first if you are getting any data at all. To do so, in the processing side you don't check for the address pattern at first, but instead, you dump the received bytes. I believe the OscMessage object has a
getBytes()
function that you can use for this (Check their docs). This is what I would try first anyways before attempting to decode the message. If you get the data, then the second question would be if it is properly decoded. I have no experience in libraries on the OF side and i will be cautious to infer they used exactly the same standard. Hopefully they do.Also, it is better if you post the code directly into the forum instead of posting screenshots. Easier to read, it can be copied and paste (if needed to do so) and your code will be reachable here in the forum when using the search engine.
Kf
Unfortunately, very little documentation on the ofxOSC side
...but they recommend their forum on those pages....
Thanks, kfrajer. I'll re-inspect my code. Also, I'll be sure to post actual code from now on and not screenshots :)
Thanks to you also, jeremy.