Add bioacoustic clock and actuator proofs

This commit is contained in:
Meta Vens 2026-05-24 16:10:40 +01:00
commit 189519c3d1
91 changed files with 2425 additions and 14 deletions

View file

@ -135,3 +135,11 @@ The latest training receipt says identity can survive the current
mel-cepstral degradation panel, but timing collapses under warped domains. That
points the next cut at a global delay/clock/path hypothesis over detected words,
not a larger brute-force dictionary.
That cut has started in the harness. `--bioacoustic-train` now persists a
global clock hypothesis per result and scores timing through its confidence
rather than raw absolute word offset. The latest corrected receipt is
`artifacts/bioacoustic-training/bioacoustic-20260524-150729/`; it shows compact
indexing still wins clean throughput, baseline indexing remains steadier under
degradation, highband indexing has real warped-path value, and anchor density
must become its own benchmark metric.

View file

@ -51,6 +51,42 @@ Speed tells whether the receiver shape can plausibly become a streaming machine.
Run:
```text
artifacts/bioacoustic-training/bioacoustic-20260524-150729/
```
This run adds global clock hypothesis scoring. Timing is no longer raw
per-word absolute error; it is the confidence of a coherent clock/path fit over
detected words. Single-anchor fits are deliberately weak, and sample-rate slope
is only allowed when enough anchors exist.
Best aggregate result:
```text
compact-fast-index / clean-roundtrip
total=0.752 identity=0.908 timing=0.905 speed=0.132 realtime=6.6x
```
Useful observations:
- `compact-fast-index` is still the clean-throughput winner when enough anchors
survive.
- `baseline-mfcc-index` is still the steadier degraded-path receiver.
- `highband-room-index` shows real value under warp, but needs more anchor
density before it can own timing.
- `compact-fast-index` remains faster, but its warped-path identity and timing
confidence are weaker.
- `robust-wide-index` still costs too much for the current panel, but it gives
useful pressure under heavier degradation.
- The global clock hypothesis is the right scoring authority, but short windows
and weak degradations can still starve it. Future training runs should score
time-to-lock separately from identity. Anchor coverage is now persisted in the
CultCache clock snapshot so optimization can target lock density directly.
Previous receipt:
Run:
```text
artifacts/bioacoustic-training/bioacoustic-20260524-103438/
```

View file

@ -91,6 +91,9 @@ a named invariant that the native runtime cannot protect yet.
- `MimirAudioSynchronizationStateTracker` owns the first smoothed per-source
sync state: latest fractional delay, smoothed delay, confidence, per-band
response evidence, and delay-slope/SRO estimate in ppm.
- `faust/mimir_alignment_actuator.dsp` is the first Faust-owned sample movement
surface: six channels of bounded fractional delay and gain controls. Mimir
estimates delay/SRO; Faust/native DSP applies correction.
- `MimirRuntime` updates audio sync analysis online as a bounded rotating
service and can emit live sync telemetry with
`MIMIR_SYNC_TELEMETRY_SECONDS`. UI and telemetry read cached reports/states;
@ -153,7 +156,9 @@ a named invariant that the native runtime cannot protect yet.
sync report.
The active bioacoustic standalone receiver test recovers a delayed audio
stream to below printed microsecond precision using only the motif codebook
and schedule state.
and schedule state. `--bioacoustic-actuator-self-test` estimates a synthetic
317.375-sample bioacoustic delay, applies the fractional correction, and
remeasures the residual below printed microsecond precision.
- `MimirVideoFrameDescriptor` for dimensions, pixel format, stride, device
timestamp, and native/GPU handle metadata.
- `IMimirVideoCaptureDriver` and `MimirVideoCaptureDriverSource` as the live