Add audio synchronization mode policy
This commit is contained in:
parent
8d67b25db2
commit
7e4348bfe7
12 changed files with 205 additions and 18 deletions
|
|
@ -39,6 +39,30 @@ flowchart TD
|
|||
- Probe signals are budgeted telemetry, not a permanent audio bed.
|
||||
- Faust/native DSP owns the hot separation and spatialization graph.
|
||||
|
||||
## Synchronization Modes
|
||||
|
||||
`MimirAudioSynchronizationSettings.Mode` is the runtime authority for what
|
||||
timing evidence Mimir is allowed to emit:
|
||||
|
||||
- `chirp-only`: emit the deterministic calibration timeline and decode timing
|
||||
only from that active witness. This is the lab/debug mode and the fallback for
|
||||
silent program material.
|
||||
- `no-chirp`: do not emit calibration audio. This is the passive/program-audio
|
||||
mode. The runtime exposes it now, but the passive loopback/music estimator is
|
||||
not wired yet, so current code intentionally reports that no-chirp sync is
|
||||
unavailable instead of pretending the chirplet decoder can read arbitrary
|
||||
music.
|
||||
- `hybrid`: prefer passive program-audio evidence when confidence is high, then
|
||||
emit a shaped watermark when confidence falls. Today this still behaves as an
|
||||
active pilot because the passive estimator and confidence gate have not been
|
||||
cut. The intended watermark is the dechirp/FFT-friendly chirp-bin codebook
|
||||
from the decoder research notes, shaped and low-gain enough to sit inside the
|
||||
program audio instead of announcing itself like a lab sweep.
|
||||
|
||||
The mode belongs to the runtime, not the decoder. The decoder should consume
|
||||
known timing evidence; it should not decide whether Mimir is allowed to make
|
||||
sound.
|
||||
|
||||
## Next Cut
|
||||
|
||||
The current diagnostic witness is `native/probes/wasapi_audio_cadence`, which
|
||||
|
|
|
|||
|
|
@ -72,6 +72,10 @@ a named invariant that the native runtime cannot protect yet.
|
|||
they do not run synchronization analysis.
|
||||
- `MimirRuntime` continuously queues chirplet timeline PCM through Aquarium
|
||||
audio so the loopback and acoustic mic buffers carry a shared timing witness.
|
||||
`MimirAudioSynchronizationSettings.Mode` selects `chirp-only`, `no-chirp`, or
|
||||
`hybrid`; no-chirp disables active emission until the passive program-audio
|
||||
estimator exists, and hybrid currently uses the active pilot as the fallback
|
||||
path.
|
||||
- `MimirVideoFrameDescriptor` for dimensions, pixel format, stride, device
|
||||
timestamp, and native/GPU handle metadata.
|
||||
- `IMimirVideoCaptureDriver` and `MimirVideoCaptureDriverSource` as the live
|
||||
|
|
@ -111,11 +115,15 @@ a named invariant that the native runtime cannot protect yet.
|
|||
decoder through real loopback and microphone paths so every correctly heard
|
||||
triplet becomes a deterministic timeline anchor before the actuator moves
|
||||
samples.
|
||||
5. Bind Aquarium UI to the synchronization hub so buffer depth, stream cadence,
|
||||
5. Replace the active-pilot-only hybrid path with passive loopback/program-audio
|
||||
confidence plus shaped watermark emission when confidence drops. The
|
||||
watermark codebook should be designed for dechirp/FFT or Goertzel
|
||||
classification, not dense sliding matched filters.
|
||||
6. Bind Aquarium UI to the synchronization hub so buffer depth, stream cadence,
|
||||
source timestamps, and output settings are visible and adjustable.
|
||||
6. Move GPU feature extraction, fusion, material fitting, render budgeting, and
|
||||
7. Move GPU feature extraction, fusion, material fitting, render budgeting, and
|
||||
Spout2 publication into Aquarium.
|
||||
7. Move mic alignment, room suppression, voice separation, spatialization, and
|
||||
8. Move mic alignment, room suppression, voice separation, spatialization, and
|
||||
stem generation into Faust/native DSP.
|
||||
8. Keep the OBS bridge witness ledger as evidence before expanding receiver
|
||||
9. Keep the OBS bridge witness ledger as evidence before expanding receiver
|
||||
machinery.
|
||||
|
|
|
|||
Loading…
Reference in a new issue