DreamShow · manualFree download
Manual contents
Manual › DMX and control

The OSC remote

OSC (Open Sound Control) is a network command language widely used in show control: tablet apps, programmable button boxes, cue-playback or video software can send OSC messages. DreamShow receives them to fire GO, change scene, go to blackout, force DMX channels… and sends its state (current scene, blackout, GO possible) back to the devices that write to it, so they can display it.

To open it: menu DMX > OSC remote….

An OSC message is made up of an address that looks like a path (/dreamshow/go) and, sometimes, arguments (numbers or text). It travels over UDP to an IP address and a port.

The window

Once enabled, OSC listening restarts automatically each time DreamShow is launched.

The commands received

All addresses start with /dreamshow/. Upper and lower case do not matter, and a final slash / is tolerated. Grouped messages (OSC “bundles”) are accepted; their timestamp is ignored, everything is executed at once.

AddressArgumentsEffect
/dreamshow/gonone, or 1 / 0GO (next scene).
/dreamshow/backnone, or 1 / 0Previous scene.
/dreamshow/prevnone, or 1 / 0Same as /dreamshow/back.
/dreamshow/scenenGo to scene n (1 = first).
/dreamshow/blackoutnone, or 0 / 1General blackout. With no argument: toggles. With 1: blackout; with 0: end of blackout.
/dreamshow/pausenone, or 1 / 0Pauses the cue list.
/dreamshow/playnone, or 1 / 0Restarts the cue list.
/dreamshow/resetnone, or 1 / 0Reset: “Ready” state.
/dreamshow/livenone, or 0 / 1The editor's LIVE button. With no argument: toggles; 1: on; 0: off.
/dreamshow/faderu c vSets channel c of universe u to value v.
/dreamshow/releaseu c, or noneGives channel c of universe u back to the cue list; with no argument: gives back all channels.
/dreamshow/keynameReleases a “Wait for a key” block that is waiting for this key.
/dreamshow/tapnone, or 1 / 0One tap-tempo tap.
/dreamshow/refreshnoneSends the whole state back at once.

Details:

Behaviour depending on the mode:

State feedback

DreamShow sends its state back:

It sends it after each command received, and as soon as the state changes (checked four times a second). /dreamshow/refresh forces a complete send.

Address sentValue
/dreamshow/scenenumber of the current scene (integer); 0 = “Ready”
/dreamshow/scene/namename of the current scene (text); “Ready” before the first GO
/dreamshow/next/namename of the next scene (text); empty on the last scene
/dreamshow/stateready (Ready), paused (paused) or playing (playing)
/dreamshow/go/allowed1 if GO is possible, otherwise 0
/dreamshow/blackout1 if blackout is active, otherwise 0

The text “Ready” follows the language of the interface.

Examples

The steps below describe what DreamShow expects. How to create a button or a message in each application depends on that application: refer to its documentation.

A tablet with TouchOSC

  1. In DreamShow, tick Enable OSC reception, leave the port at 8000, Apply. Note the PC's address displayed.
  2. In the tablet's app, set the OSC connection: host = the PC's address, send port = 8000, receive port = 9000.
  3. Create a button that sends /dreamshow/go, another /dreamshow/back, a third /dreamshow/blackout.
  4. For an intensity fader, make it send /dreamshow/fader with the arguments universe, channel, then the fader's value (0.0 to 1.0).
  5. To display the scene name, bind a label to the address /dreamshow/scene/name; to light the GO button when GO is possible, bind it to /dreamshow/go/allowed.

A button box with Companion on the same PC

  1. In DreamShow, tick Enable OSC reception and Only from this PC (127.0.0.1), for example Companion installed here, then Apply.
  2. In Companion, set up OSC sending to host 127.0.0.1, port 8000.
  3. Assign each key a message: /dreamshow/go, /dreamshow/back, /dreamshow/blackout, /dreamshow/scene with the scene number…
  4. For Companion to receive the state, make it listen on the feedback port (9000); DreamShow replies to it as soon as it has sent a first message.

Firing GO from a QLab cue list

  1. In DreamShow, enable OSC reception on port 8000 (without ticking “Only from this PC” if QLab runs on another computer).
  2. In QLab, create a network cue that sends the OSC message /dreamshow/go to the DreamShow PC's address, port 8000.
  3. Place this cue in QLab's cue list: each time it goes off, DreamShow does a GO (if GO is possible in Show mode).
  4. To go to a specific scene: /dreamshow/scene 5.

    The names of menus and settings change from one version of TouchOSC, Companion or QLab to another: refer to their documentation to find where to enter the address, the port and the OSC message. On the DreamShow side, only the PC's address, the port (8000 by default) and the messages listed above matter.

Good to know

See also