OSC Input

Receive Open Sound Control (OSC) messages over the network.

What it does

OSC Input listens for Open Sound Control messages arriving over the network at a specific address and outputs the latest value received. OSC is the protocol lighting consoles, DAWs, TouchOSC-style control surfaces and many other creative tools use to send live numeric data.

The incoming value is exposed as a Number, Vec2, Vec3 and Color at the same time, plus a Received output reporting whether a message has arrived yet.

When to use it

ParameterTypeDefault
addressString"/input/1"
default_valueNumber0
range_minNumber0
range_maxNumber1

Gotchas

Min and Max define the range the incoming value is mapped into. They do not clip or validate the sender's data. If the OSC source sends outside the expected range, adjust Min and Max here rather than assuming the node guards against it.

Worked example

  1. Add an OSC Input node.

  2. Set Address to match the path your OSC sender is broadcasting on, e.g. /fader/1.

  3. Set Default Value to what you want before the first message arrives.

  4. Adjust Min and Max to the range you want the value mapped into.

  5. Wire the Value (or Vec2/Vec3/Color) output into whatever parameter you want to drive live, and check Received if you need to detect signal loss.

See also

MIDI Input · MQTT Subscribe · OSC Output · Numbers, signals & audio