FIR DSP 408: own memory layout and FIR tab (filters, coefficient files, tap budget)

Layout and commands derived from the behaviour of its control software, tested
against the simulator only. No GEQ on this model; dynamic EQs are left untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-02 17:11:46 +01:00
1 parent f7d5e22bb0
commit 5597fae3f3
13 files changed
+622 -35

No files matched your search

+28
View File
@@ -186,3 +186,31 @@ Where the PEQ bypass flag is stored in the image is not known yet.
* Send: report ID `00` + one complete frame (`10 02 … 10 03 CHK`), zero-padded to the output report length.
* Receive: every input report holds exactly one frame starting at byte 0, length = `LEN + 8`, then padding.
* The frames are identical to TCP; the longest (config chunk, 50 data bytes) is 60 bytes and fits a 64-byte report.
## FIR DSP 408 (unverified)
Derived from the behaviour of its control software, not yet seen on a device. Same frames; device info starts with
`FIR408`. The memory image has 1573 bytes (32 chunks) and its own layout:
| Offset | Content |
|---|---|
| `0x010` + 138·n | Input: name 8, gate 4×u16, 3 dynamic EQs of 16 bytes, 8 PEQ bands of 6 bytes, compressor (ratio, attack, release, knee, threshold, EQ frequency as u16, 2 bytes), FIR taps u16, FIR bypass u16, gain, polarity, delay, link |
| `0x238` + 108·n | Output: name 8, matrix u16, mix 4×u16, u16, HP frequency u16, LP frequency u16, HP slope, LP slope, HP bypass, LP bypass (bytes), FIR type, window (bytes), low Hz, high Hz, taps index (u16), 9 PEQ bands, limiter (ratio, attack, release, knee, threshold), gain, polarity, delay, link |
| `0x598` | Mute masks: inputs u16, outputs u16 |
| `0x59C` | Bypassed PEQ bands, u16 bit mask per channel (inputs, then outputs) |
| `0x5B4` | FIR name per channel, 8 characters each |
No GEQ on this model, no master bypass commands. Slope index without the "bypass" entry (0 = BW -6). Changed commands:
| Cmd | Payload |
|---|---|
| `0x31` / `0x32` | `[ch][u16 freq][slope][1 = bypass]` |
| `0x30` | `[ch]` ratio, attack, release, knee, threshold, EQ frequency as u16, `[EQ type][EQ bypass]` (inputs) |
| `0x3F` | `[ch]` ratio, attack, release, knee, threshold as u16 |
| `0x4B` | `[ch][type][window][u16 low Hz][u16 high Hz][u16 taps index]`, outputs. Type: bypass, low, high, band, external. Window: rectangle, Bartlett, Hanning, Hamming, Blackman, sine, sinc, Nuttall, Kaiser, Blackman-Nuttall, Blackman-Harris. Taps = 256 + 32·index |
| `0x4E` | `[ch][packet][u16 total]` + up to 12 floats, most significant byte first |
| `0x4F` | `[ch][1 = bypass]`, inputs |
| `0x5B` | `[ch]` + 8 characters of FIR name |
At most 2048 coefficients per input, 1024 per output, 4096 over all channels.