Use quadrature chirplet timing

This commit is contained in:
Meta Vens 2026-05-22 16:46:50 +01:00
commit bd9659e9d2
8 changed files with 134 additions and 85 deletions

View file

@ -101,19 +101,21 @@ 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`
is the constrained chirplet-transform receiver: it turns a bounded PCM window
into transform frames with multiple symbol candidates and refined per-candidate
sample offsets, code-valid triplet anchors selected through gap/clock coherence,
and an affine source clock fit. The analyzer only emits timing reports from
into transform frames with multiple phase-invariant symbol candidates and
refined per-candidate sample offsets, code-valid triplet anchors selected
through gap/clock coherence, and an affine source clock fit. The synthetic
`Mimir.BufferSmoke --chirplet-self-test` path renders canonical timeline audio
into memory and currently recovers events 0-12 with a 47999.999990 Hz clock fit
and 0.000014 sample MAE. The analyzer only emits timing reports from
matched canonical anchors. The hub also owns cached reports plus smoothed
per-source sync state with delay-slope/SRO in ppm. `MimirRuntime` runs analysis
online as a bounded rotating service and can print live telemetry with
`MIMIR_SYNC_TELEMETRY_SECONDS`. UI and telemetry are passive readers of cached
sync state; they must not invoke the analyzer. Current app testing proves
loopback wakeup, live mic buffers, and confident online sync states, but the
decoder is not finished until arbitrary valid triplets produce stable anchors in
real mic streams. Camera mics are spatial/context witnesses; Focusrite devices
are dialogue anchors. Fractional delay and the hot resampler belong in
Faust/native DSP.
next proof is stable canonical anchors through real mic streams. Camera mics are
spatial/context witnesses; Focusrite devices are dialogue anchors. Fractional
delay and the hot resampler belong in Faust/native DSP.
## Visual Fusion

View file

@ -73,9 +73,12 @@ Get-Content .\state\evidence.jsonl -Tail 8
now tracks smoothed delay and delay-slope/SRO ppm. `MimirChirpletSymbolCodebook`
owns separable symbol definitions, and `MimirChirpletStreamDecoder` is the
constrained chirplet-transform receiver: it emits transform frames with
multiple symbol candidates and refined per-candidate sample offsets, selects
code-valid triplet anchors through gap/clock coherence, and fits a source
clock from a bounded PCM window. `MimirRuntime` runs sync analysis as a bounded rotating
multiple phase-invariant symbol candidates and refined per-candidate sample
offsets, selects code-valid triplet anchors through gap/clock coherence, and
fits a source clock from a bounded PCM window. The canonical synthetic check is
`dotnet run --project .\src\Mimir.BufferSmoke\Mimir.BufferSmoke.csproj -- --chirplet-self-test`;
it currently detects all 15 emitted chirps and recovers 13 anchors for events
0-12 with a 47999.999990 Hz clock fit and 0.000014 sample MAE. `MimirRuntime` runs sync analysis as a bounded rotating
service and caches reports/states for UI and telemetry; readouts must stay
passive. Actual Mimir.App testing proves Aquarium audio wakes Scarlett
loopback, keeps mic buffers live, and produces confident online sync states,
@ -87,7 +90,8 @@ Get-Content .\state\evidence.jsonl -Tail 8
## Immediate Re-entry Instruction
Finish the constrained chirplet-transform decoder, then turn decoded clock fits
into the SRO/fractional-delay actuator. Keep loopback as timing authority. Do
not call synchronization analysis from UI/telemetry readouts. Do not restore
deleted script infrastructure because a stale doc once missed it.
Prove the constrained chirplet-transform decoder through real loopback and mic
paths, then turn decoded clock fits into the SRO/fractional-delay actuator. Keep
loopback as timing authority. Do not call synchronization analysis from
UI/telemetry readouts. Do not restore deleted script infrastructure because a
stale doc once missed it.