Skip to content

Fix silent master output: monitor routing diagnostics + dry VST test - #5

Closed
masarray wants to merge 2 commits into
feature/p2-daw-workflow-progressfrom
fix/p2-native-output-monitor-diagnostics
Closed

masarray wants to merge 2 commits into
feature/p2-daw-workflow-progressfrom
fix/p2-native-output-monitor-diagnostics

Conversation

@masarray

Copy link
Copy Markdown
Owner

Physical user report

Input Channel 1 meter is active but the Master and headphone output appear silent. Screenshot shows MONITOR OFF. P2 callback gates output samples to zero when monitoring is disabled; legacy Main L/R/Streaming controls were cosmetic.

Changes

  • Explicit ENABLE OUTPUT/DISARM OUTPUT instead of ambiguous MONITOR label (safe default remains off).
  • Validate active input/output channels before arming sound; warn users which hardware endpoint is selected.
  • Native metering for INPUT, POST-VST, hardware OUTPUT, including callback channel counts and selected input/output endpoints.
  • SIGNAL CHECK overlay shows all 3 signal stages and the specific likely reason for silence.
  • DRY TEST bypasses entire VST3 chain atomically to distinguish plugin problems from device routing; realtime thread remains allocation-free in host code.
  • Legacy blue Main L/R, Record and Streaming buttons open output diagnostics rather than pretending to select hardware routing.
  • Windows workflow checks new JS module and builds experimental EXE.

Safety / verification

Default remains output DISARMED, never auto-enable microphone monitoring. Headphones and low level recommended. A green CI is not an audio-hardware validation. PR draft until hardware trial.

Copy link
Copy Markdown
Owner Author

Windows output diagnostic build: GREEN

Commit: 12d26f04c39cbdc19a7bebbc7c9a7b03ee80c0b3
Workflow: https://github.com/masarray/arsonmix/actions/runs/40147252394
Artifact: https://github.com/masarray/arsonmix/actions/runs/40147252394/artifacts/12580918959

Verified in CI: JavaScript syntax, MSVC Release compilation, RT primitive CTest, packaging/upload. Physical audio must still be tested.

Root cause from user screenshot: monitor switch was OFF; native callback writes zero to all outputs when disabled. Native master/FX wasn't connected to the blue cosmetic Main L/R/Streaming selectors. This build adds explicit ENABLE/DISARM OUTPUT, ASIO/WASAPI endpoint/status reporting, input→postFX→hardware-output metering, dry VST bypass test, warning when no active input/output channels, and replaces fixed 64-sample demo header with negotiated buffer settings.

Physical check: use headphones at low volume; select active input/output in AUDIO SETUP; ENABLE OUTPUT; open SIGNAL CHECK; compare 3 meters; toggle DRY TEST if input > 0 but post-FX remains silent. Keep PR draft until confirmed on PC hardware.

Copy link
Copy Markdown
Owner Author

Backlog reconciliation — 2026-11-01. Closing as SUPERSEDED/ARCHIVED, not merged. This early P1/P2 branch is a historical stacked baseline (2026-10-24/25) that targets obsolete parent branches and overlapping native/GUI files. Its useful product requirements are now covered by the merged live 10CH/VST code plus PRD/ARD v5 and active M-U1 #266 / GUI #265. It is NOT certified as safely cherry-pickable on current main.

Canonical workflow: PRD v5, ARD v5, dynamic engine issue #192. Any unique test, VST compatibility or safety insight should be deliberately ported to #266, #265, #180 or #15 against current main with fresh proof—never merge this historical stacked head blindly. Original commits remain accessible; branch is not deleted.

@masarray masarray closed this Oct 31, 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