Add Circle and Sweep for the movers to the test show.
They fill the movers layer's top row, pads 15 and 16 (notes 98 and 99), in the Movement solo frame with Wander and Ballyhoo: a circle of about ±45° of pan and ±21° of tilt, and a straight pan sweep of about ±60°, both mirrored and relative to the knobs. Knob 13's speed dial gives them a quarter of its time, 5.5 s a round to start with (scripts/shows/mover_more_efx.py). The pad controller settles the knobs after them too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
80df550916
commit
c3fe965e79
5 files changed
+249
-9
No files matched your search
@@ -36,9 +36,9 @@ cans, 68–83 for the movers), or None once it is pressed again: the colour
|
||||
buttons toggle in a solo frame. QLC+ does not save which buttons are on, so
|
||||
reopen() presses them again when QLC+ loads the show.
|
||||
|
||||
The movers' Wander and Ballyhoo pads (notes 96 and 97, pads 13 and 14 on the
|
||||
movers layer) each toggle a relative EFX around the Pan and Tilt knobs (9 and 10,
|
||||
CC 38 and 39). They share a solo frame in QLC+, so starting one stops the other.
|
||||
The movers' Wander, Ballyhoo, Circle and Sweep pads (notes 96–99, pads 13–16 on
|
||||
the movers layer) each toggle a relative EFX around the Pan and Tilt knobs (9 and
|
||||
10, CC 38 and 39). They share a solo frame in QLC+, so starting one stops the others.
|
||||
QLC+ 4.12 leaves an EFX's last offset on the movers when it stops, until those
|
||||
sliders change, so when the one that is on goes off, settle asks for the two
|
||||
knobs one step off and then back (nudge() and positions()). Swapping needs
|
||||
@@ -62,7 +62,7 @@ SUBMASTER_CC = 100
|
||||
KNOB_CHANNEL = 0
|
||||
PEAK_CC = 35 # knob 6
|
||||
SIDE_CCS = (34, 37) # knobs 5 and 8: Cans 9–15 and Cans 1, 2, 7, 8
|
||||
RELATIVE_NOTES = (96, 97) # Wander and Ballyhoo, pads 13 and 14 on the movers layer
|
||||
RELATIVE_NOTES = (96, 97, 98, 99) # Wander, Ballyhoo, Circle, Sweep: pads 13–16 on the movers layer
|
||||
POSITION_CCS = (38, 39) # knobs 9 and 10: the movers' Pan and Tilt
|
||||
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ the pad controller runs means the show has just loaded with every button off.
|
||||
REOPEN_DELAY later it presses the last colour pads again (see PlayLayer.colours),
|
||||
which it keeps in COLOURS_FILE so they outlive a restart of the pad controller.
|
||||
|
||||
When the movers' Wander or Ballyhoo pad goes off, SETTLE_DELAY later it nudges the Pan and
|
||||
Tilt knobs a step and puts them back, so QLC+ drops the EFX's last offset
|
||||
(see PlayLayer.settle).
|
||||
When the movers' Wander, Ballyhoo, Circle or Sweep pad goes off, SETTLE_DELAY
|
||||
later it nudges the Pan and Tilt knobs a step and puts them back, so QLC+ drops
|
||||
the EFX's last offset (see PlayLayer.settle).
|
||||
|
||||
Usage:
|
||||
.venv/bin/python -m padcontroller.midi
|
||||
@@ -228,7 +228,7 @@ def main() -> None:
|
||||
load_colours(layer)
|
||||
saved_colours = dict(layer.colours)
|
||||
reopen_at: float | None = None
|
||||
# (when, messages to send then), for the Wander and Ballyhoo settle
|
||||
# (when, messages to send then), for the settle after a mover EFX
|
||||
later: list[tuple[float, Callable[[], list[list[int]]]]] = []
|
||||
# Links made this soon after start are ours being restored, with QLC+'s buttons as they were.
|
||||
reopen_from = time.monotonic() + 5.0
|
||||
|
||||
Reference in new issue
Block a user