Generate stateless chirplet timeline fingerprints

This commit is contained in:
Meta Vens 2026-05-22 12:54:56 +01:00
commit 7f804ad5da
9 changed files with 169 additions and 50 deletions

View file

@ -91,13 +91,14 @@ not become the synchronized program authority.
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 harmonic-ish calibration phrase around
8 kHz, 10 kHz, 12 kHz, and 16 kHz, plus the matched timing and response kernels.
Mimir emits that phrase 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
`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
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
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.