Skip to content

[DRAFT — ImmerSIB P9.7 Venue + P9.8 Detail/Impact] Single native SonKu engine, concert GUI - #722

Closed
masarray wants to merge 125 commits into
research/sonku-p91-p92-fidelity-bass-reconciled-20261116from
feat/imersip-on-sonku-p92-single-engine-20261116
Closed

masarray wants to merge 125 commits into
research/sonku-p91-p92-fidelity-bass-reconciled-20261116from
feat/imersip-on-sonku-p92-single-engine-20261116

Conversation

@masarray

@masarray masarray commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

PRODUCT BRAND LOCK (2026-11-16): User-facing plugin name is ImmerSIB (exact capitalization). This applies to the editor header, processor/window title, FX Picker and notices. The former name “ImerSip” remains ONLY in legacy C++ symbol names, repo paths, test paths and the immutable FX catalog ID armix.builtin.imersip.v1 to keep existing .smix / IMRS sessions compatible. This is a branding-only change; do not touch SonKu DSP or GUI asset art direction.


CURRENT IMERSIP DEVELOPMENT PR. Audio reference: selected P9.1/P9.2 PR #719 / frozen owner checkpoint #720. Research ownership/CI matrix: docs/SPATIAL_AUDIO_AUTHORITY.md. Older ImerSip #706 and divergent SonKu #718 are archived, not merge sources. Historical P8.3 negative acoustic workflow is intentionally P83-only/manual, not P9 qualification. Do not merge to production or release without exact-head Windows + owner headphone A/B.


Owner listening evidence

8D-SonKu P9.1/P9.2 is already perceived as external and alive. ImerSip must use that exact PCM engine, not re-create the old ImerSip P8.2/P8.4 signal chain.

Exact implementation

  • Based on reconciled SonKu PR [SELECTED P9.1/P9.2 AUDIO BASELINE — DRAFT] Reconciled music fidelity and world bass #719 HEAD 763706a15a2617a10d23b5e2e43eb5689e454ccb (main and original ImerSip [SUPERSEDED — ARCHIVED] ImerSip P8 acoustic experiment (retained for A/B and IMRS migration) #706 untouched).
  • ImerSip native product uses stable armix.builtin.imersip.v1 catalog identity while inheriting SonKuSpatialProcessor and its single SonKuSpatialCore mode 9 callback, the same realtime queue and applied ACK. No additional HRTF, MID replacement, stereo SIDE injection, bass EQ, reverb or limiter.
  • Exact P9 reference scene: front fixed, 82°, 1.6m, Large 28.8m, ER .78, late .33, 100% native mix, 0 dB output.
  • Dedicated compact JUCE ImerSip editor: native presets, actual room/stage/distance/early/late/mix/gain/align/yaw; slot Power binds to the retained native host graph, fail-closed when unavailable. No connection to another FX DSP.
  • Session IMRS v6 embeds native SONK v11 accepted state; v1–v5 legacy settings migrate only to real P9 equivalents, with room geometry safely bounded. Old P8-only Bass Impact/Detail/Stereo Keep are not silently reimplemented.
  • 44.1/48 kHz sample-by-sample native JUCE PCM parity, v6 roundtrip/legacy state, realtime ACK/editor and genuine GUI Windows test in isolated CI.
  • See docs/IMERSIP_P92_SINGLE_NATIVE_ENGINE_FAT_20261116.md.

Qualification

DRAFT; P9.2 native audio tests, exact-head Windows JUCE and portable verifier must pass, then owner should A/B ImerSip versus the same P9 scene at matched loudness. Never merge into production or claim physical quality by green CI alone.

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying arsonmix with  Cloudflare Pages  Cloudflare Pages

Latest commit: 715b21b
Status: ✅  Deploy successful!
Preview URL: https://ba198bbb.arsonmix.pages.dev
Branch Preview URL: https://feat-imersip-on-sonku-p92-si.arsonmix.pages.dev

View logs

Copy link
Copy Markdown
Owner Author

