Skip to main content

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

  1. Open Window > Control (OSC / MIDI).
  2. Tick Enable OSC input. OSC is off until you turn it on.
  3. QUADmapper listens on the UDP port shown (8000 to begin with). The Bind address chooses where it listens: 0.0.0.0 is every network interface, 127.0.0.1 this computer only.
  4. 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

AddressArgumentWhat it does
/qm/blackout0 or 1, or none to toggleBlackout
/qm/scene/taken (1, 2, …), optional fade in secondsTake the nth scene
/qm/scene/activenThe active scene; setting it takes it
/qm/scene/<id or name>/takeTake a scene by name
/qm/quad/<id or name>/opacity0 to 1A quad’s opacity
/qm/quad/<id or name>/visible0 or 1Show or hide a quad
/qm/source/<id or name>/play, /pause, /restartOne video’s transport
/qm/source/<id or name>/speed0.1 to 4One video’s speed
/qm/source/<id or name>/volume0 to 1One video’s volume
/qm/source/<id or name>/mute0 or 1Mute one video
/qm/timeline/play, /pause, /restartThe master timeline
/qm/timeline/running0 or 1Run or stop the master timeline
/qm/master/volume0 to 1Master volume
/qm/master/mute0 or 1Master mute
/qm/composition/<name>/next, /prevNext or previous cue
/qm/composition/<name>/cuenGo to cue n
/qm/composition/<name>/play, /pause, /restartComposition transport
/qm/composition/<name>/fadeseconds, up to 30Set the crossfade
/qm/feedback/refreshSend 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 0 fades 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

  1. In the MIDI section, tick your device. Refresh looks for devices again.
  2. In MIDI Learn, find a target (the filter box helps) and click Learn.
  3. Press a pad or key, or move a knob or fader. The control is now bound. Esc or Cancel learn stops learning.

Each mapping in MIDI Mappings shows its Note, CC or Program number and channel, and has a mode:

ModeWhat it does
TriggerOn press: fires a trigger, toggles an on/off target, or sends a value target to its maximum
ToggleOn press: flips a target between off (minimum) and on (maximum)
MomentaryOn while held: press sets on (maximum), release sets off (minimum)
ValueThe 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