Skip to content

SonKu P7.4: reconciled native XYZ Windows physical FAT executable and verified portable artifact - #688

Closed
masarray wants to merge 83 commits into
mainfrom
integration/sonku-p74-windows-field-20261114
Closed

masarray wants to merge 83 commits into
mainfrom
integration/sonku-p74-windows-field-20261114

Conversation

@masarray

Copy link
Copy Markdown
Owner

P7.4 — complete experimental native Windows mixer for physical 8D-SonKu testing

Branch exact head: e3381f88a8481d48c6c1d3db94fef69d27bc56cb (at PR creation). Two-parent reconciliation: commit 9374719fe71ed310027610782515c701d71cc072 preserves latest main@baf88ddd + native XYZ P7.3 cf34921d. All public CMake defaults remain OFF; alpha.23/installer/landing unchanged.

Actual engineering changes

  • Three-way content reconciliation of src/Main.cpp, CMakeLists.txt, .github/workflows/ui-smoke.yml with preserved Player/Main additions and P7.3 bridge/GUI; no force-push and no duplicated DSP engine.
  • Dedicated .github/workflows/sonku-p74-windows-field.yml: fast pure PCM/GUI preflight, real MSVC/JUCE 8.0.15 full ARMixConsole Release executable with ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=ON, three focused JUCE source/ACK/state tests, exact source SHA, pinned WebView2 SDK, independent Windows GUI/embedded asset PE/provenance verifier, portable field artifact (no installer).
  • Hardware candidate provenance explicitly marks sonkuExperiment.enabled=true, v3 native state, physical ASIO and dearVR parity unproven; no implicit production admission.
  • Hash-attested MIT KEMAR notice and manual ASIO/headphone FAT guide are included in test artifact after the standard distribution allowlist verification, with their own byte checks.
  • Physical FAT protocol: 44.1/48k; 64/128/256; 1/2/4 instances; GUI→bridge→PCM ACK; .smix; device restart; WIRE/VST3; volume-matched real-music headphone comparison against dearVR PRO 2.

Why DRAFT

A compiled executable and passing CTests are not actual hardware qualification. Await GitHub Action full-build completion, then run user-owned Windows ASIO field trial and loudness-matched blind listening. Do not call it dearVR-equivalent, do not merge or release without physical evidence, CPU admission, provenance review and explicit owner approval.

Closes neither the product gate nor #683. This PR exists to deliver the testable physical Windows field candidate, not a second research algorithm.

…red HRTF + room authority

Add callback-owned hysteretic energy/cross-correlation recovery of input M/S difference after binaural convolution, never mono-summing that content. Active only for strongly negative correlation, gain-slewed, finite/RT-safe; zero for correlated source and spatialMix=0. Apply to ROOM-OFF, experimental distance and native SPACE branches with consistent output trim, reuse scene limiter, preserve JUCE state/ACK ABI.
…PCM chunk parity at 44.1/48k

Numerical tests exercise native impulse, FRONT/RIGHT/REAR/LEFT collapse rescue, independent L/R, 128-frame chunk parity, finite peak guard, positive-correlation no-op, silence reset, device prepare and spatialMix=0 dry identity.
…evidence

Render original harmonic material at matched time/level as coherent front, anti-phase front and anti-phase rear with exact native core. Do not normalize WAVs or claim dearVR externalization.
…, not Chromium/Windows FAT

Use existing native core fixture in Fast UI plus a separate original three-WAV evidence and same-runner CPU benchmark. Full UI runner still protects GUI-changing SonKu branches. No network HRTF fetch or slow native installer blocks.
…ase side

Use the existing per-sample 20ms correlation evidence for complementary positive-coherence hysteresis; no extra buffering, allocation, or new thread. Expose coefficient correction target strength to native FIR scheduler.
Prevent coherent stereo comb nulls by steering common L/R content toward measured center HRIR, while algebraically preserving left-minus-right directional transfer. Hysteretic coherent evidence ramps weights; coefficient updates remain on existing 16-frame cadence and 6ms per-tap slew. Reuse same two native source convolutions, SPSC/graph and state ABI.
…comb notch

Assert per-ear 48k KEMAR spectrum old 60-degree stereo sum has a deep notch; coherent native FIR now converges to center HRIR within 14%, retaining side difference and preserving partition/phase/mono guards at 44.1/48k.
…23 baseline

Use compile-time pinned baseline include only in the offline tool (never native JUCE) and add 2k harmonic plus 60-degree coherent FRONT/REAR cases. Existing full listening suite remains supported.
…3 in 5 matched WAVs

Sparse checkout only immutable baseline SonKu headers; compile both native cores and assess exact coherent center, directional 2kHz comb recovery, anti-phase L/R RMS and peak safety. Keep benchmark same runner and upload both sides without Windows/Chromium rebuild.
…-FIR Mid/Side correction

