open-audiovisual
Search GitHub

Generic layout

Generic Moving head (RGBW)

Generic Moving head (RGBW): a common channel order written by hand, not one real fixture, with 2 modes (8ch: 8 and 16ch: 16). Copy it and change it to match your light’s manual before you patch a real one.

  • generic layout
  • not checked on a unit yet
Kind
moving head
Modes
2 modes (8ch: 8 and 16ch: 16)
Protocol
DMX512
Pan / tilt
—
Strobe
no rate in the file: kept open under the 3 Hz cap
Licence
MIT
Verified
not checked on a unit yet
Data
written by hand for OAV

Try it

Drive Generic Moving head (RGBW) without the light

The sliders go through the same Patch and colour split a show uses, and the table is the bytes the light would receive, address by address. Nothing is sent anywhere.

What the light shows

The bytes it receives

ChChannelByteAt this value

Strobe is held to 3 flashes a second, as the engine holds it; this swatch never flashes, it says the rate.

DMX channels

Every channel of Generic Moving head (RGBW), mode by mode

Generated from the fixture file, so it is the table the patch reads. Channel numbers count from the fixture’s start address; values are bytes 0–255.

Mode 8ch · 8 channel 8 channels

ChChannelTypeDefaultWhat the values do
1panpan1280–255
2tilttilt1280–255
3dimmerdimmer00–255
4strobestrobe / shutter00–9 open · 10–255 strobe
5redcolour: red00–255
6greencolour: green00–255
7bluecolour: blue00–255
8whitecolour: white00–255

Mode 16ch · 16 channel (16-bit pan and tilt) 16 channels

ChChannelTypeDefaultWhat the values do
1panpan1280–255
2panFinefine byte of pan00–255
3tilttilt1280–255
4tiltFinefine byte of tilt00–255
5speedspeed00–255
6dimmerdimmer00–255
7strobestrobe / shutter00–9 open · 10–255 strobe
8redcolour: red00–255
9greencolour: green00–255
10bluecolour: blue00–255
11whitecolour: white00–255
12gobogobo00–255
13zoomzoom00–255
14focusfocus00–255
15programcontrol (written only on purpose)00–255
16resetcontrol (written only on purpose)00–255

Use it

Generic Moving head (RGBW) in your code

Paste it into a <script type="module"> on any page: it loads @openav/devices and @openav/dmx from this site, patches the light at address 1 in mode 16ch and prints the bytes it would send. Send them with dmxTransport() (Art-Net or sACN through the out-bridge, or an Enttec DMX USB Pro by Web Serial).

javascript
import { device } from 'https://openaudiovisual.com/packages/devices/index.js';
import { Patch, DmxEngine } from 'https://openaudiovisual.com/packages/dmx/index.js';

const light = await device('generic-moving-head');   // Generic Moving head (RGBW)
const patch = new Patch();
light.patch(patch, { id: 'light1', address: 1, mode: '16ch' });   // 16 channels from address 1
const engine = new DmxEngine(patch);
engine.set('light1', { dimmer: 1, color: [1, 0.5, 0], pan: 0.5, tilt: 0.25 });
console.log(engine.render(0).bytes(1).slice(0, 16).join(' '));
// → 128 0 64 0 0 255 0 255 128 0 0 0 0 0 0 0

It prints the channels of mode 16ch, in order:

  1. pan 128
  2. panFine 0
  3. tilt 64
  4. tiltFine 0
  5. speed 0
  6. dimmer 255
  7. strobe 0
  8. red 255
  9. green 128
  10. blue 0
  11. white 0
  12. gobo 0
  13. zoom 0
  14. focus 0
  15. program 0
  16. reset 0

Files

Take the fixture with you

The fixture file (JSON, open-audiovisual/fixture@1): every mode and channel, the ranges, the sources and the licence. A show loads it with device() or passes it to a Patch.

Where it comes from

Sources, licence, verified

Written by hand for OAV as a common channel order. No single fixture is behind it.

Licence: MIT. Nobody has checked this file on a light for this project yet: every value is as the source says it.

Sources

GitHub

Wrong data?

Every value on this page comes from one file in the repository. Open an issue that says which value and where you read the right one, or change the file in a pull request.

Next step

Light it from a work

The DMX chapter: the patch, scenes, cues, effects, the 3 Hz flash cap and the three ways out of the computer. Example 28 lights a rig on screen, no hardware needed.