Sendint UDP commands to Open Stage Control

I’m trying to Open Stage Control from a Wi-Fi Arduino, because of this, I’m just sending UDP packets. I’m commonly getting this error message:

(ERROR, UDP) The header of an OSC packet didn’t contain an OSC address or a #bundle string.

All faders and other fun stuff with have a minimum value of 0 and a maximum value of 255. I set up an instance of Open stage Control on computer A and had ‘Packet Sender’ on computer B to monitor what was coming in.

When ‘fader_1’ sent a value of 0, the logged ASCII was:
/fader_1\00\00\00\00,f\00\00\00\00\00\00 with the hex being 2F 66 61 64 65 72 5F 31 00 00 00 00 2C 66 00 00 00 00 00 00

When ‘fader_1’ sent a value of 255, the logged ASCII was:
/fader_1\00\00\00\00,f\00\00C\7f\00\00 with the hex being:2F 66 61 64 65 72 5F 31 00 00 00 00 2C 66 00 00 43 7F 00 00

My question is this, what string should I send from my Arduino to Open Stage Control?

Many thanks.

Open Stage Control expect osc messages, not raw udp packets, there are some libraries out there for constructing such messages on arduino. You should check out the osc specification. There are also many implementation examples on this website, here’s one I found in the first page (I didn’t look any further) : http://opensoundcontrol.org/implementation/arduino-max-msp-osc.

1 Like

Okie doke, I’ll have a look.

Thanks.

1 Like