Add standalone chirp-bin timeline receiver

This commit is contained in:
Meta Vens 2026-05-23 19:41:36 +01:00
commit 7f4f6cb7bc
10 changed files with 169 additions and 19 deletions

View file

@ -107,11 +107,16 @@ still needs a longer program-audio window, while the chirp-bin witness can decod
short pilot windows once at least a code-valid triplet is present. The chirp-bin
detector now uses cheap bounded energy/onset proposals, dechirp plus fixed
Goertzel bins, explicit time/frequency ambiguity candidates, and a constrained
local waveform correlation for final fractional delay. Reports/states expose
`delayUs` next to fractional sample delay. `Mimir.BufferSmoke
scheduled-waveform correlation for standalone source-offset refinement. Pairwise
sync compares matched anchors first, then only accepts independent clock-fit
offsets inside the live latency horizon so period aliases do not become absurd
reports. Reports/states expose `delayUs` next to fractional sample delay.
`Mimir.BufferSmoke
--chirp-only-sync-self-test --sample-rate 192000` and `--hybrid-sync-self-test
--sample-rate 192000` both recover a 1269.5-sample synthetic delay with printed
0.000 us error.
0.000 us error. `--standalone-chirp-bin-self-test --sample-rate 192000
--delay-samples 96000` proves a receiver with only codebook/schedule state can
recover a 500 ms delayed stream to below printed microsecond precision.
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`
@ -149,9 +154,11 @@ Focusrite outputs while capturing every ASIO input as raw interleaved Float32.
`Mimir.BufferSmoke --analyze-asio-f32` feeds those captured channels into the
same runtime active analyzer. A real 192 kHz chirp-bin Scarlett artifact decoded
`Loopback 1 -> Loopback 2` at exactly `0.000 us` with 12 matched anchors and
0.999 confidence. Physical inputs did not produce matched anchors in that
chirp-bin run; acoustic robustness is now the open problem, not clean loopback
timing or active decoder shape.
0.999 confidence. Physical input 2 independently decoded a coherent clock in
that artifact, but its event path did not overlap loopback and its raw
clock-offset difference was a period alias far outside the live latency horizon,
so Mimir correctly rejected it as insufficient anchors. Acoustic robustness is
now the open problem, not clean loopback timing or standalone decoder shape.
## Visual Fusion

View file

@ -87,11 +87,15 @@ Get-Content .\state\evidence.jsonl -Tail 8
short-window analyzer floor instead of inheriting the passive two-second gate.
It uses cheap energy/onset proposals, dechirp plus fixed Goertzel bins,
explicit time/frequency ambiguity candidates, and constrained local waveform
correlation for final fractional delay. `Mimir.BufferSmoke
correlation for final fractional delay. It also supports standalone source
offset recovery from schedule/codebook state, which is the Raven/phone shape.
`Mimir.BufferSmoke
--chirp-only-sync-self-test --sample-rate 192000` and
`--hybrid-sync-self-test --sample-rate 192000` both recover a 1269.5-sample
synthetic delay with printed 0.000 us error. Reports and sync states expose
`delayUs`.
`delayUs`. `--standalone-chirp-bin-self-test --sample-rate 192000
--delay-samples 96000` recovers a 500 ms delayed stream below printed
microsecond precision without loopback.
Actual
Mimir.App testing proves Fensalir audio can wake Scarlett
loopback, keep mic buffers live, and produce confident online passive sync
@ -112,8 +116,9 @@ Get-Content .\state\evidence.jsonl -Tail 8
comparison and is now diagnostic only. A real Scarlett chirp-bin artifact run
at 192 kHz decoded `Loopback 1 -> Loopback 2` at `0.000 us` delay with 12
matched anchors and 0.999 confidence in the normal active analyzer. Physical
inputs did not produce matched anchors in that chirp-bin run, so acoustic
robustness is still open.
input 2 independently decoded a coherent clock, but its clock-offset
difference was a period alias outside the live latency horizon and is rejected
as insufficient anchors. Acoustic robustness is still open.
- Raven also has a 192 kHz loopback-capable Scarlett for co-streamer/game timing
evidence. Do not move the heavy soundfield or sensor-fusion workload there.