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>
This commit is contained in:
1 parent
647cfa3a75
commit
00de2595b6
13 files changed
+127
-34
No files matched your search
@@ -13,7 +13,7 @@ shows/ Workspaces to open in QLC+
|
||||
small_eye.qxw Movers-only figure-of-8 show
|
||||
archive/ Older scratch workspaces
|
||||
scripts/ Launchers (pattern_studio.sh, flash_luxdmx_xiao.sh)
|
||||
pad/ SMC-PAD tools: smoother, Play layer, lamps, MIDI patching
|
||||
pad/ SMC-PAD tools: lamps, MIDI patching, capture decoding
|
||||
shows/ Generators / patchers for the shows and Chataigne
|
||||
anim/ showfile animations to preview over Art-Net
|
||||
stage/ Stage map (SVG, JSON, canvas)
|
||||
@@ -51,6 +51,20 @@ python3 scripts/shows/figure8_small_eye.py --write-qxw shows/small_eye.qxw
|
||||
Copy `.qxf` files from `fixtures/` into QLC+’s fixture library if the
|
||||
manufacturer/model is missing.
|
||||
|
||||
## SMC-PAD intercept
|
||||
|
||||
`padeditor.intercept` reads the SMC-PAD, smooths its knobs, applies the Play
|
||||
layer, and sends the result on a virtual MIDI port named `SMC-PAD Smooth` for
|
||||
QLC+. Run it by hand with `.venv/bin/python -m padeditor.intercept`, or install
|
||||
it as a systemd user service that starts at login and waits for the pad:
|
||||
|
||||
```bash
|
||||
padeditor/systemd/install.sh
|
||||
```
|
||||
|
||||
Options after the command go to the intercept (for example `--lock-knobs`).
|
||||
`--uninstall` removes the service. Logs: `journalctl --user -u smc-pad-intercept -f`.
|
||||
|
||||
## Chataigne
|
||||
|
||||
`scripts/shows/make_chataigne.py` turns a show spec into a Chataigne project, so the
|
||||
@@ -62,8 +76,8 @@ python3 scripts/shows/make_chataigne.py shows/test.show.json chataigne/test
|
||||
|
||||
Open `chataigne/test/test.noisette`. The **Pad** (MIDI) module reads the SMC-PAD
|
||||
directly (`--pad` picks the port: USB `SINCO SMC-PAD-Master` by default, or
|
||||
`SMC-PAD Bluetooth`). The script does the Play-layer shift that `pad_layer.py` does for
|
||||
QLC+, with no knob smoothing, so `smooth_smc_pad.py` is not needed. Set the lamps with
|
||||
`SMC-PAD Bluetooth`). The script does the Play-layer shift that `padeditor/layer.py` does for
|
||||
QLC+, with no knob smoothing, so the intercept is not needed. Set the lamps with
|
||||
`scripts/pad/pad_lamps.py`. The **Lights** (DMX) module sends Art-Net to the
|
||||
node in the spec. The **Preview** module sends a copy to 127.0.0.1 for the simulator (`--preview ''` leaves it out). If it comes up on the wrong output, set DMX Type to Art-Net,
|
||||
the remote host, and an output universe of net 0, subnet 0, universe 0.
|
||||
|
||||
Reference in new issue
Block a user