7 Commits
Author SHA1 Message Date
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 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 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 b37af2234a Add an SMC-PAD MIDI listener that maps pads and knobs.
Learn pad and knob banks into shows/midi_map.json, then print pad and knob numbers with relative encoder steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 14:00:09 +13:00