American DJ
American DJ Stinger Spot
American DJ Stinger Spot 是 American DJ 的搖頭燈,有 2 種模式 (9ch: 9、11ch: 11)。通道資料來自 Open Fixture Library(MIT),轉成 OAV 的燈具格式,本專案還沒有在實際的燈上確認過。
- 來自 Open Fixture Library(MIT)
- 還沒有在實機上確認
- 種類
- 搖頭燈
- 廠牌
- American DJ
- 模式
- 2 種模式 (9ch: 9、11ch: 11)
- 協定
- DMX512
- 水平/垂直
- 水平 540° · 垂直 210°
- 頻閃
- 檔案沒寫速率:在每秒 3 次的上限下保持常亮
- 授權
- MIT
- 驗證
- 還沒有在實機上確認
試試看
不接燈也能推 American DJ Stinger Spot
滑桿走的是演出用的同一個 Patch 和同一套顏色拆解,表格就是這台燈會收到的位元組,一個位址一格。什麼都不會送出去。
燈看起來的樣子
它收到的位元組
| 通道 | 名稱 | 位元組 | 這個值的作用 |
|---|
頻閃跟引擎一樣限制在每秒最多 3 次。這個色塊不會閃,只寫出速率。
DMX 通道
American DJ Stinger Spot 每個模式的每個通道
直接從燈具檔產生,就是 patch 讀的那張表。通道編號從燈具的起始位址算起,值是 0–255 的位元組。
模式 9ch · 9-channel 9 個通道
| 通道 | 名稱 | 類型 | 預設 | 每段數值的作用 |
|---|---|---|---|---|
| 1 | pan | 水平 | 0 | 0–255 |
| 2 | tilt | 垂直 | 0 | 0–255 |
| 3 | colorWheel | 其他 | 0 | 0–7 wheel slot (White) · 8–14 wheel slot (Red) · 15–21 wheel slot (Orange) · 22–28 wheel slot (Yellow) · 29–35 wheel slot (Green) · 36–42 wheel slot (Blue) · 43–49 wheel slot (Light blue) · 50–56 wheel slot (Pink) · 57–127 generic (Split Colors) · 128–189 wheel rotation · 190–193 wheel rotation · 194–255 wheel rotation |
| 4 | goboWheel | 圖案片 | 0 | 0–7 wheel slot (Open) · 8–15 wheel slot (Gobo 2) · 16–23 wheel slot (Gobo 3) · 24–31 wheel slot (Gobo 4) · 32–39 wheel slot (Gobo 5) · 40–47 wheel slot (Gobo 6) · 48–55 wheel slot (Gobo 7) · 56–63 wheel slot (Gobo 8) · 64–71 wheel shake (Open) · 72–79 wheel shake (Gobo 2) · 80–87 wheel shake (Gobo 3) · 88–95 wheel shake (Gobo 4) · 96–103 wheel shake (Gobo 5) · 104–111 wheel shake (Gobo 6) · 112–119 wheel shake (Gobo 7) · 120–127 wheel shake (Gobo 8) · 128–189 wheel rotation · 190–193 wheel rotation · 194–255 wheel rotation |
| 5 | shutterStrobe | 頻閃/遮光 | 8 | 0–7 關 (Closed) · 8–15 開 (Open) · 16–131 頻閃 (Strobe) · 132–139 開 (Open) · 140–181 頻閃 (RampUp) · 182–189 開 (Open) · 190–231 頻閃 (RampDown) · 232–239 開 (Open) · 240–247 頻閃 (Strobe) · 248–255 開 (Open) |
| 6 | dimmer | 亮度 | 0 | 0–255 |
| 7 | movementSpeed | 速度 | 0 | 0–255 |
| 8 | function | 控制(只在刻意指定時寫入) | 0 | 0–69 無作用 · 70–79 maintenance (Blackout with pan/tilt) · 80–89 maintenance (No blackout with pan/tilt) · 90–99 maintenance (Blackout with color change) · 100–109 maintenance (No blackout with color change) · 110–119 maintenance (Blackout with gobo change) · 120–129 maintenance (No blackout with gobo change) · 130–199 無作用 · 200–209 maintenance (Reset all) · 210–249 無作用 · 250–255 effect (Sound-active mode) |
| 9 | dimmerCurves | 控制(只在刻意指定時寫入) | 0 | 0–20 maintenance (Standard) · 21–40 maintenance (Stage) · 41–60 maintenance (TV) · 61–80 maintenance (Architectural) · 81–100 maintenance (Theatre) · 101–255 無作用 (Default unit curve) |
模式 11ch · 11-channel 11 個通道
| 通道 | 名稱 | 類型 | 預設 | 每段數值的作用 |
|---|---|---|---|---|
| 1 | pan | 水平 | 0 | 0–255 |
| 2 | panFine | pan 的低位元組 | 0 | 0–255 |
| 3 | tilt | 垂直 | 0 | 0–255 |
| 4 | tiltFine | tilt 的低位元組 | 0 | 0–255 |
| 5 | colorWheel | 其他 | 0 | 0–7 wheel slot (White) · 8–14 wheel slot (Red) · 15–21 wheel slot (Orange) · 22–28 wheel slot (Yellow) · 29–35 wheel slot (Green) · 36–42 wheel slot (Blue) · 43–49 wheel slot (Light blue) · 50–56 wheel slot (Pink) · 57–127 generic (Split Colors) · 128–189 wheel rotation · 190–193 wheel rotation · 194–255 wheel rotation |
| 6 | goboWheel | 圖案片 | 0 | 0–7 wheel slot (Open) · 8–15 wheel slot (Gobo 2) · 16–23 wheel slot (Gobo 3) · 24–31 wheel slot (Gobo 4) · 32–39 wheel slot (Gobo 5) · 40–47 wheel slot (Gobo 6) · 48–55 wheel slot (Gobo 7) · 56–63 wheel slot (Gobo 8) · 64–71 wheel shake (Open) · 72–79 wheel shake (Gobo 2) · 80–87 wheel shake (Gobo 3) · 88–95 wheel shake (Gobo 4) · 96–103 wheel shake (Gobo 5) · 104–111 wheel shake (Gobo 6) · 112–119 wheel shake (Gobo 7) · 120–127 wheel shake (Gobo 8) · 128–189 wheel rotation · 190–193 wheel rotation · 194–255 wheel rotation |
| 7 | shutterStrobe | 頻閃/遮光 | 8 | 0–7 關 (Closed) · 8–15 開 (Open) · 16–131 頻閃 (Strobe) · 132–139 開 (Open) · 140–181 頻閃 (RampUp) · 182–189 開 (Open) · 190–231 頻閃 (RampDown) · 232–239 開 (Open) · 240–247 頻閃 (Strobe) · 248–255 開 (Open) |
| 8 | dimmer | 亮度 | 0 | 0–255 |
| 9 | movementSpeed | 速度 | 0 | 0–255 |
| 10 | function | 控制(只在刻意指定時寫入) | 0 | 0–69 無作用 · 70–79 maintenance (Blackout with pan/tilt) · 80–89 maintenance (No blackout with pan/tilt) · 90–99 maintenance (Blackout with color change) · 100–109 maintenance (No blackout with color change) · 110–119 maintenance (Blackout with gobo change) · 120–129 maintenance (No blackout with gobo change) · 130–199 無作用 · 200–209 maintenance (Reset all) · 210–249 無作用 · 250–255 effect (Sound-active mode) |
| 11 | dimmerCurves | 控制(只在刻意指定時寫入) | 0 | 0–20 maintenance (Standard) · 21–40 maintenance (Stage) · 41–60 maintenance (TV) · 61–80 maintenance (Architectural) · 81–100 maintenance (Theatre) · 101–255 無作用 (Default unit curve) |
用在程式裡
把 American DJ Stinger Spot 寫進你的程式
貼進任何網頁的 <script type="module">:它從這個網站載入 @openav/devices 和 @openav/dmx,用模式 11ch 把燈 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('american-dj-stinger-spot'); // American DJ Stinger Spot
const patch = new Patch();
light.patch(patch, { id: 'light1', address: 1, mode: '11ch' }); // 11 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, 11).join(' '));
// → 128 0 64 0 0 0 8 255 0 0 0它照順序印出模式 11ch 的各個通道:
pan128panFine0tilt64tiltFine0colorWheel0goboWheel0shutterStrobe8dimmer255movementSpeed0function0dimmerCurves0
檔案
把燈具帶走
燈具檔(JSON,open-audiovisual/fixture@1):每個模式和通道、每段數值、出處與授權。演出用 device() 載入,或直接交給 Patch。
資料從哪裡來
出處、授權、驗證
通道資料來自 Open Fixture Library(MIT),檔案 fixtures/american-dj/stinger-spot.json,commit 849343f6,作者 unk, Felix Edelmann, Ryan Goodwin。由 tools/import-ofl.mjs 轉換,保留每個通道的作用、預設值和各段數值。
授權:MIT。 本專案還沒有人拿實際的燈確認過這個檔案:每個值都照出處寫。
出處
- Open Fixture Library fixtures/american-dj/stinger-spot.json by unk, Felix Edelmann, Ryan Goodwin; MIT; channel jobs and ranges read from OFL's capabilities, not checked by this project
- American DJ Stinger Spot: manual linked from the OFL file; not read by this project
- American DJ Stinger 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. OFL asks for help: Color Wheel: Which split colors can be selected at which DMX values?
GitHub
資料有錯?
這一頁的每個值都來自 repository 裡的一個檔案。開一張 issue,寫哪一個值、你在哪裡讀到正確的值,或直接用 pull request 改那個檔案。