From 936f6498e7148fdcf798abe4e5e607c99b59704f Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 11:28:58 +0700 Subject: [PATCH 001/305] design(reference): add isolated Audition-style mixer main-window interactive study --- .../audition-mixer-study/index.html | 350 ++++++++++++++++++ 1 file changed, 350 insertions(+) create mode 100644 design-references/audition-mixer-study/index.html diff --git a/design-references/audition-mixer-study/index.html b/design-references/audition-mixer-study/index.html new file mode 100644 index 000000000..48cf8eaee --- /dev/null +++ b/design-references/audition-mixer-study/index.html @@ -0,0 +1,350 @@ + + + + + + +ArSonMix — Multitrack Mixer Reference + + + +
+
Session: Mixer Reference · UntitledAUDITION MIXER UI STUDY · ISOLATED
+ +
Editor: UntitledMixerReference layout only · no editor/timeline
+ +
+
Mixer▤10 audio tracks · 1 bus · master
+
+ +
+
+
+
+
StoppedInteractive visual reference. Changes are local to this mockup.SIMULATED METERS · NO REAL AUDIO
+
+ + + \ No newline at end of file From a192dc322a0db29af094b0e09389c0cbc97408ef Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 11:29:59 +0700 Subject: [PATCH 002/305] fix(reference): wire FX bypass/pre-post interactions and pin master strip --- design-references/audition-mixer-study/index.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/design-references/audition-mixer-study/index.html b/design-references/audition-mixer-study/index.html index 48cf8eaee..5f6ea080a 100644 --- a/design-references/audition-mixer-study/index.html +++ b/design-references/audition-mixer-study/index.html @@ -60,6 +60,7 @@ .strip{width:102px;flex:0 0 102px;min-width:102px;min-height:0;height:100%;display:flex;flex-direction:column;background:#232425;border-right:2px solid #111213;box-shadow:inset 1px 0 #37383a} .strip:nth-child(even){background:#252627} .strip.selected{background:#2d3032;box-shadow:inset 1px 0 #4e7e8c} +#master{flex:0 0 111px;width:111px;min-width:111px;overflow:hidden} .strip.master{width:111px;flex:0 0 111px;background:#26282a;border-left:2px solid #111213;border-right:0;box-shadow:inset 1px 0 #44484b} .strip.bus{background:#2a292b} .section{border-bottom:1px solid #111;box-shadow:0 1px #343637;flex:none;overflow:hidden;padding:2px 3px} @@ -196,7 +197,7 @@ let nextId=1,tracks=[],master,preview=false,meterFrame=0,lastTick=0; const make=(name,kind,color)=>{ const id=nextId++; - return {id,name,kind,color,input:kind==='master'?'None':kind==='bus'?'None':'Default Stereo',output:kind==='master'?'Default Output':'Master',fx:['None','None','None','None'],fxOn:true,send:'None',sendOn:false,pre:false,sendLevel:-6,eq:true,pan:0,automation:'Read',mute:false,solo:false,arm:false,mon:false,phase:false,level:0,meterL:0,meterR:0,clip:false,selected:false}; + return {id,name,kind,color,input:kind==='master'?'None':kind==='bus'?'None':'Default Stereo',output:kind==='master'?'Default Output':'Master',fx:['None','None','None','None'],slotBypass:[false,false,false,false],fxOn:true,fxPost:false,send:'None',sendOn:false,pre:false,sendLevel:-6,eq:true,pan:0,automation:'Read',mute:false,solo:false,arm:false,mon:false,phase:false,level:0,meterL:0,meterR:0,clip:false,selected:false}; }; function init(){nextId=1;tracks=INIT.map((name,i)=>make(name,'audio',COLORS[i]));tracks.push(make('Bus A','bus','#826b9a'));master=make('Master','master','#5a8ca8');tracks[0].fx[0]='Parametric Equalizer';tracks[1].fx[0]='Dynamics Processing';tracks[3].fx[0]='Studio Reverb';tracks[0].send='Bus A';tracks[0].sendOn=true;tracks[1].send='Bus A';tracks[1].sendOn=true;tracks[0].selected=true;render();} const escapeHtml=s=>String(s).replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c])); @@ -207,9 +208,9 @@ return ['None',...tracks.filter(x=>x.kind==='bus'&&x.id!==t.id).map(x=>x.name)]; }; function sectionFx(t){ - let s='
fxEffects
'; + let s='
fxEffects
'; t.fx.forEach((v,i)=>{ - s+='
⠿
'; + s+='
⠿
'; }); return s+'
'; } @@ -256,7 +257,7 @@ function handleField(event){ const el=event.target,field=el.dataset.field;if(!field)return; const t=findTrack(el);if(!t)return; - if(field==='fx'){t.fx[Number(el.dataset.slot)]=el.value;say(t.name+' · FX '+(Number(el.dataset.slot)+1)+': '+el.value);refreshStrip(t);} + if(field==='fx'){t.fx[Number(el.dataset.slot)]=el.value;t.slotBypass[Number(el.dataset.slot)]=false;say(t.name+' · FX '+(Number(el.dataset.slot)+1)+': '+el.value);refreshStrip(t);} else if(field==='level'){t.level=Number(el.value);const root=el.closest('.strip');root.querySelector('.db-value').textContent=formatDb(t.level);if(event.type==='change')say(t.name+' fader '+formatDb(t.level)+' dB');} else if(field==='pan'){t.pan=Number(el.value);el.nextElementSibling.textContent=t.pan===0?'C':t.pan<0?'L'+Math.abs(t.pan):'R'+t.pan;if(event.type==='change')say(t.name+' pan '+el.nextElementSibling.textContent);} else if(field==='sendLevel'){t.sendLevel=Number(el.value);el.nextElementSibling.textContent=formatDb(t.sendLevel);} @@ -273,7 +274,9 @@ const btn=e.target.closest('[data-action]');if(!btn)return; const t=findTrack(btn);if(!t)return; const a=btn.dataset.action; - if(a==='rename'||a==='slotPower'||a==='fxPost')return; + if(a==='rename')return; + if(a==='slotPower'){const slot=Number(btn.dataset.slot);if(t.fx[slot]==='None'){say(t.name+': choose an effect before toggling bypass');return;}t.slotBypass[slot]=!t.slotBypass[slot];refreshStrip(t);say(t.name+': FX '+(slot+1)+(t.slotBypass[slot]?' bypassed':' enabled'));return;} + if(a==='fxPost'){t.fxPost=!t.fxPost;refreshStrip(t);say(t.name+': effects now '+(t.fxPost?'post':'pre')+' fader');return;} if(a==='eq')t.eq=!t.eq; else if(a==='fxOn')t.fxOn=!t.fxOn; else if(a==='pre')t.pre=!t.pre; @@ -302,7 +305,7 @@ const parts=(e.dataTransfer.getData('text/plain')||'').split(':');const t=findTrack(row);if(!t||Number(parts[0])!==t.id)return; const from=Number(parts[1]),to=Number(row.dataset.slot); if(from<0||from>=t.fx.length||to<0||to>=t.fx.length)return; - const moved=t.fx.splice(from,1)[0];t.fx.splice(to,0,moved);refreshStrip(t);say(t.name+' · FX moved from '+(from+1)+' to '+(to+1)); + const moved=t.fx.splice(from,1)[0];t.fx.splice(to,0,moved);const bypass=t.slotBypass.splice(from,1)[0];t.slotBypass.splice(to,0,bypass);refreshStrip(t);say(t.name+' · FX moved from '+(from+1)+' to '+(to+1)); }); document.querySelector('.console-body').addEventListener('mousedown',e=>{const t=findTrack(e.target);if(t)selectTrack(t);}); document.getElementById('addTrack').addEventListener('click',()=>{ From 91dd04f539a9142f48a89e43732147fe780257e7 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 11:30:44 +0700 Subject: [PATCH 003/305] feat(reference): implement Audition-style collapsible I/O FX Sends EQ sections --- .../audition-mixer-study/index.html | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/design-references/audition-mixer-study/index.html b/design-references/audition-mixer-study/index.html index 5f6ea080a..ce949fcc5 100644 --- a/design-references/audition-mixer-study/index.html +++ b/design-references/audition-mixer-study/index.html @@ -44,8 +44,19 @@ .mixer-title .right{margin-left:auto;color:#808488;font-size:10px} .console-body{flex:1;min-height:0;display:flex;overflow:hidden;--route-h:59px;--fx-h:119px;--send-h:66px;--eq-h:49px;--pan-h:35px;--auto-h:23px;--switch-h:31px;--footer-h:53px} .section-rail{flex:0 0 33px;width:33px;display:flex;flex-direction:column;border-right:1px solid #060707;background:#262729;box-shadow:inset -1px 0 #343537;text-align:center} -.rail-cell{display:flex;align-items:center;justify-content:center;border-bottom:1px solid #111;color:#a0a3a5;flex:none;font-size:15px} +.rail-cell{border:0;background:transparent;cursor:default;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #111;color:#a0a3a5;flex:none;font-size:15px} .rail-cell small{font-size:9px;color:#8d9294} +.rail-cell[data-section]{cursor:pointer} +.rail-cell[data-section]:hover{color:#d7e9ee;background:#34383a} +.rail-cell[data-section].collapsed{color:#75b8c9} +.console-body.collapsed-route{--route-h:19px} +.console-body.collapsed-fx{--fx-h:20px} +.console-body.collapsed-send{--send-h:20px} +.console-body.collapsed-eq{--eq-h:20px} +.console-body.collapsed-route .route-section .route-select{display:none} +.console-body.collapsed-fx .fxslot-row{display:none} +.console-body.collapsed-send .send-section .send-select,.console-body.collapsed-send .send-section .sendlevel{display:none} +.console-body.collapsed-eq .eq-section .eq-line{display:none} .rail-cell.route{height:var(--route-h)} .rail-cell.fx{height:var(--fx-h);font-family:Georgia,serif;font-style:italic} .rail-cell.send{height:var(--send-h)} @@ -171,10 +182,10 @@
Mixer▤10 audio tracks · 1 bus · master
@@ -384,7 +394,7 @@ return ['None',...tracks.filter(x=>(x.kind==='bus'||x.kind==='fx')&&x.id!==t.id).map(x=>x.name)]; }; function sectionFx(t){ - let s='
fxINSERTS
'; + let s='
fxFX '+t.fx.filter(v=>v!=='None').length+'/8
'; t.fx.forEach((v,i)=>{ s+='
⠿
'; }); @@ -393,7 +403,7 @@ const eqSvg=''; function sectionSend(t){ if(t.kind==='master'||t.kind==='fx')return '
↪No Sends
'; - return '
↪
'+formatDb(t.sendLevel)+'
'+(t.sendPan===0?'C':t.sendPan<0?'L'+Math.abs(t.sendPan):'R'+t.sendPan)+'
'; + return '
↪'+escapeHtml(t.send==='None'?'No send':t.send)+'
'+formatDb(t.sendLevel)+'
'+(t.sendPan===0?'C':t.sendPan<0?'L'+Math.abs(t.sendPan):'R'+t.sendPan)+'
'; } function formatDb(n){return n<=-60?'-∞':(n>0?'+':'')+Number(n).toFixed(1);} function panLabel(n){return Number(n)===0?'C':n<0?'L'+Math.abs(n):'R'+n;} @@ -475,8 +485,11 @@ function findTrack(el){const strip=el.closest('.strip');if(!strip)return null;const id=Number(strip.dataset.id);return id===master.id?master:tracks.find(t=>t.id===id);} function refreshStrip(t){ const old=document.querySelector('.strip[data-id="'+t.id+'"]');if(!old)return; + const oldRack=old.querySelector('.fxslot-list'),scroll=oldRack?oldRack.scrollTop:0; const temp=document.createElement('div');temp.innerHTML=strip(t); - old.replaceWith(temp.firstElementChild); + const updated=temp.firstElementChild; + old.replaceWith(updated); + const newRack=updated.querySelector('.fxslot-list');if(newRack)newRack.scrollTop=scroll; } function selectTrack(t,add=false){ if(!add){tracks.forEach(x=>x.selected=false);master.selected=false;t.selected=true;} @@ -670,7 +683,19 @@ } }); document.querySelector('.console-body').addEventListener('mousedown',e=>{const t=findTrack(e.target);if(t)selectTrack(t,e.ctrlKey||e.metaKey||e.shiftKey);}); -document.querySelector('.section-rail').addEventListener('click',e=>{const button=e.target.closest('[data-section]');if(!button)return;const name=button.dataset.section;const collapsed=document.querySelector('.console-body').classList.toggle('collapsed-'+name);button.classList.toggle('collapsed',collapsed);button.setAttribute('aria-pressed',String(!collapsed));say((collapsed?'Collapsed ':'Expanded ')+name.toUpperCase()+' mixer section');}); +document.querySelector('.section-rail').addEventListener('click',e=>{ + const button=e.target.closest('[data-section]');if(!button)return; + const name=button.dataset.section,body=document.querySelector('.console-body'); + if(body.classList.contains('narrow')&&['fx','send','eq'].includes(name)){ + say('Exit Narrow view before expanding '+name.toUpperCase());return; + } + const collapsed=body.classList.toggle('collapsed-'+name); + button.classList.toggle('collapsed',collapsed); + button.setAttribute('aria-expanded',String(!collapsed)); + button.setAttribute('aria-pressed',String(!collapsed)); + button.title=(collapsed?'Expand ':'Collapse ')+name.toUpperCase()+' section'; + say(name.toUpperCase()+(collapsed?' section collapsed':' section expanded')+' · channel grid stays aligned'); +}); document.getElementById('viewFilter').addEventListener('change',()=>{render();say('Channel display filtered: '+document.getElementById('viewFilter').value);}); document.getElementById('mode').addEventListener('click',()=>{ const narrow=document.querySelector('.console-body').classList.toggle('narrow'); From c8e3bd8d3843af8d8672df560ef871fa79b664ac Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 13:13:01 +0700 Subject: [PATCH 032/305] test(mixer GUI): add independent Chromium visual geometry checks across viewport and collapse combinations --- .../visual_layout_audit.py | 150 ++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 design-references/audition-mixer-study/visual_layout_audit.py diff --git a/design-references/audition-mixer-study/visual_layout_audit.py b/design-references/audition-mixer-study/visual_layout_audit.py new file mode 100644 index 000000000..dbacca9d0 --- /dev/null +++ b/design-references/audition-mixer-study/visual_layout_audit.py @@ -0,0 +1,150 @@ +#!/usr/bin/env python3 +"""Opt-in *real-browser* geometry audit of the isolated live mixer reference. + +Run: python visual_layout_audit.py --screenshots +Requires: pip install playwright ; python -m playwright install chromium + +The checks compare equal section row geometry across rail, tracks, and master. +They do NOT assert Adobe pixel parity or audio/DSP correctness. +""" +from __future__ import annotations + +import argparse +from pathlib import Path +from playwright.sync_api import sync_playwright + +SIZES = ((1366, 768), (1680, 900), (1920, 900)) +SECTIONS = ( + ("route", ".route-section"), + ("fx", ".fx-section"), + ("send", ".send-section"), + ("eq", ".eq-section"), + ("pan", ".pan-section"), + ("trim", ".trim-section"), + ("switch", ".switch-section"), + ("fader", ".fader-section"), + ("footer", ".bottom-section"), +) +COMBINATIONS = ( + (), + ("fx",), + ("send",), + ("eq",), + ("fx", "send"), + ("send", "eq"), + ("route", "fx", "send", "eq"), +) + + +def assert_geometry(page, label: str): + result = page.evaluate("""() => { + const pick = (selector) => document.querySelector(selector); + const bounds = el => { + const {top, bottom, width, height} = el.getBoundingClientRect(); + return {top, bottom, width, height}; + }; + const sections = [ + ['route', '.route-section'], ['fx', '.fx-section'], + ['send', '.send-section'], ['eq', '.eq-section'], + ['pan', '.pan-section'], ['trim', '.trim-section'], + ['switch', '.switch-section'], ['fader', '.fader-section'], + ['footer', '.bottom-section'] + ]; + const issues = []; + const rail = pick('.section-rail'); + const strips = [...document.querySelectorAll('.tracks .strip')].slice(0, 6); + const master = pick('#master .strip'); + if (!rail || !strips.length || !master) issues.push('missing rail, track or master'); + else for (const [name, selector] of sections) { + const railCell = pick('.section-rail .rail-cell.' + name); + if (!railCell) { issues.push('no rail: ' + name); continue; } + const baseline = bounds(railCell); + for (const strip of [...strips, master]) { + const content = strip.querySelector(selector); + if (!content) { issues.push('no section: ' + name); continue; } + const actual = bounds(content); + if (Math.abs(actual.top - baseline.top) > 1.25 || + Math.abs(actual.bottom - baseline.bottom) > 1.25) { + issues.push(name + ' misaligned: ' + strip.dataset.id + + ' rail=' + baseline.top.toFixed(1) + '..' + baseline.bottom.toFixed(1) + + ' strip=' + actual.top.toFixed(1) + '..' + actual.bottom.toFixed(1)); + } + } + } + for (const strip of [...strips, master].filter(Boolean)) { + const fx = strip.querySelector('.fx-section'); + const header = fx?.querySelector('.subhead'); + const rack = fx?.querySelector('.fxslot-list'); + if (header && rack && getComputedStyle(rack).display !== 'none') { + if (bounds(header).bottom > bounds(rack).top + 1) + issues.push('FX header overlaps rack: ' + strip.dataset.id); + if (header.scrollHeight > header.clientHeight + 1) + issues.push('FX header text wraps/clips vertically: ' + strip.dataset.id); + } + const send = strip.querySelector('.send-section .send-header'); + if (send && send.scrollWidth > send.clientWidth + 2) + issues.push('Send header overflows: ' + strip.dataset.id); + } + const panel = pick('#pluginBrowser'); + const masterRect = bounds(master); + if (panel && !panel.hidden && bounds(panel).bottom > innerHeight + 1) + issues.push('Plugin overlay exceeds viewport'); + if (panel && !panel.hidden && bounds(panel).right > masterRect.top * 0 + masterRect.width + masterRect.left + 1) + issues.push('Plugin overlay covers pinned Master'); + return issues; + }""") + if result: + raise AssertionError(label + ":\n " + "\n ".join(result)) + + +def run_test(screenshots: bool): + html = Path(__file__).with_name("index.html").resolve() + assert html.is_file(), f"Missing reference HTML: {html}" + screenshot_dir = html.parent / "_visual_audit" + if screenshots: + screenshot_dir.mkdir(exist_ok=True) + checks = 0 + with sync_playwright() as p: + browser = p.chromium.launch(headless=True) + try: + for width, height in SIZES: + page = browser.new_page(viewport={"width": width, "height": height}, device_scale_factor=1) + errors = [] + page.on("pageerror", lambda error: errors.append(str(error))) + page.goto(html.as_uri()) + for collapsed in COMBINATIONS: + page.reload() + for section in collapsed: + page.locator(f'.section-rail [data-section="{section}"]').click() + label = f"{width}x{height} collapsed={','.join(collapsed) or 'none'}" + assert_geometry(page, label) + checks += 1 + if screenshots and (not collapsed or collapsed == COMBINATIONS[-1]): + name = f"mixer_{width}x{height}_{'all_collapsed' if collapsed else 'expanded'}.png" + page.screenshot(path=str(screenshot_dir / name), full_page=True) + page.reload() + page.locator('#pluginsButton').click() + assert_geometry(page, f"{width}x{height} plugin-manager") + checks += 1 + if screenshots: + page.screenshot(path=str(screenshot_dir / f"mixer_{width}x{height}_plugins.png"), full_page=True) + page.locator('#pluginClose').click() + page.locator('#moreTools summary').click() + page.locator('#mode').click() + assert_geometry(page, f"{width}x{height} narrow-mode") + checks += 1 + if errors: + raise AssertionError("JavaScript runtime errors: " + "; ".join(errors)) + page.close() + finally: + browser.close() + print(f"PASS {checks} real Chromium geometry configurations") + if screenshots: + print(f"Saved screenshots: {screenshot_dir}") + + +if __name__ == "__main__": + parser = argparse.ArgumentParser() + parser.add_argument("--screenshots", action="store_true", help="Save browser screenshots next to this file") + opts = parser.parse_args() + run_test(opts.screenshots) From 47cd1bbce81dbfaa757e59be3a0802aee6a2ac83 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 13:14:57 +0700 Subject: [PATCH 033/305] test(browser geometry): measure plugin overlay against pinned Master using actual left/right bounds --- .../audition-mixer-study/visual_layout_audit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/design-references/audition-mixer-study/visual_layout_audit.py b/design-references/audition-mixer-study/visual_layout_audit.py index dbacca9d0..cb5c85517 100644 --- a/design-references/audition-mixer-study/visual_layout_audit.py +++ b/design-references/audition-mixer-study/visual_layout_audit.py @@ -40,8 +40,8 @@ def assert_geometry(page, label: str): result = page.evaluate("""() => { const pick = (selector) => document.querySelector(selector); const bounds = el => { - const {top, bottom, width, height} = el.getBoundingClientRect(); - return {top, bottom, width, height}; + const {left, right, top, bottom, width, height} = el.getBoundingClientRect(); + return {left, right, top, bottom, width, height}; }; const sections = [ ['route', '.route-section'], ['fx', '.fx-section'], @@ -89,7 +89,7 @@ def assert_geometry(page, label: str): const masterRect = bounds(master); if (panel && !panel.hidden && bounds(panel).bottom > innerHeight + 1) issues.push('Plugin overlay exceeds viewport'); - if (panel && !panel.hidden && bounds(panel).right > masterRect.top * 0 + masterRect.width + masterRect.left + 1) + if (panel && !panel.hidden && bounds(panel).right > masterRect.left + 1) issues.push('Plugin overlay covers pinned Master'); return issues; }""") From 71fd8b903673207668ca25e1423434d181f78c90 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 13:15:15 +0700 Subject: [PATCH 034/305] test(mixer geometry): guard FX header, collapsed content, flex row heights and four rail toggles --- .../audition-mixer-study/smoke.test.cjs | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/design-references/audition-mixer-study/smoke.test.cjs b/design-references/audition-mixer-study/smoke.test.cjs index afe0ffa98..e10ace769 100644 --- a/design-references/audition-mixer-study/smoke.test.cjs +++ b/design-references/audition-mixer-study/smoke.test.cjs @@ -139,5 +139,35 @@ filter('fx');node('bankNext').dispatch('click'); check(node('bankSelect').value==='0','Filtered bank arrows follow visible channel group, not global track count'); filter('all'); + +// Layout regression: collapsed rows must hide their content without hiding header labels. +check(!html.includes('8 Inserts · drag to reorder'),'FX strip no longer displays a long wrapping header'); +check(html.includes('white-space:nowrap;overflow:hidden;text-overflow:ellipsis'), + 'FX labels use single-line truncation'); +check(html.includes('.console-body.collapsed-fx .fxslot-list{display:none}'), + 'Collapsing FX hides the scroll container, not only its children'); +check(html.includes('grid-template-columns:10px minmax(0,1fr) 28px'), + 'Send controls have constrained slider/dB columns'); +check(html.includes('.console-body.collapsed-fx{--fx-h:23px}') && + html.includes('.console-body.collapsed-send{--send-h:23px}') && + html.includes('.console-body.collapsed-eq{--eq-h:23px}'), + 'All collapsed rows share the same compact height variable'); +check(html.includes('flex:0 0 var(--fx-h)') && + html.includes('flex:0 0 var(--send-h)') && + html.includes('flex:0 0 var(--eq-h)'), + 'Section heights cannot shrink independently of section rail'); +const rail=node('rail'),body=node('body'); +for(const name of ['fx','send','eq','route']){ + const flags=new Set(),attrs={}; + const button={dataset:{section:name},classList:{toggle(k,on){on?flags.add(k):flags.delete(k);return on;}},setAttribute(k,v){attrs[k]=v;}}; + const target={closest:k=>k==='[data-section]'?button:null}; + rail.handlers.click({target}); + check(body.classList.contains('collapsed-'+name) && attrs['aria-expanded']==='false', + name+' rail toggle collapses section and updates aria-expanded'); + rail.handlers.click({target}); + check(!body.classList.contains('collapsed-'+name) && attrs['aria-expanded']==='true', + name+' rail toggle expands section again'); +} + console.log('PASS '+cases.length+' reference mixer DOM checks'); cases.forEach(x=>console.log(' ✓ '+x)); From 9f1dd1d933dab9ce41cbed8cb3bc22243da6e351 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 13:15:41 +0700 Subject: [PATCH 035/305] test: assert shared FX collapsed/Narrow selector that hides full rack list --- design-references/audition-mixer-study/smoke.test.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design-references/audition-mixer-study/smoke.test.cjs b/design-references/audition-mixer-study/smoke.test.cjs index e10ace769..cf29c99b7 100644 --- a/design-references/audition-mixer-study/smoke.test.cjs +++ b/design-references/audition-mixer-study/smoke.test.cjs @@ -144,7 +144,7 @@ filter('all'); check(!html.includes('8 Inserts · drag to reorder'),'FX strip no longer displays a long wrapping header'); check(html.includes('white-space:nowrap;overflow:hidden;text-overflow:ellipsis'), 'FX labels use single-line truncation'); -check(html.includes('.console-body.collapsed-fx .fxslot-list{display:none}'), +check(html.includes('.console-body.collapsed-fx .fxslot-list,.console-body.narrow .fxslot-list{display:none}'), 'Collapsing FX hides the scroll container, not only its children'); check(html.includes('grid-template-columns:10px minmax(0,1fr) 28px'), 'Send controls have constrained slider/dB columns'); From 4d6e8b106b197fb5372e1e69f9904d5e9c7c8bd3 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 13:16:45 +0700 Subject: [PATCH 036/305] fix(small viewport): preserve both input and output rows at 540px, initialize collapse accessibility state --- design-references/audition-mixer-study/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/design-references/audition-mixer-study/index.html b/design-references/audition-mixer-study/index.html index 65500b297..041e6dba5 100644 --- a/design-references/audition-mixer-study/index.html +++ b/design-references/audition-mixer-study/index.html @@ -193,7 +193,7 @@ @media(max-height:750px){.console-body{--route-h:54px;--fx-h:105px;--send-h:82px;--eq-h:43px;--pan-h:32px;--trim-h:22px;--switch-h:29px;--footer-h:45px}.fxslot-row{height:17px}.fx-section .subhead{height:18px}.footer-label{height:26px}.db-value{height:14px}.eq-line{height:20px}} @media(max-width:1000px){.short-help{display:none}.strip{width:98px;flex-basis:98px}} @media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}} -@media(max-height:610px){.console-body{--route-h:45px;--fx-h:80px;--send-h:60px;--eq-h:27px;--pan-h:28px;--trim-h:18px;--switch-h:25px;--footer-h:42px}.send-pan{display:none}.fxslot-row{height:15px}.fx-section .subhead,.send-header{height:16px}.eq-line{display:none}.eq-header{height:25px}} +@media(max-height:610px){.console-body{--route-h:54px;--fx-h:80px;--send-h:60px;--eq-h:27px;--pan-h:28px;--trim-h:18px;--switch-h:25px;--footer-h:42px}.send-pan{display:none}.fxslot-row{height:15px}.fx-section .subhead,.send-header{height:16px}.eq-line{display:none}.eq-header{height:25px}} /* Single-window plugin browser: light solid overlay, no blur/animated shadows. */ .plugin-browser[hidden]{display:none!important} @@ -325,10 +325,10 @@
Mixer▤10 audio tracks · 1 bus · master
'; } function strip(t){ let code='
'; @@ -773,7 +776,7 @@ code+='
OUT
'; code+=sectionFx(t)+sectionSend(t); code+='
PAN'+panLabel(t.pan)+'
'; - code+='
TRIM'+formatDb(t.trim)+'
'; + code+='
TRIM'+formatDb(t.trim)+'
'; code+='
' +'' +'' @@ -789,7 +792,7 @@ // Never grow the last partial bank; empty slots keep exactly the same grid track width. const dock=pluginOpen?Math.min(330,Math.floor(panel*.36)):0; const usable=panel?Math.max(0,panel-28-dock):0; - return usable ? Math.max(1,Math.min(10,Math.floor(usable/116)-1)) : 10; + return usable ? Math.max(1,Math.min(10,Math.floor(usable/130)-1)) : 10; } function render(){ const filter=document.getElementById('viewFilter').value; @@ -801,7 +804,11 @@ selector.value=String(page); const bankTracks=visible.slice(page*capacity,(page+1)*capacity); const root=document.querySelector('.console-body'); - if(root.style?.setProperty)root.style.setProperty('--bank-capacity',String(capacity)); + if(root.style?.setProperty){ + root.style.setProperty('--bank-capacity',String(capacity)); + const panel=root.clientWidth||0,dock=pluginOpen?Math.min(330,Math.floor(panel*.36)):0; + if(panel)root.style.setProperty('--channel-w',((panel-28-dock)/(capacity+1)).toFixed(3)+'px'); + } if(tracksEl.style?.setProperty)tracksEl.style.setProperty('--bank-columns',String(capacity)); tracksEl.innerHTML=bankTracks.map(strip).join(''); updateSofTargets(); @@ -820,7 +827,7 @@ const readout=root.querySelector('.fader-readout'); if(readout)readout.textContent=(isSend?'SEND ':'')+value+' dB'; const box=root.querySelector('.fader-box'); - if(box?.style?.setProperty){box.style.setProperty('--fader-fill',faderPercent(v,isSend)+'%');box.style.setProperty('--fader-lit',String(faderPercent(v,isSend)/100));} + if(box?.style?.setProperty){box.style.setProperty('--fader-fill',faderPercent(v,isSend)+'%');box.style.setProperty('--fader-lit',String(faderPercent(v,isSend)/100));box.style.setProperty('--fader-frac',String(faderPercent(v,isSend)/100));} const db=root.querySelector('.db-value'); if(db)db.textContent=(isSend?'S ':'')+value; } @@ -828,9 +835,7 @@ const density=['comfort','standard','compact'].includes(mode)?mode:'comfort'; const root=document.querySelector('.console-body'),compact=density==='compact'; root.dataset.density=density; - const widths={comfort:'0px',standard:'0px',compact:'0px'}; - const parent=document.querySelector('.console-pane'); - // Equal widths now come from the console grid, not a separate Master preset. + // Equal widths now come from the shared bank width budget. root.classList.toggle('narrow',compact); document.getElementById('densitySelect').value=density; render(); @@ -992,8 +997,8 @@ if(event.type==='change')say(t.name+' fader '+formatDb(t.level)+' dB'+(t.group?' (linked '+t.group+')':'')); } else if(field==='pan'){let value=Number(el.value);if(event.type==='change'&&Math.abs(value)<=5&&!event.altKey){value=0;el.value='0';}t.pan=value;const wrapper=el.closest('.pan-control');if(wrapper)wrapper.setAttribute('style',panStyle(value));const label=wrapper?wrapper.nextElementSibling:el.nextElementSibling;if(label)label.textContent=panLabel(value);if(event.type==='change')say(t.name+' pan '+panLabel(value));} - else if(field==='trim'){t.trim=Number(el.value);const readout=el.closest('.trim-section')?.querySelector('.trim-value');if(readout)readout.textContent=formatDb(t.trim);if(event.type==='change')say(t.name+' digital trim '+formatDb(t.trim)+' dB');} - else if(field==='sendLevel'){t.sendLevel=Number(el.value);el.nextElementSibling.textContent=formatDb(t.sendLevel);} + else if(field==='trim'){t.trim=Number(el.value);if(el.style?.setProperty)el.style.setProperty('--range-pct',rangePct(t.trim,-24,24)+'%');const readout=el.closest('.trim-section')?.querySelector('.trim-value');if(readout)readout.textContent=formatDb(t.trim);if(event.type==='change')say(t.name+' digital trim '+formatDb(t.trim)+' dB');} + else if(field==='sendLevel'){t.sendLevel=Number(el.value);if(el.style?.setProperty)el.style.setProperty('--range-pct',rangePct(t.sendLevel,-60,6)+'%');el.nextElementSibling.textContent=formatDb(t.sendLevel);} else if(field==='sendPan'){t.sendPan=Number(el.value);el.nextElementSibling.textContent=t.sendPan===0?'C':t.sendPan<0?'L'+Math.abs(t.sendPan):'R'+t.sendPan;} else if(field==='activeSend'){const slot=Number(el.value.slice(1))-1;if(slot<0||slot>=16)return;openSendSlot(t,slot);refreshStrip(t);say(t.name+' · selected Send '+(slot+1));return;} else if(field==='output'){ From af0bc4d78000bb770a1c74458c95a878faa883bd Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 16:25:48 +0700 Subject: [PATCH 061/305] feat(V4 visual): full approved BTN-180 source + calibrated ARI VU/fader RAIL3 and PAN-style horizontal sliders --- .../audition-mixer-study/index.html | 348 ++++++++++++++++++ 1 file changed, 348 insertions(+) diff --git a/design-references/audition-mixer-study/index.html b/design-references/audition-mixer-study/index.html index 1ed11f90e..2344ebb48 100644 --- a/design-references/audition-mixer-study/index.html +++ b/design-references/audition-mixer-study/index.html @@ -620,6 +620,354 @@ .console-body .strip.master .footer-label{background:#453b36!important} .console-body .fader,.console-body .center-pan{filter:none!important;transition:none!important} + +/* Unaltered operator-approved BTN-180 recipe, copied from web/styles-src/20-button-180.css */ +/* Button 180 is the ONE shared material for channel, MASTER, toolbar and left-rail pads. */ +/* BUTTON 180 — one identical RESTING surface for OFF and ON. + Semantic colors alone define the latched state; only the transient :active + pointer press moves the cap inward by 1px without changing its layout slot. */ +:root{ + --b180-off:#cbd1d1;--b180-edge:#747f7f;--b180-off-ink:#172229; + --b180-color:var(--b180-off);--b180-border:var(--b180-edge); + --b180-ink:var(--b180-off-ink); + --b180-on-cyan:#94e8ed;--b180-on-green:#91edac; + --b180-on-magenta:#edb8df;--b180-on-purple:#d6b9f0; + --b180-on-mute:#f99aa4;--b180-on-solo:#f4d479; + --b180-on-stereo:#9dd2f0; +} +:is(.btn-180,.toolbar .nav button.btn-180,.toolbar .spec-device,.left-rail .tabs button.btn-180, +.strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button, +.left-rail .rail-presets button.btn-180,.left-rail .rail-bottom button.btn-180, +#masterLeft .master-tools button,.native-btn){ + /* Exact same inset + outside-edge model as the previously approved ON face. + All layers are shared; only --b180-border is allowed to tint the edge. */ + --b180-shadow-surface: + inset 5px 5px 2px -1px rgba(0,0,0,.18), + inset 0 0 1px 1px rgba(255,255,255,.14), + inset 0 1px 20px rgba(0,0,0,.12), + inset 0 -1px 2px rgba(0,0,0,.32), + 0 0 0 1px var(--b180-border), + 0 1px 1px rgba(0,0,0,.28), + 0 2px 3px rgba(0,0,0,.13); + border:1px solid var(--b180-border)!important; + letter-spacing:1px; + padding:8px 20px; + font-size:14px; + text-transform:uppercase; + border-radius:3px!important; + outline:none; + transform:translateY(0px)!important; + position:relative; + /* Shared geometry and shading; OFF/ON are merely different colorways. */ + box-shadow:var(--b180-shadow-surface)!important; + background:var(--b180-color)!important; + filter:none!important; + color:var(--b180-ink)!important; + text-shadow:0 1px 0 rgba(255,255,255,.16)!important; + transition:background-color 45ms linear, border-color 45ms linear, color 0ms, transform 0ms!important; + font-family:Arial,Helvetica,sans-serif; + cursor:pointer;text-decoration:none;user-select:none; + display:inline-flex;justify-content:center;align-items:center; + font-weight:700; +} +:is(.btn-180,.toolbar .nav button.btn-180,.toolbar .spec-device,.left-rail .tabs button.btn-180, +.strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button, +.left-rail .rail-presets button.btn-180,.left-rail .rail-bottom button.btn-180, +#masterLeft .master-tools button,.native-btn):disabled{ + pointer-events:none;opacity:.65;color:#7e7e7e!important; + background:#dcdcdc!important;box-shadow:none!important; + text-shadow:none!important;border:none!important; +} +/* Glass glint is drawn by inset shadows only; no pseudo-elements. */ +:is(.btn-180,.toolbar .nav button.btn-180,.toolbar .spec-device,.left-rail .tabs button.btn-180, +.strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button, +.left-rail .rail-presets button.btn-180,.left-rail .rail-bottom button.btn-180, +#masterLeft .master-tools button,.native-btn)::before,:is(.btn-180,.toolbar .nav button.btn-180,.toolbar .spec-device,.left-rail .tabs button.btn-180, +.strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button, +.left-rail .rail-presets button.btn-180,.left-rail .rail-bottom button.btn-180, +#masterLeft .master-tools button,.native-btn)::after{content:none!important} +:is(.btn-180,.toolbar .nav button.btn-180,.toolbar .spec-device,.left-rail .tabs button.btn-180, +.strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button, +.left-rail .rail-presets button.btn-180,.left-rail .rail-bottom button.btn-180, +#masterLeft .master-tools button,.native-btn):focus-visible{outline:2px solid #9ceaff;outline-offset:1px} +/* Geometry-only accommodation for 27–34px mixer slots. */ +:is(.btn-180,.toolbar .nav button.btn-180,.toolbar .spec-device,.left-rail .tabs button.btn-180, +.strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button, +.left-rail .rail-presets button.btn-180,.left-rail .rail-bottom button.btn-180, +#masterLeft .master-tools button,.native-btn){padding:0 3px!important;letter-spacing:.12px!important;font-size:11px!important;min-width:0} +.toolbar .nav button.btn-180{letter-spacing:.35px!important} +.left-rail .rail-presets button.btn-180{text-align:left;justify-content:flex-start;padding:0 9px!important} +.toolbar .spec-device{text-transform:none;letter-spacing:0!important} +/* Semantic ON palette is defined exactly once after the recessed state. */ +#masterLeft .master-actions .master-stereo-badge{ + border:1px solid #4b6779;background:linear-gradient(#233a49,#102635 60%,#203442); + box-shadow:inset 0 1px 2px #020c18c0,0 1px 0 #68859940;color:#a9d6e6;cursor:default +} + +/* Latching OFF/ON must NOT alter material, depth or layout. The physical + press response below exists only while :active, never on .active/.selected. */ +/* Latch LED colors only; dark captions are legible on bright faces. */ +/* Native dialog buttons keep native cyan; toolbar and rail states below + each have ONE scope owner, with no competing earlier palette selectors. */ +:is(.native-btn.primary,.native-btn.on){--b180-color:#22bbcc;--b180-border:#087b8e;--b180-ink:#041c27} +/* Utility ON is exclusively cyan, owned by the more specific scoped rule below. */ +:is(.strip .channel-actions .mute.active,#masterLeft #masterMute.active, + .native-btn.warn){--b180-color:var(--b180-on-mute);--b180-border:#b14a5f;--b180-ink:#32151e} +.strip .channel-actions .solo.active{--b180-color:var(--b180-on-solo);--b180-border:#a48337;--b180-ink:#2b210b} +#masterLeft .master-tools button.active{--b180-color:var(--b180-on-purple);--b180-border:#8668b8;--b180-ink:#26163c} +:is(.strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button, + #masterLeft .master-tools button,.toolbar .nav button.btn-180,.left-rail .tabs button.btn-180, + .left-rail .rail-presets button.btn-180,.left-rail .rail-bottom button.btn-180,.native-btn){ + color:var(--b180-ink,#f2f8fb)!important; +} +/* Keep pre-refactor fixed-sized buttons and their existing rails. + The strip name is painted above the A/B shadow, not moved away. */ +.strip .fader-tools,#masterLeft .master-tools{position:relative;z-index:1;isolation:isolate} +.strip .strip-name,#masterLeft .master-strip-name{position:relative;z-index:2;isolation:isolate} +/* No odd vertical displacement of the active nav relative to its neighbors. */ + +/* Issue #56: passive hover has no filter or animated shadow. + Preserve all seven resting / seven pressed shadows and 1px tactile response. + Historical brightness is isolated to opt-in baseline A/B only. */ + +/* Hardware tactility: brief pointer/keyboard activation presses the SAME cap + 1px into the control panel. The layout and hit target stay the same; only + the rendered face shifts, while the lower cast shadow collapses inward. + Identical response for gray OFF and colored ON; no persistent pressed skin. */ +:is(.btn-180,.toolbar .nav button.btn-180,.toolbar .spec-device, + .strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button, + #masterLeft .master-actions button,#masterLeft .master-tools button, + .left-rail .tabs button.btn-180,.left-rail .rail-presets button.btn-180, + .left-rail .rail-bottom button.btn-180,.native-btn):active:not(:disabled){ + transform:translateY(1px)!important; + box-shadow: + inset 3px 2px 2px -1px rgba(0,0,0,.50), + inset 0 0 1px 0 rgba(255,255,255,.14), + inset 0 1px 15px rgba(0,0,0,.29), + inset 0 -1px 2px rgba(0,0,0,.32), + 0 0 0 1px var(--b180-border), + 0 1px 1px rgba(0,0,0,.28), + 0 2px 3px rgba(0,0,0,.13)!important; +} + +/* OFF uses the same shared material with a brighter light-steel face. + Bright ON color recipes above remain untouched. */ +:is(.toolbar .spec-device, + .strip .channel-actions .candy,.strip .utility-row button, + #masterLeft .master-actions button,#masterLeft .master-tools button, + .left-rail .tabs button.btn-180,.left-rail .rail-presets button.btn-180, + .left-rail .rail-bottom button.btn-180):not(.active):not(.selected):not(.on):not([aria-pressed="true"]){ + --b180-color:var(--b180-off);--b180-border:var(--b180-edge); + --b180-ink:var(--b180-off-ink); + color:var(--b180-ink)!important; +} +@media(prefers-reduced-motion:reduce){ + :is(.toolbar .nav button.btn-180,.toolbar .spec-device,.strip .channel-actions .candy, + .strip .utility-row button,.left-rail button.btn-180){transition:none!important} +} + +/* Scope-specific ON palette: only variables change; all keys share + the same seven-layer pad and exact press recipe above. */ +#app .toolbar-actions .nav button.btn-180.selected{ + --b180-color:#e5f4a2;--b180-border:#8baf48;--b180-ink:#1c2b14; +} +#app .left-rail button.btn-180:is(.selected,.active){ + --b180-color:var(--b180-on-magenta);--b180-border:#ad6d9f;--b180-ink:#32172f; +} +/* Polarity/HPF share the gentle cyan pad; MUTE/SOLO keep their alert palettes. */ +#app #mixer .strip .utility-row button.btn-180.active{ + --b180-color:var(--b180-on-cyan);--b180-border:#38909e;--b180-ink:#12323c; +} +#app .left-rail .rail-presets button.btn-180{text-transform:none} +#app .toolbar-actions .nav button.btn-180{height:34px;min-height:34px;min-width:77px;padding:0 10px!important;letter-spacing:.35px!important} +#app .left-rail button.btn-180 > span, +#app .toolbar-actions .nav button.btn-180 > span{transform:none!important;transition:none!important} + +/* Device is a standard toolbar-size BTN-180 pad, not the old cyan-caption spec. + Green indicates verified connected native audio status only. Preview is OFF. */ +#app .toolbar .spec-device{ + height:34px;min-height:34px; + padding:0 10px!important;letter-spacing:.35px!important; +} +#app .toolbar .spec-device #headerDriver{ + color:var(--b180-ink)!important; +} +#app .toolbar .spec-device.on{ + --b180-color:var(--b180-on-green); + --b180-border:#3a9b68; + --b180-ink:#113322; +} +/* Toolbar actions are NEUTRAL when idle, green only for selected/active. + One solid repaint on state change, never a hover filter or glow. */ +#app .toolbar-actions .nav button.btn-180:not(.selected):not(.active):not([aria-pressed="true"]){ + --b180-color:var(--b180-off);--b180-border:var(--b180-edge); + --b180-ink:var(--b180-off-ink); +} +#app .toolbar-actions .nav button.btn-180:is(.selected,.active,[aria-pressed="true"]){ + --b180-color:#b2e8a0;--b180-border:#649c62;--b180-ink:#1a361d; +} +/* P0 low-end GPU: hover does not repaint BTN-180. Focus-visible, + 1px hardware press, shared static shadows and semantic ON stay unchanged. */ + + +/* V4 production artwork recipes port. All section dimensions are shared by Master. */ +.console-body{--fx-h:173px;--eq-h:0px;--trim-h:43px;--switch-h:42px;--send-h:23px;--footer-h:46px;--channel-w:148px} +.console-body:not(.collapsed-fx){--fx-h:173px} +.console-body:not(.collapsed-send){--send-h:103px} +.console-body .section-rail .rail-cell.fader{min-height:145px} +.console-body #master{flex:0 0 var(--channel-w)!important;width:var(--channel-w)!important;min-width:var(--channel-w)!important;max-width:var(--channel-w)!important} +.console-body #master>.strip.master{width:100%!important;min-width:0!important;max-width:100%!important} +.console-body .tracks{grid-template-columns:repeat(var(--bank-columns,10),minmax(0,1fr))!important} +.console-body .switch-section{height:var(--switch-h)!important;flex:0 0 var(--switch-h)!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:5px 5px 6px!important} +.console-body .switch.btn-180{ + width:100%!important;height:29px!important;min-height:29px!important;min-width:0!important;max-width:none!important;flex:none!important; + border:1px solid var(--b180-border)!important;border-radius:3px!important; + color:var(--b180-ink)!important;background:var(--b180-color)!important; + box-shadow:var(--b180-shadow-surface)!important; + font:700 10px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.12px!important;padding:0 2px!important; + text-transform:uppercase!important;text-shadow:0 1px 0 rgba(255,255,255,.16)!important; +} +.console-body .switch.btn-180.on.mute{--b180-color:var(--b180-on-mute);--b180-border:#b14a5f;--b180-ink:#32151e} +.console-body .switch.btn-180.on.solo{--b180-color:var(--b180-on-solo);--b180-border:#a48337;--b180-ink:#2b210b} +.console-body .switch.btn-180.on.cue{--b180-color:var(--b180-on-cyan);--b180-border:#38909e;--b180-ink:#12323c} +.console-body .switch.btn-180:active:not(:disabled){ + transform:translateY(1px)!important; + box-shadow: + inset 3px 2px 2px -1px rgba(0,0,0,.50), + inset 0 0 1px 0 rgba(255,255,255,.14), + inset 0 1px 15px rgba(0,0,0,.29), + inset 0 -1px 2px rgba(0,0,0,.32), + 0 0 0 1px var(--b180-border), + 0 1px 1px rgba(0,0,0,.28), + 0 2px 3px rgba(0,0,0,.13)!important; +} +.console-body .fader-workspace{display:grid!important;grid-template-columns:51px minmax(36px,1fr) 26px!important;gap:3px!important;min-width:0!important;overflow:hidden!important} +.console-body .meter-box{ + grid-column:1!important;width:51px!important;max-width:51px!important;min-width:51px!important; + display:flex!important;align-items:stretch!important;gap:0!important;padding:0!important; + border:0!important;border-radius:4px!important; + background:#080f14!important;box-shadow:inset 0 3px 3px #0008!important; +} +.console-body .meter-box .vu-bars{ + box-sizing:border-box;flex:0 0 30px;width:30px;min-width:30px;max-width:30px; + display:flex;align-items:stretch;justify-content:flex-end;gap:2px;position:relative; + padding:12px 1px 13px;overflow:hidden; + background:linear-gradient(90deg,#0b1a20 0%,#020609 13%,#010408 61%,#07131a 100%); + border-radius:5px;box-shadow:inset 0 4px 4px -3px #070e13,inset 0 -4px 4px -3px #070e13, + inset 4px 0 5px -4px #081116,inset -4px 0 5px -4px #081116; +} +.console-body .meter-box.mono .vu-bars{justify-content:center} +.console-body .meter-box .meter-lane{ + position:relative;width:10px;flex:0 0 10px;max-width:10px;min-width:10px;height:100%; + border:0;border-radius:2px; + background:#080f14;box-shadow:inset 0 1px 2px #0009,inset 1px 0 2px #000c,inset -1px 0 2px #000b; +} +.console-body .meter-box .meter-fill{ + left:0!important;right:0!important;top:0;bottom:0;height:100%; + background:linear-gradient(to top,#15cf69 0%,#39ed79 48%,#c4e934 70%,#ffce26 82%,#ff8b20 90%,#f74635 100%)!important; + clip-path:inset(calc(100% - var(--lit,0%)) 0 0)!important; + transition:none!important;box-shadow:none!important; +} +.console-body .meter-box .meter-lane::before{ + content:"";position:absolute;inset:0;z-index:2; + background:repeating-linear-gradient(to top,transparent 0 5px,#061018 5px 7px); + pointer-events:none; +} +.console-body .meter-box .vu-scale{position:relative;flex:0 0 19px;width:19px;min-width:19px;color:#a0bbc5;font:8px/1 Consolas,monospace;pointer-events:none} +.console-body .meter-box .vu-scale-travel{position:absolute;top:12px;bottom:13px;left:0;right:0} +.console-body .meter-box .vu-tick{position:absolute;left:0;right:0;top:var(--tick);height:0;white-space:nowrap} +.console-body .meter-box .vu-tick::before{content:"";position:absolute;top:0;left:0;width:3px;height:1px;background:#516b78} +.console-body .meter-box .vu-tick span{position:absolute;left:4px;top:-5px;font:8px/10px Consolas,monospace} +.console-body .meter-box .peak{top:3px!important;left:2px!important;right:auto!important;width:26px!important;height:6px!important} +.console-body .fader-box{ + grid-column:2!important;position:relative!important;isolation:isolate; + min-width:36px!important;width:100%!important;overflow:visible!important; + border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important; +} +.console-body .fader-box::before{ + content:"";position:absolute;top:0!important;bottom:0!important;left:50%!important; + width:min(46px,100%)!important;transform:translateX(-50%)!important; + z-index:0;pointer-events:none;box-sizing:border-box; + background:linear-gradient(90deg,#15232c 0%,#283741 13%,#2a3942 48%,#283741 87%,#15232c 100%)!important; + border:0!important;border-radius:6px!important; + box-shadow:inset 0 4px 4px -3px #070e13,inset 0 -4px 4px -3px #070e13, + inset 4px 0 5px -4px #081116,inset -4px 0 5px -4px #081116!important; +} +.console-body .fader-box::after{ + content:"";position:absolute;left:50%!important;top:38px!important;bottom:39px!important;width:5px!important; + transform:translateX(-50%)!important;z-index:1;pointer-events:none; + border:0!important;opacity:1!important;max-height:none!important;height:auto!important; +} +.console-body .fader-travel{ + position:absolute;top:38px;bottom:39px;left:0;right:0;pointer-events:none;z-index:3; +} +.console-body .fader-travel .cap{ + position:absolute;top:var(--fader-y,50%);left:50%;transform:translate(-50%,-50%); + width:36px;height:77px;border:0;border-radius:0; + background:var(--ari-silver) center/36px 77px no-repeat; + pointer-events:none;filter:none;box-shadow:none; +} +.console-body .strip.master .fader-travel .cap{background:var(--ari-rose) center/36px 77px no-repeat} +.console-body .fader-box .fader{ + position:absolute;z-index:4;top:38px;bottom:39px;left:50%;transform:translateX(-50%); + width:36px!important;height:calc(100% - 77px)!important;min-height:10px!important; + writing-mode:vertical-lr!important;direction:rtl!important;cursor:ns-resize; + opacity:0!important;-webkit-appearance:none!important;appearance:none!important; + pointer-events:auto; +} +.console-body .fader-scale{grid-column:3!important;position:relative;flex:none!important;width:26px!important;min-width:26px!important;padding:0!important;background:none!important} +.console-body .gain-scale-travel{position:absolute;top:38px;bottom:39px;left:0;right:0} +.console-body .gain-tick{position:absolute;top:0;height:0;left:0;right:0} +.console-body .gain-tick::before{content:"";position:absolute;left:1px;top:0;height:1px;width:3px;background:#687d89} +.console-body .gain-tick.major::before{width:6px;background:#a4b9c4} +.console-body .gain-tick span{position:absolute;top:-6px;left:8px;right:0;text-align:right;font:9px/12px Consolas,monospace;white-space:nowrap;color:#a8b9c3} +.console-body .trim-section{height:var(--trim-h)!important;flex:0 0 var(--trim-h)!important;display:grid!important;grid-template-columns:26px minmax(0,1fr) 31px!important;gap:3px!important;align-items:center!important} +.console-body .trim-label,.console-body .sendlevel label{color:#9cb0b8;font:9px/1 'Segoe UI',Arial,sans-serif} +.console-body .ari-horizontal{ + -webkit-appearance:none!important;appearance:none!important;min-width:0!important;width:100%!important; + height:40px!important;min-height:40px!important;margin:0!important;padding:0!important; + background:transparent!important;cursor:ew-resize; +} +.console-body .ari-horizontal::-webkit-slider-runnable-track{ + height:5px!important;border-radius:2px!important;border:1px solid #06090b!important; + background:linear-gradient(to right,#35b1cb 0%,#35b1cb var(--range-pct,50%),#0b151a var(--range-pct,50%),#0b151a 100%)!important; + box-shadow:inset 0 1px 2px #000,inset 0 -1px #50616a50!important; +} +.console-body .ari-horizontal::-webkit-slider-thumb{ + -webkit-appearance:none!important;appearance:none!important;width:18px!important;height:40px!important; + margin-top:-18px!important;border:0!important;border-radius:0!important; + background:var(--ari-pan) center/18px 40px no-repeat!important;box-shadow:none!important; +} +.console-body .ari-horizontal::-moz-range-track{height:5px;border-radius:2px;border:1px solid #06090b;background:linear-gradient(to right,#35b1cb 0%,#35b1cb var(--range-pct,50%),#0b151a var(--range-pct,50%),#0b151a 100%)} +.console-body .ari-horizontal::-moz-range-thumb{width:18px!important;height:40px!important;border:0!important;border-radius:0!important;background:var(--ari-pan) center/18px 40px no-repeat!important} +.console-body .send-section .sendlevel{height:42px!important;min-height:42px!important;flex:0 0 42px!important;display:grid!important;grid-template-columns:29px minmax(0,1fr) 27px!important;gap:2px!important} +.console-body .send-section .sendlevel output{font:9px Consolas,monospace} + +/* Exact RAIL3 source copied from web/styles-src/42-mixer-premium.css — operator-approved hardware fader: upper slot unlit black; + below the thumb cyan blooms smoothly, then rolls off into black at the foot. + The groove is physically ONE 5px machined slot; black sidewalls are static. + Three bounded CSS gradients over a tiny area; no blur, shadows animation, + filters, extra DOM, observer, RAF, DSP or additional gain handlers. */ +.console-body .fader-box::after{ + background-color:#10171c; + background-image: + /* fixed black edge occlusion throughout the physical slot */ + linear-gradient(90deg,#010508 0%,#03090f 18%,transparent 38%, + transparent 62%,#03090f 82%,#010508 100%), + /* fade light back into the machined black well at the lower end */ + linear-gradient(to bottom,transparent 0%,transparent 62%, + rgba(1,6,10,.10) 72%,rgba(1,6,10,.52) 86%, + rgba(1,6,10,.85) 94%,#01060a 100%), + /* above cap black, under cap dark -> gentle cyan; follows existing detent */ + linear-gradient(to bottom, + #12191e 0%,#12191e calc(var(--fader-cut,50%) + 26px), + #0e2e39 calc(var(--fader-cut,50%) + 39px), + #176d85 calc(var(--fader-cut,50%) + 52px), + #27bfd8 calc(var(--fader-cut,50%) + 68px), + #27bfd8 100%); + box-shadow:inset 1px 0 #010406,inset -1px 0 #010406; +} + From 55ad9fce3d2fc7b9d4cd5a54f56e6d455c636822 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 16:27:19 +0700 Subject: [PATCH 062/305] test(V4): updated exact old ARI module + BTN180 and 10+1 fixed bank acceptance gates --- .../audition-mixer-study/smoke.test.cjs | 85 ++++++++++--------- 1 file changed, 46 insertions(+), 39 deletions(-) diff --git a/design-references/audition-mixer-study/smoke.test.cjs b/design-references/audition-mixer-study/smoke.test.cjs index 22c633f8b..5f9f11fc0 100644 --- a/design-references/audition-mixer-study/smoke.test.cjs +++ b/design-references/audition-mixer-study/smoke.test.cjs @@ -125,12 +125,12 @@ node('pluginClose').dispatch('click'); // Explicit channel format + patch safety; do not infer stereo from a single input pin. node('reset').dispatch('click'); check(strip(1).includes('data-action="format"')&&strip(1).includes('>M'),'Live mono input strip shows Mono format badge'); -check(strip(1).includes('Simulated mono peak meter'),'Mono strip draws a mono meter'); +check(strip(1).includes('Simulated mono dBFS meter'),'Mono strip draws a mono meter'); const toggleFormat=()=>node('body').handlers.click({target:{closest:k=>k==='[data-action]'?{ dataset:{action:'format'},closest:q=>q==='.strip'?{dataset:{id:1}}:null }:null}}); toggleFormat();filter('all'); -check(strip(1).includes('>ST')&&strip(1).includes('Simulated stereo peak meter'),'Flipping Mono→Stereo changes format and meter'); +check(strip(1).includes('>ST')&&strip(1).includes('Simulated stereo dBFS meter'),'Flipping Mono→Stereo changes format and meter'); check(strip(1).includes(''),'Flipping channel format does not invent an input patch'); toggleFormat();filter('all'); check(strip(1).includes('>M')&&strip(1).includes('Simulated mono peak meter'),'Stereo→Mono restores mono controls'); @@ -159,15 +159,12 @@ check(html.includes('.console-body.collapsed-fx .fxslot-list,.console-body.narro check(html.includes('grid-template-columns:10px minmax(0,1fr) 28px'), 'Send controls have constrained slider/dB columns'); check(html.includes('.console-body.collapsed-fx{--fx-h:23px}') && - html.includes('.console-body.collapsed-send{--send-h:23px}') && - html.includes('.console-body.collapsed-eq{--eq-h:23px}'), - 'All collapsed rows share the same compact height variable'); -check(html.includes('flex:0 0 var(--fx-h)') && - html.includes('flex:0 0 var(--send-h)') && - html.includes('flex:0 0 var(--eq-h)'), - 'Section heights cannot shrink independently of section rail'); + html.includes('.console-body.collapsed-send{--send-h:23px}'), + 'FX and SEND folds share compact-height tokens'); +check(html.includes('flex:0 0 var(--fx-h)') && html.includes('flex:0 0 var(--send-h)'), + 'FX and SEND bands cannot shrink independently of section rail'); const rail=node('rail'),body=node('body'); -for(const name of ['fx','send','eq','route']){ +for(const name of ['fx','send','route']){ const flags=new Set(),attrs={}; const button={dataset:{section:name},classList:{toggle(k,on){on?flags.add(k):flags.delete(k);return on;}},setAttribute(k,v){attrs[k]=v;}}; const target={closest:k=>k==='[data-section]'?button:null}; @@ -182,7 +179,8 @@ for(const name of ['fx','send','eq','route']){ // Comfort / Senior operational ergonomics regression (visual-reference only). check(html.includes('data-density="comfort"'),'Comfort view is default on first load'); -check(html.includes('--strip-w:150px;--master-w:152px'),'Comfort channel and pinned Master widths'); +check(html.includes("root.style.setProperty('--channel-w'") && html.includes('grid-template-columns:repeat(var(--bank-columns,10)'), + 'Master and source strips share ONE calculated slot width, including partial banks'); check(html.includes('data-field="input"') && strip(1).includes('class="route-caption">IN') && strip(1).includes('class="route-caption">OUT'), 'Source and primary output have labeled separate rows'); @@ -190,13 +188,11 @@ check(strip(1).includes('class="fader-head"') && strip(1).includes('class="fader 'Fader dB numeric display is above the tactile fader'); check(strip(1).includes('class="clip-indicator') && strip(1).includes('class="meter-box mono"'), 'Mono strip includes explicit clip LED and one meter lane'); -check(strip(1).includes('class="switch-full">MUTE') && - strip(1).includes('class="switch-full">SOLO'), - 'Comfort mode has full MUTE and SOLO labels'); -check(html.includes('.console-body .fader-box:before') && - html.includes('.console-body .fader-box:after') && - html.includes('var(--fader-fill,0%)'), - 'Tactile well, fader slot and track-colored fader progression are present'); +check(strip(1).includes('class="switch btn-180 mute') && strip(1).includes('class="switch btn-180 solo') && strip(1).includes('class="switch btn-180 cue'), + 'Three equal-width manual BTN-180 buttons MUTE, SOLO, PFL, no I'); +check(html.includes('.console-body .fader-box::before') && html.includes('.console-body .fader-box::after') && + html.includes('.fader-travel .cap') && html.includes('RAIL3'), + 'Calibrated old fader housing and cap travel restored with original RAIL3 material'); check(html.includes('.console-body .meter-lane:before') && html.includes('repeating-linear-gradient(to top,transparent'), 'Segmented LED meter overlays are present'); @@ -211,16 +207,14 @@ density.value='comfort';density.dispatch('change'); check(node('body').dataset.density==='comfort'&&!node('body').classList.contains('narrow'), 'Comfort restores full effects, send and EQ visibility'); check(html.includes('.console-body.collapsed-route .route-field{display:none}') && - html.includes('.console-body.collapsed-send .send-section .send-select,.console-body.collapsed-send .send-section .sendlevel{display:none}') && - html.includes('.console-body.collapsed-eq .eq-section .eq-line{display:none}'), - 'No stale expanded CSS declarations in collapsed route, send, EQ'); -check(html.includes('right:var(--master-w)!important'), - 'Plugin overlay reserves actual pinned Master width across density presets'); -check(html.includes('.console-pane{--master-w:142px;--plugin-w:') && - html.includes("parent.style.setProperty('--master-w',widths[density])"), - 'Plugin overlay offset is inherited from pane and refreshed when density changes'); -check(html.includes('function bankCapacity()') && html.includes('Math.min(10,Math.floor(width/112))'), - 'Live bank fits ten channels maximum without a bottom scrollbar'); + html.includes('.console-body.collapsed-send .send-section .send-select,.console-body.collapsed-send .send-section .sendlevel{display:none}'), + 'No stale expanded CSS declarations in collapsed route and send'); +check(html.includes('right:var(--master-w)!important') && html.includes('--channel-w'), + 'Plugin overlay and pinned Master use coherent single-width channel geometry'); +check(html.includes('.console-body.plugin-open #viewport{margin-right:var(--plugin-w)}') && html.includes('dock=pluginOpen?'), + 'Plugin opening adjusts bank capacity without covering fixed Master'); +check(html.includes('function bankCapacity()') && html.includes('Math.floor(usable/130)'), + 'Bank slot count protects full VU/rail width with no bottom scrollbar'); // V3 integrated visual/layout behavior: no bottom-scrollbar and 10-channel bank. @@ -246,16 +240,14 @@ check(html.includes('--ari-silver:url(data:image/png;base64,iVBORw0KGgo') && check(html.includes('width:36px!important;height:77px!important') && html.includes('width:18px!important;height:40px!important'), 'Natural 36x77 fader and 18x40 pan dimensions preserved'); -check(html.includes('grid-template-columns:25px minmax(0,1fr) 24px!important') && +check(html.includes('grid-template-columns:51px minmax(36px,1fr) 26px!important') && strip(1).indexOf('class="meter-box mono"')')&&strip(1).includes('Simulated mono peak meter'),'Stereo→Mono restores mono controls'); +check(strip(1).includes('>M')&&strip(1).includes('Simulated mono dBFS meter'),'Stereo→Mono restores mono controls'); field(1,'input','Input 1 (Mono)');filter('all'); check(strip(1).includes(''), 'Single enabled mono pin selected explicitly'); From 4d50f32adbb753018cc3b5d901a961be191c968e Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 16:28:27 +0700 Subject: [PATCH 064/305] test: check actual EQ rail markup absence, not inert historical CSS --- design-references/audition-mixer-study/smoke.test.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design-references/audition-mixer-study/smoke.test.cjs b/design-references/audition-mixer-study/smoke.test.cjs index bec66b51c..37c720c05 100644 --- a/design-references/audition-mixer-study/smoke.test.cjs +++ b/design-references/audition-mixer-study/smoke.test.cjs @@ -246,7 +246,7 @@ check(html.includes('grid-template-columns:51px minmax(36px,1fr) 26px!important' 'Fader paint and DOM use left VU, central fader, right ruler'); check(html.includes('class="console-body collapsed-send"') && !strip(1).includes('Add effect - +
◉
-
TRIM
+
M S C
dB
@@ -1058,9 +1058,21 @@
NAME · VENDORFORMAT / STATE
- -
DEMO EFFECTS · no VST3 scanned or loaded. Favorites/hidden saved locally where supported; native scanner not connected.
+ +
+
VST3 SEARCH LOCATIONS
+
C:\\Program Files\\Common Files\\VST3 — default
+
+
Static browser preview · native VST3 scanner not connected
+
+
UI DEMO · imported lists are metadata only. Real VST3 verification and instantiation require Windows native engine.
+
StoppedInteractive visual reference. Changes are local to this mockup.SIMULATED METERS · NO REAL AUDIO
@@ -1072,7 +1084,7 @@ const FX=['None','Parametric Equalizer','Dynamics Processing','Studio Reverb','DeEsser','Hard Limiter','Tube-modeled Compressor','Delay','Chorus','Multiband Compressor','Graphic Equalizer','Echo']; const CATEGORIES={'Parametric Equalizer':'EQ','Graphic Equalizer':'EQ','Dynamics Processing':'Dynamics','Hard Limiter':'Dynamics','Tube-modeled Compressor':'Dynamics','Multiband Compressor':'Dynamics',DeEsser:'Dynamics','Studio Reverb':'Reverb',Delay:'Delay',Echo:'Delay',Chorus:'Modulation'}; let pluginCatalog=FX.filter(x=>x!=='None').map((name,i)=>({id:'demo-'+i,name,vendor:'Reference Effect',category:CATEGORIES[name]||'Utility',format:'DEMO',status:'demo',latencySamples:null,favorite:i<3,hidden:false})); -let pluginRecent=[],activeFxTarget=null,pluginOpen=false; +let pluginRecent=[],activeFxTarget=null,pluginOpen=false,quickOpen=false,scanPaths=['C:\\Program Files\\Common Files\\VST3']; const PLUGIN_PREFS_KEY='arsonmix.ref.plugin-prefs.v1'; function restorePluginPreferences(){ try{ @@ -1150,7 +1162,7 @@ code+='
OUT
'; code+=sectionFx(t)+sectionSend(t); code+='
PAN'+panLabel(t.pan)+'
'; - code+='
TRIM'+formatDb(t.trim)+'
'; + code+='
' +'' +'' @@ -1397,7 +1409,7 @@ const a=btn.dataset.action; if(a==='rename')return; if(a==='format'&&t.kind==='audio'){t.format=t.format==='mono'?'stereo':'mono';refreshStrip(t);say(t.name+' processing → '+t.format.toUpperCase()+' · physical source '+t.input+' unchanged (reference only)');return;} - if(a==='openPlugin'){openPluginBrowser(t,Number(btn.dataset.slot));return;} + if(a==='openPlugin'){openFastPicker(t,Number(btn.dataset.slot),btn);return;} if(a==='removeFx'){const i=Number(btn.dataset.slot);t.fx[i]='None';t.slotBypass[i]=false;refreshStrip(t);say(t.name+' · cleared FX insert '+(i+1));return;} if(a==='slotPower'){const slot=Number(btn.dataset.slot);if(t.fx[slot]==='None'){say(t.name+': choose an effect before toggling bypass');return;}t.slotBypass[slot]=!t.slotBypass[slot];refreshStrip(t);say(t.name+': FX '+(slot+1)+(t.slotBypass[slot]?' bypassed':' enabled'));return;} if(a==='eq')t.eq=!t.eq; @@ -1522,13 +1534,48 @@ return t? t.name+' · Insert '+(activeFxTarget.slot+1):'Select a channel + insert slot'; } function setBrowser(open){ - pluginOpen=!!open;plugEl('pluginBrowser').hidden=!pluginOpen; - document.querySelector('.console-body').classList.toggle('plugin-open',pluginOpen); - render(); + pluginOpen=!!open; + plugEl('pluginBrowser').hidden=!pluginOpen; + // Plugin Manager is floating and NEVER changes bank width or rebuilds strips. + document.querySelector('.console-body').classList.remove('plugin-open'); plugEl('pluginsButton').setAttribute('aria-expanded',String(pluginOpen)); - if(pluginOpen){renderPluginCatalog();const input=plugEl('pluginSearch');if(input.focus)input.focus();} + if(pluginOpen){ + setFastPicker(false); + renderPluginCatalog();renderScanPaths(); + const input=plugEl('pluginSearch');if(input.focus)input.focus(); + } } -function openPluginBrowser(t,slot){ +function setFastPicker(open){ + quickOpen=!!open; + plugEl('fastPicker').hidden=!quickOpen; +} +function renderFastPicker(){ + const q=String(plugEl('fastSearch').value||'').trim().toLowerCase(); + const list=pluginCatalog.filter(p=>!p.hidden&&!['error','disabled'].includes(p.status)&& + [p.name,p.category,p.vendor].join(' ').toLowerCase().includes(q)) + .sort((a,b)=>Number(b.favorite)-Number(a.favorite)||a.name.localeCompare(b.name)); + plugEl('fastResults').innerHTML=list.length?list.map(p=> + '' + ).join(''):'
No matching effects
'; +} +function openFastPicker(t,slot,anchor){ + setBrowser(false); + const first=t||selection()[0]||tracks[0]; + if(!first)return; + const empty=first.fx.findIndex(x=>x==='None'); + activeFxTarget={channelId:first.id,slot:Number.isInteger(slot)?slot:empty<0?0:empty}; + plugEl('fastTarget').textContent=first.name+' · FX '+(activeFxTarget.slot+1); + plugEl('fastSearch').value=''; + const pane=document.querySelector('.console-pane'),r=anchor?.getBoundingClientRect?.(),p=pane?.getBoundingClientRect?.(); + const picker=plugEl('fastPicker'); + if(r&&p&&picker.style?.setProperty){ + const x=Math.min(Math.max(6,r.left-p.left),Math.max(6,p.width-310)); + const y=Math.min(Math.max(8,r.bottom-p.top+3),Math.max(8,p.height-330)); + picker.style.setProperty('left',x+'px');picker.style.setProperty('top',y+'px'); + } + setFastPicker(true);renderFastPicker();plugEl('fastSearch').focus?.(); +} +function openPluginBrowser(t,slot){ // manager button and F8, deliberately separate from Add FX const first=t||selection()[0]||tracks[0]; if(first){ const empty=first.fx.findIndex(x=>x==='None'); @@ -1537,6 +1584,10 @@ plugEl('pluginTarget').textContent=pluginTargetLabel(); setBrowser(true); } +function renderScanPaths(){ + const container=plugEl('pluginPaths'); + container.innerHTML=scanPaths.map((p,i)=>'
'+escapeHtml(p)+''+(i?'':'Default')+'
').join(''); +} function catalogById(id){return pluginCatalog.find(p=>p.id===id);} function renderPluginCatalog(){ const q=String(plugEl('pluginSearch').value||'').trim().toLowerCase(); @@ -1567,7 +1618,7 @@ if(!t||!Number.isInteger(activeFxTarget.slot)||activeFxTarget.slot<0||activeFxTarget.slot>=t.fx.length){say('Selected FX slot is no longer available.');return;} t.fx[activeFxTarget.slot]=plugin.name;t.slotBypass[activeFxTarget.slot]=false; pluginRecent=[plugin.id,...pluginRecent.filter(x=>x!==plugin.id)].slice(0,20);savePluginPreferences(); - refreshStrip(t);setBrowser(false); + refreshStrip(t);setFastPicker(false);setBrowser(false); say(t.name+' · FX '+(activeFxTarget.slot+1)+' → '+plugin.name+' · GUI reference only (no native DSP)'); } function acceptPluginManifest(items){ @@ -1593,6 +1644,40 @@ plugEl('pluginsButton').addEventListener('click',()=>pluginOpen?setBrowser(false):openPluginBrowser()); plugEl('pluginClose').addEventListener('click',()=>setBrowser(false)); plugEl('pluginSearch').addEventListener('input',renderPluginCatalog); +plugEl('fastSearch').addEventListener('input',renderFastPicker); +plugEl('fastClose').addEventListener('click',()=>setFastPicker(false)); +plugEl('fastManage').addEventListener('click',()=>openPluginBrowser()); +plugEl('fastResults').addEventListener('click',e=>{ + const btn=e.target.closest('[data-fast-id]');if(btn)insertCatalogPlugin(btn.dataset.fastId); +}); +plugEl('fastSearch').addEventListener('keydown',e=>{ + if(e.key==='Enter'){ + const b=plugEl('fastResults').querySelector('.fast-effect'); + if(b){e.preventDefault();insertCatalogPlugin(b.dataset.fastId);} + }else if(e.key==='Escape'){e.preventDefault();setFastPicker(false);} +}); +plugEl('pluginAddPath').addEventListener('click',()=>{ + const input=plugEl('pluginNewPath'),raw=String(input.value||'').trim(); + if(!raw||raw.length>260){say('Enter a valid plugin folder path (max 260 characters)');return;} + if(!scanPaths.includes(raw))scanPaths.push(raw); + input.value='';renderScanPaths(); + say('Added search path to UI reference; native VST3 scanning not connected'); +}); +plugEl('pluginPaths').addEventListener('click',e=>{ + const btn=e.target.closest('[data-path-index]');if(!btn)return; + const i=Number(btn.dataset.pathIndex);if(i>0&&i{ + const scanner=window.ArSonMixNativePlugins?.scan; + if(typeof scanner==='function'){ + plugEl('pluginScanStatus').textContent='Native scan requested · awaiting verified results'; + scanner({paths:[...scanPaths],verify:true}); + }else{ + plugEl('pluginScanStatus').textContent='Windows VST3 scan requires installed native host · GitHub Pages cannot access local plugin files'; + say('Plugin Manager setup only: scanning requires native ArSonMix executable'); + } +}); plugEl('pluginCategory').addEventListener('change',renderPluginCatalog); plugEl('pluginView').addEventListener('change',renderPluginCatalog); plugEl('pluginResults').addEventListener('click',e=>{ @@ -1654,11 +1739,12 @@ } if(e.key==='Escape'&&sofEnabled){toggleSof(false);return;} if(e.key==='F8'&&!textEntry){e.preventDefault();pluginOpen?setBrowser(false):openPluginBrowser();return;} + if(e.key==='Escape'&&quickOpen){setFastPicker(false);return;} if(e.key==='Escape'&&pluginOpen){setBrowser(false);return;} if(e.key==='Escape'&&preview)togglePreview(); if(e.target===document.body&&(e.key==='ArrowRight'||e.key==='ArrowLeft')){ const width={comfort:150,standard:125,compact:105}[document.querySelector('.console-body').dataset.density]||150; - document.getElementById('viewport').scrollLeft+=e.key==='ArrowRight'?width:-width; + document.getElementById(e.key==='ArrowRight'?'bankNext':'bankPrev').click(); } }); let resizeQueued=false; From faa49f92583d46ee11ceb18b5bc4390621cc63af Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 17:22:27 +0700 Subject: [PATCH 072/305] fix(V5 fader): bind cap position to gain state, implement calibrated mouse/touch drag and pan center snap --- .../audition-mixer-study/index.html | 51 +++++++++++++++++-- 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/design-references/audition-mixer-study/index.html b/design-references/audition-mixer-study/index.html index 1a9806911..f637437e3 100644 --- a/design-references/audition-mixer-study/index.html +++ b/design-references/audition-mixer-study/index.html @@ -1150,7 +1150,7 @@ return '
'+(isSend?'SEND ':'')+formatDb(value)+' dBCLIP
' +'
' +'
'+(t.format==='mono'?'':'
')+'
'+vuScale+'
' - +'
' + +'
' +'
'+gainScale+'
'; } function strip(t){ @@ -1176,7 +1176,7 @@ const panel=body?.clientWidth||0; // Width budget is shared between n source strips + one equal-sized, pinned MAIN. // Never grow the last partial bank; empty slots keep exactly the same grid track width. - const dock=pluginOpen?Math.min(330,Math.floor(panel*.36)):0; + const dock=0; // floating manager never consumes or changes bank width const usable=panel?Math.max(0,panel-28-dock):0; return usable ? Math.max(1,Math.min(10,Math.floor(usable/130)-1)) : 10; } @@ -1192,7 +1192,7 @@ const root=document.querySelector('.console-body'); if(root.style?.setProperty){ root.style.setProperty('--bank-capacity',String(capacity)); - const panel=root.clientWidth||0,dock=pluginOpen?Math.min(330,Math.floor(panel*.36)):0; + const panel=root.clientWidth||0,dock=0; if(panel){ const unit=((panel-28-dock)/(capacity+1)).toFixed(3)+'px'; root.style.setProperty('--channel-w',unit); @@ -1218,7 +1218,7 @@ const readout=root.querySelector('.fader-readout'); if(readout)readout.textContent=(isSend?'SEND ':'')+value+' dB'; const box=root.querySelector('.fader-box'); - if(box?.style?.setProperty){box.style.setProperty('--fader-fill',faderPercent(v,isSend)+'%');box.style.setProperty('--fader-lit',String(faderPercent(v,isSend)/100));box.style.setProperty('--fader-frac',String(faderPercent(v,isSend)/100));} + if(box?.style?.setProperty){box.style.setProperty('--fader-fill',faderPercent(v,isSend)+'%');box.style.setProperty('--fader-lit',String(faderPercent(v,isSend)/100));box.style.setProperty('--fader-frac',String(faderPercent(v,isSend)/100));box.style.setProperty('--fader-y',(100-faderPercent(v,isSend))+'%');} const db=root.querySelector('.db-value'); if(db)db.textContent=(isSend?'S ':'')+value; } @@ -1387,7 +1387,7 @@ } if(event.type==='change')say(t.name+' fader '+formatDb(t.level)+' dB'+(t.group?' (linked '+t.group+')':'')); } - else if(field==='pan'){let value=Number(el.value);if(event.type==='change'&&Math.abs(value)<=5&&!event.altKey){value=0;el.value='0';}t.pan=value;const wrapper=el.closest('.pan-control');if(wrapper)wrapper.setAttribute('style',panStyle(value));const label=wrapper?wrapper.nextElementSibling:el.nextElementSibling;if(label)label.textContent=panLabel(value);if(event.type==='change')say(t.name+' pan '+panLabel(value));} + else if(field==='pan'){let value=Number(el.value);if(event.type==='change'&&Math.abs(value)<=8&&!event.altKey){value=0;el.value='0';}t.pan=value;const wrapper=el.closest('.pan-control');if(wrapper)wrapper.setAttribute('style',panStyle(value));const label=wrapper?wrapper.nextElementSibling:el.nextElementSibling;if(label)label.textContent=panLabel(value);if(event.type==='change')say(t.name+' pan '+panLabel(value));} else if(field==='trim'){t.trim=Number(el.value);if(el.style?.setProperty)el.style.setProperty('--range-pct',rangePct(t.trim,-24,24)+'%');const readout=el.closest('.trim-section')?.querySelector('.trim-value');if(readout)readout.textContent=formatDb(t.trim);if(event.type==='change')say(t.name+' digital trim '+formatDb(t.trim)+' dB');} else if(field==='sendLevel'){t.sendLevel=Number(el.value);if(el.style?.setProperty)el.style.setProperty('--range-pct',rangePct(t.sendLevel,-60,6)+'%');el.nextElementSibling.textContent=formatDb(t.sendLevel);} else if(field==='sendPan'){t.sendPan=Number(el.value);el.nextElementSibling.textContent=t.sendPan===0?'C':t.sendPan<0?'L'+Math.abs(t.sendPan):'R'+t.sendPan;} @@ -1401,6 +1401,47 @@ if(['send','sendLevel','sendPan'].includes(field))syncActiveSend(t); selectTrack(t); } + +/* Real pointer fader binding for the isolated reference. + One gesture, no rebuilding strips during drag, and source range remains keyboard-accessible. + The 29x62 visual cap center is aligned to this same travel ruler. */ +let faderGesture=null; +const consoleBody=document.querySelector('.console-body'); +function setFaderFromPointer(ev,gesture){ + const input=gesture.input,travel=gesture.travel?.getBoundingClientRect?.(); + if(!travel||travel.height<=0)return; + const max=Number(input.max)||10,min=Number(input.min)||-60; + const frac=Math.max(0,Math.min(1,(ev.clientY-travel.top)/travel.height)); + const gain=Math.round((max-(max-min)*frac)*10)/10; + input.value=String(gain); + handleField({target:input,type:'input',altKey:!!ev.altKey}); +} +consoleBody.addEventListener('pointerdown',ev=>{ + if(ev.button!==undefined&&ev.button!==0)return; + const box=ev.target.closest?.('.fader-box'); + if(!box)return; + const input=box.querySelector('.fader'),travel=box.querySelector('.fader-travel'); + if(!input||!travel)return; + ev.preventDefault?.(); + faderGesture={pointerId:ev.pointerId,box,input,travel}; + box.setPointerCapture?.(ev.pointerId); + setFaderFromPointer(ev,faderGesture); +}); +window.addEventListener('pointermove',ev=>{ + if(!faderGesture||ev.pointerId!==faderGesture.pointerId)return; + setFaderFromPointer(ev,faderGesture); +}); +function finishFaderPointer(ev){ + if(!faderGesture||ev.pointerId!==faderGesture.pointerId)return; + setFaderFromPointer(ev,faderGesture); + const g=faderGesture;faderGesture=null; + g.box.releasePointerCapture?.(ev.pointerId); + const t=findTrack(g.input); + if(t)say(t.name+' fader '+formatDb(sofEnabled&&t.kind==='audio'?getSofLevel(t):t.level)+' dB'); +} +window.addEventListener('pointerup',finishFaderPointer); +window.addEventListener('pointercancel',ev=>{if(faderGesture&&ev.pointerId===faderGesture.pointerId)faderGesture=null;}); + document.querySelector('.console-body').addEventListener('input',handleField); document.querySelector('.console-body').addEventListener('change',handleField); document.querySelector('.console-body').addEventListener('click',e=>{ From bced7c15aa6dd805d5731f554e6da97daea9a563 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 17:24:32 +0700 Subject: [PATCH 073/305] style(V5): fix IN/OUT, slim original metal fader, remove cyan fader glow and float plugin windows --- .../audition-mixer-study/index.html | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/design-references/audition-mixer-study/index.html b/design-references/audition-mixer-study/index.html index f637437e3..42383a13c 100644 --- a/design-references/audition-mixer-study/index.html +++ b/design-references/audition-mixer-study/index.html @@ -994,6 +994,63 @@ 0 1px 1px rgba(0,0,0,.28), 0 2px 3px rgba(0,0,0,.13)!important; } + +/* V5 FINAL CHROME: old ArSonMix materials, slimmer physical fader and no blue lumen. */ +.console-body{--route-h:76px;--fx-h:194px;--send-h:23px;--pan-h:43px;--switch-h:44px;--footer-h:46px;--trim-h:0px} +.console-body:not(.collapsed-fx){--fx-h:194px!important} +.console-body.collapsed-fx{--fx-h:23px!important} +.console-body:not(.collapsed-send){--send-h:103px} +.console-body.collapsed-send{--send-h:23px} +.console-body .route-section{height:var(--route-h)!important;flex:0 0 var(--route-h)!important;padding:3px 4px!important} +.console-body .route-top{height:17px!important;min-height:17px!important;flex:0 0 17px!important} +.console-body .route-field{height:24px!important;min-height:24px!important;flex:0 0 24px!important;display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:center!important;gap:4px!important;overflow:visible!important} +.console-body .route-caption{font-size:10px!important} +.console-body .route-select{display:block!important;width:100%!important;min-width:0!important;height:22px!important;min-height:22px!important;padding:0 9px 0 4px!important;font-size:11px!important;line-height:20px!important;color:#e0eff5!important;background:#10212c!important;border:1px solid #435968!important;white-space:nowrap!important;text-overflow:ellipsis!important} +.console-body .route-identity{overflow:hidden;white-space:nowrap;text-overflow:ellipsis} +.console-body .fx-section{height:var(--fx-h)!important;min-height:var(--fx-h)!important;flex:0 0 var(--fx-h)!important;background:#152630!important} +.console-body .fxslot-list{overflow:auto hidden!important} +.console-body .fxslot-row{height:22px!important;min-height:22px!important} +.console-body .fx-pick{font:600 10px/1.2 'Segoe UI',Arial,sans-serif!important;color:#9de5bf!important} +.console-body .fx-pick.empty{font-weight:500!important;color:#65d1f1!important} +.console-body .subhead{background:#112530!important} +.console-body .trim-section,.console-body .rail-cell.trim{display:none!important} +.console-body .fader-section{background:#0e1a23!important;min-height:0!important} +.console-body .fader-workspace{grid-template-columns:51px minmax(35px,1fr) 26px!important;gap:2px!important} +.console-body .meter-box{background:linear-gradient(90deg,#0d2028,#010608 22%,#07141b)!important;border-radius:5px!important} +.console-body .meter-box .vu-bars{background:linear-gradient(90deg,#0d1d26,#02080b 19%,#010609 64%,#0c1d27)!important} +.console-body .fader-box::before{width:min(40px,100%)!important;background:linear-gradient(90deg,#15232c,#283741 13%,#2a3942 48%,#283741 87%,#15232c)!important;border-radius:5px!important} +.console-body .fader-box::after{top:31px!important;bottom:31px!important;background-color:#03080b!important;background-image:none!important;width:5px!important;height:auto!important;opacity:1!important;box-shadow:inset 1px 0 #010406,inset -1px 0 #010406!important} +.console-body .fader-travel{top:31px!important;bottom:31px!important;pointer-events:none!important} +.console-body .fader-travel .cap{top:var(--fader-y,50%)!important;width:29px!important;height:62px!important;background:var(--ari-silver) center/29px 62px no-repeat!important;transform:translate(-50%,-50%)!important;filter:none!important} +.console-body .strip.master .fader-travel .cap{background:var(--ari-rose) center/29px 62px no-repeat!important} +.console-body .fader-box .fader{top:31px!important;bottom:31px!important;height:calc(100% - 62px)!important;opacity:0!important;pointer-events:none!important} +.console-body .fader-box{touch-action:none!important;cursor:ns-resize!important} +.console-body .fader-box:focus-within{outline:1px solid #80b9c8!important;outline-offset:-1px} +.console-body .gain-scale-travel{top:31px!important;bottom:31px!important} +.console-body .fader-head{background:#07151b!important;box-shadow:inset 0 1px 3px #000b!important} +.console-body.plugin-open #viewport{margin-right:0!important} +.plugin-browser{position:absolute!important;z-index:90!important;top:36px!important;right:12px!important;left:auto!important;bottom:12px!important;width:min(440px,calc(100% - 40px))!important;max-width:440px!important;max-height:calc(100% - 48px)!important;border:1px solid #577084!important;border-radius:6px!important;background:#192933!important;box-shadow:0 12px 32px #000a!important;overflow:hidden!important} +.plugin-browser[hidden],.fast-picker[hidden]{display:none!important} +.plugin-scan-settings{padding:7px 10px;flex:none;display:flex;flex-direction:column;gap:5px;border-top:1px solid #35505d;background:#172630} +.plugin-scan-settings .scan-title{font-size:10px;color:#a6c5d4} +.scan-paths{display:flex;flex-direction:column;gap:3px;max-height:58px;overflow:auto} +.scan-path{display:flex;gap:7px;min-width:0;font-size:10px;align-items:center} +.scan-path>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} +.scan-path small{color:#89c1cf}.scan-path button{background:transparent;border:0} +.scan-add{display:flex;gap:5px}.scan-add input{flex:1;min-width:0;height:25px;padding:0 5px;color:#e3f0f5;background:#091922;border:1px solid #40616f}.scan-add button{font-size:10px} +.scan-status{font-size:10px;color:#a8bdc8} +.fast-picker{position:absolute;z-index:100;left:24px;top:110px;width:302px;max-width:calc(100% - 40px);background:#172a34;border:1px solid #587e8e;border-radius:5px;box-shadow:0 10px 25px #000b;overflow:hidden} +.fast-head{display:flex;align-items:center;justify-content:space-between;gap:7px;height:34px;padding:0 9px;background:#203944;border-bottom:1px solid #395e6b;font-weight:600} +.fast-head span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fast-head button{background:transparent;border:0;font-size:20px;color:#ddf1f5} +#fastSearch{display:block;width:calc(100% - 14px);height:30px;margin:7px;padding:0 8px;background:#061820;border:1px solid #547486;border-radius:3px} +.fast-results{min-height:58px;max-height:270px;display:flex;flex-direction:column;gap:2px;overflow:auto;padding:3px 6px 6px} +.fast-effect{width:100%;min-height:29px;padding:5px 7px;display:flex;gap:6px;align-items:center;text-align:left;background:#213844;border:1px solid #305365} +.fast-effect:hover,.fast-effect:focus-visible{background:#365d6b;border-color:#83c8d4} +.fast-effect-title{flex:1;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#a8eac5} +.fast-effect-kind{color:#a5bfc8;font-size:9px}.fast-star{color:#e9c771}.fast-empty{padding:15px;color:#9eafb7} +.fast-foot{height:32px;display:flex;gap:7px;align-items:center;padding:0 8px;border-top:1px solid #355363;color:#91acb8;font-size:9px} +.fast-foot button{margin-left:auto;border:0;background:transparent;color:#85d7f1} + From 86ec99c9a7fd4fc2b7900937146caea126082464 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 1 Nov 2026 17:27:28 +0700 Subject: [PATCH 074/305] test(V5): Add FX fast picker, floating manager, drag-cap sync, removed TRIM and native scan boundary --- .../audition-mixer-study/smoke.test.cjs | 59 +++++++++++++++---- 1 file changed, 46 insertions(+), 13 deletions(-) diff --git a/design-references/audition-mixer-study/smoke.test.cjs b/design-references/audition-mixer-study/smoke.test.cjs index 8cb8b81b5..e173365d1 100644 --- a/design-references/audition-mixer-study/smoke.test.cjs +++ b/design-references/audition-mixer-study/smoke.test.cjs @@ -211,8 +211,8 @@ check(html.includes('.console-body.collapsed-route .route-field{display:none}') 'No stale expanded CSS declarations in collapsed route and send'); check(html.includes('right:var(--master-w)!important') && html.includes('--channel-w'), 'Plugin overlay and pinned Master use coherent single-width channel geometry'); -check(html.includes('.console-body.plugin-open #viewport{margin-right:var(--plugin-w)}') && html.includes('dock=pluginOpen?'), - 'Plugin opening adjusts bank capacity without covering fixed Master'); +check(html.includes('.plugin-browser{position:absolute!important') && html.includes('margin-right:0!important') && html.includes('const dock=0;'), + 'Floating Manager is independent from bank width and never triggers channel resize'); check(html.includes('function bankCapacity()') && html.includes('Math.floor(usable/130)'), 'Bank slot count protects full VU/rail width with no bottom scrollbar'); @@ -249,12 +249,11 @@ check(html.includes('class="console-body collapsed-send"') && !strip(1).includes check(!strip(1).includes('eq-section') && !html.includes(' + - BANK + BANK - + - + - + - - + +
- More ··· + More ···
CHANNEL SETUP - - - + + + VIEW & SELECTION - + - - - - - + + + + + REFERENCE TOOLS - - + +
@@ -1101,6 +1101,7 @@
Live Mixer▤10 audio tracks · 1 bus · master
+