Mimir/docs/audio-field.md
2026-05-22 01:15:37 +01:00

1.7 KiB

Audio Field

Mimir's audio field is six microphones, loopback/program reference, and two calibration speakers aligned into one presentation timeline.

Live Target

flowchart TD
    A["mic / loopback capture drivers"] --> B["Mimir.Runtime audio buffers"]
    C["speaker probe scheduler"] --> B
    B --> D["native alignment + phase state"]
    D --> E["Faust/native DSP"]
    E --> F["host voice"]
    E --> G["co-streamer voice"]
    E --> H["ambient / transients"]
    E --> I["loopback stems"]
    E --> J["spatial bed"]
    F --> K["OBS"]
    G --> K
    H --> K
    I --> K
    J --> K

Invariants

  • Focusrite dialogue mics are the voice anchors.
  • Camera mics are spatial/context witnesses.
  • Loopback/program audio is timing evidence where available.
  • Distributed inputs must be aligned and resampled before they become program stems.
  • Probe signals are budgeted telemetry, not a permanent audio bed.
  • Faust/native DSP owns the hot separation and spatialization graph.

Next Cut

The current diagnostic witness is native/probes/wasapi_audio_cadence, which emits timestamped WASAPI audio-block metadata into Mimir.Runtime through the frame-event adapter. It has proven Focusrite mic, Kiyo Pro mic, Kiyo mic, both USB Camera / PS3 Eye mics, and Scarlett speaker loopback in rolling buffers when loopback audio is actively playing. One PS3 Eye mic previously enumerated but produced zero WASAPI packets until that Eye was unplugged and replugged.

Next, replace the diagnostic bridge with native audio capture workers that append typed blocks into Mimir.Runtime, then expose buffer depth, clock state, delay estimates, and stem routing in Aquarium UI.