Add a Wander pad for the movers to the test show.
Pad 10 on the movers layer (note 93) toggles a relative EFX that drifts all four movers around the Pan and Tilt knobs: a 24 s Lissajous of about ±30° pan and ±10° tilt, each mover a quarter of the way further round, easing in over 2 s (scripts/shows/mover_wander.py). QLC+ 4.12 leaves a relative EFX's last offset on the movers when it stops, until the sliders under it change. So when Wander goes off, the pad controller nudges the Pan and Tilt knobs a step and puts them back, 0.1 s apart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f8c8cea3ef
commit
00c8c2d35d
5 files changed
+213
No files matched your search
@@ -186,6 +186,25 @@ class PlayLayerTest(unittest.TestCase):
|
||||
def test_reopen_with_no_colours_only_resets_the_submaster(self):
|
||||
self.assertEqual(PlayLayer().reopen(), [[0xB0, 100, 127]])
|
||||
|
||||
def test_wander_off_settles_pan_and_tilt(self):
|
||||
layer = PlayLayer()
|
||||
self.assertEqual(layer.handle([0xB0, 38, 40]), [[0xB0, 38, 40]])
|
||||
layer.handle([0xB0, 39, 0])
|
||||
layer.handle(PAUSE_DOWN)
|
||||
self.assertEqual(layer.handle([0x99, 45, 100]), [[0x99, 93, 100]])
|
||||
layer.handle([0x89, 45, 0])
|
||||
self.assertEqual((layer.wander, layer.settle), (True, False))
|
||||
layer.handle([0x99, 45, 100])
|
||||
self.assertEqual((layer.wander, layer.settle), (False, True))
|
||||
self.assertEqual(layer.nudge(), [[0xB0, 38, 39], [0xB0, 39, 1]])
|
||||
self.assertEqual(layer.positions(), [[0xB0, 38, 40], [0xB0, 39, 0]])
|
||||
|
||||
def test_strobe_2_on_the_cans_layer_is_not_wander(self):
|
||||
layer = PlayLayer()
|
||||
layer.handle([0x99, 45, 100])
|
||||
layer.handle([0x99, 45, 100])
|
||||
self.assertEqual((layer.wander, layer.settle), (False, False))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user