Schedule bioacoustic probes from confidence

This commit is contained in:
Meta Vens 2026-06-01 03:26:59 +01:00
commit 57d44c341a
9 changed files with 452 additions and 0 deletions

View file

@ -90,6 +90,16 @@ not the active runtime sound.
The raw profile is kept even when a timing report is rejected, because a failed
sync window can still teach us which bands survived the speaker/room/mic path.
`MimirBioacousticProbeScheduler` is now the runtime-side cadence owner for that
feedback loop: it consumes smoothed sync states plus per-band frequency response
residuals, schedules a targeted probe only when confidence pressure and duty
budget allow it, and publishes aggregate/per-source sync and frequency-response
confidence telemetry. `MimirSynchronizationHub.UpdateBioacousticProbeSchedule`
is the live hub surface; `MimirRuntime` prints
`mimir-bioacoustic-probe-schedule` and `mimir-bioacoustic-probe-source` lines so
operators can watch confidence climb as probes are spent. The scheduler owns
when to spend active sound. It does not own the output device: Starfire Realtek
still must be selected explicitly by the eventual live renderer.
The receiver must consume persisted models to weight reliable symbols,
downweight dead bands, apply phase-coherence weighting, apply first-order
group-delay correction, and search joint global delay/frequency-shift hypotheses

View file

@ -136,6 +136,12 @@ a named invariant that the native runtime cannot protect yet.
production-shaped Focusrite path: a native in-process ASIO callback source
feeds sample-bearing 192 kHz Float32 blocks directly into `Mimir.Runtime`
rolling buffers on one interface clock domain.
- `MimirBioacousticProbeScheduler` closes the first active-probe control loop:
sync confidence and per-band frequency-response confidence decide whether a
targeted probe should be emitted, and `MimirRuntime` publishes live telemetry
for aggregate confidence, deltas, source probe counts, and weak-band pressure.
The scheduler is output-device neutral; a later renderer must explicitly
target Starfire Realtek for physical chirp emission in the current routing.
- `src/Mimir.BufferSmoke` loads the runtime config, polls the synchronization
hub, and prints the actual rolling buffers. Use `--require-samples` when an
empty declared sensor buffer should fail the run. Use `--bioacoustic-self-test`