Files
soundcraft/docs/hardware-parity.md
T
mtlcl410andFredApps f79cad0f16 fix(ui): show the current device choice in the Playback Engine after a command changes it (#1750)
* fix(ui): show the current device choice in the Playback Engine after a command changes it

The Playback Engine kept its edits in a draft that only its close button
cleared. Closed from the menu, or left open while ui.audio_device or
setup.playback_engine changed the choice, it reopened on the earlier
choice, and Apply then put that choice back without a word.

Keep the choice the draft started from with the draft, and start over
from the current choice when they differ; clear the draft however the
window closes.

* docs: note the Playback Engine following command changes in the G-01 gap and hardware parity

* docs: drop macOS from the G-01 verification still missing

* fix(ui): say when a change made elsewhere replaces the Playback Engine's unapplied edits

Pro Tools' Playback Engine is a modal dialog (Reference Guide p. 109), so
nothing else changes the device under its edits. This window is not modal:
when ui.audio_device or setup.playback_engine changes the choice while the
window holds unapplied edits, the window takes the new choice, as before,
and now says the edits were replaced, under its buttons and in the status
line, until the next edit or until it is closed.

* test: set the Playback Engine harness up headless, as main's craft-libs requires

The merge from main brings a craft-libs whose command board panics without
the headless framework setup in a kittest harness.

* docs: bring comments in line with the code

* fix: clear the replaced-edits notice from the status line

The Playback Engine wrote the notice to app.ui.status, but a later
edit or closing the window only cleared the in-window warning flag.
Clear the status when it still holds this notice, and test both paths.

---------

Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-28 13:38:20 +01:00

7.0 KiB
Raw Blame History

Hardware parity

Last reviewed: 2026-10-10 · Last updated: 2026-11-25 · Change: minor (the Playback Engine shows the current device choice after a command changes it; buffer sizes verified on Core Audio; one the driver does not take is reported; previously minor: record to disk: done, #84 and #888, previously trivial: bounces of a bus fed by an aux compensate its latency, #246; previously minor: MIDI input devices, live play-through with controllers, and MIDI recording) · Target: Avid Pro Tools Ultimate 2026.4.1

A DAW is judged by how it drives audio interfaces, MIDI gear, control surfaces and sync. This is SoundCraft's weakest dimension. Ours is measured from crates/playback (cpal) and the absence of any MIDI-device or control-surface code; Pro Tools' from its documentation and Setup menus.

Hardware: ~12 % ready (estimated). Performance: ~35 % (estimated; nothing benchmarked against Pro Tools). Remaining ≈ 110–180 h for hardware, 40–70 h for performance.

Legend: ✅ works · 🟡 partial · ❌ missing.

Audio interfaces

Feature Pro Tools (macOS / Windows) SoundCraft macOS Windows Linux FreeBSD Web
Driver API Core Audio / ASIO 🟡 Core Audio via cpal 🟡 WASAPI shared via cpal; ASIO with the opt-in asio build feature (verified with an SSL 2+) 🟡 ALSA/Pulse via cpal; no JACK 🟡 cpal (ALSA layer) 🟡 Web Audio
Choose playback device ✅ Playback Engine ✅ Setup › Playback Engine and ui.audio_device (verified with an RME UFX and the built-in speakers; the window shows a choice made by command) ✅ Setup › Playback Engine (WASAPI, ASIO) 🟡 (not yet verified) 🟡 (not yet verified) ❌
Choose input device ✅ ✅ Setup › Playback Engine and ui.audio_device (verified with an RME UFX and a second input device) ✅ (WASAPI, ASIO) 🟡 (not yet verified) ❌ no recording ❌
Buffer size (32–2048) ✅ 🟡 device buffer when the driver allows it (16–2048 verified on an RME UFX, whose driver allows 15–3072); outside the driver's range the default buffer, and the Playback Engine says so; mix in 512-sample blocks 🟡 device buffer 16–8192 (verified 128 on ASIO, 256 on WASAPI); mix in 512-sample blocks 🟡 (not yet verified) 🟡 ❌
Duplex stream on one clock ✅ ❌ separate input/output streams ❌ ❌ ❌ ❌
Hardware I/O mapping (I/O Setup to physical channels) ✅ 🟡 multichannel output in order; no per-channel map 🟡 🟡 🟡 ❌
Low-latency monitoring ✅ ❌ (options.low_latency_monitoring is a stored flag) ❌ ❌ ❌ ❌
Latency reporting and record offset compensation ✅ ❌ ❌ ❌ ❌ ❌
Sample rate follows the session; resample when it can't ✅ (switches device) 🟡 resamples (input pitch bug fixed, #28) 🟡 🟡 🟡 🟡
Avid HDX / HD Native DSP, Hybrid Engine DSP mode ✅ ❌ (out of reach: Avid hardware) ❌ ❌ ❌ ❌
Disk allocation / record to disk ✅ ✅ takes written to disk as they record (#84); a long take goes on in a new file (#888) 🟡 same recorder (not yet verified on Windows) 🟡 same recorder (input not yet verified) ❌ no recording ❌

MIDI

Feature Pro Tools SoundCraft (all platforms)
MIDI input devices (keyboards, pads) ✅ 🟡 Linux (ALSA sequencer), macOS (CoreMIDI) and Windows (WinMM) through midir: every input port is opened, hot-plugged devices are picked up, ports can be switched off in Setup › Playback Engine; each MIDI/instrument track chooses a device and channel at its input selector. Notes are recorded into MIDI clips with controllers, pitch bend and aftertouch. On Linux, live play was checked with a hardware keyboard (Akai MPK mini 3) and recording with a virtual one; not on macOS or Windows, and there is none on FreeBSD or the web
MIDI output to external gear ✅ ❌
MIDI Thru, input filter ✅ 🟡 record-enabled and input-monitored MIDI/instrument tracks play the keyboard through their instrument (notes, the sustain pedal, controllers, pitch bend, aftertouch and program changes); the input filter keeps the filtered kinds out of recordings. No thru to external gear
MIDI Beat Clock out, MTC generate/chase ✅ ❌
MIDI learn / controller mapping ✅ (via surfaces and plug-in maps) ❌
Virtual MIDI keyboard ✅ (MIDI Keyboard window) 🟡 window exists, no live audition path

Control surfaces

Feature Pro Tools SoundCraft
EUCON (S1/S3/S4/S6, Dock, Control app) ✅ ❌ Avid-proprietary SDK; owner decision
HUI ✅ ❌
Mackie Control Universal ✅ (via HUI emulation and personalities) ❌
Generic MIDI controller personalities ✅ ❌

Sync and video hardware

Feature Pro Tools SoundCraft
LTC / MTC chase, 9-pin machine control ✅ (Ultimate) ❌
Word clock / video reference awareness ✅ via interface ❌
Video output to a second display or video card ✅ ❌ (video window only)
Satellite linking of systems ✅ ❌

Performance

Feature Pro Tools SoundCraft Evidence
Parallel mixing across cores ✅ ✅ soundcraft-mix renders independent strips in parallel (rayon)
Plugin delay compensation ✅ ✅ Bounces of a bus that an aux returns onto are compensated like the main mix (#246).
Disk streaming of long sources ✅ ❌ Whole files decoded into the SourcePool
Track count (Ultimate: 2,048 voices) ✅ unmeasured No benchmark exists; add cargo xtask bench
Real-time audio thread discipline ✅ ✅ No blocking/allocation in steady state, audio-thread-aware logger
Freeze / commit to save CPU ✅ 🟡 track.commit renders; track.freeze only sets a flag (no CPU saved)
GPU-accelerated UI — ✅ (wgpu/glow via eframe) llvmpipe X11 issue #107

Revision history

Date Change Summary
2026-11-25 minor Choosing the playback and input device verified on macOS; the Playback Engine shows a choice made by command; buffer sizes 16–2048 verified on Core Audio; a size the driver does not take is reported with its range (#1757)
2026-11-18 minor MIDI input devices (midir): live play-through to record-enabled MIDI and instrument tracks (notes, pedal, controllers, pitch bend, aftertouch), MIDI recording into clips, per-track device and channel, device switches in Playback Engine; guide in midi-input.md
2026-10-30 minor Record to disk: takes are written to disk as they record (#84) and long takes continue in a new file (#888)
2026-10-13 trivial bounces of a bus fed by an aux compensate its latency (#246)
2026-10-12 minor Audio device settings: system, output, input, sample rate and buffer size; opt-in ASIO
2026-10-10 major Created: audit of audio interface, MIDI, control-surface, sync and performance support against Pro Tools 2026.4.1