SoundField stacks (top on a distance pole on a sub), DSP selection as drop-down
- a top dropped onto a free sub stands on it (same spot, pole height); the stack moves as one, is drawn as one symbol and can be detached in the editor; "+ Stack" and a ground-stack quick start; centre cluster and height suggestions know about stacks - the DSP tabs became one button with a drop-down menu (status dots of the other DSPs), so many devices fit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eb647f62a9
commit
f87e6cad70
6 files changed
+173
-31
No files matched your search
@@ -114,7 +114,15 @@ def clean_soundfield(data) -> dict:
|
||||
"spl": _num(s.get("spl"), 80, 160, 128),
|
||||
"tx": _num(s.get("tx"), 0, w, w / 2), "ty": _num(s.get("ty"), 0, d, d / 2),
|
||||
"outs": [o for o in (s.get("outs") or [])[:8] if re.fullmatch(r"[\w-]+:\d{1,2}", str(o))],
|
||||
"mount": re.sub(r"[^\w-]", "", str(s.get("mount") or ""))[:16], # id of the sub this top stands on (pole)
|
||||
})
|
||||
ids = {s["id"]: s for s in speakers}
|
||||
for s in speakers: # a mount must be an existing sub, and the top stands exactly on it
|
||||
m = ids.get(s["mount"])
|
||||
if not m or m["role"] != "sub" or s["role"] == "sub":
|
||||
s["mount"] = ""
|
||||
else:
|
||||
s["x"], s["y"] = m["x"], m["y"]
|
||||
return {
|
||||
"room": {"w": w, "d": d},
|
||||
"stage": {"w": _num(stage.get("w"), 0, w, min(8, w)), "d": _num(stage.get("d"), 0, d / 2, 4)},
|
||||
|
||||
Reference in new issue
Block a user