limit);
+ el.setAttribute('aria-label',valid?('Simulated '+id+' '+next):(id+' unavailable'));
+ }
}
// v0.3: demo-only FX catalog. Items represent mock plugins, not installed VST3 binaries.
const pluginCatalog=[
diff --git a/web/monitor.js b/web/monitor.js
index 04e869cc4..ba1cf8ece 100644
--- a/web/monitor.js
+++ b/web/monitor.js
@@ -35,7 +35,8 @@
"#arRouteRows{overflow-x:auto}.arRouteRow{min-width:590px}#arRouteSends{margin-top:12px}#arRouteSends h3{font-size:12px;margin:8px 0;color:#b1d4dd}.arSendRow{display:grid;grid-template-columns:1fr 1fr 76px 83px 32px;gap:6px;margin-bottom:5px}.arSendRow select{width:100%;min-width:0;padding:6px;color:#e1eef5;background:#0d202b;border:1px solid #4d6879;border-radius:4px}.arSendRow button{border:1px solid #9a6060;background:#442930;color:#f3dadd;border-radius:4px}#arAddSend{font-size:10px;padding:6px 8px}" +
".arRouteFoot{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:12px}.arRouteFoot button,.arRouteClose{color:#f0f7fa;background:#24475a;border:1px solid #587f91;border-radius:4px;padding:8px 12px;cursor:pointer}" +
"#arRouteApply{background:#237566;border-color:#4ba48d}#arRouteStop{background:#50343c;border-color:#a8717c}" +
- "#arRouteFeedback{font-size:11px;min-height:18px;color:#8bdec1;margin-top:10px}";
+ "#arRouteFeedback{font-size:11px;min-height:18px;color:#8bdec1;margin-top:10px}" +
+ ".arAuxRow{display:grid;grid-template-columns:64px 52px 90px 70px 1fr;align-items:center;gap:7px;padding:7px;background:#0c202b;border-bottom:1px solid #36515f;font-size:11px}.arAuxRow label{display:flex;gap:4px;align-items:center}.arAuxRow select{min-width:0;width:100%;background:#0c202b;color:#dcecf3;border:1px solid #496b7a;padding:6px;border-radius:4px}#arAuxReturns h3{font-size:12px;color:#b1d4dd;margin:14px 0 8px}#arAuxReturns p{color:#90afbc;font-size:10px;margin:4px 0 7px}";
document.head.appendChild(css);
// Signal Check is declared in the permanent toolbar; footer holds status only.
const overlay = document.createElement("div");
@@ -71,11 +72,12 @@
'' +
'
Real hardware routing test: independent stereo-compatible VST3 insert per channel, PRE/POST sends, and BUS returns. No portable route recall. Use headphones at LOW volume. ' +
'The normal CH1 VST3 host resumes after STOP. Every port shown is from the device active input mask.
' +
- '
INTERNAL SENDS · PRE / POST FADER (MAX 32)
+ ADD SEND ' +
+ '
4 DEDICATED AUX / FX RETURNS · INPUT CH1–10 REMAIN AVAILABLE Each AUX has a separate stereo return, VST3, level and MASTER routing. PRE/POST sends may target AUX1–4 without consuming CH strips.
INTERNAL SENDS · PRE / POST FADER (MAX 32)
+ ADD SEND ' +
'
Select channels, BUS returns and sends; APPLY is a native graph transaction.
' +
'';
document.body.appendChild(routeOverlay);
const draftRoutes=Array.from({length:10},()=>({mode:"NONE",left:-1,right:-1,gain:0.25,pan:0,main:true,mute:false,solo:false,fxId:""}));
+ const draftAux=Array.from({length:4},()=>({enabled:false,gain:1,main:true,mute:false,fxId:""}));
const draftSends=[];
let draftEpoch=0; // identity of the hardware used to draw these selectors
function invalidateDraftForNewDevice(nextEpoch){
@@ -85,6 +87,7 @@
route.mode="NONE";route.left=-1;route.right=-1;route.gain=0.25;route.pan=0;
route.main=true;route.mute=false;route.solo=false;route.fxId="";
}
+ for(const b of draftAux){b.enabled=false;b.gain=1;b.main=true;b.mute=false;b.fxId="";}
draftSends.length=0;
return true;
}
@@ -125,6 +128,9 @@
if(Object.prototype.hasOwnProperty.call(source,key))
draftRoutes[i][key]=source[key];
}
+ if(Array.isArray(saved.auxes)&&saved.auxes.length===4)
+ for(let b=0;b<4;b++)for(const key of ["enabled","gain","main","mute","fxId"])
+ if(Object.prototype.hasOwnProperty.call(saved.auxes[b]||{},key))draftAux[b][key]=saved.auxes[b][key];
draftSends.length=0;
if(Array.isArray(saved.sends))
for(const send of saved.sends.slice(0,32))
@@ -187,9 +193,27 @@
row.querySelector('[data-route-fx]').addEventListener('change',e=>{model.fxId=e.target.value;});
refreshMode(row);
});
+ drawAux();
drawSends();
updateRouteLabIdentity();
}
+ function drawAux(){
+ const parent=document.getElementById("arAuxRows");
+ parent.innerHTML=draftAux.map((bus,i)=>'
'+
+ 'AUX '+(i+1)+' '+
+ ' ON '+
+ ''+routeGainChoices(bus.gain)+' '+
+ ' MAIN '+
+ ''+fxChoices(bus.fxId)+' '+
+ '
').join('');
+ parent.querySelectorAll('[data-aux-row]').forEach(row=>{
+ const bus=draftAux[Number(row.dataset.auxRow)];
+ row.querySelector('[data-aux-enable]').addEventListener('change',e=>{bus.enabled=e.target.checked;});
+ row.querySelector('[data-aux-gain]').addEventListener('change',e=>{bus.gain=Number(e.target.value);});
+ row.querySelector('[data-aux-main]').addEventListener('change',e=>{bus.main=e.target.checked;});
+ row.querySelector('[data-aux-fx]').addEventListener('change',e=>{bus.fxId=e.target.value;});
+ });
+ }
function refreshMode(row){
const type=row.querySelector('[data-route-mode]').value;
row.querySelector('[data-route-left]').disabled=type==="NONE"||type==="BUS";
@@ -198,11 +222,12 @@
function drawSends(){
const el=document.getElementById("arSendRows");
const channels=Array.from({length:10},(_,i)=>'
CH '+(i+1)+' ');
- const channelSelect=(value)=>channels.map((option,i)=>option.replace('
' AUX '+(i+1)+' '));
+ const listSelect=(options,value)=>options.map((option,i)=>option.replace('
''+
- ''+channelSelect(send.from)+' '+
- ''+channelSelect(send.to)+' '+
+ ''+listSelect(channels,send.from)+' '+
+ ''+listSelect(destinations,send.to)+' '+
''+['PRE','POST'].map(t=>''+t+' ').join('')+' '+
''+
[[.125,'−18 dB'],[.25,'−12 dB'],[.5,'−6 dB'],[1,'0 dB']].map(([v,l])=>''+l+' ').join('')+' '+
@@ -229,7 +254,7 @@
if(!label)return;
setTextIfChanged(label,(d.active ? (d.ready?"DRY LAB ACTIVE":"DRY LAB STALE — SILENT, REAPPLY"):"DRY LAB OFF")+
" · device epoch "+(d.epoch||0)+" · rev "+(d.revision||0)+
- " · "+(d.ports?.length||0)+" enabled inputs · "+(d.outputPorts?.length||0)+" outputs · "+(d.sendCount||0)+" live sends");
+ " · "+(d.ports?.length||0)+" enabled inputs · "+(d.outputPorts?.length||0)+" outputs · "+(d.sendCount||0)+" channel sends · "+(d.auxSendCount||0)+" AUX sends · "+(d.auxCount||0)+" AUX");
}
function openRoutingLab(){
hydrateAcceptedRoute();
@@ -259,6 +284,7 @@
api.emitEvent("arMixAction",{action:"routingDryApply",value:{
deviceEpoch:draftEpoch,revision:Number(d.revision)||0,
channels:draftRoutes.map(c=>({...c})),
+ auxes:draftAux.map(b=>({...b})),
sends:draftSends.map(s=>({...s}))
}});
});
@@ -268,7 +294,7 @@
if(result && typeof result==="object" && "epoch" in result)state.dryRoutingLab=result;
document.getElementById("arRouteFeedback").textContent=
reply?.ok===false?("REJECTED · "+(reply.error||"Invalid route")):
- result.active?"NATIVE ACK: "+(result.fxCount||0)+" VST3 ("+(result.fxReused||0)+" preserved) · "+(result.sendCount||0)+" SENDS · UNMUTE OUTPUT in SIGNAL CHECK":"NATIVE ACK: STOPPED · output remains MUTED for safety";
+ result.active?"NATIVE ACK: "+(result.fxCount||0)+" VST3 ("+(result.fxReused||0)+" preserved) · "+(result.auxCount||0)+" dedicated AUX · "+(result.auxSendCount||0)+" AUX sends · UNMUTE OUTPUT in SIGNAL CHECK":"NATIVE ACK: STOPPED · output remains MUTED for safety";
updateRouteLabIdentity();
});
diff --git a/web/styles-src/42-mixer-premium.css b/web/styles-src/42-mixer-premium.css
index 0d9a4a511..fc3650a47 100644
--- a/web/styles-src/42-mixer-premium.css
+++ b/web/styles-src/42-mixer-premium.css
@@ -320,3 +320,51 @@ html:not([data-mixperf="baseline"]):not([data-mixperf="layers-off"]):not([data-m
#app #scenesList .scene-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
#app #scenesList .scene-delete{flex:0 0 20px;height:18px;padding:0;border:1px solid #53646d;border-radius:2px;background:#26343c;color:#d0dbdf;font-size:14px;line-height:14px}
#app #scenesList .scene-delete:hover{background:#40515a}
+
+/* The mono meter has ONE LED slot, stereo/master TWO. Keep 7px fixed LEDs. */
+#app #mixer .fader-zone .vu-bank.is-mono{
+ flex-basis:35px;width:35px;min-width:35px;max-width:35px;
+}
+#app #mixer .fader-zone .vu-bank.is-mono .vu-bars{
+ flex-basis:14px;width:14px;min-width:14px;max-width:14px;
+}
+/* Same machined recessed folds as fader; no external rectangular stroke. */
+#app #mixer .fader-zone .vu-bank .vu-bars{
+ position:relative;isolation:isolate;border:0;border-radius:5px;background:#24343c;
+ 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;
+}
+#app #mixer .fader-zone .vu-bank .meter-unit .meter{
+ border:0;border-radius:2px;background:#080f14;
+ box-shadow:inset 0 1px 2px #0009,inset 1px 0 2px #000c,inset -1px 0 2px #000b;
+}
+#app #mixer .fader-zone .vu-bank .meter-unit .meter::after{
+ inset:0;background:linear-gradient(180deg,#d3eced10,transparent 35%);
+}
+/* LUFS / dBTP: exactly two lines in a black glass LCD. No blur/compositor. */
+#app #masterLeft .master-controls-zone .master-analysis{
+ box-sizing:border-box;height:38px;min-height:38px;flex:0 0 38px;
+ display:flex;flex-direction:column;justify-content:center;gap:1px;
+ margin:0;padding:3px 6px;border:0;border-radius:4px;
+ background:linear-gradient(180deg,#0d1c1c,#030a0b 35%,#071313);
+ box-shadow:inset 0 3px 4px -2px #000,inset 2px 0 3px -2px #000,
+ inset -2px 0 3px -2px #000,inset 0 -1px 0 #40625c77;
+}
+#app #masterLeft .master-controls-zone .master-analysis .master-info-row{
+ display:flex;align-items:center;justify-content:space-between;
+ flex:0 0 14px;height:14px;min-height:14px;margin:0;
+ color:#70c2a1;font:600 9px/14px Consolas,monospace;
+}
+#app #masterLeft .master-controls-zone .master-analysis .master-info-row strong{
+ color:#58f3a0;font:700 12px/14px Consolas,monospace;
+ min-width:0;text-align:right;text-shadow:none;
+}
+#app #masterLeft .master-controls-zone .master-analysis .master-info-row strong.over-limit{
+ color:#ff555f;text-shadow:none;
+}
+
+/* Borderless deep LED slit keeps the approved 10px illuminated cell width. */
+#app #mixer .fader-zone .meter-signal-area .meter-fill,
+#app #mixer .fader-zone .meter-signal-area .meter-peak{
+ left:2px;right:2px;
+}
diff --git a/web/styles.css b/web/styles.css
index f175347e2..f969bac31 100644
--- a/web/styles.css
+++ b/web/styles.css
@@ -1295,3 +1295,51 @@ html:not([data-mixperf="baseline"]):not([data-mixperf="layers-off"]):not([data-m
#app #scenesList .scene-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
#app #scenesList .scene-delete{flex:0 0 20px;height:18px;padding:0;border:1px solid #53646d;border-radius:2px;background:#26343c;color:#d0dbdf;font-size:14px;line-height:14px}
#app #scenesList .scene-delete:hover{background:#40515a}
+
+/* The mono meter has ONE LED slot, stereo/master TWO. Keep 7px fixed LEDs. */
+#app #mixer .fader-zone .vu-bank.is-mono{
+ flex-basis:35px;width:35px;min-width:35px;max-width:35px;
+}
+#app #mixer .fader-zone .vu-bank.is-mono .vu-bars{
+ flex-basis:14px;width:14px;min-width:14px;max-width:14px;
+}
+/* Same machined recessed folds as fader; no external rectangular stroke. */
+#app #mixer .fader-zone .vu-bank .vu-bars{
+ position:relative;isolation:isolate;border:0;border-radius:5px;background:#24343c;
+ 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;
+}
+#app #mixer .fader-zone .vu-bank .meter-unit .meter{
+ border:0;border-radius:2px;background:#080f14;
+ box-shadow:inset 0 1px 2px #0009,inset 1px 0 2px #000c,inset -1px 0 2px #000b;
+}
+#app #mixer .fader-zone .vu-bank .meter-unit .meter::after{
+ inset:0;background:linear-gradient(180deg,#d3eced10,transparent 35%);
+}
+/* LUFS / dBTP: exactly two lines in a black glass LCD. No blur/compositor. */
+#app #masterLeft .master-controls-zone .master-analysis{
+ box-sizing:border-box;height:38px;min-height:38px;flex:0 0 38px;
+ display:flex;flex-direction:column;justify-content:center;gap:1px;
+ margin:0;padding:3px 6px;border:0;border-radius:4px;
+ background:linear-gradient(180deg,#0d1c1c,#030a0b 35%,#071313);
+ box-shadow:inset 0 3px 4px -2px #000,inset 2px 0 3px -2px #000,
+ inset -2px 0 3px -2px #000,inset 0 -1px 0 #40625c77;
+}
+#app #masterLeft .master-controls-zone .master-analysis .master-info-row{
+ display:flex;align-items:center;justify-content:space-between;
+ flex:0 0 14px;height:14px;min-height:14px;margin:0;
+ color:#70c2a1;font:600 9px/14px Consolas,monospace;
+}
+#app #masterLeft .master-controls-zone .master-analysis .master-info-row strong{
+ color:#58f3a0;font:700 12px/14px Consolas,monospace;
+ min-width:0;text-align:right;text-shadow:none;
+}
+#app #masterLeft .master-controls-zone .master-analysis .master-info-row strong.over-limit{
+ color:#ff555f;text-shadow:none;
+}
+
+/* Borderless deep LED slit keeps the approved 10px illuminated cell width. */
+#app #mixer .fader-zone .meter-signal-area .meter-fill,
+#app #mixer .fader-zone .meter-signal-area .meter-peak{
+ left:2px;right:2px;
+}