feat: sequences v2, bridges, and sim-controller
Rework sequences (engine, seqplay, envelope, API, web UI), add bridge support, add the host sim-controller and rig simulation tests, and update docs, presets and project tooling config. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d664026ee5
commit
2543673bd8
68 files changed
+5761
-460
No files matched your search
@@ -75,3 +75,19 @@ def test_push_requires_payload(c):
|
||||
def test_delete(c, preset):
|
||||
assert c.delete(f"/presets/{preset}").status_code == 200
|
||||
assert c.get(f"/presets/{preset}").status_code == 404
|
||||
|
||||
|
||||
def test_fade_and_beat_time_round_trip_and_send(c, preset):
|
||||
resp = c.put(f"/presets/{preset}", json={"pattern": "hit", "fade": 400, "beat_time": True, "n3": 2})
|
||||
assert resp.status_code == 200
|
||||
rec = c.get(f"/presets/{preset}").json()
|
||||
assert rec["fade"] == 400 and rec["beat_time"] is True
|
||||
# Goes out as a v3 frame; made-up driver name, so no real driver applies it
|
||||
resp = c.post("/presets/send", json={"preset_ids": [preset], "save": False, "targets": ["020000000099"]})
|
||||
assert resp.status_code == 200 and resp.json()["presets_sent"] == 1
|
||||
|
||||
|
||||
def test_animation_patterns_have_definitions(c):
|
||||
pats = c.get("/patterns").json()
|
||||
for name in ("hit", "keyframes", "sweep", "ripple", "spin", "grow", "field_wave"):
|
||||
assert name in pats and "n1" in pats[name], name
|
||||
Reference in new issue
Block a user