Commit Graph
74 Commits
Author SHA1 Message Date
jimmyandClaude Opus 5.5 8caf341d30 Point the back movers at the back wall at pan knob 0 in the test show.
M3 and M4 are mounted 90° round from M1 and M2, so at pan 0 they face the
middle. Knob 9 now drives a Pan slider for M1 and M2 over 0–212 and a Pan
back slider for M3 and M4 over 43–255 (scripts/shows/mover_pan_back.py).
The same span keeps the pairs 90° of pan apart all the way round: at knob 0
the front pair face the audience and the back pair the back wall, and the
left and right pairs point at the centre and the side walls together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:49:37 +13:00
jimmyandClaude Opus 5.5 00c8c2d35d 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>
2026-10-23 00:49:33 +13:00
jimmyandClaude Opus 5.5 f8c8cea3ef Free the pad's ALSA clients when the Private port is missing.
On Bluetooth there is no Private port, so every Sound or Threshold press
opened two sequencer clients to light the lamps and left them open when the
port lookup raised. After 29 presses the sequencer was full and aconnect
could no longer open it. set_sound_lamps and Link now close both clients
on that path too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:49:25 +13:00
jimmyandClaude Opus 5.5 9c1ef6f2d4 Read the pad over Bluetooth first, and USB when it isn't paired.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:02:08 +13:00
jimmyandClaude Opus 5.5 2586ead4fa Put the chase speed on knob 1 in the test show.
A Speed dial on knob 1 (CC 30) sets the step time of the cans' and movers'
chase and zigzag runs, from 800 ms fully left to 50 ms fully right, starting
at the old 200 ms. Zigzag forward stays at half the step, and the dimmer holds
follow at 8 steps so they stretch with the run. The 500 ms trail is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:02:08 +13:00
jimmyandClaude Opus 5.5 fc8abf9c99 Set the movers' zeros and pan directions, swap M1/M2's patch, and model tilt in the simulator.
The front right mover is on DMX 1 and the front left on 45, so M1 and M2
swap addresses in the stage map and test.qxw. Measured on the rig, pan 0
faces forward on the front pair and into the middle on the back pair, back
at 85. M1 and M4 turn anticlockwise, so movers get a pan_reverse flag.

