Test live runtime chirplet sync

This commit is contained in:
Meta Vens 2026-05-22 13:15:38 +01:00
commit da9915b6e5
8 changed files with 116 additions and 33 deletions

View file

@ -93,12 +93,15 @@ The six-microphone path is separate from the bridge. Scarlett speaker loopback
is the current timing authority when calibration chirplets are playing.
`MimirChirpletCalibrationPhrase` owns the birdsong-like timeline fingerprint:
a stateless 16-phrase cycle where phrase `N` is generated from `N`; each phrase
spreads six asymmetric chirplets across about 1.38 seconds and fires every 3.25
spreads six asymmetric chirplets across about 0.85 seconds and fires every 2.25
seconds. Mimir emits that phrase sequence through Aquarium audio, compares mic
buffers against loopback by chirplet-energy delay estimation, 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. Camera mics are
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 and
live mic buffers, but not yet a confident acoustic lock. 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.