Record Starfire ASIO loopback

This commit is contained in:
Meta Vens 2026-05-23 17:07:06 +01:00
commit 7a7c84a15a
6 changed files with 27 additions and 20 deletions

View file

@ -96,11 +96,12 @@ until that Eye was unplugged and replugged.
`native/probes/asio_audio_cadence` is the first direct ASIO witness. It opens
the registered `Focusrite USB ASIO` COM driver, reports channel counts, buffer
size, sample-rate support, input sample type, and can run a short callback
capture. After installing the Focusrite driver, the Scarlett Solo exposes 2
inputs and 2 outputs, accepts 44.1 through 192 kHz, reports a 192-frame
preferred buffer, and captures nonzero 2-channel `Int32LSB` input callbacks at
192 kHz. The next cut is not more WASAPI probing; it is feeding those ASIO
buffers directly into `Mimir.Runtime`.
capture. With the Scarlett Solo 4th Gen attached to Starfire, Focusrite USB
ASIO exposes 4 inputs and 2 outputs: `Input 1`, `Input 2`, `Loopback 1`, and
`Loopback 2`. It accepts 44.1 through 192 kHz, reports a 192-frame preferred
buffer, and captures nonzero 4-channel `Int32LSB` input callbacks at 192 kHz.
The next cut is not more WASAPI probing; it is feeding those ASIO buffers
directly into `Mimir.Runtime`.
The full probe runtime config now enables sample-bearing blocks for every local
audio source. `MimirChirpletTimeline` owns the emitted calibration stream and

View file

@ -47,9 +47,10 @@ a named invariant that the native runtime cannot protect yet.
explicit, but Scarlett production capture belongs on ASIO.
- `native/probes/asio_audio_cadence` opens the registered Focusrite ASIO COM
driver, reports channel counts, buffer sizing, supported sample rates, and can
run a short input callback capture. Current Focusrite USB ASIO proof shows 2
inputs / 2 outputs, 192-frame preferred buffers, 44.1-192 kHz support, and
nonzero 2-channel `Int32LSB` input callbacks at 192 kHz.
run a short input callback capture. Current Starfire Focusrite USB ASIO proof
with the Scarlett Solo 4th Gen shows 4 inputs / 2 outputs, including
`Loopback 1/2`, 192-frame preferred buffers, 44.1-192 kHz support, and
nonzero 4-channel `Int32LSB` input callbacks at 192 kHz.
- `MimirChirpletTimeline` owns the structured birdsong-like calibration stream,
PCM segment rendering, matched timing trace, and per-band response kernels.
The default timeline is an order-3 de Bruijn symbol sequence over 32

View file

@ -135,9 +135,11 @@ delay and the hot resampler belong in Faust/native DSP.
The WASAPI cadence probe is now a format/state diagnostic: it can request
shared or exclusive sample rates, bit depths, channel counts, and float/PCM
formats, then report the selected or closest format. The Focusrite driver stack
is now installed and registers `Focusrite USB ASIO`. `native/probes/asio_audio_cadence`
is now installed and registers `Focusrite USB ASIO`. The Scarlett Solo 4th Gen
is attached to Starfire and exposes 4 ASIO inputs / 2 outputs: `Input 1`,
`Input 2`, `Loopback 1`, and `Loopback 2`. `native/probes/asio_audio_cadence`
can instantiate that driver, verify 44.1-192 kHz support, and capture nonzero
2-channel `Int32LSB` callbacks at 192 kHz with 192-frame preferred buffers. The
4-channel `Int32LSB` callbacks at 192 kHz with 192-frame preferred buffers. The
runtime analyzer accepts Float32, Int16, Int24, and Int32 PCM windows so
ASIO/native capture can preserve the interface format.

View file

@ -97,12 +97,13 @@ Get-Content .\state\evidence.jsonl -Tail 8
enumeration/runtime-fragile: one run saw both mic buffers empty while both
cameras were live, then a replug made both PS3 Eye mic buffers emit
480-frame WASAPI blocks again.
- Scarlett ASIO is usable. The Focusrite driver install registered
`Focusrite USB ASIO`; `native/probes/asio_audio_cadence` opens it, sees 2
inputs / 2 outputs, 192-frame preferred buffers, 44.1-192 kHz support, and
captures nonzero 2-channel `Int32LSB` input callbacks at 192 kHz. The next
- Scarlett ASIO loopback is usable on Starfire. The Scarlett Solo 4th Gen
(`USB\VID_1235&PID_8218`) is now local; `native/probes/asio_audio_cadence`
opens `Focusrite USB ASIO`, sees 4 inputs / 2 outputs including
`Loopback 1/2`, 192-frame preferred buffers, 44.1-192 kHz support, and
captures nonzero 4-channel `Int32LSB` input callbacks at 192 kHz. The next
audio cut is feeding ASIO buffers into `Mimir.Runtime`, not more WASAPI
probing.
probing or Raven loopback offload.
## Immediate Re-entry Instruction

