Beta models DSP 206 and FIR DSP 408 (without the FIR filters), read-only until allowed
Never tested on real hardware, so they are only selectable by hand and send no changes until the user has compared the shown values with the DSP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0a1f282c63
commit
86ee492ec3
11 files changed
+121
-21
No files matched your search
@@ -165,6 +165,19 @@ def test_master_bypass():
|
||||
assert P.MODELS["408"].test_base + 6 == 0x5A2
|
||||
|
||||
|
||||
def test_beta_models():
|
||||
assert P.detect_model("DSP408 V010") == "408" and P.detect_model("DSP 204") == "204"
|
||||
for info in ("DSP206 V1", "FIR DSP408 V1", "FIRDSP408", "DSP408FIR"): # only selectable by hand
|
||||
assert P.detect_model(info) is None, info
|
||||
for key in ("206", "408fir"):
|
||||
m = P.MODELS[key]
|
||||
assert m.beta and not {P.CMD_GAIN, P.CMD_MUTE, P.CMD_LINK, P.CMD_PRESET_RECALL} & P.READ_COMMANDS
|
||||
st = P.default_state(m)
|
||||
st["outputs"][m.n_out - 1]["gain"] = 123
|
||||
back = P.parse_state(m, bytes(P.build_state_buffer(m, st)))
|
||||
assert back["outputs"][m.n_out - 1]["gain"] == 123 and len(back["inputs"]) == m.n_in
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
for name, fn in list(globals().items()):
|
||||
if name.startswith("test_"):
|
||||
|
||||
Reference in new issue
Block a user