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:
jimmyandClaude Opus 5.5 committed 2026-10-22 17:03:27 +13:00
1 parent 6bbb3d5a29
commit d522b1a2cf
4 files changed
+1234 -353

No files matched your search

+3 -3
View File
@@ -38,7 +38,7 @@ for p in glob.glob(str(ROOT / ".venv" / "lib" / "python*" / "site-packages")):
sys.path.insert(0, p)
import rtmidi
from padcontroller.layer import PlayLayer # noqa: E402
from padcontroller.layer import SUBMASTER_CC, PlayLayer # noqa: E402
# The lamp colours come from the show scripts, which are not part of this package.
sys.path.insert(0, str(ROOT / "scripts" / "pad"))
@@ -205,7 +205,7 @@ def main() -> None:
continue
for out in layer.handle(list(data)):
cmd = out[0] & 0xF0
if cmd == 0xB0 and len(out) >= 3:
if cmd == 0xB0 and len(out) >= 3 and out[1] != SUBMASTER_CC:
# Control Change → smooth
key = (out[0] & 0x0F, out[1])
target[key] = float(out[2])
@@ -213,7 +213,7 @@ def main() -> None:
current[key] = float(out[2])
last_sent[key] = -1
else:
# Notes, aftertouch, PC, etc. → immediate
# Notes, aftertouch, PC, the Sound reset (always resent), etc. → immediate
midiout.send_message(out)
# Ease CC toward targets and emit when quantized value moves