feat: pattern gallery as a preset editor; chase steps; sim split with the preset editor

- Pattern gallery shows the controller's presets, one at a time, with a dropdown, Save, Add preset, and
  the controller's field labels, delay limits and colour counts. Edits show in the preview; Save writes to
  the controller only.
- Presets are always timed in ms (beat_time is no longer sent to drivers); beats stay in sequences.
- Chase steps of 0 hold still; the marquee style is removed from the controller, the gallery and the
  driver (submodule commit 12a8e22).
- The rig's split pane opens the preset editor too (Rig / Presets switch and a Preset editor menu entry).
- Sequence editor, room layout and simulator controls from earlier work are included.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Haiku 5.5 committed 2026-11-17 07:16:51 +13:00
1 parent 8c783ab926
commit cb51a726bc
79 files changed
+5183 -934

No files matched your search

+147 -111
View File
@@ -36,9 +36,9 @@
"semantic_hash": ""
},
"db/pattern.json": {
"mtime": 1794267054.1120102,
"seen": 1794273476.5660813,
"ast_hash": "8772d2cb748c7847501cbae086976ba0",
"mtime": 1794852754.8985786,
"seen": 1794852789.4857569,
"ast_hash": "1cd8b0fe4a0915bc9dbd43fd6d67952d",
"semantic_hash": ""
},
"db/preset.json": {
@@ -378,9 +378,9 @@
"semantic_hash": "a9b9f6ef17ad19caf334f2a969a62a06"
},
"main/api.c": {
"mtime": 1794732634.6442797,
"seen": 1794732791.144253,
"ast_hash": "63fc6141fdb499cb23b22e04fa40b023",
"mtime": 1794828673.5250728,
"seen": 1794831063.7108214,
"ast_hash": "c78fb56af8d37618cc29caabbdfa38e7",
"semantic_hash": ""
},
"main/api.h": {
@@ -396,10 +396,10 @@
"semantic_hash": ""
},
"main/audio.c": {
"mtime": 1793622279.098326,
"seen": 1793707995.1510093,
"ast_hash": "3c20992a34fec21a02db0e6f7ee3ce4d",
"semantic_hash": "3c20992a34fec21a02db0e6f7ee3ce4d"
"mtime": 1794828673.5250728,
"seen": 1794831063.7108881,
"ast_hash": "b8862d9d66c70793da825f48209f399a",
"semantic_hash": ""
},
"main/audio.h": {
"mtime": 1793622279.098326,
@@ -408,9 +408,9 @@
"semantic_hash": "f3a01f891d20ec87a8c5f7591d6beb8e"
},
"main/audio_api.c": {
"mtime": 1794710264.8956177,
"seen": 1794710291.4680405,
"ast_hash": "2960a3df9afcfcc7ef753791228efe8f",
"mtime": 1794828673.5260727,
"seen": 1794831063.7109222,
"ast_hash": "2c13256d91ffabb0bc7c879bbb614cf3",
"semantic_hash": ""
},
"main/audio_api.h": {
@@ -456,15 +456,15 @@
"semantic_hash": "700e464cfe9bf038a06dd4e31d58c2d4"
},
"main/engine.c": {
"mtime": 1794809973.102407,
"seen": 1794810020.1391904,
"ast_hash": "284d3ea5d72ed9ab3fc0097d2d1847e0",
"mtime": 1794851239.3269513,
"seen": 1794851260.0362706,
"ast_hash": "040cd1400ae467ff93316e3c103040db",
"semantic_hash": ""
},
"main/engine.h": {
"mtime": 1794741495.0732746,
"seen": 1794743453.7924144,
"ast_hash": "2b3e5397519b023b3f811d53f2e09aaa",
"mtime": 1794850007.0699291,
"seen": 1794850036.7149296,
"ast_hash": "e78b9af83ad7ce92208bff6d07f16c04",
"semantic_hash": ""
},
"main/envelope.c": {
@@ -498,9 +498,9 @@
"semantic_hash": ""
},
"main/main.c": {
"mtime": 1794732605.1585417,
"seen": 1794732791.1447446,
"ast_hash": "f840d7decb8a4dedf76dd5ceec33c9bf",
"mtime": 1794828673.5260727,
"seen": 1794831063.7114704,
"ast_hash": "d3fb2a0b6b53b0085a666fe36edfac8b",
"semantic_hash": ""
},
"main/mic.c": {
@@ -516,10 +516,10 @@
"semantic_hash": ""
},
"main/ota.c": {
"mtime": 1793622279.0995092,
"seen": 1793707995.151028,
"ast_hash": "69e0a06b89b933af67740ff2f8c2839d",
"semantic_hash": "69e0a06b89b933af67740ff2f8c2839d"
"mtime": 1794828673.5260727,
"seen": 1794831063.7115347,
"ast_hash": "b9fb46c4c51f4ee7faf4d7a7b70b728d",
"semantic_hash": ""
},
"main/ota.h": {
"mtime": 1793622279.0995092,
@@ -534,9 +534,9 @@
"semantic_hash": "fdb5a52e08072860278c405e012362a2"
},
"main/patterns.c": {
"mtime": 1794631038.6042385,
"seen": 1794631063.9869924,
"ast_hash": "588725121a26c0e239f67306987a945f",
"mtime": 1794852748.7251506,
"seen": 1794852789.4928343,
"ast_hash": "62bad7f74c9238177b70e303c358f2fe",
"semantic_hash": ""
},
"main/rel.c": {
@@ -558,9 +558,9 @@
"semantic_hash": ""
},
"main/res_device.c": {
"mtime": 1794636062.872842,
"seen": 1794636096.1797712,
"ast_hash": "002d5db6f0888e52c312aa566ba58877",
"mtime": 1794815278.242813,
"seen": 1794823588.2929778,
"ast_hash": "07450f3cdd171cbe34519a9645c282c6",
"semantic_hash": ""
},
"main/res_group.c": {
@@ -582,9 +582,9 @@
"semantic_hash": ""
},
"main/seqplay.c": {
"mtime": 1794811284.3836346,
"seen": 1794811340.2405632,
"ast_hash": "df53d600b82e177531b2fab2f1c5c071",
"mtime": 1794850012.7861762,
"seen": 1794850036.7155292,
"ast_hash": "46b30454fe1d0344fa3e652d165ec8c3",
"semantic_hash": ""
},
"main/seqplay.h": {
@@ -594,9 +594,9 @@
"semantic_hash": ""
},
"main/store.c": {
"mtime": 1794732605.1531544,
"seen": 1794732791.1450877,
"ast_hash": "43d75aa5f7b47ea43f564639e4b3ba6d",
"mtime": 1794828673.5270727,
"seen": 1794831063.7118764,
"ast_hash": "a90cb24d24a554f56143fdcf48a876eb",
"semantic_hash": ""
},
"main/store.h": {
@@ -606,9 +606,9 @@
"semantic_hash": ""
},
"main/web.c": {
"mtime": 1794808071.5527718,
"seen": 1794808691.102948,
"ast_hash": "c9e04b2286767f12f0c8774596ac238b",
"mtime": 1794828673.5270727,
"seen": 1794831063.7119088,
"ast_hash": "06786e1a7037d748a112121faceeb898",
"semantic_hash": ""
},
"main/web.h": {
@@ -618,10 +618,10 @@
"semantic_hash": "5a02cf7164fcce29cf12924836e9cdb3"
},
"main/ws.c": {
"mtime": 1793684076.5221431,
"seen": 1793707995.1510422,
"ast_hash": "93311e2072464790f6ae6f1747f0a249",
"semantic_hash": "93311e2072464790f6ae6f1747f0a249"
"mtime": 1794828673.5270727,
"seen": 1794831063.7120032,
"ast_hash": "0d4d197b23a7f54783a1b720ca6a58b9",
"semantic_hash": ""
},
"main/ws.h": {
"mtime": 1793623417.780194,
@@ -756,9 +756,9 @@
"semantic_hash": "16592c0aee1b5210b0a83383b603b594"
},
"test/api/conftest.py": {
"mtime": 1793708939.181024,
"seen": 1793708948.4966762,
"ast_hash": "5e8e091c9c35fb701124b2f91d738b6a",
"mtime": 1794828673.5270727,
"seen": 1794831063.713946,
"ast_hash": "31938a6ac3ab3140839b257c0ebce904",
"semantic_hash": ""
},
"test/api/helpers.py": {
@@ -972,9 +972,9 @@
"semantic_hash": ""
},
"web/static/presets.js": {
"mtime": 1794810171.8763797,
"seen": 1794810395.0019708,
"ast_hash": "25f617a0187883af98b20bdc91252cc9",
"mtime": 1794852748.7254736,
"seen": 1794852789.496248,
"ast_hash": "f406c1fc580d7981e29be0fbef48a25c",
"semantic_hash": ""
},
"web/static/profiles.js": {
@@ -984,9 +984,9 @@
"semantic_hash": "affb16a725a7bb69dda0b7488068666a"
},
"web/static/sequences.js": {
"mtime": 1794811284.328768,
"seen": 1794811340.2443218,
"ast_hash": "bf4e48445d1d2f1d91ef44c883eae419",
"mtime": 1794828673.5280728,
"seen": 1794831063.7154353,
"ast_hash": "9b7422521d0db489f7c89a021164315a",
"semantic_hash": ""
},
"web/static/zone-devices-panel.js": {
@@ -1038,9 +1038,9 @@
"semantic_hash": "119936b48480fc8fd781b1a00eea6268"
},
"docs/API.md": {
"mtime": 1794744234.6049027,
"seen": 1794744331.1270175,
"ast_hash": "cee0575bfe7c0792aef4557c6fa1903a",
"mtime": 1794851246.6044207,
"seen": 1794851260.0405624,
"ast_hash": "5043f74c16511d910aa1a150702677a9",
"semantic_hash": ""
},
"docs/BENCH_TEST.md": {
@@ -1164,9 +1164,9 @@
"semantic_hash": ""
},
"main/CMakeLists.txt": {
"mtime": 1794607641.6851776,
"seen": 1794609724.2121801,
"ast_hash": "41e005c3b27712af05d73b4878d4fdd2",
"mtime": 1794828673.5250728,
"seen": 1794831063.7172196,
"ast_hash": "25b924667fe454fb4c3d726668c76f84",
"semantic_hash": ""
},
"scripts/led-test/CMakeLists.txt": {
@@ -1254,9 +1254,9 @@
"semantic_hash": "75e993f9af0c9755521a77149a5086f3"
},
"web/templates/index.html": {
"mtime": 1794806821.9270236,
"seen": 1794807070.3655276,
"ast_hash": "61ae265a79ca45862ed79bab1ac75aff",
"mtime": 1794847509.9392629,
"seen": 1794847571.6564965,
"ast_hash": "39ff108efecc91cd771569d5b34f6b8d",
"semantic_hash": ""
},
"web/templates/settings.html": {
@@ -1470,9 +1470,9 @@
"semantic_hash": ""
},
"led-simulator/web/app.js": {
"mtime": 1794808062.357016,
"seen": 1794808691.101037,
"ast_hash": "76d7fca68d7281ca3cf2fab5a4afeb54",
"mtime": 1794845978.99595,
"seen": 1794845993.465794,
"ast_hash": "403b4a9a03a306600b0a015185f74e9c",
"semantic_hash": ""
},
"led-simulator/web/driver-worker.js": {
@@ -1482,15 +1482,15 @@
"semantic_hash": ""
},
"led-simulator/web/layout.js": {
"mtime": 1794797547.7593155,
"seen": 1794798229.7070467,
"ast_hash": "4a5bd12d3328e5eb5a707025be50f81c",
"mtime": 1794843151.1592827,
"seen": 1794843280.4029732,
"ast_hash": "846e290a61b75c0420f600b5ce84d176",
"semantic_hash": ""
},
"main/bridge.c": {
"mtime": 1794806065.7847319,
"seen": 1794806592.2900343,
"ast_hash": "f4fdbe7143002fe225276327f0418499",
"mtime": 1794828673.5260727,
"seen": 1794831063.7111478,
"ast_hash": "c47e871c6eae3d8a57efa86261dea993",
"semantic_hash": ""
},
"main/bridge.h": {
@@ -1524,15 +1524,15 @@
"semantic_hash": ""
},
"sim-controller/components/sim/sim_main.c": {
"mtime": 1794806401.1586554,
"seen": 1794806592.2932808,
"ast_hash": "433030842e5b7e2d19719bb2e236b133",
"mtime": 1794828673.5270727,
"seen": 1794831063.7132459,
"ast_hash": "17dd105aa6c9a05e74aa84d66e639213",
"semantic_hash": ""
},
"sim-controller/components/sim/sim_stubs.c": {
"mtime": 1794710141.92181,
"seen": 1794710291.4695535,
"ast_hash": "af479a0933d08ddf0c7acd6c1804e2b3",
"mtime": 1794828673.5270727,
"seen": 1794831063.71329,
"ast_hash": "115b881a5916c4416c16c2808c5dd18a",
"semantic_hash": ""
},
"sim-controller/components/sim/sim_timer.c": {
@@ -1548,9 +1548,9 @@
"semantic_hash": ""
},
"led-simulator/web/index.html": {
"mtime": 1794806829.764687,
"seen": 1794807070.364879,
"ast_hash": "1df2f19c072668894375bdd7a4c61245",
"mtime": 1794851934.47664,
"seen": 1794851950.6860895,
"ast_hash": "8eaab05726d669a0751e49c7d32e22f9",
"semantic_hash": ""
},
"sim-controller/CMakeLists.txt": {
@@ -1602,9 +1602,9 @@
"semantic_hash": ""
},
"led-driver/main/effects_a.cpp": {
"mtime": 1794634424.8997009,
"seen": 1794634495.2049665,
"ast_hash": "a2c77bd31bfe62b13dabd0f6d6dc1fdd",
"mtime": 1794852748.724679,
"seen": 1794852789.4899468,
"ast_hash": "e2081f2ea95e5dc2a20c4d9bc77144fd",
"semantic_hash": ""
},
"led-driver/main/effects_b.cpp": {
@@ -1662,9 +1662,9 @@
"semantic_hash": ""
},
"led-driver/main/patterns.cpp": {
"mtime": 1794795013.1308205,
"seen": 1794798229.706574,
"ast_hash": "07ad3048ebc775597615dc27a577ea59",
"mtime": 1794852186.8755057,
"seen": 1794852320.9502444,
"ast_hash": "862c8f49ff1361d08b858e69bc76a706",
"semantic_hash": ""
},
"led-driver/main/patterns.h": {
@@ -1674,9 +1674,9 @@
"semantic_hash": ""
},
"led-driver/main/presets.cpp": {
"mtime": 1794695084.010198,
"seen": 1794695911.5044217,
"ast_hash": "5a7b02d5042d9ca5e82e492ede3bafda",
"mtime": 1794852748.7247748,
"seen": 1794852789.4903247,
"ast_hash": "51f1ff083c9a41dfe8028e1c5acaad5f",
"semantic_hash": ""
},
"led-driver/main/presets.h": {
@@ -1734,9 +1734,9 @@
"semantic_hash": ""
},
"led-driver/web/app.js": {
"mtime": 1794560545.4288797,
"seen": 1794609724.211971,
"ast_hash": "371c9c75b40668265704a648fb29a72f",
"mtime": 1794852748.7250476,
"seen": 1794852789.49085,
"ast_hash": "3dfb1a407e4ad5f797de107d15577ae0",
"semantic_hash": ""
},
"led-driver/CMakeLists.txt": {
@@ -2196,9 +2196,9 @@
"semantic_hash": ""
},
"desktop/CMakeLists.txt": {
"mtime": 1794800891.079621,
"seen": 1794801190.901389,
"ast_hash": "a02c3c234b8fc9eac8561661af9db234",
"mtime": 1794828673.5250728,
"seen": 1794831063.7158296,
"ast_hash": "2b78f69a903a5a8d41c4cb8253323fc8",
"semantic_hash": ""
},
"desktop/README.md": {
@@ -2442,9 +2442,9 @@
"semantic_hash": ""
},
"web/static/seq_timeline.js": {
"mtime": 1794811292.3481793,
"seen": 1794811340.2443202,
"ast_hash": "0345913ae651f3e1085035c865d64778",
"mtime": 1794849603.848082,
"seen": 1794849642.626699,
"ast_hash": "67ee6a59bf2742e4bc1949527df98ed9",
"semantic_hash": ""
},
".claude/launch.json": {
@@ -2454,9 +2454,9 @@
"semantic_hash": ""
},
"led-simulator/web/gallery.js": {
"mtime": 1794800956.7437694,
"seen": 1794801190.8974042,
"ast_hash": "ec66e1c8d1fa9284f99957df84a7acec",
"mtime": 1794852748.7252138,
"seen": 1794852789.491459,
"ast_hash": "67b6d5dfb64af71ef89a616c276ac613",
"semantic_hash": ""
},
"led-simulator/workspace/patterns/__init__.py": {
@@ -2466,9 +2466,9 @@
"semantic_hash": ""
},
"led-simulator/web/gallery.html": {
"mtime": 1794800956.7437022,
"seen": 1794801190.9022684,
"ast_hash": "1ce1fcb9e6d1632dc94d7068ea414791",
"mtime": 1794850868.591061,
"seen": 1794850880.5448716,
"ast_hash": "cc2313d70479b2ce23bd9aa00fbfb28a",
"semantic_hash": ""
},
"sim-driver/build.sh": {
@@ -2586,9 +2586,9 @@
"semantic_hash": ""
},
"sim-controller/components/sim/sim_rig.c": {
"mtime": 1794808071.5529895,
"seen": 1794808691.1042087,
"ast_hash": "5b0e8e91139b3ada3c85b30144f26c0a",
"mtime": 1794843121.0961833,
"seen": 1794843280.4056547,
"ast_hash": "0f1ee3f68069b090b7a9cb9033a471be",
"semantic_hash": ""
},
"sim-controller/components/sim/sim_rig.h": {
@@ -2604,9 +2604,45 @@
"semantic_hash": ""
},
"web/static/sim_split.js": {
"mtime": 1794808071.5531054,
"seen": 1794808691.1061878,
"ast_hash": "76726438c133c696cf8bb20d5fc60295",
"mtime": 1794851906.4556742,
"seen": 1794851950.6841726,
"ast_hash": "a2d87a5384091b3ae84a3353f734f458",
"semantic_hash": ""
},
".gitea/workflows/release.yml": {
"mtime": 1794817766.6255133,
"seen": 1794823588.2836907,
"ast_hash": "4a5b6bf60b5562a0ede4724d332c5b0b",
"semantic_hash": ""
},
"main/auth.c": {
"mtime": 1794828673.5260727,
"seen": 1794831063.710955,
"ast_hash": "cdccb0a24355609c9f8066d8b895e0f6",
"semantic_hash": ""
},
"main/auth.h": {
"mtime": 1794828673.5260727,
"seen": 1794831063.710957,
"ast_hash": "43bac31281e5704414c3047538d1d2ad",
"semantic_hash": ""
},
"test/api/test_auth.py": {
"mtime": 1794828673.5270727,
"seen": 1794831063.7140203,
"ast_hash": "70737c7e44f6ad2159ea3d4792f75e9b",
"semantic_hash": ""
},
"web/static/auth.js": {
"mtime": 1794828673.5270727,
"seen": 1794831063.7149098,
"ast_hash": "463970d60d2b4cd8ebb3c44af9d9a5a3",
"semantic_hash": ""
},
"docker-compose.prod.yml": {
"mtime": 1794828673.5250728,
"seen": 1794831063.7067208,
"ast_hash": "16e7af48ed1d62e84516677b0c9366b0",
"semantic_hash": ""
}
}