Stairville
Stairville MH-x30 LED Spot
Stairville MH-x30 LED Spot 是 Stairville 的搖頭燈,有 2 種模式 (9ch: 9、12ch: 12)。通道資料來自 Open Fixture Library(MIT),轉成 OAV 的燈具格式,本專案還沒有在實際的燈上確認過。
- 來自 Open Fixture Library(MIT)
- 還沒有在實機上確認
- 種類
- 搖頭燈
- 廠牌
- Stairville
- 模式
- 2 種模式 (9ch: 9、12ch: 12)
- 協定
- DMX512
- 水平/垂直
- 水平 540° · 垂直 200°
- 頻閃
- 最快 20 Hz(引擎上限每秒 3 次)
- 授權
- MIT
- 驗證
- 還沒有在實機上確認
試試看
不接燈也能推 Stairville MH-x30 LED Spot
滑桿走的是演出用的同一個 Patch 和同一套顏色拆解,表格就是這台燈會收到的位元組,一個位址一格。什麼都不會送出去。
燈看起來的樣子
它收到的位元組
| 通道 | 名稱 | 位元組 | 這個值的作用 |
|---|
頻閃跟引擎一樣限制在每秒最多 3 次。這個色塊不會閃,只寫出速率。
DMX 通道
Stairville MH-x30 LED Spot 每個模式的每個通道
直接從燈具檔產生,就是 patch 讀的那張表。通道編號從燈具的起始位址算起,值是 0–255 的位元組。
模式 9ch · 9-channel 9 個通道
| 通道 | 名稱 | 類型 | 預設 | 每段數值的作用 |
|---|---|---|---|---|
| 1 | pan | 水平 | 0 | 0–255 |
| 2 | tilt | 垂直 | 0 | 0–255 |
| 3 | panTiltSpeed | 速度 | 0 | 0–255 |
| 4 | dimmer | 亮度 | 0 | 0–255 |
| 5 | strobe | 頻閃/遮光 | 0 | 0–10 開 · 11–128 頻閃 (Strobe) 0–20 Hz · 129–255 頻閃 (Strobe) 0–20 Hz |
| 6 | colorWheel | 色輪 | 0 | 0–11 wheel slot (White) · 12–23 wheel slot (Red) · 24–35 wheel slot (Green) · 36–47 wheel slot (Light blue) · 48–59 wheel slot (Purple) · 60–71 wheel slot (Light yellow) · 72–83 wheel slot (Blue) · 84–95 wheel slot (Yellow) · 96–107 wheel slot (White / Red) · 108–119 wheel slot (Red / Green) · 120–131 wheel slot (Green / Light blue) · 132–143 wheel slot (Light blue / Purple) · 144–155 wheel slot (Purple / Light yellow) · 156–167 wheel slot (Light yellow / Blue) · 168–179 wheel slot (Blue / Yellow) · 180–191 wheel slot (Yellow) · 192–223 wheel rotation · 224–255 wheel rotation |
| 7 | goboWheel | 圖案片 | 0 | 0–11 wheel slot (Open) · 12–23 wheel slot (Gobo 2) · 24–35 wheel slot (Gobo 3) · 36–47 wheel slot (Gobo 4) · 48–59 wheel slot (Gobo 5) · 60–71 wheel slot (Gobo 6) · 72–83 wheel slot (Gobo 7) · 84–95 wheel slot (Gobo 8) · 96–107 wheel shake (Gobo 2) · 108–119 wheel shake (Gobo 3) · 120–131 wheel shake (Gobo 4) · 132–143 wheel shake (Gobo 5) · 144–155 wheel shake (Gobo 6) · 156–167 wheel shake (Gobo 7) · 168–179 wheel shake (Gobo 8) · 180–191 wheel slot (Open) · 192–223 wheel rotation · 224–255 wheel rotation |
| 8 | goboRotation | 圖案片 | 0 | 0–127 wheel slot rotation · 128–191 wheel slot rotation · 192–255 wheel slot rotation |
| 9 | focus | 對焦 | 0 | 0–255 |
模式 12ch · 12-channel 12 個通道
| 通道 | 名稱 | 類型 | 預設 | 每段數值的作用 |
|---|---|---|---|---|
| 1 | pan | 水平 | 0 | 0–255 |
| 2 | panFine | pan 的低位元組 | 0 | 0–255 |
| 3 | tilt | 垂直 | 0 | 0–255 |
| 4 | tiltFine | tilt 的低位元組 | 0 | 0–255 |
| 5 | panTiltSpeed | 速度 | 0 | 0–255 |
| 6 | dimmer | 亮度 | 0 | 0–255 |
| 7 | strobe | 頻閃/遮光 | 0 | 0–10 開 · 11–128 頻閃 (Strobe) 0–20 Hz · 129–255 頻閃 (Strobe) 0–20 Hz |
| 8 | colorWheel | 色輪 | 0 | 0–11 wheel slot (White) · 12–23 wheel slot (Red) · 24–35 wheel slot (Green) · 36–47 wheel slot (Light blue) · 48–59 wheel slot (Purple) · 60–71 wheel slot (Light yellow) · 72–83 wheel slot (Blue) · 84–95 wheel slot (Yellow) · 96–107 wheel slot (White / Red) · 108–119 wheel slot (Red / Green) · 120–131 wheel slot (Green / Light blue) · 132–143 wheel slot (Light blue / Purple) · 144–155 wheel slot (Purple / Light yellow) · 156–167 wheel slot (Light yellow / Blue) · 168–179 wheel slot (Blue / Yellow) · 180–191 wheel slot (Yellow) · 192–223 wheel rotation · 224–255 wheel rotation |
| 9 | goboWheel | 圖案片 | 0 | 0–11 wheel slot (Open) · 12–23 wheel slot (Gobo 2) · 24–35 wheel slot (Gobo 3) · 36–47 wheel slot (Gobo 4) · 48–59 wheel slot (Gobo 5) · 60–71 wheel slot (Gobo 6) · 72–83 wheel slot (Gobo 7) · 84–95 wheel slot (Gobo 8) · 96–107 wheel shake (Gobo 2) · 108–119 wheel shake (Gobo 3) · 120–131 wheel shake (Gobo 4) · 132–143 wheel shake (Gobo 5) · 144–155 wheel shake (Gobo 6) · 156–167 wheel shake (Gobo 7) · 168–179 wheel shake (Gobo 8) · 180–191 wheel slot (Open) · 192–223 wheel rotation · 224–255 wheel rotation |
| 10 | goboRotation | 圖案片 | 0 | 0–127 wheel slot rotation · 128–191 wheel slot rotation · 192–255 wheel slot rotation |
| 11 | focus | 對焦 | 0 | 0–255 |
| 12 | maintenance | 控制(只在刻意指定時寫入) | 0 | 0–9 無作用 · 10–20 maintenance (Reset) · 21–255 無作用 |
用在程式裡
把 Stairville MH-x30 LED Spot 寫進你的程式
貼進任何網頁的 <script type="module">:它從這個網站載入 @openav/devices 和 @openav/dmx,用模式 12ch 把燈 patch 在位址 1,印出它會送出的位元組。要真的送出去,用 dmxTransport()(經輸出橋接程式送 Art-Net 或 sACN,或用 Web Serial 接 Enttec DMX USB Pro)。
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('stairville-mh-x30-led-spot'); // Stairville MH-x30 LED Spot
const patch = new Patch();
light.patch(patch, { id: 'light1', address: 1, mode: '12ch' }); // 12 channels from address 1
const engine = new DmxEngine(patch);
engine.set('light1', { dimmer: 1, pan: 0.5, tilt: 0.25 });
console.log(engine.render(0).bytes(1).slice(0, 12).join(' '));
// → 128 0 64 0 0 255 0 0 0 0 0 0它照順序印出模式 12ch 的各個通道:
pan128panFine0tilt64tiltFine0panTiltSpeed0dimmer255strobe0colorWheel0goboWheel0goboRotation0focus0maintenance0
檔案
把燈具帶走
燈具檔(JSON,open-audiovisual/fixture@1):每個模式和通道、每段數值、出處與授權。演出用 device() 載入,或直接交給 Patch。
資料從哪裡來
出處、授權、驗證
通道資料來自 Open Fixture Library(MIT),檔案 fixtures/stairville/mh-x30-led-spot.json,commit 849343f6,作者 Voyo, Ryan Goodwin。由 tools/import-ofl.mjs 轉換,保留每個通道的作用、預設值和各段數值。
授權:MIT。 本專案還沒有人拿實際的燈確認過這個檔案:每個值都照出處寫。
出處
- Open Fixture Library fixtures/stairville/mh-x30-led-spot.json by Voyo, Ryan Goodwin; MIT; channel jobs and ranges read from OFL's capabilities, not checked by this project
- Stairville MH-x30 LED Spot: manual linked from the OFL file; not read by this project
- Stairville MH-x30 LED Spot: product page linked from the OFL file; not read by this project
檔案裡的說明
Imported from the Open Fixture Library. Nobody has checked it on a light for this project.
GitHub
資料有錯?
這一頁的每個值都來自 repository 裡的一個檔案。開一張 issue,寫哪一個值、你在哪裡讀到正確的值,或直接用 pull request 改那個檔案。