open-audiovisual
搜尋 GitHub

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 個通道

通道名稱類型預設每段數值的作用
1pan水平00–255
2tilt垂直00–255
3panTiltSpeed速度00–255
4dimmer亮度00–255
5strobe頻閃/遮光00–10 開 · 11–128 頻閃 (Strobe) 0–20 Hz · 129–255 頻閃 (Strobe) 0–20 Hz
6colorWheel色輪00–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
7goboWheel圖案片00–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
8goboRotation圖案片00–127 wheel slot rotation · 128–191 wheel slot rotation · 192–255 wheel slot rotation
9focus對焦00–255

模式 12ch · 12-channel 12 個通道

通道名稱類型預設每段數值的作用
1pan水平00–255
2panFinepan 的低位元組00–255
3tilt垂直00–255
4tiltFinetilt 的低位元組00–255
5panTiltSpeed速度00–255
6dimmer亮度00–255
7strobe頻閃/遮光00–10 開 · 11–128 頻閃 (Strobe) 0–20 Hz · 129–255 頻閃 (Strobe) 0–20 Hz
8colorWheel色輪00–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
9goboWheel圖案片00–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
10goboRotation圖案片00–127 wheel slot rotation · 128–191 wheel slot rotation · 192–255 wheel slot rotation
11focus對焦00–255
12maintenance控制(只在刻意指定時寫入)00–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)。

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('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 的各個通道:

  1. pan 128
  2. panFine 0
  3. tilt 64
  4. tiltFine 0
  5. panTiltSpeed 0
  6. dimmer 255
  7. strobe 0
  8. colorWheel 0
  9. goboWheel 0
  10. goboRotation 0
  11. focus 0
  12. maintenance 0

檔案

把燈具帶走

燈具檔(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。 本專案還沒有人拿實際的燈確認過這個檔案:每個值都照出處寫。

出處

檔案裡的說明

Imported from the Open Fixture Library. Nobody has checked it on a light for this project.

GitHub

資料有錯?

這一頁的每個值都來自 repository 裡的一個檔案。開一張 issue,寫哪一個值、你在哪裡讀到正確的值,或直接用 pull request 改那個檔案。

下一步

從作品打這台燈

DMX 那一章:patch、scene、cue、effect、每秒 3 次的頻閃上限,以及離開電腦的三種方式。範例 28 在畫面上點亮整組燈,不需要硬體。