Native P9.2 validation checkpoint: first exact-head Windows run https://github.com/masarray/arsonmix/actions/runs/43781385667 built the authentic Windows GUI EXE and PASSED the actual JUCE ImerSip native PCM-parity/state/editor/ACK CTest (44.1/48 kHz). The ONLY scoped Windows red was packaging: verifier requires FACTORYFX_STAGE_REPORT.json; source PCM/preflight passed. Commit de102ac16cb3a3775e4ca64908de741e042ec50b repairs FactoryFX stage before strict artifact verification, keeps MIT KEMAR notice/FAT outside the allowlisted dist, and closes the standard JUCE virtual IMRS restore gap with new native assertions. Do not recommend the first failed workflow's nonexistent ZIP; new exact-HEAD gate must pass.

Copy link
Copy Markdown
Owner Author

Exact-HEAD qualification complete — 16 Nov 2026

HEAD ae88f137fcbf1d44240d23c7603a38f7df5d41af, on isolated P9.1/P9.2-based branch, main unchanged. Validated GitHub Actions run https://github.com/masarray/arsonmix/actions/runs/43783510481:

  • Fast source P9.1/P9.2 PCM + independent ImerSip registration — SUCCESS
  • Real Windows JUCE focused test: 44.1/48 kHz sample-by-sample parity against the exact SonKuSpatialCore P9 mode9 renderer, editor creation, host power binding, IMRS v6 roundtrip, legacy v5 and JUCE virtual restore, corrupted-v6 fail-closed and wrong SONKU base-pointer scene rejection — SUCCESS
  • Actual AR MIX Studio Windows EXE, FactoryFX staging, strict dist/provenance verifier, portable archive and artifact upload — SUCCESS
  • Artifact: https://github.com/masarray/arsonmix/actions/runs/43783510481/artifacts/14189137196

Important: The pre-existing SonKu P8.3 physical-speaker experimental source workflow is still RED on this stacked research ancestry (rejected acoustic baseline). It was not disabled or mistaken for P9/ImerSip failure. This PR's own exact-HEAD Windows FAT is green.

Still Draft: physical, equal-loudness headphone A/B against the owner's already-liked 8D-SonKu P9.1/P9.2 must verify preserved externalization/music quality. Do not merge/release or imply measured BRIR/dearVR parity just from CI. The product editor uses native JUCE; any further visual refinement is a separate UI review, not an acoustic engine rewrite.

@masarray masarray changed the title ImerSip P9.2 (DRAFT): exact 8D-SonKu P9.1/P9.2 engine, independent editor and IMRS v6 [ACTIVE IMERSIP P9.2 INTEGRATION — DRAFT] One SonKu P9 engine, independent UI/IMRS Nov 16, 2026

Copy link
Copy Markdown
Owner Author

Ambiguity eliminated — research governance and CI isolation

Exact revision: 63896506a8eb19e6e80b3d2466c7ef0291a0db39.

Detailed handoff and non-merge rules: docs/SPATIAL_AUDIO_AUTHORITY.md. main and the frozen checkpoint remain unchanged. PR stays DRAFT pending new headphone qualification.

Copy link
Copy Markdown
Owner Author

2026-11-16 owner screenshot -> native preset recalibration (commit 3420f43f125d6eebbe90fcb1112d882197e213f9)

Observed ImerSip screenshot: Custom, width 150°, source 1.6 m, Large 28.8 m, EARLY 100%, LATE 91%, MIX 100%, OUTPUT +4.1 dB. This is DIFFERENT from historic SonKu operator checkpoint issue #720 (82° / ER100% / late62% / +7dB). No invented distance in the screenshot.

Code root cause: existing ImerSip factory reference 82°/1.6m/ER78%/LATE33%/0dB, Studio (72°/ER46%/Late14%) and Grand (104°/2.2m/ER84%/Late40%) were timid. P9 room late wet output is internally *.23*ambience, further controlled by scene wet presence 2.2 + 4*ambience: 33% and 91% are NOT modestly different. Wide stage and +4.1dB were also absent from the preset.