Tilt 127 now points straight down: the simulator draws a spot under the
head, and past 127 the beam flips behind the pan heading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 22:54:14 +13:00
jimmyandClaude Opus 5.5 2b0f9e2f9b Re-arrange the test show's console and put the movers' brightness with their position knobs.
The Dimmers sliders are now Middle, Front and Back, and the movers' Brightness
(knob 15) leads the Movers position frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:47:22 +13:00
jimmyandClaude Opus 5.5 e96b31ab66 Re-aim cans 1, 2, 7 and 8 on the XCHC stage map.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:03:18 +13:00
jimmyandClaude Opus 5.5 2219788904 Give the test show Dimmers knobs instead of the custom colour mixer, and add Amber.
The colour scenes leave the dimmers to Level sliders on knobs 15, 5, 7 and 8.
The Chataigne export carries Level sliders and their starting values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:03:18 +13:00
jimmyandClaude Opus 5.5 11da656ee6 Toggle the pad's bank 1 to the movers with Pause, and add a Threshold sound mode.
Pause flips bank 1 between the cans (36-51) and the movers (84-99). Threshold
flashes the cans on bass hits and is exclusive with Sound, and knob 6 is the
sides' peak. The Sound and Threshold pads light while on, and the colour pads
that were on are pressed again when QLC+ reloads the show. --lock-knobs is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:03:18 +13:00
jimmyandClaude Opus 5.5 72c227b153 Merge dev into main: the pad controller, simulator, Chataigne export and test show.
Keep main's Temple of Techno show over dev's older copy from the first venue
workspaces commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:00:21 +13:00
jimmyandClaude Opus 5.5 86d87bf8cf Add a movers bank and Pan, Tilt, Focus and Rotate knobs to the test show.
Pause toggles bank 1 between the cans and the movers (scripts/shows/mover_bank.py).
Knobs 9-12 (CC 38-41) drive all four movers' pan, tilt, focus and lens
rotate, as in templeoftechno.qxw (scripts/shows/mover_position.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 19:56:38 +13:00
jimmyandClaude Opus 5.5 18f0ac2dc5 Add a virtual pad and an end-to-end test against the simulator, and run tests with pytest.
padcontroller.virtualpad presses pads and sets knobs through padcontroller-in,
refusing unless QLC+ last opened shows/test.qxw. tests/test_e2e_pad.py uses it
to check can and mover colours in the simulator's /api/state (PAD_E2E=1).

pytest is a dev package now, so the plain test functions unittest skipped run
too. test_small_eye.py is a rig tester, not a test, so pytest leaves it alone,
and the #14 direction assertion now matches the stage map (-179).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 17:58:04 +13:00
jimmyandClaude Opus 5.5 d522b1a2cf 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>
2026-10-22 17:03:27 +13:00
jimmyandClaude Opus 5.5 6bbb3d5a29 Add CLAUDE.md: check the pad controller and simulator are up, and keep the test show on 127.0.0.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:34:05 +13:00
jimmyandClaude Opus 5.5 643f7c8fb6 Send the test show's Art-Net to 127.0.0.1 for the simulator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:34:05 +13:00
jimmyandClaude Opus 5.5 8f8c69898a Read the pad over USB when it's plugged in, and keep its links to the pad and QLC+ up.
padcontroller.midi now follows the pad every 2 s: it reopens it after a
replug, moves to USB when that turns up, and re-links QLC+ to the virtual
port after a restart, so QLC+ can stay open. Only the chosen source is
subscribed, so a USB pad no longer gets Bluetooth input as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:34:05 +13:00
jimmyandClaude Opus 5.5 a295fefac0 Pick the simulator's stage map from a drop-down, and make the QLC+ show optional.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:05:42 +13:00
jimmyandClaude Opus 5.5 df05c8ca49 Add a systemd user service and installer for the stage simulator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 13:29:23 +13:00
jimmyandClaude Opus 5.5 20f018a523 Let the padcontroller installer install the service without enabling it at login.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 13:27:48 +13:00
jimmyandClaude Opus 5.5 9742121144 Rename padeditor to padcontroller, with the MIDI intercept as padcontroller.midi and its virtual port as padcontroller.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 13:25:06 +13:00
jimmyandClaude Opus 5.5 1e09cb3825 Rename the MIDI intercept to padcontroller, as a module and as a service.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 12:33:43 +13:00
jimmyandClaude Opus 5.5 00de2595b6 Move the SMC-PAD MIDI intercept into padeditor and add a systemd user service with an installer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 12:06:31 +13:00
jimmyandClaude Opus 5.5 647cfa3a75 Group scripts into pad/, shows/ and anim/ folders.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 11:54:36 +13:00
jimmyandClaude Opus 5.5 5f593b973c Move the SMC-PAD packet captures into captures/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 11:46:01 +13:00
jimmyandClaude Sonnet 5.5 e007978ef9 Add SMC-PAD packet captures and a preview config for the pad editor.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 11:44:19 +13:00
jimmyandClaude Sonnet 5.5 e2392ecd0b Keep the simulator fitted to the window and label fixtures on hover.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 11:44:19 +13:00
jimmyandClaude Sonnet 5.5 729a315c7a Generate a Chataigne project from a show spec.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 11:44:19 +13:00
jimmyandClaude Sonnet 5.5 e413530658 Hold Play to move bank 2 up a layer in the SMC-PAD smoother.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 11:44:19 +13:00
jimmyandClaude Sonnet 5.5 6c060720ee Add two sets of colour scenes to the test show and light the pads from them.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 11:44:19 +13:00
jimmyandClaude Sonnet 5.5 b8e6b5f24b Add multipage frames and Playback sliders to the show builder.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 11:44:19 +13:00
jimmyandClaude Sonnet 5.5 82e75e69de Close MIDI ports properly in the pad editor.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 11:44:19 +13:00
jimmyandClaude Sonnet 5.5 3992744a1d Light pad bank 2 from page 7, and add factory reset and a pad bank toggle to the editor.
Bank 2's lamp colours come from preset page 7, not page 3, so pad_colours.py
writes there and the editor labels it Bank 2. The factory reset loads the
image MidiSuite uploads for its own reset, and the bank toggle writes the
global-block byte MidiSuite uses to switch banks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 20:34:34 +13:00
jimmyandClaude Opus 5.5 63b3129cca Add an SMC-PAD preset editor that saves pad colours the way MidiSuite does.
The record layout and writes come from usbmon captures of MidiSuite:
a pad colour is one three-byte write to its preset address, which lights
the lamp straight away, and Save is the empty write that keeps it after
a power cycle. Pad records are channel, note, min and max velocity, RGB,
then Led. Tempo, swing, pad curve, and transpose come from the global
block, memory type 4. The factory image from MidiSuite's Reset is kept
as a test fixture, and scripts/decode_usbmon.py prints the SysEx in a
capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 19:30:34 +13:00
jimmyandCursor adca8e17a4 Put the XCHC colour scenes on the virtual console for the SMC-PAD.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:39:13 +13:00
jimmyandCursor 24f9ca300e Add a stage simulator that draws the rig from Art-Net.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:39:13 +13:00
jimmyandCursor 9b5f6b5bdd Add figure-8 and full-stage animations that can be previewed over Art-Net.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:39:13 +13:00
jimmyandCursor bb6e51cdc9 Build the simple console from a show spec instead of hand-written XML.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:39:13 +13:00
jimmyandCursor 4374ffb430 Add a show compiler so QLC+ workspaces can be described and tested.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:39:13 +13:00
jimmyandCursor fee1985e1a Record the XCHC hang, patch, and aiming on the stage map.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:39:13 +13:00
jimmyandCursor aa287b0adc Match the Small Eye mode to the lamp by swapping zoom and lens rotate.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:39:13 +13:00
jimmyandCursor 3b0920eeb2 Add a script that writes SMC-PAD pad colours and saves them on the controller.
The lamps ignore note messages, so the colours are stored in the preset and committed with the same empty write MidiSuite's Save button sends.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:38:20 +13:00
jimmyandCursor f4b927e0cb Update the open mic knob diagram.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:53:22 +13:00
jimmyandCursor 9d1d254e39 Add the Temple of Techno show for fifteen cans and four movers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:53:22 +13:00
jimmyandCursor 97ce89fcbd Add a simple show for eight BT270 pars.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:53:22 +13:00
jimmyandCursor 185d885e39 Add the Flow Forum show and its colour cues.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:53:22 +13:00
jimmyandCursor 68f8e1913d Add the Ludi show for the eight cans and two Small Eyes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:53:22 +13:00
jimmyandCursor 4b53f506e9 Repatch the default show onto fifteen cans and four movers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:53:22 +13:00
jimmyandCursor 10c39015b7 Preview open-mic colour on the rig and save it back to the pad.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:53:22 +13:00
jimmyandCursor c9df537567 Set SMC-PAD colours over the pad's existing Bluetooth link.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:53:22 +13:00