DreamShow · manualFree download
Manual contents
Manual › Creating with an AI

DMX stream by an AI

This function has an AI write the complete lighting of a piece of music, frame by frame, as a DMX stream (a .DmxStreaming file). DreamShow prepares a request that describes the venue, the chosen fixtures channel by channel, and the analysis of the music (tempo, beats, bars, sections, accents). You paste it into an AI chat able to run Python; the AI gives you a file back, which DreamShow checks, corrects if necessary, then places in a scene with the music.

Unlike Creating a show with an AI, which produces scenes you can edit block by block, the result here is a DMX recording: very rich, perfectly locked to the music, but replayed as it is.

To open it: menu File > DMX stream by an AI…

The show must have been saved at least once: the stream and the music go into its media folder. Otherwise DreamShow displays “Save the show first: the stream and the music go into its media folder.”. A venue must also be loaded.

The window stays open while you work in the AI chat.

1. Music

As soon as a music file is chosen, DreamShow analyses it (“Analysing the music…”) then displays the result, for example: “214.3 s, 124 BPM, 442 beats, 110 bars, 7 sections, 26 accents.”. During the analysis, the request buttons are greyed out. If the file cannot be read: “Cannot read: …”.

2. Fixtures involved

The list shows all the fixtures of the venue, except those marked “invisible”, in the form identifier name. All are ticked at the start.

Only the ticked fixtures are described to the AI, and only their channels will be accepted on the way back. Untick the devices the music must not drive (smoke, house lighting…).

A fixture whose definition cannot be found, or whose channels go past address 512 of its universe, is set aside; the status line flags it: “Skipped (definition not found or address outside the universe): ….”.

3. Intentions (optional)

Free text area: describe what you want (“cold blue mood at the start, an explosion of colours at the chorus, moving heads fanning out on the bridge…”). The text is inserted as it is into the request. Left empty, the request asks the AI for a lighting design that follows the structure of the song, with varied looks and original moving-head movements.

If no music has been analysed: “Choose the music first.”. If no fixture is ticked: “No fixture selected.”.

What the request contains

Locked channels and forbidden ranges. In each fixture's definition, DreamShow finds whatever could make it drop out of the stream or upset it: reset, automatic or sound-driven programs, master/slave modes, lamp, inversion, calibration, display, fan settings… A whole maintenance channel is locked (it always stays at its neutral value); elsewhere, only the dangerous ranges are forbidden. The neutral value leaves the channel harmless: shutter open, pan and tilt centred, movement speed at maximum, no effect, colour wheel on white.

4. The AI's answer

The fixtures ticked at the time of the import are the ones that count: keep the same selection as when you made the request.

Checks and corrections

The report is displayed under the buttons. Each line starts with a symbol: ✖ error, ⚠ warning, • remark, ✔ “No problem found.”. One line summarises the file: “… frames, … s at … frames/s, … channels.”.

Errors (nothing is imported):

Corrections made in the copy:

Flags (the copy is not modified):

Remarks:

The strobe flags are comfort and audience-safety alerts: if one of them appears, ask the AI to reduce it, or correct the scene.

How the stream plays

Step by step

  1. Save the show (Ctrl+S) if it is new, and copy the music into its media folder (Import media… button of the Libraries panel), or keep it to hand.
  2. Open File > DMX stream by an AI….
  3. Choose the music and wait for the analysis line.
  4. Tick the fixtures involved (the group buttons are quick).
  5. Write your intentions, if you have any.
  6. Click Copy the request (or Save the request… if the message is too long for the chat).
  7. In an AI chat able to run Python, paste the request (or attach the file) and send. Let the AI write and run its script.
  8. Download the .DmxStreaming file it produces.
  9. In DreamShow, click Import the stream… and choose that file. Read the report.
  10. In the Scenes panel, select the scene after which the new one should come, then click Add a scene with this stream.
  11. Close the window, select the “AI: …” scene and start playback to see it in the simulation.

If the AI chat cannot run code, it gives you a Python script: run it on your PC with Python 3, in the same folder as the dreamshow_stream.py module it contains, to get the file.

Good to know

See also