Fix hybrid chirp-bin analyzer windowing

This commit is contained in:
Meta Vens 2026-05-22 20:34:12 +01:00
commit d18e860030
8 changed files with 330 additions and 125 deletions

View file

@ -101,6 +101,14 @@ path.
allowed: `chirp-only` emits the witness, `passive` stays silent and uses
program-audio phase correlation, and `hybrid` uses passive evidence by default
while emitting active pilot chunks only when passive confidence is weak.
Hybrid does not inherit the passive two-second analysis floor: passive still
needs a longer program-audio window, while chirp-bin fallback can decode short
pilot windows once at least a code-valid triplet is present. The chirp-bin
detector now proposes events from dechirped bin energy rather than broadband RMS
and uses a widened symbol spacing to keep sub-frame timing error from becoming
symbol substitution. `Mimir.BufferSmoke --hybrid-sync-self-test` proves the
analyzer path with a one-second rolling-buffer window and a recovered
317-sample delay.
Reports now carry fractional delay and per-band matched energy. The first
`MimirChirpletSymbolCodebook` owns separable symbol definitions; every symbol
has a unique chirp shape, with rhythm as additional evidence. `MimirChirpletStreamDecoder`