I want to send an integer back as console output in Pd.
Here is my code in Processing:
NetAddress myRemotePd;
myRemotePd = new NetAddress("localhost", 12001);
void mousePressed() {
/* in the following different ways of creating osc messages are shown by example */
println("mouse pressed");
OscMessage myMessage = new OscMessage("/test");
myMessage.add(13); /* add an int to the osc message */
/* send the message */
oscP5.send(myMessage, myRemotePd);
}
And this is my Pd patch:
My console doesn't output anything. Did I forget some parameters or objects or should I use another port number as possible?
I can sent data to Processing, but in turn I receive nothing from Processing.