Add sound-reactive cans, a strobe pad and side chases to the test show.
The Sound pad (bank 1 note 36) toggles a QLC+ Audio Triggers widget whose volume bar drives a Sound submaster beside the can dimmers, so the cans' brightness follows the music while the movers stay steady. padcontroller sends CC 100 at full on every press and release of that pad, bypassing its CC smoothing, so switching sound off always leaves the cans at full. test.qxw also gains Chase forward/reverse, a double and an opposing zigzag down the side cans (RGB matrices whose colour follows the Colour 2 pads), a Strobe flash pad with the cans' strobe channel forced HTP, and the Dimmers frame, forced-LTP side colours and dimmer-free colour scenes from parallel sessions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6bbb3d5a29
commit
d522b1a2cf
4 files changed
+1234
-353
No files matched your search
@@ -9,6 +9,11 @@ With lock_knobs, knobs 1–5 (CC 30–34) drive colour 1's sliders and knobs 6
|
||||
with Play held) has been pressed. Pressing any other bank 2 pad locks them
|
||||
again, and its sliders are sent back to zero so their scenes stop.
|
||||
Locked knob turns are dropped.
|
||||
|
||||
The Sound pad (note 36) toggles QLC+'s audio triggers, which pump the cans'
|
||||
Sound submaster in the Dimmers frame. Every press and release also sends CC 100
|
||||
at full, so switching sound off leaves the cans at full rather than wherever
|
||||
the music left them.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
@@ -20,6 +25,8 @@ SHIFT = 16
|
||||
CUSTOM_NOTE = 67
|
||||
KNOB_FIRST_CC = 30
|
||||
KNOBS_PER_LAYER = 5
|
||||
SOUND_NOTE = 36
|
||||
SUBMASTER_CC = 100
|
||||
|
||||
|
||||
class PlayLayer:
|
||||
@@ -56,6 +63,9 @@ class PlayLayer:
|
||||
self.unlocked.discard(layer)
|
||||
first = KNOB_FIRST_CC + layer * KNOBS_PER_LAYER
|
||||
extra = [[0xB0, first + n, 0] for n in range(KNOBS_PER_LAYER)]
|
||||
if note == SOUND_NOTE:
|
||||
# Again on release, after any spectrum frame QLC+ still had queued
|
||||
extra = [[0xB0, SUBMASTER_CC, 127]]
|
||||
if is_on:
|
||||
out = note + SHIFT if self.held and FIRST_NOTE <= note <= LAST_NOTE else note
|
||||
self.sent[key] = out
|
||||
|
||||
Reference in new issue
Block a user