Document exact-phase cancellation, frequency-domain KEMAR comparison, invariant side transfer, bounded coherence ramps, matched baseline native WAV evidence and explicit limits beyond a real BRIR.
…itrary PCM block splits

Assert native Chamber 5m reflection+FDN still preserves both ears, phase/finiteness, bounded peak and exact 16k-sample 256-frame partition parity.
… remove FIR warning; constrain OFF-scene XYZ
…al field trial

Two-parent exact reconciliation (main + P7.3). Merge three disjoint shared files without rolling back the approved GUI, Player, Guitar FX or WIRE. Experimental research remains opt-in and all public defaults unchanged.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Deploying arsonmix with  Cloudflare Pages  Cloudflare Pages

Latest commit: c0c866d
Status: ✅  Deploy successful!
Preview URL: https://c9daccfc.arsonmix.pages.dev
Branch Preview URL: https://fix-sonku-p75-phase-safe-mus.arsonmix.pages.dev

View logs

Copy link
Copy Markdown
Owner Author

P7.4 exact-SHA Windows physical tester — artifact published (14 Nov 2026)

Exact PR HEAD: c0c866db02682da2403f325c8146f90144af491c
CI: full Windows experimental build and native acceptance SUCCESS
Portable Windows x64 artifact: ArSonMix-SonKu-P74-XYZ-Windows-x64-43569075876, GitHub artifact ID 14103842244, 15,055,845 bytes, retained until 2026-12-05.

Independently verified on this exact commit

  • Fast 44.1/48 kHz PCM / GUI bridge source preflight PASS.
  • CMake native experimental ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=ON, pinned JUCE 8.0.15 + WebView2 SDK, full ARMixConsole Windows x64 Release GUI compile PASS (not merely a JUCE test target).
  • Native XYZ editable PCM, applied ACK and v1/v2/v3 state restoration 3/3 CTests PASS.
  • Real Windows GUI executable packaging, PE/icon, embedded approved Pages GUI byte provenance, FactoryFX stage, source SHA & distribution ZIP integrity PASS.
  • Included hash-checked third-party MIT KEMAR attribution and the P7.4 physical field test guide. sonkuExperiment metadata says v3 enabled, no public release or human/ASIO certification.
  • Existing SonKu/UI/Player/built-in preset focused checks on this commit PASS.

CRITICAL: This is only a verified hardware-test candidate, NOT evidence that real ASIO load, multi-insert XRUN, .smix hardware Save/Open, subjective externalization, or dearVR parity passed. Keep PR #688 DRAFT, Issue #683 OPEN and public CMake default OFF. Perform actual field protocol before sound-quality or product-release approval.

Source: field FAT guide.

Copy link
Copy Markdown
Owner Author

REAL HEADPHONE FIELD FAILURE — P7.4 rejected (14 Nov 2026)

Owner has now listened to the P7.4 experimental Windows build and reports severe phase cancellation / music sounding destroyed. This is a FAILED physical audio qualification, overriding previous CI-only "test candidate" framing. The green build / three CTests / artifact SHA only established software packaging, not musical correctness. Do not recommend P7.4 artifact for live monitoring, do not promote/merge/release it and do not assert dearVR parity.

Initial source-level failure mechanisms: per-ear sum of two offset directional HRIRs can cancel components of real stereo music; MID center correction is gated by 20ms correlation evidence and may miss spectrally complex partial coherence; side-rescue is a separate phase-unaligned direct addition. P0–P7.4 synthetic stereo tests did not prove natural complex-music preservation. These are mechanisms to investigate, not a verified physical root-cause attribution without matched input/output capture.

A quarantined P7.5 research candidate is under review in draft PR #689: measured centered MID + unconditional SIDE, dedicated music-phase PCM tests, full Windows native build and headphone qualification still REQUIRED. Original production/default LIGHT must remain unchanged. Need actual dry/wet sample captures and ASIO + independent listening before any quality statement.

Issue #683 stays OPEN.

Copy link
Copy Markdown
Owner Author

MILESTONE A: closed WITHOUT MERGE — historical audio research. This P7/P8 version was a private opt-in SonKu research stage, superseded as an active product review by selected owner-approved P9.9 #733. Production #733 selectively ported the accepted latest sound, not the full chain. Preserved original source: integration/sonku-p74-windows-field-20261114 @ c0c866db02682da2403f325c8146f90144af491c; original target main. All 47 PR heads are recorded in docs/governance/MILESTONE_A_PR_BRANCH_RECONCILIATION_20261117.md (chore/milestone-a-pr-history-20261117). No source branch or checkpoint deletion, no DSP changes, no retroactive claim of listening acceptance. New work may reopen via scoped approval.

@masarray masarray closed this Nov 17, 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