Bound runtime sync analysis

This commit is contained in:
Meta Vens 2026-05-22 14:16:50 +01:00
commit 200186d4d5
8 changed files with 112 additions and 37 deletions

View file

@ -100,13 +100,15 @@ Aquarium audio, uses coarse chirplet energy for acquisition, refines delay from
matched event indices when the symbol decoder succeeds, and can build a
provisional aligned mono frame for channels that clear the confidence gate.
Reports now carry fractional delay and per-band matched energy. The hub also
owns smoothed per-source sync state with delay-slope/SRO in ppm. `MimirRuntime`
runs the analysis online and can print live telemetry with
`MIMIR_SYNC_TELEMETRY_SECONDS`. Current app testing proves loopback wakeup, live
mic buffers, and confident online sync states, but delay estimates are still
jumpy. Camera mics are spatial/context witnesses; Focusrite devices are dialogue
anchors. The current aligned frame is integer-delay only; fractional delay and
the hot resampler still belong in Faust/native DSP.
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 delay estimates are still jumpy. Camera mics are spatial/context
witnesses; Focusrite devices are dialogue anchors. The current aligned frame is
integer-delay only; fractional delay and the hot resampler still belong in
Faust/native DSP.
## Visual Fusion

View file

@ -71,10 +71,12 @@ Get-Content .\state\evidence.jsonl -Tail 8
timeline owns Aquarium PCM segment rendering, coarse acquisition,
symbol/event decoding, and per-band response hooks. Sync reports now include
fractional delay and per-band matched energy. `MimirAudioSynchronizationState`
now tracks smoothed delay and delay-slope/SRO ppm. Actual Mimir.App testing
proves Aquarium audio wakes Scarlett loopback, keeps mic buffers live, and
produces confident online sync states, but delay estimates are still jumpy.
PS3 Eye audio is
now tracks smoothed delay and delay-slope/SRO ppm. `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, but delay estimates are still jumpy. PS3 Eye
audio is
enumeration/runtime-fragile: one run saw both mic buffers empty while both
cameras were live, then a replug made both PS3 Eye mic buffers emit
480-frame WASAPI blocks again.
@ -83,4 +85,5 @@ Get-Content .\state\evidence.jsonl -Tail 8
Harden the online sync state filter, then turn those delay reports into a
smoothed SRO/fractional-delay actuator. Keep loopback as timing authority. Do
not restore deleted script infrastructure because a stale doc once missed it.
not call synchronization analysis from UI/telemetry readouts. Do not restore
deleted script infrastructure because a stale doc once missed it.