diff --git a/fedac/native/pieces/notepat.mjs b/fedac/native/pieces/notepat.mjs index 0967053a36..7894201218 100644 --- a/fedac/native/pieces/notepat.mjs +++ b/fedac/native/pieces/notepat.mjs @@ -473,10 +473,13 @@ let bgTarget = dark ? [20, 20, 25] : [240, 238, 232]; // DMX light mirrors bgColor via system.dmxSend (USB DMX PRO widget). // dmxMap turns rgb into universe slots (index 0 = channel 1) — swap this -// per fixture. House light: Chauvet Wedge Tri, 7ch personality at addr 3 -// (R G B macro strobe auto dimmer on slots 3-9); macro/strobe/auto stay 0 -// or they override the rgb, dimmer rides full and color does the fading. -const dmxMap = (r, g, b) => [0, 0, r, g, b, 0, 0, 0, 255]; +// per fixture. House light: Chauvet Wedge Tri, 3ch personality at d.490 +// (plain R G B on 490/491/492, no dimmer gate). One reused frame buffer. +const dmxSlots = new Array(492).fill(0); +const dmxMap = (r, g, b) => { + dmxSlots[489] = r; dmxSlots[490] = g; dmxSlots[491] = b; + return dmxSlots; +}; let dmxLast = [-1, -1, -1]; let dmxFrame = -60;