Skip to content

P1 DAW mixer: native WIRE/FX rack master bypass + safe optional STREAM output - #422

Closed
masarray wants to merge 8 commits into
integration/daw-direct-hardware-input-20261105from
integration/p1-fx-wire-stream-20261105
Closed

masarray wants to merge 8 commits into
integration/daw-direct-hardware-input-20261105from
integration/p1-fx-wire-stream-20261105

Conversation

@masarray

@masarray masarray commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

P1 · Single approved /preview/ GUI ↔ one native JUCE PCM engine

STACKED on P0 #418 integration/daw-direct-hardware-input-20261105 (head 3c2d2519979ed170cff6552a13a6dd3854bd7d26). Draft, unqualified, not a production release. Does not touch main.

Implemented in this branch

  1. FX rack parent power and restore: reconcile existing FX rack master power: bypass all effectively and restore each insert's last state (GUI + native engine) #421 native DSP & official Pages assembler into Fix cold WIRE admission and native VST3 picker/editor with prepared graph PDC #418. Parent power OFF applies independent rack bypass gate to all insert processing and visible slot effective buttons; ON restores remembered per-insert bypass flags without destructive writes. ChannelId controls require ACK + subsequent native snapshot. One realtime callback, sample-smoothed bypass, no JS DSP.
  2. One optional STREAM output: add Connect / Go Live / Stop controls inside the existing native Audio I/O panel. The native LiveSecondaryOutputDevice consumes one post-FX, post-fader MAIN PCM copy over render-only WASAPI + bounded ASRC. Require selected destination, current device epoch, verified route, explicit Go Live and request-correlated ACK + authoritative later source readback. Stop works after hotplug. Physical MAIN destination never silently switches. Reject known same-VB-Cable source→playback feedback in native C++. Stream endpoint READY is NOT proof OBS/TikTok is receiving audio.
  3. BUS/WIRE root cause repaired: native approved APPLY_WIRE_TRANSACTION was advertised in graph/GUI, but ApprovedNativeControlIntent translator rejected every WIRE intent. Validate current device/PCM/roster revisions, ChannelId roles, exact original EdgeIds from BOTH native and public graphs, supported operations, actual POST_FADER/gain, and compile to the existing engine.applyNativeWireTransaction. No alternate graph/callback. Structural WIRE explicitly fails closed while either MAIN monitor or STREAM is armed: no auto-MUTE, no fake UI routing, no arbitrary M4 per-track bus promises.
  4. Mobile/main reconciliation: restore merged P0 Mobile /preview/: fix clipped 760px viewport and swipeable toolbar without CSS overlays #419 actual /preview/ CSS compiler and mobile navigation fix; keep public /preview/ source owner and PNG keys. Carry original FX rack master power: bypass all effectively and restore each insert's last state (GUI + native engine) #421 Chromium and engine test expectations; add P1 C++ wire probe for 64-bit EdgeId, stale/invalid source/tap, and Node UI/native contract.

Remaining critical gates (STOP SHIP)

This PR is a substantive implementation candidate and test fixture, not release approval.


2026-11-08 reconciliation: ARCHIVED, NOT MERGED

Stacked P1 branch was built on an obsolete #418 HEAD. Current main includes native WIRE transaction plumbing, rack master-bypass state and secondary-output infrastructure; bulk merging this older integration could regress the now-shipped DAW flow. Remaining real optional STREAM/operator acceptance is tracked under #412, not assumed completed by this closure.

Current approved authority: main, merged native integration #418. Existing branch history remains available; this closure is not evidence of physical audio FAT.

masarray commented Nov 5, 2026

Copy link
Copy Markdown
Owner Author

Priority correction (2026-11-05): P1 is PAUSED. Operator requested P0 First Sound (#418) be completed and physically qualified first. This PR remains Draft, unmerged, and is intentionally stacked on #418. Do not advance or merge P1 or publish its Windows artifact before P0 exact-head Windows/MSVC+CTest+real ASIO/WASAPI FAT and operator controls are accepted. P0 source-of-truth is integration/daw-direct-hardware-input-20261105; keep /preview/ as the only approved GUI. P1 code is preserved for later reconciliation; no further P1 changes authorized in this milestone.

masarray added a commit that referenced this pull request Nov 5, 2026
…ernel golden coverage

Reconcile #418 native-only bridge with selected #421 per-rack atomic engine gate. Both M4 compatibility and ChannelId use exact accepted producer readback for rack ON/OFF without destroying individual slot states. Project legacy M4 scalars, physical source and wire only from mixerSession; add negative ACK/epoch gating, C++ mixerSession test, multi-channel native sample golden tests. Preserve one JUCE callback, public /preview/ visual design, and unmerged P1 #422. Physical FAT and complete gesture-to-PCM certification remain outstanding.
@masarray masarray closed this Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant