Decode chirplet paths through trellis

This commit is contained in:
Meta Vens 2026-05-22 15:00:12 +01:00
commit c298e0922d
10 changed files with 299 additions and 28 deletions

View file

@ -64,10 +64,12 @@ quiet birdsong texture than a repeated sweep.
The intended decoder is a constrained chirplet transform, not a generic
time-frequency explorer and not an outlier filter around bad guesses. Mimir owns
the emitter, so the receiver projects each mic stream against the known chirplet
dictionary, produces symbol likelihood events, and decodes every valid
consecutive triplet through the de Bruijn map. A decoded triplet is a canonical
timeline anchor: observed sample offset `S` corresponds to emitted event time
`T`. A stream of anchors fits the source clock directly:
dictionary, produces transform frames with multiple symbol candidates, and
scores candidate triplets through the de Bruijn map. A triplet only becomes a
canonical timeline anchor when its symbol likelihoods, measured inter-chirp
gaps, and neighboring anchors agree on one local sample clock. A decoded anchor
means observed sample offset `S` corresponds to emitted event time `T`. A stream
of anchors fits the source clock directly:
```text
observed_sample = source_offset + canonical_seconds * effective_sample_rate

View file

@ -50,9 +50,10 @@ a named invariant that the native runtime cannot protect yet.
horizon. Symbol identity is carried by start band, glide shape, duration, and
following inter-chirp gap.
- `MimirChirpletStreamDecoder` is the first constrained chirplet-transform
receiver. It owns a bounded PCM window, emits symbol observations, decodes
code-valid triplet anchors onto the canonical timeline, and fits a per-source
sample clock from those anchors.
receiver. It owns a bounded PCM window, emits transform frames with multiple
symbol candidates, decodes code-valid triplet anchors through a local trellis
that requires gap and clock coherence, and fits a per-source sample clock from
those anchors.
- `MimirAudioSynchronizationAnalyzer` ports the first live sync measurement:
sample-bearing audio blocks are resampled into the Scarlett loopback timeline.
The analyzer now prefers decoded triplet timeline anchors and derives delay