OSC and MIDI Control
Drive scenes, blackout, quads, videos and compositions from a lighting desk, tablet or MIDI controller.
A lighting desk, a tablet or a MIDI controller can take scenes, trigger blackout and move controls. Everything is set up in Window > Control (OSC / MIDI). The same OSC and MIDI settings are also in Edit > Preferences… > Control.
OSC input
- Open Window > Control (OSC / MIDI).
- Tick Enable OSC input. OSC is off until you turn it on.
- QUADmapper listens on the UDP port shown (8000 to begin with). The Bind address chooses
where it listens:
0.0.0.0is every network interface,127.0.0.1this computer only. - After changing the port or address, click Apply. The panel then says Listening on UDP address:port.
Enabling OSC opens a UDP port. Windows Firewall asks the first time: allow private networks for a controller on your network.
The panel counts packets and messages, lists the last messages received, and shows any unknown addresses, which helps when a controller is sending the wrong thing. Address reference in the panel lists every address.
OSC addresses
| Address | Argument | What it does |
|---|---|---|
/qm/blackout | 0 or 1, or none to toggle | Blackout |
/qm/scene/take | n (1, 2, …), optional fade in seconds | Take the nth scene |
/qm/scene/active | n | The active scene; setting it takes it |
/qm/scene/<id or name>/take | Take a scene by name | |
/qm/quad/<id or name>/opacity | 0 to 1 | A quad’s opacity |
/qm/quad/<id or name>/visible | 0 or 1 | Show or hide a quad |
/qm/source/<id or name>/play, /pause, /restart | One video’s transport | |
/qm/source/<id or name>/speed | 0.1 to 4 | One video’s speed |
/qm/source/<id or name>/volume | 0 to 1 | One video’s volume |
/qm/source/<id or name>/mute | 0 or 1 | Mute one video |
/qm/timeline/play, /pause, /restart | The master timeline | |
/qm/timeline/running | 0 or 1 | Run or stop the master timeline |
/qm/master/volume | 0 to 1 | Master volume |
/qm/master/mute | 0 or 1 | Master mute |
/qm/composition/<name>/next, /prev | Next or previous cue | |
/qm/composition/<name>/cue | n | Go to cue n |
/qm/composition/<name>/play, /pause, /restart | Composition transport | |
/qm/composition/<name>/fade | seconds, up to 30 | Set the crossfade |
/qm/feedback/refresh | Send every feedback value again |
How names and patterns work
- Names match without regard to case. If two things share a name, the first match is used.
- Wildcards
?,*,[a-z],[!0-9]and{a,b}address many targets at once:/qm/quad/*/opacity 0fades out every quad. - A pattern that matches several scene takes is refused.
- A video locked to the master timeline refuses its own transport; use
/qm/timeline/...instead. - OSC bundle time tags are ignored.
OSC feedback
Tick Send feedback to the controller so faders and buttons on the controller follow the show. QUADmapper sends quad opacity and visibility, video speed, volume and mute, master volume and mute, blackout, timeline running and the active scene, whenever they change (at most 30 times a second per address).
- Reply to sender sends to wherever the last OSC message came from. Fixed host sends to an IPv4 address you type.
- Feedback port is the controller’s incoming port. 0 means the port the controller sent from (reply mode only). Click Apply after changing either.
- Address by id always uses ids in feedback addresses. Off, a quad’s name is used when it is unique and has no spaces or OSC symbols.
- Send all sends every value again, for example after you reload a layout on the controller.
- Feedback uses the OSC input socket, so OSC input must be on.
MIDI
- In the MIDI section, tick your device. Refresh looks for devices again.
- In MIDI Learn, find a target (the filter box helps) and click Learn.
- Press a pad or key, or move a knob or fader. The control is now bound.
Escor Cancel learn stops learning.
Each mapping in MIDI Mappings shows its Note, CC or Program number and channel, and has a mode:
| Mode | What it does |
|---|---|
| Trigger | On press: fires a trigger, toggles an on/off target, or sends a value target to its maximum |
| Toggle | On press: flips a target between off (minimum) and on (maximum) |
| Momentary | On while held: press sets on (maximum), release sets off (minimum) |
| Value | The control’s value drives the target, for faders and knobs: 0 to 127 maps across the target’s range, and 64 or more is on for an on/off target |
- Any accepts the control from any MIDI device. Delete removes the mapping.
- 14-bit controllers are supported: one CC carries the coarse value and a second the fine value.
- MIDI mappings are saved in the project.
- If the quad, scene or video a mapping drove is deleted, the mapping is kept (undo may bring the target back). Delete it if you do not need it.
Limits
- No MIDI Timecode or MIDI clock sync.
- OSC feedback and 14-bit MIDI have not been tried with real controllers yet.
Next steps
- During the show — what the perform lock leaves working
- Keyboard shortcuts — every key