Help Needed: oscP5 sending null:0

Hi,

I am currently working on a project where Processing and the oscP5 library will be used to send OSC messages to companion. I am sending an OSC string as follows:

OscMessage message= new OscMessage("/press/bank/1/2");
oscP5.send(message, Companion);
println(message);

however when printed oscP5 is actually sending:

null:0 | /press/bank/1/2

Does anyone have any ideas as to where this null is coming from and how I can remove it from the string being sent.

Many Thanks!

1 Like

OSC isn’t sending a string – that just displays the message. You can just access the path part of the message if that is all that you want to use.

check out http://www.sojamo.de/libraries/oscP5/examples/oscP5parsing/oscP5parsing.pde
to see how to get things out of a message.

1 Like