From 0ec3063f73b7a4e617efa880d47f35512a1aa564 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:38:24 +0700 Subject: [PATCH 01/15] =?UTF-8?q?feat(ux):=20replace=20demo=20IN=20with=20?= =?UTF-8?q?native=20per-strip=20hardware=20selectors=20on=20CH01=E2=80=931?= =?UTF-8?q?0;=20show=20true=20output=20endpoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/mixer-io.js | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/web/mixer-io.js b/web/mixer-io.js index bf34032b4..fa4668d93 100644 --- a/web/mixer-io.js +++ b/web/mixer-io.js @@ -777,15 +777,22 @@ } function decorate(){ for(const strip of mixer.querySelectorAll('.strip[data-strip]')){ - // Every physical channel gets its own source selector. The native - // routing controller is unchanged and owns every hardware APPLY. - const head=strip.querySelector('.ch-id'); - if(isNative()&&head&&!head.querySelector('.arChannelQuickInput')){ - const picker=node('select','arChannelQuickInput'); - picker.setAttribute('aria-label','CH '+(Number(strip.dataset.strip)+1)+' physical input'); - picker.title='Verified hardware source · native ACK required'; - head.appendChild(picker); + // DAW input workflow: the user's EXISTING visible IN row is the + // physical hardware selector, not a second tiny control in CH header. + // Replace ONLY the native WebView demo select; the Pages /preview/ + // source and render semantics remain byte-for-byte unchanged. + // Every CH01–CH10 uses its OWN physical source and accepted native ACK. + const demoInput=strip.querySelector('select.route-select[data-field="input"]'); + if(isNative()&&demoInput){ + const picker=node('select','route-select arChannelQuickInput'); + picker.dataset.channel=strip.dataset.strip; + picker.setAttribute('aria-label','CH '+(Number(strip.dataset.strip)+1)+' hardware input'); + picker.title='Choose input · native route updates on selection'; + demoInput.replaceWith(picker); } + // Retire the obsolete second selector from the tiny CH header. + if(isNative()&&strip.querySelector('.route-field .arChannelQuickInput')) + strip.querySelector('.ch-id .arChannelQuickInput')?.remove(); if(strip.querySelector('.arChannelBank'))continue; const bank=node('div','arChannelBank'); bank.innerHTML='
INPUT SOURCE · NATIVEOUTPUT DESTINATIONMAIN · UNKNOWN
NATIVE PATCH REQUIRED
AUX SENDS · PRE / POST
'; @@ -863,8 +870,16 @@ function refresh(){ decorate();const s=route(); const info=el('arMixerBankInfo'); + const actualPlayback=deviceInventory?.active?.open? + String(deviceInventory.active.playbackDevice||''):String(lastStatus.outputDevice||''); + // Never call VB-Cable's virtual receiving endpoint a physical speaker. + const virtualOut=/VB-Audio Virtual Cable|CABLE Input/i.test(actualPlayback); + const outputTruth=actualPlayback? + 'OUT '+actualPlayback+(virtualOut?' · VIRTUAL / NO SPEAKERS':''): + 'NO VERIFIED PLAYBACK'; const caption=isNative()? - (s.ready?'E'+s.epoch+' / R'+(s.revision||0)+' · '+portList(s).length+' IN · '+(s.outputPorts?.length||0)+' OUT · '+(s.monitor?'OUTPUT ARMED':'OUTPUT MUTED'):'NO VERIFIED DEVICE · OUTPUT MUTED'): + (s.ready?outputTruth+' · '+(s.monitor?'MONITOR ON':'MONITOR OFF')+ + ' · '+portList(s).length+' INPUTS':'NO VERIFIED DEVICE · MONITOR OFF'): 'WEB PREVIEW · NO LIVE AUDIO'; if(info.textContent!==caption)info.textContent=caption; toolbar.querySelector('[data-mix-apply]').disabled=!isNative()||!s.ready||!!s.pending||(!overlay.hidden&&matrixDraft.size>0); From 92b31c034528292af7ea70ffe421c46be6a5044b Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:39:05 +0700 Subject: [PATCH 02/15] fix(ux): route routine Audio Setup to existing custom WebView panel; collapse old CH1 ARM tools under advanced recovery --- web/approved-native-bridge.js | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/web/approved-native-bridge.js b/web/approved-native-bridge.js index 212cd2d9f..b506732a9 100644 --- a/web/approved-native-bridge.js +++ b/web/approved-native-bridge.js @@ -240,11 +240,25 @@ if(tag==="button")el.type="button"; return el; }; - const caption=item("span","more-tools-caption","REAL AUDIO · FIRST SOUND"); - const setup=item("button","tool","Audio Setup"); + // The approved per-strip IN selector is the everyday workflow. + // Keep old CH1 patch/ARM as collapsed diagnostics only, not a wizard. + const advanced=document.createElement("details"); + advanced.className="arNativeAdvancedRecovery"; + const summary=item("summary","more-tools-caption","ADVANCED · DRIVER / FIRST SOUND DIAGNOSTICS"); + advanced.appendChild(summary); + const caption=item("span","more-tools-caption","HARDWARE RECOVERY ONLY"); + const setup=item("button","tool","Audio I/O"); setup.addEventListener("click",()=>{ + // The pre-existing WebView I/O pane already supports native device + // inventory + one audited Apply transaction. Do not open a duplicate + // huge JUCE AudioDeviceSelectorComponent for routine setup. + if(typeof window.__arMixOpenAudioIO==="function") + window.__arMixOpenAudioIO("device"); + else status("AUDIO I/O unavailable; use the mixer AUDIO I/O button."); + }); + const driver=item("button","tool","Advanced JUCE driver settings"); + driver.addEventListener("click",()=>{ backend.emitEvent("arMixAction",{action:"audioSetup"}); - status("NATIVE: select actual ASIO/WASAPI input + output in Audio Setup."); }); inputSelect=item("select","toolbar-select",""); inputSelect.setAttribute("aria-label","JUCE physical input for CH1"); @@ -286,7 +300,8 @@ }); hardwareNote=item("span","more-tools-caption","Device not initialized"); hardwareNote.style.whiteSpace="normal"; - menu.append(caption,setup,inputSelect,routeBtn,armBtn,muteBtn,hardwareNote); + advanced.append(caption,setup,driver,inputSelect,routeBtn,armBtn,muteBtn,hardwareNote); + menu.appendChild(advanced); updateHardwarePanel(hardware); } From d9fb67199c04782f08a5e3343ffaa6e797ac2dd0 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:40:19 +0700 Subject: [PATCH 03/15] style(mixer): put native source selector in existing IN row without duplicate header overlay --- web/mixer-io.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web/mixer-io.css b/web/mixer-io.css index d9565f2bd..6004aca6a 100644 --- a/web/mixer-io.css +++ b/web/mixer-io.css @@ -621,16 +621,16 @@ @media(max-width:950px){.arIOAudioPath{grid-template-columns:repeat(4,minmax(0,1fr))}.arIOAudioPath>button{grid-column:span 2}.arIOAudioPath>small{grid-column:1/-1}} @media(max-width:650px){.arIOAudioPath{grid-template-columns:repeat(2,minmax(0,1fr))}.arIOAudioPath>button{grid-column:span 1}} -/* FAT native: directly map each channel from the actual enabled driver pins. - No new panels, blur, timers, second DSP graph or heavyweight hover. */ -#app #mixer .strip[data-strip] > .ch-id{position:relative} -#app #mixer .arChannelQuickInput{ - position:absolute;left:3px;right:3px;bottom:1px;width:calc(100% - 6px); - min-width:0;max-width:calc(100% - 6px);height:19px;min-height:19px; - margin:0;padding:0 12px 0 3px;border-radius:2px; - border:1px solid #426271;background:#0c2530;color:#c8e6ee; +/* Audition-style native IN: replace the DEMO select in the existing + visible input row. No duplicate CH-header selector or another mixer UI. */ +#app #mixer .route-field .arChannelQuickInput{ + position:static;inset:auto;left:auto;right:auto;bottom:auto; + display:block;width:100%;max-width:100%;min-width:0; + height:100%;min-height:0;margin:0;padding:0 14px 0 3px; + border:1px solid #426271;border-radius:2px; + background:#0c2530;color:#c8e6ee; font:500 9px/1 "Segoe UI",Arial,sans-serif; - text-overflow:ellipsis;cursor:pointer;z-index:2 + text-overflow:ellipsis;cursor:pointer;z-index:1 } #app #mixer .arChannelQuickInput:disabled{color:#78949f;cursor:default} #app #mixer .arChannelQuickInput:focus-visible{outline:1px solid #7ad2e9;outline-offset:0} From 78cc92697cb1cafe811a953d38d69d1577961860 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:40:23 +0700 Subject: [PATCH 04/15] test(mixer): assert all strip IN dropdowns use verified native source, never header overlay --- tests/mixer_io_operator_contract_test.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/mixer_io_operator_contract_test.mjs b/tests/mixer_io_operator_contract_test.mjs index 1817c2b1f..bdfd26d30 100644 --- a/tests/mixer_io_operator_contract_test.mjs +++ b/tests/mixer_io_operator_contract_test.mjs @@ -568,7 +568,11 @@ test('R7 negative hardware ACK releases blocked source controls',()=>{ test('hardware input CH1/CH2/CH10 selectable on the mixer itself without an IO modal',()=>{ const io=read('web/mixer-io.js'),css=read('web/mixer-io.css'); - assert.match(io,/head\.appendChild\(picker\)/); + assert.match(io,/demoInput\.replaceWith\(picker\)/); + assert.match(io,/select\.route-select\[data-field="input"\]/); + assert.match(io,/strip\.dataset\.strip/); + assert.doesNotMatch(io,/head\.appendChild\(picker\)/); + assert.match(io,/window\.__arMixOpenAudioIO=openIO/); assert.match(io,/populate\(inline,choices,current\)/); assert.match(io,/\.arChannelQuickInput,\.arBankSource,\.arIOSource/); assert.match(io,/commitSourceInOneGesture\(channel,mode,left,right\)/); From 446cc46961b1e226a0185d61a2ea1945256f94e2 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:42:43 +0700 Subject: [PATCH 05/15] build(ui): regenerate offline standalone from native mixer input and Audio I/O source owners --- AR-MIX-Live-FX-Host-Standalone-v0.3.html | 51 +++++++++++++++--------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/AR-MIX-Live-FX-Host-Standalone-v0.3.html b/AR-MIX-Live-FX-Host-Standalone-v0.3.html index d280a1443..ba0704a44 100644 --- a/AR-MIX-Live-FX-Host-Standalone-v0.3.html +++ b/AR-MIX-Live-FX-Host-Standalone-v0.3.html @@ -2326,16 +2326,16 @@ @media(max-width:950px){.arIOAudioPath{grid-template-columns:repeat(4,minmax(0,1fr))}.arIOAudioPath>button{grid-column:span 2}.arIOAudioPath>small{grid-column:1/-1}} @media(max-width:650px){.arIOAudioPath{grid-template-columns:repeat(2,minmax(0,1fr))}.arIOAudioPath>button{grid-column:span 1}} -/* FAT native: directly map each channel from the actual enabled driver pins. - No new panels, blur, timers, second DSP graph or heavyweight hover. */ -#app #mixer .strip[data-strip] > .ch-id{position:relative} -#app #mixer .arChannelQuickInput{ - position:absolute;left:3px;right:3px;bottom:1px;width:calc(100% - 6px); - min-width:0;max-width:calc(100% - 6px);height:19px;min-height:19px; - margin:0;padding:0 12px 0 3px;border-radius:2px; - border:1px solid #426271;background:#0c2530;color:#c8e6ee; +/* Audition-style native IN: replace the DEMO select in the existing + visible input row. No duplicate CH-header selector or another mixer UI. */ +#app #mixer .route-field .arChannelQuickInput{ + position:static;inset:auto;left:auto;right:auto;bottom:auto; + display:block;width:100%;max-width:100%;min-width:0; + height:100%;min-height:0;margin:0;padding:0 14px 0 3px; + border:1px solid #426271;border-radius:2px; + background:#0c2530;color:#c8e6ee; font:500 9px/1 "Segoe UI",Arial,sans-serif; - text-overflow:ellipsis;cursor:pointer;z-index:2 + text-overflow:ellipsis;cursor:pointer;z-index:1 } #app #mixer .arChannelQuickInput:disabled{color:#78949f;cursor:default} #app #mixer .arChannelQuickInput:focus-visible{outline:1px solid #7ad2e9;outline-offset:0} @@ -4236,15 +4236,22 @@ } function decorate(){ for(const strip of mixer.querySelectorAll('.strip[data-strip]')){ - // Every physical channel gets its own source selector. The native - // routing controller is unchanged and owns every hardware APPLY. - const head=strip.querySelector('.ch-id'); - if(isNative()&&head&&!head.querySelector('.arChannelQuickInput')){ - const picker=node('select','arChannelQuickInput'); - picker.setAttribute('aria-label','CH '+(Number(strip.dataset.strip)+1)+' physical input'); - picker.title='Verified hardware source · native ACK required'; - head.appendChild(picker); + // DAW input workflow: the user's EXISTING visible IN row is the + // physical hardware selector, not a second tiny control in CH header. + // Replace ONLY the native WebView demo select; the Pages /preview/ + // source and render semantics remain byte-for-byte unchanged. + // Every CH01–CH10 uses its OWN physical source and accepted native ACK. + const demoInput=strip.querySelector('select.route-select[data-field="input"]'); + if(isNative()&&demoInput){ + const picker=node('select','route-select arChannelQuickInput'); + picker.dataset.channel=strip.dataset.strip; + picker.setAttribute('aria-label','CH '+(Number(strip.dataset.strip)+1)+' hardware input'); + picker.title='Choose input · native route updates on selection'; + demoInput.replaceWith(picker); } + // Retire the obsolete second selector from the tiny CH header. + if(isNative()&&strip.querySelector('.route-field .arChannelQuickInput')) + strip.querySelector('.ch-id .arChannelQuickInput')?.remove(); if(strip.querySelector('.arChannelBank'))continue; const bank=node('div','arChannelBank'); bank.innerHTML='
INPUT SOURCE · NATIVEOUTPUT DESTINATIONMAIN · UNKNOWN
NATIVE PATCH REQUIRED
AUX SENDS · PRE / POST
'; @@ -4322,8 +4329,16 @@ function refresh(){ decorate();const s=route(); const info=el('arMixerBankInfo'); + const actualPlayback=deviceInventory?.active?.open? + String(deviceInventory.active.playbackDevice||''):String(lastStatus.outputDevice||''); + // Never call VB-Cable's virtual receiving endpoint a physical speaker. + const virtualOut=/VB-Audio Virtual Cable|CABLE Input/i.test(actualPlayback); + const outputTruth=actualPlayback? + 'OUT '+actualPlayback+(virtualOut?' · VIRTUAL / NO SPEAKERS':''): + 'NO VERIFIED PLAYBACK'; const caption=isNative()? - (s.ready?'E'+s.epoch+' / R'+(s.revision||0)+' · '+portList(s).length+' IN · '+(s.outputPorts?.length||0)+' OUT · '+(s.monitor?'OUTPUT ARMED':'OUTPUT MUTED'):'NO VERIFIED DEVICE · OUTPUT MUTED'): + (s.ready?outputTruth+' · '+(s.monitor?'MONITOR ON':'MONITOR OFF')+ + ' · '+portList(s).length+' INPUTS':'NO VERIFIED DEVICE · MONITOR OFF'): 'WEB PREVIEW · NO LIVE AUDIO'; if(info.textContent!==caption)info.textContent=caption; toolbar.querySelector('[data-mix-apply]').disabled=!isNative()||!s.ready||!!s.pending||(!overlay.hidden&&matrixDraft.size>0); From c99662829b70cc658e2c80024c084b4876ccfc6f Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:43:39 +0700 Subject: [PATCH 06/15] test(workflow): require custom Audio I/O default and collapsed legacy First Sound recovery --- tests/approved_native_m2_contract.test.cjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/approved_native_m2_contract.test.cjs b/tests/approved_native_m2_contract.test.cjs index 2b584dd09..ce2b16f72 100644 --- a/tests/approved_native_m2_contract.test.cjs +++ b/tests/approved_native_m2_contract.test.cjs @@ -432,7 +432,9 @@ test("native Windows operator can explicitly patch first physical input, arm and const js=read("web/approved-native-bridge.js"); const main=read("src/Main.cpp"); const engine=read("src/LiveAudioEngine.h"); - assert.match(js,/REAL AUDIO · FIRST SOUND/); + assert.match(js,/ADVANCED · DRIVER \/ FIRST SOUND DIAGNOSTICS/); + assert.match(js,/window\.__arMixOpenAudioIO\("device"\)/); + assert.match(js,/advanced\.append\(caption,setup,driver,inputSelect,routeBtn,armBtn,muteBtn,hardwareNote\)/); assert.match(js,/action:"audioSetup"/); assert.match(js,/d\.inputEndpoints\.filter\(p=>/); assert.match(js,/d\.enabledInputs\.includes\(p\.port\)/); From 9eb7fe34e970c0e7726c03b1547261dbc9fa2e6b Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:44:32 +0700 Subject: [PATCH 07/15] fix(mixer): stop showing demo SOURCE ONLY outputs beside native patched channels; use accepted route destination --- web/mixer-io.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/web/mixer-io.js b/web/mixer-io.js index fa4668d93..c3ff372aa 100644 --- a/web/mixer-io.js +++ b/web/mixer-io.js @@ -793,6 +793,16 @@ // Retire the obsolete second selector from the tiny CH header. if(isNative()&&strip.querySelector('.route-field .arChannelQuickInput')) strip.querySelector('.ch-id .arChannelQuickInput')?.remove(); + // The approved Pages OUT dropdown is also DEMO state. Do not leave + // "SOURCE ONLY" beside a verified native MAIN patch. Make the real + // accepted destination visible until full ChannelId OUT is admitted. + const demoOutput=strip.querySelector('select.route-select[data-field="output"]'); + if(isNative()&&demoOutput){ + const display=node('span','route-select arChannelNativeOutput','OUT · UNVERIFIED'); + display.setAttribute('aria-label','Native output destination'); + display.title='Read-only native output; change MAIN device in Audio I/O'; + demoOutput.replaceWith(display); + } if(strip.querySelector('.arChannelBank'))continue; const bank=node('div','arChannelBank'); bank.innerHTML='
INPUT SOURCE · NATIVEOUTPUT DESTINATIONMAIN · UNKNOWN
NATIVE PATCH REQUIRED
AUX SENDS · PRE / POST
'; @@ -815,6 +825,18 @@ const source=strip.querySelector('.arBankSource'),output=strip.querySelector('.arBankOutput'); if(!source||!output)return; const current=valueFor(r),choices=portsFor(s,r); + const acceptedChannel=s.acceptedRoute?.channels?.[i]; + const nativeDestination=strip.querySelector('.arChannelNativeOutput'); + if(nativeDestination){ + const verified=s.ready&&s.active&&acceptedChannel&& + Number(s.acceptedRoute.deviceEpoch)===Number(s.epoch)&&!s.pending; + const destination=!verified?'UNVERIFIED': + acceptedChannel.main? + (acceptedChannel.mode==='NONE'?'MAIN · NO INPUT':'MAIN'): + 'SEND ONLY'; + if(nativeDestination.textContent!==destination) + nativeDestination.textContent=destination; + } const inline=strip.querySelector('.arChannelQuickInput'); if(inline){ populate(inline,choices,current); From b17212ddadbe58cb358ada197ae5e4d7b4167626 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:44:46 +0700 Subject: [PATCH 08/15] style(mixer): compact actual native channel OUT state without a fake demo destination --- web/mixer-io.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/mixer-io.css b/web/mixer-io.css index 6004aca6a..4898f18ed 100644 --- a/web/mixer-io.css +++ b/web/mixer-io.css @@ -632,6 +632,13 @@ font:500 9px/1 "Segoe UI",Arial,sans-serif; text-overflow:ellipsis;cursor:pointer;z-index:1 } +#app #mixer .route-field .arChannelNativeOutput{ + display:block;width:100%;min-width:0;overflow:hidden; + text-overflow:ellipsis;white-space:nowrap; + padding:2px 3px;color:#a9d6de; + font:500 9px/1.2 "Segoe UI",Arial,sans-serif; + cursor:default +} #app #mixer .arChannelQuickInput:disabled{color:#78949f;cursor:default} #app #mixer .arChannelQuickInput:focus-visible{outline:1px solid #7ad2e9;outline-offset:0} #app #mixer .arFormatBadge{top:0;height:15px;line-height:13px} From b1ec13ea5d407fbeb358039e2f056eddb64c2633 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:45:07 +0700 Subject: [PATCH 09/15] build(ui): reconcile standalone HTML with native IN and authoritative OUT source changes --- AR-MIX-Live-FX-Host-Standalone-v0.3.html | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/AR-MIX-Live-FX-Host-Standalone-v0.3.html b/AR-MIX-Live-FX-Host-Standalone-v0.3.html index ba0704a44..406f0903a 100644 --- a/AR-MIX-Live-FX-Host-Standalone-v0.3.html +++ b/AR-MIX-Live-FX-Host-Standalone-v0.3.html @@ -2337,6 +2337,13 @@ font:500 9px/1 "Segoe UI",Arial,sans-serif; text-overflow:ellipsis;cursor:pointer;z-index:1 } +#app #mixer .route-field .arChannelNativeOutput{ + display:block;width:100%;min-width:0;overflow:hidden; + text-overflow:ellipsis;white-space:nowrap; + padding:2px 3px;color:#a9d6de; + font:500 9px/1.2 "Segoe UI",Arial,sans-serif; + cursor:default +} #app #mixer .arChannelQuickInput:disabled{color:#78949f;cursor:default} #app #mixer .arChannelQuickInput:focus-visible{outline:1px solid #7ad2e9;outline-offset:0} #app #mixer .arFormatBadge{top:0;height:15px;line-height:13px} @@ -4252,6 +4259,16 @@ // Retire the obsolete second selector from the tiny CH header. if(isNative()&&strip.querySelector('.route-field .arChannelQuickInput')) strip.querySelector('.ch-id .arChannelQuickInput')?.remove(); + // The approved Pages OUT dropdown is also DEMO state. Do not leave + // "SOURCE ONLY" beside a verified native MAIN patch. Make the real + // accepted destination visible until full ChannelId OUT is admitted. + const demoOutput=strip.querySelector('select.route-select[data-field="output"]'); + if(isNative()&&demoOutput){ + const display=node('span','route-select arChannelNativeOutput','OUT · UNVERIFIED'); + display.setAttribute('aria-label','Native output destination'); + display.title='Read-only native output; change MAIN device in Audio I/O'; + demoOutput.replaceWith(display); + } if(strip.querySelector('.arChannelBank'))continue; const bank=node('div','arChannelBank'); bank.innerHTML='
INPUT SOURCE · NATIVEOUTPUT DESTINATIONMAIN · UNKNOWN
NATIVE PATCH REQUIRED
AUX SENDS · PRE / POST
'; @@ -4274,6 +4291,18 @@ const source=strip.querySelector('.arBankSource'),output=strip.querySelector('.arBankOutput'); if(!source||!output)return; const current=valueFor(r),choices=portsFor(s,r); + const acceptedChannel=s.acceptedRoute?.channels?.[i]; + const nativeDestination=strip.querySelector('.arChannelNativeOutput'); + if(nativeDestination){ + const verified=s.ready&&s.active&&acceptedChannel&& + Number(s.acceptedRoute.deviceEpoch)===Number(s.epoch)&&!s.pending; + const destination=!verified?'UNVERIFIED': + acceptedChannel.main? + (acceptedChannel.mode==='NONE'?'MAIN · NO INPUT':'MAIN'): + 'SEND ONLY'; + if(nativeDestination.textContent!==destination) + nativeDestination.textContent=destination; + } const inline=strip.querySelector('.arChannelQuickInput'); if(inline){ populate(inline,choices,current); From df8933282ed915b5565af1c036f7c64519780684 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:54:50 +0700 Subject: [PATCH 10/15] fix(shipped): discard non-bundled legacy mixer edits; implement First Sound in approved native WebView owner --- AR-MIX-Live-FX-Host-Standalone-v0.3.html | 80 +++++------------------ tests/mixer_io_operator_contract_test.mjs | 6 +- web/mixer-io.css | 25 +++---- web/mixer-io.js | 55 +++------------- 4 files changed, 37 insertions(+), 129 deletions(-) diff --git a/AR-MIX-Live-FX-Host-Standalone-v0.3.html b/AR-MIX-Live-FX-Host-Standalone-v0.3.html index 406f0903a..d280a1443 100644 --- a/AR-MIX-Live-FX-Host-Standalone-v0.3.html +++ b/AR-MIX-Live-FX-Host-Standalone-v0.3.html @@ -2326,23 +2326,16 @@ @media(max-width:950px){.arIOAudioPath{grid-template-columns:repeat(4,minmax(0,1fr))}.arIOAudioPath>button{grid-column:span 2}.arIOAudioPath>small{grid-column:1/-1}} @media(max-width:650px){.arIOAudioPath{grid-template-columns:repeat(2,minmax(0,1fr))}.arIOAudioPath>button{grid-column:span 1}} -/* Audition-style native IN: replace the DEMO select in the existing - visible input row. No duplicate CH-header selector or another mixer UI. */ -#app #mixer .route-field .arChannelQuickInput{ - position:static;inset:auto;left:auto;right:auto;bottom:auto; - display:block;width:100%;max-width:100%;min-width:0; - height:100%;min-height:0;margin:0;padding:0 14px 0 3px; - border:1px solid #426271;border-radius:2px; - background:#0c2530;color:#c8e6ee; +/* FAT native: directly map each channel from the actual enabled driver pins. + No new panels, blur, timers, second DSP graph or heavyweight hover. */ +#app #mixer .strip[data-strip] > .ch-id{position:relative} +#app #mixer .arChannelQuickInput{ + position:absolute;left:3px;right:3px;bottom:1px;width:calc(100% - 6px); + min-width:0;max-width:calc(100% - 6px);height:19px;min-height:19px; + margin:0;padding:0 12px 0 3px;border-radius:2px; + border:1px solid #426271;background:#0c2530;color:#c8e6ee; font:500 9px/1 "Segoe UI",Arial,sans-serif; - text-overflow:ellipsis;cursor:pointer;z-index:1 -} -#app #mixer .route-field .arChannelNativeOutput{ - display:block;width:100%;min-width:0;overflow:hidden; - text-overflow:ellipsis;white-space:nowrap; - padding:2px 3px;color:#a9d6de; - font:500 9px/1.2 "Segoe UI",Arial,sans-serif; - cursor:default + text-overflow:ellipsis;cursor:pointer;z-index:2 } #app #mixer .arChannelQuickInput:disabled{color:#78949f;cursor:default} #app #mixer .arChannelQuickInput:focus-visible{outline:1px solid #7ad2e9;outline-offset:0} @@ -4243,31 +4236,14 @@ } function decorate(){ for(const strip of mixer.querySelectorAll('.strip[data-strip]')){ - // DAW input workflow: the user's EXISTING visible IN row is the - // physical hardware selector, not a second tiny control in CH header. - // Replace ONLY the native WebView demo select; the Pages /preview/ - // source and render semantics remain byte-for-byte unchanged. - // Every CH01–CH10 uses its OWN physical source and accepted native ACK. - const demoInput=strip.querySelector('select.route-select[data-field="input"]'); - if(isNative()&&demoInput){ - const picker=node('select','route-select arChannelQuickInput'); - picker.dataset.channel=strip.dataset.strip; - picker.setAttribute('aria-label','CH '+(Number(strip.dataset.strip)+1)+' hardware input'); - picker.title='Choose input · native route updates on selection'; - demoInput.replaceWith(picker); - } - // Retire the obsolete second selector from the tiny CH header. - if(isNative()&&strip.querySelector('.route-field .arChannelQuickInput')) - strip.querySelector('.ch-id .arChannelQuickInput')?.remove(); - // The approved Pages OUT dropdown is also DEMO state. Do not leave - // "SOURCE ONLY" beside a verified native MAIN patch. Make the real - // accepted destination visible until full ChannelId OUT is admitted. - const demoOutput=strip.querySelector('select.route-select[data-field="output"]'); - if(isNative()&&demoOutput){ - const display=node('span','route-select arChannelNativeOutput','OUT · UNVERIFIED'); - display.setAttribute('aria-label','Native output destination'); - display.title='Read-only native output; change MAIN device in Audio I/O'; - demoOutput.replaceWith(display); + // Every physical channel gets its own source selector. The native + // routing controller is unchanged and owns every hardware APPLY. + const head=strip.querySelector('.ch-id'); + if(isNative()&&head&&!head.querySelector('.arChannelQuickInput')){ + const picker=node('select','arChannelQuickInput'); + picker.setAttribute('aria-label','CH '+(Number(strip.dataset.strip)+1)+' physical input'); + picker.title='Verified hardware source · native ACK required'; + head.appendChild(picker); } if(strip.querySelector('.arChannelBank'))continue; const bank=node('div','arChannelBank'); @@ -4291,18 +4267,6 @@ const source=strip.querySelector('.arBankSource'),output=strip.querySelector('.arBankOutput'); if(!source||!output)return; const current=valueFor(r),choices=portsFor(s,r); - const acceptedChannel=s.acceptedRoute?.channels?.[i]; - const nativeDestination=strip.querySelector('.arChannelNativeOutput'); - if(nativeDestination){ - const verified=s.ready&&s.active&&acceptedChannel&& - Number(s.acceptedRoute.deviceEpoch)===Number(s.epoch)&&!s.pending; - const destination=!verified?'UNVERIFIED': - acceptedChannel.main? - (acceptedChannel.mode==='NONE'?'MAIN · NO INPUT':'MAIN'): - 'SEND ONLY'; - if(nativeDestination.textContent!==destination) - nativeDestination.textContent=destination; - } const inline=strip.querySelector('.arChannelQuickInput'); if(inline){ populate(inline,choices,current); @@ -4358,16 +4322,8 @@ function refresh(){ decorate();const s=route(); const info=el('arMixerBankInfo'); - const actualPlayback=deviceInventory?.active?.open? - String(deviceInventory.active.playbackDevice||''):String(lastStatus.outputDevice||''); - // Never call VB-Cable's virtual receiving endpoint a physical speaker. - const virtualOut=/VB-Audio Virtual Cable|CABLE Input/i.test(actualPlayback); - const outputTruth=actualPlayback? - 'OUT '+actualPlayback+(virtualOut?' · VIRTUAL / NO SPEAKERS':''): - 'NO VERIFIED PLAYBACK'; const caption=isNative()? - (s.ready?outputTruth+' · '+(s.monitor?'MONITOR ON':'MONITOR OFF')+ - ' · '+portList(s).length+' INPUTS':'NO VERIFIED DEVICE · MONITOR OFF'): + (s.ready?'E'+s.epoch+' / R'+(s.revision||0)+' · '+portList(s).length+' IN · '+(s.outputPorts?.length||0)+' OUT · '+(s.monitor?'OUTPUT ARMED':'OUTPUT MUTED'):'NO VERIFIED DEVICE · OUTPUT MUTED'): 'WEB PREVIEW · NO LIVE AUDIO'; if(info.textContent!==caption)info.textContent=caption; toolbar.querySelector('[data-mix-apply]').disabled=!isNative()||!s.ready||!!s.pending||(!overlay.hidden&&matrixDraft.size>0); diff --git a/tests/mixer_io_operator_contract_test.mjs b/tests/mixer_io_operator_contract_test.mjs index bdfd26d30..1817c2b1f 100644 --- a/tests/mixer_io_operator_contract_test.mjs +++ b/tests/mixer_io_operator_contract_test.mjs @@ -568,11 +568,7 @@ test('R7 negative hardware ACK releases blocked source controls',()=>{ test('hardware input CH1/CH2/CH10 selectable on the mixer itself without an IO modal',()=>{ const io=read('web/mixer-io.js'),css=read('web/mixer-io.css'); - assert.match(io,/demoInput\.replaceWith\(picker\)/); - assert.match(io,/select\.route-select\[data-field="input"\]/); - assert.match(io,/strip\.dataset\.strip/); - assert.doesNotMatch(io,/head\.appendChild\(picker\)/); - assert.match(io,/window\.__arMixOpenAudioIO=openIO/); + assert.match(io,/head\.appendChild\(picker\)/); assert.match(io,/populate\(inline,choices,current\)/); assert.match(io,/\.arChannelQuickInput,\.arBankSource,\.arIOSource/); assert.match(io,/commitSourceInOneGesture\(channel,mode,left,right\)/); diff --git a/web/mixer-io.css b/web/mixer-io.css index 4898f18ed..d9565f2bd 100644 --- a/web/mixer-io.css +++ b/web/mixer-io.css @@ -621,23 +621,16 @@ @media(max-width:950px){.arIOAudioPath{grid-template-columns:repeat(4,minmax(0,1fr))}.arIOAudioPath>button{grid-column:span 2}.arIOAudioPath>small{grid-column:1/-1}} @media(max-width:650px){.arIOAudioPath{grid-template-columns:repeat(2,minmax(0,1fr))}.arIOAudioPath>button{grid-column:span 1}} -/* Audition-style native IN: replace the DEMO select in the existing - visible input row. No duplicate CH-header selector or another mixer UI. */ -#app #mixer .route-field .arChannelQuickInput{ - position:static;inset:auto;left:auto;right:auto;bottom:auto; - display:block;width:100%;max-width:100%;min-width:0; - height:100%;min-height:0;margin:0;padding:0 14px 0 3px; - border:1px solid #426271;border-radius:2px; - background:#0c2530;color:#c8e6ee; +/* FAT native: directly map each channel from the actual enabled driver pins. + No new panels, blur, timers, second DSP graph or heavyweight hover. */ +#app #mixer .strip[data-strip] > .ch-id{position:relative} +#app #mixer .arChannelQuickInput{ + position:absolute;left:3px;right:3px;bottom:1px;width:calc(100% - 6px); + min-width:0;max-width:calc(100% - 6px);height:19px;min-height:19px; + margin:0;padding:0 12px 0 3px;border-radius:2px; + border:1px solid #426271;background:#0c2530;color:#c8e6ee; font:500 9px/1 "Segoe UI",Arial,sans-serif; - text-overflow:ellipsis;cursor:pointer;z-index:1 -} -#app #mixer .route-field .arChannelNativeOutput{ - display:block;width:100%;min-width:0;overflow:hidden; - text-overflow:ellipsis;white-space:nowrap; - padding:2px 3px;color:#a9d6de; - font:500 9px/1.2 "Segoe UI",Arial,sans-serif; - cursor:default + text-overflow:ellipsis;cursor:pointer;z-index:2 } #app #mixer .arChannelQuickInput:disabled{color:#78949f;cursor:default} #app #mixer .arChannelQuickInput:focus-visible{outline:1px solid #7ad2e9;outline-offset:0} diff --git a/web/mixer-io.js b/web/mixer-io.js index c3ff372aa..bf34032b4 100644 --- a/web/mixer-io.js +++ b/web/mixer-io.js @@ -777,31 +777,14 @@ } function decorate(){ for(const strip of mixer.querySelectorAll('.strip[data-strip]')){ - // DAW input workflow: the user's EXISTING visible IN row is the - // physical hardware selector, not a second tiny control in CH header. - // Replace ONLY the native WebView demo select; the Pages /preview/ - // source and render semantics remain byte-for-byte unchanged. - // Every CH01–CH10 uses its OWN physical source and accepted native ACK. - const demoInput=strip.querySelector('select.route-select[data-field="input"]'); - if(isNative()&&demoInput){ - const picker=node('select','route-select arChannelQuickInput'); - picker.dataset.channel=strip.dataset.strip; - picker.setAttribute('aria-label','CH '+(Number(strip.dataset.strip)+1)+' hardware input'); - picker.title='Choose input · native route updates on selection'; - demoInput.replaceWith(picker); - } - // Retire the obsolete second selector from the tiny CH header. - if(isNative()&&strip.querySelector('.route-field .arChannelQuickInput')) - strip.querySelector('.ch-id .arChannelQuickInput')?.remove(); - // The approved Pages OUT dropdown is also DEMO state. Do not leave - // "SOURCE ONLY" beside a verified native MAIN patch. Make the real - // accepted destination visible until full ChannelId OUT is admitted. - const demoOutput=strip.querySelector('select.route-select[data-field="output"]'); - if(isNative()&&demoOutput){ - const display=node('span','route-select arChannelNativeOutput','OUT · UNVERIFIED'); - display.setAttribute('aria-label','Native output destination'); - display.title='Read-only native output; change MAIN device in Audio I/O'; - demoOutput.replaceWith(display); + // Every physical channel gets its own source selector. The native + // routing controller is unchanged and owns every hardware APPLY. + const head=strip.querySelector('.ch-id'); + if(isNative()&&head&&!head.querySelector('.arChannelQuickInput')){ + const picker=node('select','arChannelQuickInput'); + picker.setAttribute('aria-label','CH '+(Number(strip.dataset.strip)+1)+' physical input'); + picker.title='Verified hardware source · native ACK required'; + head.appendChild(picker); } if(strip.querySelector('.arChannelBank'))continue; const bank=node('div','arChannelBank'); @@ -825,18 +808,6 @@ const source=strip.querySelector('.arBankSource'),output=strip.querySelector('.arBankOutput'); if(!source||!output)return; const current=valueFor(r),choices=portsFor(s,r); - const acceptedChannel=s.acceptedRoute?.channels?.[i]; - const nativeDestination=strip.querySelector('.arChannelNativeOutput'); - if(nativeDestination){ - const verified=s.ready&&s.active&&acceptedChannel&& - Number(s.acceptedRoute.deviceEpoch)===Number(s.epoch)&&!s.pending; - const destination=!verified?'UNVERIFIED': - acceptedChannel.main? - (acceptedChannel.mode==='NONE'?'MAIN · NO INPUT':'MAIN'): - 'SEND ONLY'; - if(nativeDestination.textContent!==destination) - nativeDestination.textContent=destination; - } const inline=strip.querySelector('.arChannelQuickInput'); if(inline){ populate(inline,choices,current); @@ -892,16 +863,8 @@ function refresh(){ decorate();const s=route(); const info=el('arMixerBankInfo'); - const actualPlayback=deviceInventory?.active?.open? - String(deviceInventory.active.playbackDevice||''):String(lastStatus.outputDevice||''); - // Never call VB-Cable's virtual receiving endpoint a physical speaker. - const virtualOut=/VB-Audio Virtual Cable|CABLE Input/i.test(actualPlayback); - const outputTruth=actualPlayback? - 'OUT '+actualPlayback+(virtualOut?' · VIRTUAL / NO SPEAKERS':''): - 'NO VERIFIED PLAYBACK'; const caption=isNative()? - (s.ready?outputTruth+' · '+(s.monitor?'MONITOR ON':'MONITOR OFF')+ - ' · '+portList(s).length+' INPUTS':'NO VERIFIED DEVICE · MONITOR OFF'): + (s.ready?'E'+s.epoch+' / R'+(s.revision||0)+' · '+portList(s).length+' IN · '+(s.outputPorts?.length||0)+' OUT · '+(s.monitor?'OUTPUT ARMED':'OUTPUT MUTED'):'NO VERIFIED DEVICE · OUTPUT MUTED'): 'WEB PREVIEW · NO LIVE AUDIO'; if(info.textContent!==caption)info.textContent=caption; toolbar.querySelector('[data-mix-apply]').disabled=!isNative()||!s.ready||!!s.pending||(!overlay.hidden&&matrixDraft.size>0); From 712d35f34e323daee1e8237f423b7927f9b4edfb Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:55:15 +0700 Subject: [PATCH 11/15] feat(native): publish verified 10-strip M4 physical source readback to shipped approved GUI --- integration/ApprovedNativeRuntimeSnapshot.h | 25 ++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/integration/ApprovedNativeRuntimeSnapshot.h b/integration/ApprovedNativeRuntimeSnapshot.h index eaafd93b0..b3f1c5081 100644 --- a/integration/ApprovedNativeRuntimeSnapshot.h +++ b/integration/ApprovedNativeRuntimeSnapshot.h @@ -82,7 +82,30 @@ inline bool publishVerifiedFirstSoundState(juce::var& snapshot, boolIs(route,"hasAcceptedRoute",true)); firstSound->setProperty("routingRevision",physicalReady ?juce::String(static_cast(revision)):juce::String("0")); - // Do not write the route to the graph or change native capability flags. + // Native Windows WebView2 needs accepted physical inputs for EACH source + // strip, not the Pages demo "IN None". These are message-thread copies of + // REAL M4 accepted readback, never invented ChannelIds, FX or PCM. + juce::Array channels; + const auto selection=route.getProperty( + boolIs(route,"hasAcceptedRoute",true)?"acceptedRoute":"preparedM4Route",{}); + const auto sourceRows=selection.getProperty("channels",{}); + if(physicalReady && sourceRows.isArray() && + sourceRows.getArray()->size()==10) { + for(const auto& source:*sourceRows.getArray()) { + if(!source.isObject()) { channels.clear(); break; } + const auto mode=source.getProperty("mode",{}).toString(); + if(mode!="NONE" && mode!="MONO" && mode!="STEREO" && + mode!="BUS") {channels.clear();break;} + auto item=std::make_unique(); + item->setProperty("mode",mode); + item->setProperty("left",source.getProperty("left",-1)); + item->setProperty("right",source.getProperty("right",-1)); + item->setProperty("main",source.getProperty("main",true)); + channels.add(juce::var(item.release())); + } + } + firstSound->setProperty("channels",juce::var(channels)); + // Do not write the route to the ChannelId graph or change capabilities. snapshot.getDynamicObject()->setProperty("legacyM4",juce::var(firstSound.release())); return physicalReady; } From 07624bb3f4cd0e03b4327cf018754c20e36d6f64 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Thu, 5 Nov 2026 15:57:12 +0700 Subject: [PATCH 12/15] feat(first-sound): wire every approved native IN strip to real M4 routing ACK and safe one-choice monitoring --- web/approved-native-bridge.js | 219 ++++++++++++++++++++++++++++++++++ 1 file changed, 219 insertions(+) diff --git a/web/approved-native-bridge.js b/web/approved-native-bridge.js index b506732a9..33bd40970 100644 --- a/web/approved-native-bridge.js +++ b/web/approved-native-bridge.js @@ -177,8 +177,190 @@ hardware.device.sampleRate>0 && hardware.device.enabledInputs.length>0 && hardware.device.enabledOutputs.length>=2 && legacy()?.active===true); + // Shipped DAW-style physical-source controls. These live in the ONE + // approved /preview/ WebView2, not web/mixer-io.js (not part of this EXE). + // The ORIGINAL visible strip IN row replaces demo input choices. Each of + // the ten installed M4 inputs has its own native routing command and ACK. + let selectedSourcePending=null, selectedSourceSerial=5000; + const availablePhysicalInputs=next=>{ + const d=next?.device; + if(!next?.raw?.legacyM4?.active || !Array.isArray(d?.inputEndpoints) || + !Array.isArray(d?.enabledInputs))return []; + return d.inputEndpoints.filter(p=> + p?.active===true && Number.isInteger(p.port) && + d.enabledInputs.includes(p.port)).sort((a,b)=>a.port-b.port); + }; + const routeValue=r=>r?.mode==="MONO"?"MONO:"+r.left: + r?.mode==="STEREO"?"STEREO:"+r.left+":"+r.right: + r?.mode==="NONE"?"NONE":"CUSTOM"; + const sourceChoices=pins=>{ + const items=[["NONE","None · silent"]]; + for(const p of pins) + items.push(["MONO:"+p.port,"Mono · "+String(p.label||"IN "+(p.port+1))]); + for(let i=0;i+10; + const tracks=scope.tracks.filter(t=>t.kind==="audio").slice(0,10); + for(let channel=0;channel{ + const option=document.createElement("option"); + option.value=value;option.textContent=label;return option; + })); + select.dataset.options=signature; + } + const live=rows[channel],value=routeValue(live); + if(value==="CUSTOM" && !Array.from(select.options).some(o=>o.value===value)){ + const extra=document.createElement("option"); + extra.value="CUSTOM";extra.textContent="Internal bus · advanced"; + select.appendChild(extra); + } + const selected=Array.from(select.options).some(o=>o.value===value)?value:"NONE"; + if(select.value!==selected)select.value=selected; + const disabled=!ready || !!selectedSourcePending; + if(select.disabled!==disabled)select.disabled=disabled; + select.title=ready?"CH "+(channel+1)+" · "+(select.selectedOptions[0]?.textContent||"Input")+ + " · accepted hardware route":"Choose real ASIO/WASAPI input/output in Audio Setup"; + } + // Don't display Pages-only SOURCE ONLY and phantom hardware outputs. + const demoOut=strip.querySelector('select.route-select[data-field="output"]'); + let actualOut=strip.querySelector('[data-armix-native-output]'); + if(demoOut){ + actualOut=document.createElement("span"); + actualOut.className="route-select"; + actualOut.dataset.armixNativeOutput=String(channel); + demoOut.replaceWith(actualOut); + } + if(actualOut){ + const accepted=legacyRoute?.routeAccepted===true && ready; + const text=!accepted?"MAIN · unverified": + rows[channel]?.main===false?"SEND ONLY": + rows[channel]?.mode==="NONE"?"MAIN · no input":"MAIN"; + if(actualOut.textContent!==text)actualOut.textContent=text; + actualOut.title="Native output "+String(d?.playbackDevice||"not set"); + } + } + } + function requestNativeSource() { + const p=selectedSourcePending; + if(!p)return; + p.phase="patch"; + backend.emitEvent("arMixAction",{ + action:"routingSourceSwitch",requestId:p.id,channel:p.channel, + mode:p.mode,left:p.left,right:p.right, + deviceEpoch:p.epoch,revision:p.revision + }); + status("CH "+(p.channel+1)+" · input routing requested"); + } + function completeNativeSourceFromReadback(next) { + const p=selectedSourcePending; + if(!p||p.phase!=="readback")return; + if(next?.device?.epoch!==String(p.epoch)){ + selectedSourcePending=null; + status("Device changed · select input again");return; + } + const l=next?.raw?.legacyM4,actual=l?.channels?.[p.channel]; + if(l?.routeAccepted!==true||routeValue(actual)!==p.value)return; + if(next.device.outputArmed){ + selectedSourcePending=null; + status("CH "+(p.channel+1)+" · hardware input LIVE");return; + } + // One operator input choice also requests monitoring after an actual + // native patch ACK. Native liveOutputArmFault remains final authority. + // Driver opens/hotplug NEVER initiate this independently. + const anyRouted=l.channels.some(r=>r.main!==false && + (r.mode==="MONO"||r.mode==="STEREO")); + if(!anyRouted){ + selectedSourcePending=null; + status("Inputs unpatched · output remains muted");return; + } + const revision=safeNativeCounter(l.routingRevision); + if(revision===null){selectedSourcePending=null;return;} + p.phase="arming"; + backend.emitEvent("arMixAction",{action:"monitor",value:true, + expectedEpoch:p.epoch,expectedRevision:revision}); + } + function installNativeStripInputEvents() { + const bank=document.getElementById("tracks"); + if(bank && typeof MutationObserver==="function"){ + const observer=new MutationObserver(()=>renderVerifiedStripInputs(hardware)); + // Only the bank's direct children change on re-render/bank switch. + // Updating