View file

@ -63,3 +63,4 @@
{"ts": "2026-05-23T10:39:21+01:00", "type": "verification", "status": "partial", "note": "Focusrite Scarlett Solo currently exposes only generic Windows audio behavior before driver install: no ASIO registry entries, shared WASAPI capture 48000Hz Float32, shared Scarlett loopback 44100Hz Float32, and strict WASAPI exclusive 24-bit/192kHz requests are rejected with unsupported format. Official Focusrite Control 3.27.0 installer was downloaded from Focusrite to artifacts/drivers/focusrite_control_v3_27_0.exe with SHA256 07F1B031ABAB6F0F641B2BD6219AC264B37932332BE5B3997BADC00AEC113AD9; install/verify ASIO before cutting the Scarlett hot path."}
{"ts": "2026-05-23T16:01:35+01:00", "type": "verification", "status": "ok", "note": "Focusrite driver install registered Focusrite USB ASIO and Focusrite Thunderbolt ASIO in HKLM\\\\SOFTWARE\\\\ASIO. The new native ASIO probe instantiated Focusrite USB ASIO from CLSID {AC4D0455-50D7-4498-B3CD-9A41D130B759}, reported 2 inputs / 2 outputs, preferred 192-frame buffers, accepted 44.1/48/88.2/96/176.4/192 kHz, and captured nonzero 2-channel Int32LSB input callbacks at 192 kHz for 5 seconds. Scarlett ASIO is now usable; next cut is feeding ASIO buffers into Mimir.Runtime instead of the WASAPI diagnostic bridge."}
{"ts": "2026-05-23T16:19:02+01:00", "type": "verification", "status": "ok", "note": "Raven ASIO verification succeeded over SSH. Focusrite USB ASIO is registered on Raven and the copied native asio_audio_cadence probe set 192000 Hz, reported 4 inputs / 2 outputs, 192-frame preferred buffers, 44.1-192 kHz support, Int32LSB input channels named Input 1, Input 2, Loopback 1, Loopback 2, and captured nonzero 4-channel callbacks for 5 seconds: 4990 callbacks, 958080 frames, estimated wall-clock rate 191546.848 Hz. Raven can pull Scarlett ASIO at 192 kHz, including driver loopback channels."}
{"ts": "2026-05-23T17:06:31+01:00", "type": "verification", "status": "ok", "note": "Starfire now has the Scarlett Solo 4th Gen attached locally: USB VID_1235 PID_8218 serial S1DE2FP360D5F6. Focusrite USB ASIO exposes 4 inputs / 2 outputs locally: Input 1, Input 2, Loopback 1, Loopback 2, all Int32LSB. The ASIO probe set 192000 Hz and captured nonzero 4-channel callbacks for 5 seconds with 192-frame preferred buffers. This restores local ASIO loopback ownership to the Mimir host; Raven no longer needs to carry game-audio loopback for the soundfield timing path."}

View file

@ -228,8 +228,9 @@ current_status:
for Scarlett loopback, Focusrite mic, Kiyo mic, and Kiyo Pro mic when
calibration chirplets are playing. Treat PS3 Eye audio as
enumeration/runtime-fragile, not unavailable. Keep the Focusrite away from
the Leap USB neighborhood. Focusrite USB ASIO is now registered and
`native/probes/asio_audio_cadence` proves Scarlett 2-in/2-out ASIO access,
192-frame preferred buffers, 44.1-192 kHz support, and nonzero 2-channel
Int32LSB input callbacks at 192 kHz. Treat Kiyo Pro as a ~25 fps source
until its SuperSpeed negotiation is fixed.
the Leap USB neighborhood. The Scarlett Solo 4th Gen is now attached to
Starfire, and `native/probes/asio_audio_cadence` proves local Focusrite USB
ASIO access with 4 inputs / 2 outputs including Loopback 1/2, 192-frame
preferred buffers, 44.1-192 kHz support, and nonzero 4-channel Int32LSB
input callbacks at 192 kHz. Treat Kiyo Pro as a ~25 fps source until its
SuperSpeed negotiation is fixed.