Go Down

Topic: Processing - Using OscP5 (Read 1 time) previous topic - next topic


Jun 01, 2011, 09:37 pm Last Edit: Jun 01, 2011, 09:38 pm by grahamcrackeh Reason: 1
Code: [Select]
import oscP5.*;
import netP5.*;

OscP5 osc;
Object[] args;

void setup(){
 size(400, 400);
 osc = new OscP5(this, 8000);
void oscEvent(OscMessage message){

that is my code.  I only want to know how to get an int of the argument from the message item. Thank you


Looking at the online documentation for the application you are using IS allowed.
The art of getting good answers lies in asking good questions.


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
The art of getting good answers lies in asking good questions.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131