Generic layout
Generic RGBAW+UV par
Generic RGBAW+UV par: a common channel order written by hand, not one real fixture, with 2 modes (6ch: 6 and 8ch: 8). 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
- par / wash light
- Modes
- 2 modes (6ch: 6 and 8ch: 8)
- Protocol
- DMX512
- 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 RGBAW+UV par 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
| Ch | Channel | Byte | At 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 RGBAW+UV par, 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 6ch · 6 channel 6 channels
| Ch | Channel | Type | Default | What the values do |
|---|---|---|---|---|
| 1 | red | colour: red | 0 | 0–255 |
| 2 | green | colour: green | 0 | 0–255 |
| 3 | blue | colour: blue | 0 | 0–255 |
| 4 | amber | colour: amber | 0 | 0–255 |
| 5 | white | colour: white | 0 | 0–255 |
| 6 | uv | colour: UV | 0 | 0–255 |
Mode 8ch · 8 channel 8 channels
| Ch | Channel | Type | Default | What the values do |
|---|---|---|---|---|
| 1 | dimmer | dimmer | 0 | 0–255 |
| 2 | red | colour: red | 0 | 0–255 |
| 3 | green | colour: green | 0 | 0–255 |
| 4 | blue | colour: blue | 0 | 0–255 |
| 5 | amber | colour: amber | 0 | 0–255 |
| 6 | white | colour: white | 0 | 0–255 |
| 7 | uv | colour: UV | 0 | 0–255 |
| 8 | strobe | strobe / shutter | 0 | 0–9 open · 10–255 strobe |
Use it
Generic RGBAW+UV par 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 8ch 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).
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-rgbaw-uv'); // Generic RGBAW+UV par
const patch = new Patch();
light.patch(patch, { id: 'light1', address: 1, mode: '8ch' }); // 8 channels from address 1
const engine = new DmxEngine(patch);
engine.set('light1', { dimmer: 1, color: [1, 0.5, 0] });
console.log(engine.render(0).bytes(1).slice(0, 8).join(' '));
// → 255 0 0 0 255 0 0 0It prints the channels of mode 8ch, in order:
dimmer255red0green0blue0amber255white0uv0strobe0
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
- open-audiovisual generic layout No single fixture behind it: a common channel order, written by hand. Read the manual of your light and, where its order or ranges differ, copy this file and change it before patching a real fixture. The strobe ranges say open and strobe but no Hz: a generic file cannot know how fast a given value flashes, so under the 3 Hz cap the engine keeps this channel open.
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.