Add phase view, channel overlays and PEQ/GEQ master bypass
- EQ curve computed as complex response: PEQ biquads (now incl. all-pass), crossover filters from Butterworth/Bessel/Linkwitz-Riley prototypes - Mag/Phase switch; phase wraps at +-180 degrees like the original software - overlay any other channel of the device in the curve (e.g. sub/top crossover) - EQ Bypass (0x3C) for all PEQ bands, GEQ Bypass (0x49) for the inputs, read from the bit masks at the end of the memory image; preset import aware Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
66f988cf08
commit
ae9a20fdf8
9 files changed
+215
-50
No files matched your search
@@ -25,6 +25,12 @@ pi_writer.py → pi_image.py (cloud-init SD card, installs server.py as a system
|
||||
* **`dsp/protocol.py`** – frames, checksum, value scales, model layouts (`MODELS["204"|"408"]`), memory image ↔ state
|
||||
dict (`parse_state` / `build_state_buffer`), parameter → command (`param_command`), link masks, meter/limiter decoding.
|
||||
State values are **raw device values**; conversion to dB/Hz/ms happens in the UI (`SPEC` in `app.js`).
|
||||
Channels also carry `peq_bypass` (master bypass, `0x3C`) and inputs `geq_bypass` (`0x49`), stored as bit masks at
|
||||
the end of the memory image.
|
||||
* **EQ curve** (`app.js`, `drawCurve`) – complex response per section: PEQ bands as RBJ biquads at 96 kHz, crossover
|
||||
filters from analog prototypes (Butterworth poles, Bessel polynomial normalised to −3 dB, Linkwitz-Riley =
|
||||
Butterworth²). Mag/Phase view (`dsp.curve` in localStorage), overlays of other channels (`dsp.overlay.<device>`).
|
||||
How exactly the DSP realises the Bessel and crossover filters is not verified – the curves are the textbook ones.
|
||||
* **Audio test** – `App.audio_test` / `set_test_level` / `check_audio_test` in `server.py`: entering saves the output
|
||||
gains (`Device.test_saved`, persisted in `config.json` so an interrupted test is undone on the next connect),
|
||||
lowers every output to −50 dB, flushes the queue and only then starts the generator (`0x39`); leaving switches the
|
||||
@@ -91,6 +97,7 @@ Not verified yet – ask for a log (`python server.py -v`) from real hardware be
|
||||
* USB on Windows and Linux against a real DSP (only tested against a fake HID device)
|
||||
* Where the PEQ bypass flag lives in the memory image; format of the set-command acknowledgement; where the number
|
||||
of preset slots comes from (20 is assumed when the `0x2C` answer carries the lock state)
|
||||
* Master bypass commands `0x3C` / `0x49` and their bit masks – from the control software, simulator only
|
||||
* Test signal command `0x39` and its position in the memory image – derived from the control software, simulator
|
||||
only; whether the generator is pre or post input gain is unknown (the app therefore only lowers the outputs)
|
||||
* Device lock (`0x2C` byte 5, `0x2D`, `0x2F`, `0x11`) – implemented from the control software's behaviour and
|
||||
|
||||
Reference in new issue
Block a user