Guides5 min read
What Is OSC? Open Sound Control for Show Control
OSC sends a named address and typed values over the network. How addresses, arguments and ports work, and how to fire and receive show cues with it.
CueSync TeamShow Control Engineers
What an OSC Message Is
OSC, Open Sound Control, is a way of packing a command into a network message. Every message has the same three parts:
| Part | Example | What it does |
|---|---|---|
| Address | /cue/go | Names the thing to act on, as a slash-separated path |
| Type tags | ,f | Says what type each value is: f float, i integer, s string |
| Arguments | 1.0 | The values themselves, in the order the tags give |
A message can carry no arguments at all, in which case the address alone is the command. Several messages can travel together in a bundle.
On the wire the message is binary: the address and the type tags are strings padded to four-byte boundaries, and each argument follows in big-endian form. You never need to write those bytes by hand, but seeing them helps when a receiver rejects a message. The OSC Message Builder shows the exact bytes of any address and argument list.
The Addresses Belong to the Receiver
OSC defines the envelope, not the vocabulary. There is no shared list of commands the way MIDI Show Control has GO, STOP and RESUME. Each console, media server or playback program publishes its own address space, and a message means only what that receiver says it means.
So the first step with any OSC device is its documentation: which addresses it answers, what each argument does, and which port it listens on. A cue number in one product's address may be a list and a number in another's, and a fader level may want a float from 0 to 1 or an integer from 0 to 100.
CueSync carries those address spaces for the outputs it has built in. A grandMA3, an ETC Eos, QLab, Resolume or disguise output takes actions such as GO a cue, fire an executor or trigger a clip, and CueSync writes the address for you.
For a device with no built-in output, a Custom OSC schema names each address once, with a type: float, integer, text, colour, on/off or trigger. Cues, pads and Looks then fire those parameters by name, and a value that does not fit its type fails the cue by name instead of sending a zero. Ready-made schemas cover the Behringer X32 and Midas M32, the Hog 4 and Millumin, and a Fade action ramps a Custom OSC address over beats or milliseconds. See Custom OSC.
UDP: Sent Is Not Received
Most OSC travels over UDP. A UDP message is sent once, with no connection and no reply, so the sender cannot know whether anything took it. A wrong port, a wrong address, a firewall on the receiving computer or a device that is switched off all fail the same way: silently.
That shapes how to set a route up:
- Confirm the receiver's IP address and its OSC port in its own settings.
- Send one message.
- Look at the receiver's OSC monitor or log, not at the sender, to see whether it arrived.
CueSync's own outputs show each connection's status on the Network screen, and the manual's Diagnostics chapter covers the connection log. For a plain OSC send, the receiver's monitor is the proof.
Receiving OSC: Firing Cues From Outside
OSC works in both directions. A phone or tablet app, a script, or another lighting console can send CueSync a message that fires a cue.
Turn the listener on. In Settings → Advanced → OSC Input Listener, set Listen Port. It ships at 0, which means off; any port from 1024 to 65535 works, and 9001 is the usual choice. With Allow other devices on the network off, only software on the same computer can send; switch it on for a phone, a tablet or another machine, and list the addresses that may send under Accept from (a single address, or a range such as 10.0.0.0/24). Keep show control on its own network: an address list keeps strangers out, and a separate network keeps them off the wire. Scripts can also be required to sign their messages.
Build the cue. On the Cues screen, add a cue, set its trigger to OSC, enter the address (for example /cue/go) and, if you want, a Value to match. Leave the value blank to match any message on that address.
Know the matching rules.
- The address must match exactly. It is case-sensitive, and there are no wildcards.
- Only addresses that an OSC cue uses are accepted, so a random address cannot fire anything.
- Numbers are compared by value:
1,1.0and1.00all match a Value to match of1. Words are exact. - Only the next cue in the stack is checked. A run of cues that share
/cue/goadvances one cue per message. - A bundle is acted on as soon as it arrives.
OSC input triggers and Custom OSC output are in every CueSync edition.
OSC or MIDI Show Control?
Both fire cues, and many theatres run both. MIDI Show Control has a fixed command set that lighting, sound and video desks share, so a GO means the same thing everywhere, at the cost of a MIDI path and a small vocabulary. OSC needs only the network the rig already has and can say far more, at the cost of learning each receiver's addresses. A common split is MSC for the cue calls a desk must never miss, and OSC for everything that needs a value: levels, clip choices, positions.
Further Reading
- OSC Message Builder: build a message and see its bytes
- Audio-Reactive Cues Over OSC in QLab and How to Trigger ETC Eos Cues from the Music
- OSC, DMX and Remote Inputs in the manual
- MIDI, OSC and Link and Custom OSC
Product names are trademarks of their respective owners. CueSync is independent software and is not affiliated with or endorsed by them.
Frequently Asked Questions
What is OSC used for in lighting and theatre?
Sending a named command from one system to another over the network: GO a QLab cue, fire a console executor, trigger a Resolume clip, move a fader. Compared with MIDI, the address is readable text and a value can be a float, an integer or a string, so a message says what it means.
What port does OSC use?
There is no standard OSC port. Each receiver chooses one and documents it, and the sender must match it exactly. In CueSync the OSC input listener ships at port 0, which means off; valid ports are 1024 to 65535, and 9001 is the usual choice.
Is OSC sent over UDP or TCP?
Most show gear takes OSC over UDP: one message per packet, no connection and no acknowledgement. That is why a sender can report a message as sent while nothing is listening. Check the receiver's own OSC monitor, or its log, before you trust a route.
Why does one OSC button fire my cue twice?
Many control apps send one message when a button is pressed and another when it is released, often with the values 1 and 0. If the cue accepts any value on that address, both messages fire it. In CueSync, set Value to match to the press value.
Can an OSC wildcard fire several CueSync cues at once?
No. CueSync matches the address exactly and case-sensitively, with no wildcards, and accepts only the addresses its OSC cues use. It checks only the next cue in the stack, so a run of cues on the same address advances one cue per message.
Do this with CueSync
CueSync fires your show's cues — lights, video, playback — from the music, a timecode or your GO, on the gear you already use.
Download for Mac, free accountSee plansKeep Reading
- Guides
Audio-Reactive Cues Over OSC in QLab: Level and Structure
Reacting to live audio usually gets built from QLab network cues, OSC queries and patience. What that does, where it stops, and what analysis adds.
- Guides
How to Trigger ETC Eos Cues from the Music
Eos speaks OSC out of the box. The exact command surface, why the Go key is not a cue fire, and how to drive the desk from music without an operator.
- Guides
MIDI Show Control: Still the Most Reliable Cue Trigger
MSC is a 1991 spec that still runs theatres. The SysEx byte format, the command families, the 128-byte cap, and four ways it fails without an error.