
dsan
New User

Mar 26, 2008, 3:12 AM
Post #1 of 3
(739 views)
Shortcut
|
|
communication OSC between Isadora and Processing
|
Can't Post
|
|
Hello, I tri to send data from isadora to processing in OSC. I use the oscP5 librairy i turned use type on But it seem that P5 dont recongnize the type tag from isadora So i cant receive no message in P5.
import oscP5.*; import netP5.*; OscP5 oscP5; NetAddress myRemoteLocation; void setup() { oscP5 = new OscP5(this,1234); myRemoteLocation = new NetAddress("127.0.0.1",1234); } void draw() { } void mousePressed() { OscMessage myMessage = new OscMessage("/1"); oscEvent(myMessage); } void oscEvent(OscMessage theOscMessage) { print("### received an osc message."); print(" addrpattern: "+theOscMessage.addrPattern()); println(" typetag: "+theOscMessage.typetag()); } Any idea? regards.
|