Delivered (no changes to 7 pinned P9 acoustic source files): New insert defaults to Live Concert width150°/2.2m/Early100%/Late91%/+4.8dB; other auditions Warm Auditorium 138°/2.4m/Chamber/96%/78%/+4.5dB and Grand Arena 164°/3.0m/Large/100%/96%/+5.6dB. Your 150° Scene exactly reproduces screenshot (1.6m/+4.1); P9.2 Neutral A/B preserves old reference 82°/1.6m/78%/33%/0dB. Presets are static P9 world stages, with no added enhancer/second audio graph. Saved IMRS state is never replaced by new factory defaults.

Measured actual PCM at 48 kHz, source/music fixture, exact-core tests (GitHub run https://github.com/masarray/arsonmix/actions/runs/43800751434):

  • Neutral RMS/source 0.8123x.
  • Live Concert 1.6186x source RMS, 1.9926x neutral, room ON/OFF RMS difference 0.5832x relative, anti-phase side-energy RMS 0.3805x input.
  • Warm Auditorium 1.3962x source, room delta 0.4788x, anti-side 0.3255x.
  • Grand Arena 1.6733x source, room delta 0.6848x, anti-side 0.4234x.
  • Screenshot reference 1.6678x source, room delta 0.5379x.
  • All finite and linked sample peak <.981, no catastrophic anti-phase null; no assertion of absence of all phase coloration or guaranteed commercial music LUFS loudness. Source test also passed at 44.1kHz.

Evidence boundary: source RMS ≠ ITU-R BS.1770 loudness and the 0.98 zero-lookahead linked limiter is only a SAMPLE-peak safety guard, not certified intersample true-peak. Strong early/late reverb may reduce clarity on other recordings. Externalization/headphone naturalness must be A/B tested at matched LUFS vs raw stereo and the frozen P9.1/P9.2 reference before merge. Native JUCE Windows + installer/distribution verifier running for exact commit; earlier packages must not be confused with these new presets.

Copy link
Copy Markdown
Owner Author

ImerSip Rich Concert factory calibration — exact-head Windows FAT passed (2026-11-16)

Qualified test build, not public release: commit 3420f43f125d6eebbe90fcb1112d882197e213f9 and Windows Actions run — fast PCM/contract SUCCESS, JUCE Windows editor/IMRS/ACK SUCCESS, GUI EXE + strict FactoryFX/provenance verifier SUCCESS, artifact upload SUCCESS.

Download audition candidate artifact (ImerSip-P92-Shared-Core-Windows-x64-43800751434).

Real PCM metrics at 48k (synthetic input, NOT commercial LUFS): Live Concert RMS/raw=1.6186x, room ON/OFF wet difference=0.5832, anti-phase stereo-side RMS/raw=0.3805. Warm Auditorium 1.3962x, room delta 0.4788. Grand Arena 1.6733x, room delta 0.6848. Old P9 neutral 0.8123x, exact screenshot 1.6678x. 44.1k tests also green. All generated samples finite with linked sample-peak guard; no source-phase null, but no claim of zero comb coloration or absence of intersample overshoot.

New inserts use Live Concert (150° / 2.2m / ER100% / LATE91% / +4.8dB), with Warm Auditorium, Grand Arena, exact owner screenshot (150° / 1.6m / ER100% / LATE91% / +4.1dB), and original P9.2 Neutral A/B. Existing accepted .smix/IMRS state preserved. The seven pinned acoustic DSP blobs are unchanged, SonKu P9.2 world bass and HRIR remain one PCM authority. Distanced speakers are an audition cue for direct/reverb balance—not a mathematical fix for phase cancellation.

Review hold: stage-wide/late-heavy presets and ~+5 dB makeup require loudness-matched headphone FAT across quiet and commercially mastered songs, inspecting kick/bass weight, vocal articulation, sparkling but smooth treble, reverb tail, stereo phase and peak limiting. Older build/PR #706 is not the new preset artifact; main unchanged, PR remains DRAFT.

Copy link
Copy Markdown
Owner Author

ImerSip owner preset review — 16 Nov 2026: six stronger scenes, no Neutral A/B in picker

Owner evaluation: only Live Concert sounded somewhat convincing; Warm Auditorium / Grand Arena were underwhelming; A/B preset is not useful in the product UI.

Implementations (HEAD 977cf36a6303b5d7f4a67f66ac8bac2a6647da94)

  • Typed inline constexpr std::array<ImerSipP92Preset,6> is the single preset definition consumed by native JUCE dropdown, scene factory, and recognition on reopening. Stops label/PCM drift.
  • Live Concert (id 2) untouched at 150° / 2.2m / ER100% / late91% / +4.8dB; preserve owner's positive physical listening reference.
  • Upgraded Royal Concert Hall (155°/1.8m/large/100%/98%/+5.4dB), Arena Thunder (164°/1.7m/large/100%/100%/+5.7dB), Front Row Power (150°/1.6m/large/100%/97%/+5.2dB), Symphonic Palace (146°/1.9m/large/100%/99%/+5.4dB) and Velvet Cinema (155°/1.6m/chamber/100%/100%/+5.7dB).
  • P9.2 Neutral A/B removed from editor/picker. The original neutral imersipP92ReferenceScene() is kept only as internal regression fixture to detect hidden engine drift. Existing stored IMRS sessions restore their actual parameter state; they do not store UI preset indices.
  • Seven immutable SonKu P9 acoustic DSP source fingerprints unchanged; no new bass shelf, M/S widening, secondary convolution or limiter. Product intensity comes from physical-distance/direct/wet balance of the existing native P9 renderer.
  • Real source CI PASS at 44.1 and 48 kHz, finite PCM peak bound, wet contribution, anti-phase stereo not annihilated. 48k musical fixture RMS/source ratios: Live 1.6186, Royal 1.9282, Arena 2.0522, Front Row 1.9545, Symphonic 1.8965, Velvet 1.9131. All 5 new candidate ratios exceed Live by ~17–27% for this fixture; wet-room source differences remain substantial. These are not LUFS or perceptual scores. Stronger output can activate the linked limiter on mastered tracks. No guarantee of full-band acoustic transparency from a single fixture.
  • Acoustics research: perceived concert-hall power depends on direct/early energy, lateral width and late envelopment, not only RT60 or gain. Strong room field can impair C80 musical clarity on fast passages. See JASA envelope-preserving reflections, Bradley/Soulodre envelopment, AES loudness normalization caveats.
  • Do not merge to main or claim premium subjective acceptance until user A/B on actual headphones. Exact new-head Windows native JUCE/portable FAT: https://github.com/masarray/arsonmix/actions/runs/43809518412 (must inspect job conclusion and artifact before offering build).

Copy link
Copy Markdown
Owner Author

Owner-requested ImerSip preset upgrade — FINAL exact-HEAD Windows qualification (16 Nov 2026)

Audition candidate HEAD: 5b42759c697eb3bcb32e19db366fdc7951b4c02f. Both relevant jobs SUCCESS in Windows Actions run (Linux source PCM/registration and real Windows JUCE/native editor/session/ACK plus actual AR MIX Studio EXE, FactoryFX distribution verifier, portable archive). Verified artifact: ImerSip P9.2 six upgraded presets Windows x64, 15,180,567 bytes.

User-visible presets: Live Concert (owner-liked reference unchanged), Royal Concert Hall, Arena Thunder, Front Row Power, Symphonic Palace, Velvet Cinema. No Neutral A/B in UI. Typed preset table imersipP92Presets synchronizes picker/recognition/PCM values. UI ID 6 is Symphonic Palace: tests now call imersipP92ReferenceScene() directly for neutral golden fixture to prevent collision. Existing .smix/IMRS v6 accepted state is preserved; no migration of UI preset IDs (they aren't serialized). The seven pinned P9.1/P9.2 acoustic DSP files remain bit-identical to selected checkpoint.

Measured 48k music fixture source RMS ratios: Live 1.6186×, Royal 1.9282×, Arena 2.0522×, Front Row 1.9545×, Symphonic 1.8965×, Velvet 1.9131×. Same 44.1k source/room/anti-phase checks pass. All new scenes measure 17–27% higher RMS than Live on this synthetic fixture only; don't confuse RMS and BS.1770 LUFS, listener preference, intersample true peak, or zero phase coloration.

Do not merge/release without headphone FAT: compare presets using both quiet dynamic and loud mastered music at matched playback level, check room externalization, bass impact, vocal clarity, treble naturalness, late tail, linked peak limiting, no unintended state resets. Avoid claiming all real songs can always be made louder than mastered full-scale PCM without limiting. PR remains DRAFT and production main SHA unchanged.

Copy link
Copy Markdown
Owner Author

ImerSip P9.2 — native Live Concert visual skin milestone (16 Nov 2026)

Latest visual HEAD: d69609b1a10a69ed09feb9275c6fe520745cbf48 (child branch, Draft PR; production main and selected owner P9 acoustic checkpoint untouched).

  • Embedded artist-derived PNG atlas: assets/imersip/imersip_p92_skin_atlas.png (Git blob 3a08a60c40eee0726ffe38f27442ce9392c6a5c2) built from user's four generated assets. It contains black/cyan room grid, blank brushed-metal lower chassis, flown line-array, white PA subwoofer/front-fill, real slider track/thumb and purple master knob; loaded by BinaryData in native JUCE, not WebView.
  • Visual structure: 1100×680 room + 3-section metal control desk. Discrete speaker sprites L/R; right array now visually mirrored, without touching audio channels/phase. PA spacing reflects existing STAGE parameter; scale/vertical placement reflects DISTANCE. These are a visualization, not a calibrated 9.1.6 placement claim. Static render avoids icon flicker.
  • Controls: native preset/room selectors, seven horizontal spatial sliders and one rotary master gain, real FX Power and Close. Kept all component IDs, native state IMRS v6, real queue/ACK and retained host bypass. No new spatial/DSP processing layer.
  • Aesthetic refinement: artist metal panel stays under a dark readability veil; header rail avoids labels washing out against white ceiling. Restrained teal for spatial values and purple for master. No dearVR branding copied.
  • Hires artist skin: optional x3 (768×960) atlas in ImerSipAssets/imersip_skin_atlas_hires.png next to EXE; missing/invalid art safely falls back to embedded PNG without callback I/O. Generated original PNGs remain in the design-asset package for visual iteration.
  • Quality: Native JUCE target links ARMixAssets, constructs exact 1100×680 snapshot, compares room vs desk pixels, verifies linear slider and rotary gain semantics, and retains SonKu PCM/IMRS/ACK tests. Windows FAT run on exact head: https://github.com/masarray/arsonmix/actions/runs/43819307733 . Do not mark field visual acceptance without actual Windows GUI screenshot and DPI 100%/150% user evaluation.

No merge/release requested; PR stays DRAFT. This is a native visual-only checkpoint.

Copy link
Copy Markdown
Owner Author

VISUAL ART DIRECTION CORRECTION — 16 Nov 2026 (owner rejected vector implementation). Commit 174ae4f1d9b12a5fc1097359e884d1d4547fd7aa is NOT visual approval and must not be merged or released as the new ImerSip skin. JUCE natively supports 32-bit PNG RGBA alpha, including ImageFileFormat::loadFrom, ImageCache::getFromMemory, Graphics::drawImage and high-quality resampling. The previous screenshot was caused by an undersized 256x320 atlas, incorrect sprite crops and dirty/semi-transparent source-sheet halos, NOT a JUCE alpha limitation. The uploaded real artist assets include a 768x960 RGBA atlas and 1448x1086 RGBA speaker sheet; neither is a clean set of independent alpha sprites yet. Required next GUI implementation: isolate/clean each real PNG transparent object at source resolution, export separate true RGBA assets with generous padding, embed via JUCE BinaryData, draw at 1:1/downsample where feasible with centred aspect-preserving placement and high resampling, constrain all speaker bounding boxes at min/max Stage/Distance (and test DPI 100/150%). Maintain separate photo-real PNG room/panel and all native parameter/host/IMRS paths. No SVG-generated faux cabinet/vector substitutions for the user's requested art. Do not mistake the previous vector-only design proof or green CI for owner visual acceptance. Acoustic P9.1/P9.2 untouched.

Copy link
Copy Markdown
Owner Author

✅ ImmerSIB host-authoritative BYPASSED visual treatment — verified

Commit 859f2960cf6a25cdec16c8038904d8dd05a9c2ff in DRAFT PR #722.

Native JUCE changes:

  • Venue dims with translucent 0x79000000; central BYPASSED status in bright translucent amber 0xe3ffa437 with restrained text shadow; no extra PNG or effects.
  • Lower native controls dim with paintOverChildren veil 0x21000000, explicitly excluding power_.getBounds() to keep the FX Power icon clear.
  • Host readback readBypass_() is the only source of truth. External host bypass transitions trigger whole-editor repaint; unknown status never fakes bypass.
  • Six venue PNGs, 935x578 layout, SonKu PCM, presets, IMRS and parameter IDs remain unchanged.

Exact-head QA evidence:

Production main untouched. Keep PR draft pending installed-app mixer/FX Rack FAT.

Copy link
Copy Markdown
Owner Author

ImmerSIB bypass-state visual FAT — bolder typography + stronger genuine mute

Exact HEAD: cbcef96a89b040628a5670137ec1e66b8f433618 (PR #722, draft).

Owner feedback: previous BYPASSED word was too small/light, and scene/panel appeared almost active despite host bypass.

Native JUCE fix

  • Enlarged center status from 40px regular to 76px bold, with restrained character spacing (0.055) and a quiet shadow, bright translucent amber — no badge/card or animation.
  • Replaced underpowered scene veil with neutral near-black charcoal (0xb803060a): concert still visible, colour/light energy unmistakably muted.
  • Increased lower-panel post-children veil to 0x7603060a (~46% alpha); FX Power remains excluded and high-contrast/actionable.
  • Host-authoritative bypass readback remains unchanged; no DSP, room/preset/IMRS, audio ACK, layout size, or photo changes.

Actual Windows JUCE screenshot QA (not HTML)

  • From the exact-head native screenshots, sampled stage luminance decreased 63.4% when bypassed (previous 47.5%).
  • Lower-panel sample luminance decreased 37.7% (previous 12.6%).
  • Visible orange wordmark height increased 21 -> 41 screen px and amber pixel coverage ~808 -> ~6335 (measured on 935x578 native captures).
  • New regressions enforce scene muted ratio, panel muted ratio, label width/height pixel coverage, and Power icon highlight visibility.

Evidence

No merge to production main. Installed mixer/FX Rack user acceptance remains the final manual gate.

…ile slot/rack/global bypass without stale window revision
… and rack bypass, stale lease and state restore in native JUCE
…e-resolution and fail-closed stale lease behavior
… global FX PCM snapshot, not stale CSS state
…JUCE editor after each acknowledged power gesture
masarray added a commit that referenced this pull request Nov 17, 2026
…dows release hardening (#734)

Preserve approved SonKu P9.9 main, selectively integrate #722/#732/#731, maintain one PCM graph and IMRS sessions; native and public-OFF Windows profiles, MIT notices and installer FAT proven.

Copy link
Copy Markdown
Owner Author

Milestone A — ARCHIVED / CLOSED UNMERGED (no code merge or branch deletion). The accepted ImmerSIB GUI/Power/catalog source was selectively forward-ported via merged #734, with independent native editor fixes #742 and owner approval #746.

Immutable original head: 715b21b882907ba30bc072c26e46fbdf89d003da. Original source branch: feat/imersip-on-sonku-p92-single-engine-20261116; original PR target: research/sonku-p91-p92-fidelity-bass-reconciled-20261116. Full 47-PR source-head inventory: docs/governance/MILESTONE_A_PR_BRANCH_RECONCILIATION_20261117.md on chore/milestone-a-pr-history-20261117 (planned for main). Closing this review surface is not proof of importing every experimental commit and is not permission to retune released SonKu or ImmerSIB. All branch refs, checkpoints and original code are preserved. Reopening requires a new, precisely scoped owner-approved reason.

@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