sojamo / oscp5

An Open Sound Control (OSC) implementation for Java and Processing
GNU Lesser General Public License v2.1
132 stars 51 forks source link

osc.send parameters #5

Closed gr91 closed 8 years ago

gr91 commented 8 years ago

Hello, I'm trying to work with Processing and Pure Data using OSC Protocol . Looking for some examples in "basic" folder I found the osc.send parameters are wrong osc.send( receiver , "/test" , random( 255 ) , random( 255 ) , random( 255 ) ); and the sketch does not run. In the example sketches on OscP5 website the object osc.send present different parameters oscP5.send(myMessage, myRemoteLocation). Am I doing something wrong? Thanks!

sojamo commented 8 years ago

you might be using an older version of oscP5 (0.9.9 ?), the current version is 2.0.4 and is available under releases. osc.send( receiver , "/test" , random( 255 ) , random( 255 ) , random( 255 ) ); works under 2.0.4 but not with 0.9.9, here use oscP5.send(myMessage, myRemoteLocation); instead.

gr91 commented 8 years ago

Hi, It's true. I found an old version using Processing tool for libraries management. Thanks for your answer.