open-audiovisual
搜尋 GitHub

Fun Generation

Fun Generation PicoSpot 20 LED

Fun Generation PicoSpot 20 LED 是 Fun Generation 的搖頭燈,有 3 種模式 (5ch: 5、9ch: 9、11ch: 11)。通道資料來自 Open Fixture Library(MIT),轉成 OAV 的燈具格式,本專案還沒有在實際的燈上確認過。

  • 來自 Open Fixture Library(MIT)
  • 還沒有在實機上確認
種類
搖頭燈
廠牌
Fun Generation
模式
3 種模式 (5ch: 5、9ch: 9、11ch: 11)
協定
DMX512
水平/垂直
水平 540° · 垂直 200°
頻閃
最快 25 Hz(引擎上限每秒 3 次)
授權
MIT
驗證
還沒有在實機上確認

試試看

不接燈也能推 Fun Generation PicoSpot 20 LED

滑桿走的是演出用的同一個 Patch 和同一套顏色拆解,表格就是這台燈會收到的位元組,一個位址一格。什麼都不會送出去。

燈看起來的樣子

它收到的位元組

通道名稱位元組這個值的作用

頻閃跟引擎一樣限制在每秒最多 3 次。這個色塊不會閃,只寫出速率。

DMX 通道

Fun Generation PicoSpot 20 LED 每個模式的每個通道

直接從燈具檔產生,就是 patch 讀的那張表。通道編號從燈具的起始位址算起,值是 0–255 的位元組。

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

通道名稱類型預設每段數值的作用
1pan水平00–255
2tilt垂直00–255
3panTiltSpeed速度00–255
4colorWheel色輪00–10 wheel slot (White) · 11–21 wheel slot (Red) · 22–32 wheel slot (Orange) · 33–43 wheel slot (Yellow) · 44–54 wheel slot (Green) · 55–65 wheel slot (Blue) · 66–76 wheel slot (Cyan) · 77–87 wheel slot (Purple) · 88–98 wheel slot (White → Red) · 99–109 wheel slot (Red → Orange) · 110–120 wheel slot (Orange → Yellow) · 121–131 wheel slot (Yellow → Green) · 132–142 wheel slot (Green → Blue) · 143–153 wheel slot (Blue → Cyan) · 154–164 wheel slot (Cyan → Purple) · 165–175 wheel slot (Purple) · 176–255 wheel rotation
5dimmer亮度00–255

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

通道名稱類型預設每段數值的作用
1pan水平00–255
2tilt垂直00–255
3panFinepan 的低位元組00–255
4tiltFinetilt 的低位元組00–255
5panTiltSpeed速度00–255
6colorWheel色輪00–10 wheel slot (White) · 11–21 wheel slot (Red) · 22–32 wheel slot (Orange) · 33–43 wheel slot (Yellow) · 44–54 wheel slot (Green) · 55–65 wheel slot (Blue) · 66–76 wheel slot (Cyan) · 77–87 wheel slot (Purple) · 88–98 wheel slot (White → Red) · 99–109 wheel slot (Red → Orange) · 110–120 wheel slot (Orange → Yellow) · 121–131 wheel slot (Yellow → Green) · 132–142 wheel slot (Green → Blue) · 143–153 wheel slot (Blue → Cyan) · 154–164 wheel slot (Cyan → Purple) · 165–175 wheel slot (Purple) · 176–255 wheel rotation
7goboWheel圖案片00–15 wheel slot (Open) · 16–31 wheel slot (Gobo 2) · 32–46 wheel slot (Gobo 3) · 47–62 wheel slot (Gobo 4) · 63–78 wheel slot (Gobo 5) · 79–93 wheel slot (Gobo 6) · 94–109 wheel slot (Gobo 7) · 110–124 wheel slot (Gobo 8) · 125–140 wheel shake (Gobo 2) · 141–156 wheel shake (Gobo 3) · 157–171 wheel shake (Gobo 4) · 172–187 wheel shake (Gobo 5) · 188–203 wheel shake (Gobo 6) · 204–218 wheel shake (Gobo 7) · 219–249 wheel shake (Gobo 8) · 250–255 wheel rotation
8dimmer亮度00–255
9shutterStrobe頻閃/遮光00–9 開 (Open) · 10–255 頻閃 (Strobe) 1–25 Hz

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

