Quarantine Python audio publishers

This commit is contained in:
Meta Vens 2026-05-19 10:58:24 +01:00
commit 3d412cd95a
18 changed files with 86 additions and 252 deletions

View file

@ -100,7 +100,7 @@ flowchart TD
K --> L["bounded field cache"]
L --> M["aligned six-channel blocks"]
M --> N["FOA encoder"]
M --> V["Faust mic-field publisher"]
M --> V["native mic-field producer"]
V --> W["localcast.audio.mic_field"]
W --> X["Aquarium Faust voice-separation graph"]
N --> O["AmbiX ACN/SN3D bus: W,Y,Z,X"]
@ -113,7 +113,7 @@ Ownership:
- `audio_field/` owns unit-testable buffering, bounded-latency convergence, injectable port protocols, and pipeline orchestration.
- Runtime sync owns per-block chirplet observations from known speaker output and updates delay/SRO/phase estimates with confidence gates before alignment.
- `audio_field.phase_meaning` owns extracting usable meaning from internal phase/chirplet evidence. The live cache publishes delay correction, coherence, confidence, distance-equivalent delta, reference-bleed/suppression estimates, correction energy, and active-probe need; raw phase bands stay inside the estimator.
- `scripts/stream_live_audio_field.py` is the current live local capture owner. It publishes `localcast.audio.mic_field` and `localcast.audio.phase_field` from the visible local Kiyo/PS Eye/Scarlett inputs, uses Scarlett loopback as the known reference, and keeps missing neighbor/Kiyo-right channels as explicit placeholders until synchronized feeds exist.
- `localcast.diagnostics.audio_live_field`, `localcast.diagnostics.audio_phase_field`, and `localcast.diagnostics.faust_mic_field` preserve the old Python audio publisher experiments as diagnostics only. Production mic, loopback, and phase ingest belongs in native capture workers that append typed sample handles through `LocalcastProducer`.
- `audio-phase-field-status.json` declares the phase runtime mode. Current deadline mode is `live-local-capture` with closed-loop probe capture when Scarlett loopback is available.
- Active probe optimization owns extra chirplet emission when confidence drops, bounded by level/spacing/audibility budget. `audio_field.active_probe` is the runtime join that converts phase-field confidence into emitted chirplet WAVs/manifests and playback. Probe WAVs rotate through fixed slots and the manifest rotates at a byte cap; calibration may be dense, but artifacts must stay bounded.
- The camera/sensor-fusion pipeline may publish world poses later; it does not own audio clocks or channel timing.

View file

@ -46,6 +46,11 @@ Get-Content .\state\evidence.jsonl -Tail 8
- Python live producers and diagnostic CultCache/JSON file adapters are
diagnostics, not production foundations. The OpenGL Spout sink has been
deleted. Aquarium owns production Spout publication.
- Python audio phase/live/Faust publishers have been moved under
`localcast.diagnostics.*`, their live PowerShell launchers have been deleted,
and reusable mic-profile/probe-band helpers now live in `audio_field`.
Production audio ingest must use native capture workers and
`LocalcastProducer`.
- Neighbor sender is deployed at `C:\Meta\LocalCastBridge` on `192.168.1.84`.
- Madman's desktop has `Start LocalCast Sender.cmd` and `Stop LocalCast Sender.cmd`.
- Receiver OBS scene collection has `Neighbor PC - Video`, `Neighbor PC - Focusrite`, and `Neighbor PC - System Audio` Media Sources added.
@ -59,6 +64,8 @@ Get-Content .\state\evidence.jsonl -Tail 8
The useful next work is foundation surgery, not hardware feature expansion:
- bind Aquarium/Faust/native workers to the rolling-buffer `LocalcastRuntime`
- build native mic/loopback/phase producers over `LocalcastProducer`; do not
restore Python audio live launchers
- delete production dependence on `localcast.diagnostics.visual_producer`
and diagnostic file adapters
- bind Aquarium/Faust against the native runtime/producer ABI instead of