Help Needed: oscP5 sending null:0


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);

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
to see how to get things out of a message.

1 Like