import oscP5.*;
import netP5.*;
OscP5 osc;
Object[] args;
void setup(){
size(400, 400);
osc = new OscP5(this, 8000);
}
void oscEvent(OscMessage message){
println(message.addrPattern());
}
that is my code. I only want to know how to get an int of the argument from the message item. Thank you
http://processing.org/reference/int_.html
Looking at the online documentation for the application you are using IS allowed.
I actually meant to say float, and the problem is I don't know how to get the argument, not the "address pattern", in the form of a float. I would like a piece of code on how I could obtain this number if possible. Thank you.
What is sending Osc messages to the Processing application?
Have you looked at