通道名稱類型預設每段數值的作用
1pan水平00–255
2tilt垂直00–255
3panFinepan 的低位元組00–255
4tiltFinetilt 的低位元組00–255
5panTiltSpeed速度00–255
6colorWheel色輪00–10 wheel slot (White) · 11–21 wheel slot (Red) · 22–32 wheel slot (Orange) · 33–43 wheel slot (Yellow) · 44–54 wheel slot (Green) · 55–65 wheel slot (Blue) · 66–76 wheel slot (Cyan) · 77–87 wheel slot (Purple) · 88–98 wheel slot (White → Red) · 99–109 wheel slot (Red → Orange) · 110–120 wheel slot (Orange → Yellow) · 121–131 wheel slot (Yellow → Green) · 132–142 wheel slot (Green → Blue) · 143–153 wheel slot (Blue → Cyan) · 154–164 wheel slot (Cyan → Purple) · 165–175 wheel slot (Purple) · 176–255 wheel rotation
7goboWheel圖案片00–15 wheel slot (Open) · 16–31 wheel slot (Gobo 2) · 32–46 wheel slot (Gobo 3) · 47–62 wheel slot (Gobo 4) · 63–78 wheel slot (Gobo 5) · 79–93 wheel slot (Gobo 6) · 94–109 wheel slot (Gobo 7) · 110–124 wheel slot (Gobo 8) · 125–140 wheel shake (Gobo 2) · 141–156 wheel shake (Gobo 3) · 157–171 wheel shake (Gobo 4) · 172–187 wheel shake (Gobo 5) · 188–203 wheel shake (Gobo 6) · 204–218 wheel shake (Gobo 7) · 219–249 wheel shake (Gobo 8) · 250–255 wheel rotation
8dimmer亮度00–255
9shutterStrobe頻閃/遮光00–9 開 (Open) · 10–255 頻閃 (Strobe) 1–25 Hz
10program控制(只在刻意指定時寫入)00–49 無作用 · 50–59 color preset (White) · 60–69 effect (Scene 02 (empty)) · 70–79 effect (Scene 03 (empty)) · 80–89 effect (Scene 04 (empty)) · 90–99 effect (Scene 05 (empty)) · 100–109 effect (Scene 06 (empty)) · 110–119 effect (Scene 07 (empty)) · 120–129 effect (Scene 08 (empty)) · 130–139 effect (Scene 09 (empty)) · 140–149 effect (Programme 1) · 150–159 effect (Programme 2) · 160–169 effect (Programme 3) · 170–179 effect (Programme 4) · 180–189 effect (Programme 5) · 190–199 effect (Programme 6) · 200–209 effect (Programme 7) · 210–219 effect (Programme 8 (empty)) · 220–229 effect (Programme 9 (empty)) · 230–239 無作用 (Empty) · 240–249 無作用 (Empty) · 250–255 effect (Sound-controlled operation)
11programSpeed速度00–255

用在程式裡

把 Fun Generation PicoSpot 20 LED 寫進你的程式

貼進任何網頁的 <script type="module">:它從這個網站載入 @openav/devices 和 @openav/dmx,用模式 11ch 把燈 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('fun-generation-picospot-20-led');   // Fun Generation PicoSpot 20 LED
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 64 0 0 0 0 0 255 0 0 0

它照順序印出模式 11ch 的各個通道:

  1. pan 128
  2. tilt 64
  3. panFine 0
  4. tiltFine 0
  5. panTiltSpeed 0
  6. colorWheel 0
  7. goboWheel 0
  8. dimmer 255
  9. shutterStrobe 0
  10. program 0
  11. programSpeed 0

檔案

把燈具帶走

燈具檔(JSON,open-audiovisual/fixture@1):每個模式和通道、每段數值、出處與授權。演出用 device() 載入,或直接交給 Patch。

資料從哪裡來

出處、授權、驗證

通道資料來自 Open Fixture Library(MIT),檔案 fixtures/fun-generation/picospot-20-led.json,commit 849343f6,作者 LordVonAdel, Moritz Weirauch。由 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 在畫面上點亮整組燈,不需要硬體。