diff --git a/.github/workflows/ui-smoke.yml b/.github/workflows/ui-smoke.yml new file mode 100644 index 000000000..570d7dd86 --- /dev/null +++ b/.github/workflows/ui-smoke.yml @@ -0,0 +1,46 @@ +name: UI smoke (Chromium) + +on: + pull_request: + workflow_dispatch: + +permissions: + contents: read + +jobs: + frontend: + name: Standalone UI and geometry + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Validate JavaScript syntax + run: node --check web/app.js + - name: Install Chromium testing dependencies + run: | + python -m pip install --upgrade pip + python -m pip install playwright + python -m playwright install --with-deps chromium + - name: Verify original metallic asset and standalone synchronization + run: python tests/fader_asset_test.py + - name: Check switch PNG assets and offline HTML sync + run: python tests/button_asset_test.py + - name: Check PAN and button PNG assets + run: python tests/pan_button_asset_test.py + - name: Run mixer UI smoke tests + run: python tests/ui_smoke.py + - name: Attach visual regression screenshot + if: always() + uses: actions/upload-artifact@v4 + with: + name: ar-mix-fader-smoke + path: | + fader-ui-smoke.png + mixer-design-review.png + mixer-design-review-1440.png + mixer-master-clip-review.png + mixer-pro-view-review.png + if-no-files-found: ignore diff --git a/AR-MIX-Live-FX-Host-Standalone-v0.3.html b/AR-MIX-Live-FX-Host-Standalone-v0.3.html index 31a871bb4..32fed83db 100644 --- a/AR-MIX-Live-FX-Host-Standalone-v0.3.html +++ b/AR-MIX-Live-FX-Host-Standalone-v0.3.html @@ -1,16 +1,11 @@ -AR MIX Studio — Live FX Host Concept
-
ARMIX Studio
+
ArSonMix
Session: Live Vocal Studio▾
ASIO / WASAPI
48 kHz
64 samples
@@ -55,22 +687,26 @@
-
-
UI STUDY · Audio engine disconnected · Simulated metersDrag faders & knobs • Click FX insert to open plugin browser • Ctrl+S saves sessionAR MIX v0.3 | FX HOST UI PROTOTYPE
-
+
UI STUDY · Audio engine disconnected · Simulated metersDrag faders and PAN sliders • Click FX insert to open plugin browser • Ctrl+S saves sessionArSonMix | FX HOST UI PROTOTYPE
+
+ diff --git a/docs/GITHUB_PAGES_PREVIEW.md b/docs/GITHUB_PAGES_PREVIEW.md new file mode 100644 index 000000000..328bc5167 --- /dev/null +++ b/docs/GITHUB_PAGES_PREVIEW.md @@ -0,0 +1,45 @@ +# GitHub Pages GUI preview — production workflow + +**Live and deployed** (GitHub Actions run [40147158731](https://github.com/masarray/arsonmix/actions/runs/40147158731)): + +- Landing: https://masarray.github.io/arsonmix/ +- Interactive mixer review: https://masarray.github.io/arsonmix/preview/ +- Full-screen standalone mixer: https://masarray.github.io/arsonmix/preview/mixer.html +- Current served GUI revision: https://masarray.github.io/arsonmix/preview/build.json + +## Architecture: safe GUI mirror without merging PR + +**The publishing workflow lives in the default branch:** `.github/workflows/pages-publish.yml` in `main`. + +The workflow **checks out `fix/fader-thumb-symmetry-polish`** to build the site, so GitHub Pages environment controls are satisfied without merging unapproved UI code into `main`. + +Whenever UI smoke CI passes for the preview branch, `workflow_run` on `main` automatically triggers production Pages deployment. You may also use **Actions → Publish ArSonMix GUI (main dispatcher) → Run workflow** for manual republishing, running the workflow on **main**. + +The prior branch-local `.github/workflows/pages-preview.yml` was removed because the `github-pages` environment blocked deployment from a non-default-branch workflow (build/upload succeeded but the deployment job could not start). Do not reintroduce a competing branch publisher. + +## Build parity + +`scripts/build_pages.py` copies: +- `site/index.html` → site landing; +- `site/preview/index.html` → review shell; +- `AR-MIX-Live-FX-Host-Standalone-v0.3.html` → `preview/mixer.html`; +- `preview/build.json` → deployed GUI git SHA + source branch. + +The preview shell checks `build.json` every 60 seconds and reloads automatically if a new build is available **and the user is idle**. Otherwise, it displays a reload notice. Click **Reload GUI** to force a refresh; **Full Screen** opens the mixer independently. + +## Local validation + +```bash +python tests/button_asset_test.py +python tests/fader_asset_test.py +python scripts/build_pages.py --out dist-pages +python -m http.server 8000 --directory dist-pages +``` + +Then open `http://localhost:8000/` and `http://localhost:8000/preview/`. + +The browser version is a **GUI prototype** with simulated meters; it does not capture/process real audio. Real engine work is separate. + +## Future promotion + +After final GUI visual approval and merge to `main`, update the checkout ref and trigger branch settings in `.github/workflows/pages-publish.yml` to publish from `main` instead. This is intentionally not done until GUI changes are approved. diff --git a/docs/PAN_AND_BUTTON_UX.md b/docs/PAN_AND_BUTTON_UX.md new file mode 100644 index 000000000..c17c055cb --- /dev/null +++ b/docs/PAN_AND_BUTTON_UX.md @@ -0,0 +1,54 @@ +# ArSonMix – Horizontal PAN and unified tactile controls + +## Design and engineering change (2026-10-25) +- 12 channel PAN knobs replaced with short horizontal rails. Supplied `PAN-SLIDER.png` (18×40 px) is used unchanged, black recessed rail and center mark rendered below it. Existing channel `pan` session property (−100 to 100) and `send('pan', ...)` protocol are unchanged. +- PAN pointer-dragging from the thumb is relative and never jumps on press. Clicking an empty part of the track moves to the requested position. Double click resets to center without opening the channel editor. Keyboard: left/right 1%, shift 10%, Page ±10%, Home C, End R100; wheel 2%. +- Five user-supplied 88×36 machined-metal PNGs are checked into `web/assets/buttons/` unchanged. Matching data URIs are embedded in CSS for offline one-file WebView2 and browser Pages parity. OFF is the neutral baseline; blue=selected navigation/action; turquoise=selected section/output; pink=streaming/talkback/presets; red=record output. Existing channel MUTE/SOLO/HPF physical buttons retain earlier 54×37 artwork. +- Covered: top navigation (MIX, FX RACK, SIGNAL FLOW, SETUP), left/right segment tabs (CHANNELS, FX CHAINS, MASTER, MONITORS, TALKBACK), output selection (Main L/R etc.), scene/snapshot controls, preset controls, FX inserts, plugin categories and selected miscellaneous actions. +- Product name now **ArSonMix** in mixer header/footer, browser title, landing page and preview shell. Internal engineering project code and historical repository filenames are preserved. +- `tests/pan_button_asset_test.py` verifies original PNG dimensions/bytes and offline CSS/JS parity; `tests/ui_smoke.py` verifies PAN pointer/keyboard/center behavior and button backgrounds. Do not merge if Chromium smoke fails. +- The preview is visual UI only; no live device signal routing or audio processing is implied. + +## 2026-10-25 — Context-aware physical-button refinement + +**Root cause:** two appended CSS blocks applied 54x37 and 88x36 PNGs to unrelated elements using a broad `:is()` selector, stretching the hardware artwork and inflating the FX rack and small toggle controls. + +**Fix:** delete those blanket overrides, restore original slim recessed FX inserts and compact icon controls, retain 18x40 PAN slider and existing 31x90 metal faders. New families are applied **per functional region**, and the original button images are checked in under `web/assets/buttons/`: + +| GUI region | Correct art | State | +| --- | --- | --- | +| Dense channel strip MUTE/SOLO/HPF/phase/A-B | SO-S-*.png (49x37) | silver off, red mute, yellow solo, green HPF, blue phase/routing | +| Top navigation + left/right tabs + output destinations | SO-M-BTN-*.png (88x36) | neutral off, blue current view, turquoise selected section/output, red selected record, pink selected streaming | +| Sidebar quick sound presets | SO-L-BTN-*.png (192x36) | dark off, turquoise active | +| Talkback large action | SO-B-BTN-*.png (88x56) | dark off, blue selected | +| FX insert rack | Existing original recessed CSS | No button art; maintain compact signal-chain presentation | +| Tool icons and plugin category controls | Existing original UI | No global material overlay | +| Master identity plate | Existing dedicated plaque styling | Not a button | + +All skins are data-URI embedded from **byte-identical original PNG assets**, so standalone WebView2 and GitHub Pages share one rendering path. No JavaScript audio routing changes. + +**QA:** `tests/button_asset_test.py` checks all nine new families, image sizes/byte integrity and absence of the obsolete global override. `tests/ui_smoke.py` now verifies that four families remain different, FX slots and tool icons do not accidentally inherit large button images, strip switches do not overflow, and review screenshots are captured at 1680x920 and 1440x820. The visual regression artifacts are attached to successful CI runs. + +## 2026-10-25 — Soundcraft reference / Studio One style insert-power refinement + +- **PAN**: added center-origin illuminated green/cyan ribbon between center tick and metallic PAN thumb, positive and negative pan; zero is empty, fully pan is fully illuminated. Existing pan range, no-jump drag and keyboard behavior remain. +- **Master MUTE**: fixed physical printed label `MUTE` regardless of state; red artwork + pressed state mean muted. ARIA pressed persists. +- **FX insert**: occupied rows now have separate **FX name/edit target** and **⏻ power target**. Button never opens browser, and opening name never changes bypass. Gray power = bypassed, luminous aqua = on. No power for empty slot. Existing chain bypass mechanism is the single state; it syncs main strips and full FX Rack, sends existing `chainBypass` bridge event, and immediately persists the UI/session state. This is a demo: audio DSP bypass still requires the native host to consume this event. +- **Persistence**: initial restored session now also restores `bypassed`, `fxParams`, and `masterMute`. +- **Tactile feedback**: increased hover brightness/contrast for hardware controls; darker active press. The 31×90 original fader image, exact translation/geometry, and hit zone remain unchanged. +- **Geometry & regression guard**: Chromium checks pan bar left/right/center, 60 compact 25px rack slots, two independent FX targets, synchronized bypass, unchanged MUTE caption and visible hover feedback. +- **Audit priorities**: use color only for meaningful state, keep signal-chain names legible at 1440px, isolate native DSP functions from preview simulation, and prevent per-strip overflow rather than scaling all buttons globally. + +## October 25, 2026 — Studio One-inspired channel/master metering and channel identity + +- PAN: removed neon glow from metallic thumb and green direction ribbon. Pointer interaction snaps to the center when the requested value is within ±6 units; keyboard retains fine one-unit increments. PAN is still -100..+100 and double-click centers. +- Fader/button hover: reduced previous exaggerated contrast and brightness, keeping recognizably physical pressed states. +- Insert rack: removed occupied slot `◉` graphic entirely; empty slots have one `+` glyph and caption `ADD FX` (no repeated plus). +- Channel identity: clicking the bottom colored identity plate opens a compact console-themed editor: channel name (26 characters maximum), twelve icon choices, twelve semantic strip colors. Identity is saved in UI session and snapshots and restored on reload. Values are escaped/whitelisted; cancelling discards changes. +- Focused channel: border follows selected or interacted-with strip from channel header to bottom plate without changing fader geometry. +- Input meters: industrial tick marks, red peak hold line (1.6 s), 8px raised hardware-style clip candy LED with latched red state and per-channel click-to-clear. +- Master strip: own 5-slot UI FX chain (4 visible in Easy), dedicated enable/bypass buttons, dual L/R meters each with individual clip and peak, all-clip reset, exact original FADER-RED2.png (31×90), and output telemetry. Master fader's start is vertically aligned to input faders in both Easy/Pro UI modes. +- Engineering integrity: source red master PNG git blob SHA `2369e1b9002522600948909246918e57880da1ed` is checked in. A previous one-character base64 corruption caused the image to be invisible; tests now verify byte-exact embedding and `Image.decode()` of 31×90 in Chromium. +- The preview's `LUFS-I`, `dBTP`, and `PEAK` displays are visibly marked `SIM`/`DEMO · NOT CALIBRATED`. They are **not** real BS.1770 LUFS or oversampled true-peak measurements; those must be sourced from DSP/native audio metering before the product claims compliance. +- Browser FX power (including master) is a GUI state/bridge event only; real VST3 bypass requires the native host to consume and apply the changes safely at audio-buffer boundaries. +- QA: 12 input strips, 13 faders total, dual master meters, 14 clip LEDs, original master PNG decode, channel rename/icon/color persistence, FX bypass, no layout overflow at 1680×920 and 1440×820, plus aligned Easy/Pro fader-start geometry. diff --git a/docs/TACTILE_BUTTONS.md b/docs/TACTILE_BUTTONS.md new file mode 100644 index 000000000..ac51013e8 --- /dev/null +++ b/docs/TACTILE_BUTTONS.md @@ -0,0 +1,12 @@ +# Physical console button artwork + +Original assets: +- `web/assets/buttons/SO-M-SLV.png`: inactive/neutral silver +- `web/assets/buttons/SO-M-RED.png`: MUTE active and MASTER MUTE active +- `web/assets/buttons/SO-M-GRE.png`: SOLO active, HPF/Ø enabled and A/B routing enabled + +The image contains the bevel and edge shadow; CSS provides live label text, keyboard focus, pointer hover, pressed position and reduced-motion support. All assets are 54×37 RGBA. They are embedded in `web/styles.css` as byte-identical data URLs so the one-file HTML trial and the JUCE/WebView2 binary need no network or external asset dependencies. + +The supplied `OFF-ON.png` / `OFF-OFF.png` images have the text OFF baked into the image and **are not used for controls whose ON state needs to be legible**, to avoid misleading users. They can be treated as style references. + +Default dark-silver = up; stateful red/green = depressed by 1px; pointer press depresses 3px. Do not simulate depth with chunky cards or CSS-only candy gradients. diff --git a/docs/UI_AUDIT_AND_QA_v0.3.md b/docs/UI_AUDIT_AND_QA_v0.3.md index 053caa2c7..923ce6e03 100644 --- a/docs/UI_AUDIT_AND_QA_v0.3.md +++ b/docs/UI_AUDIT_AND_QA_v0.3.md @@ -31,3 +31,20 @@ **Not yet verified:** Windows 125/150% display scaling; native WebView2 shell compilation; real VST3 scan; FX plugin state persistence; real audio capture/output; buffer underrun / callback budgets / device RTL; production memory leak analysis. Treat these as explicit release gates rather than claimed capabilities. - Responsive QA: at 1366×768, 1920×1080, 2560×1440, measured 12 strips, **zero fader head geometry clips** and **zero JavaScript page errors**. Screenshots were inspected. + +## 2026-10-25: Mirror-symmetric fader polish + +- Root cause: original 45px head used a fixed 19px centerline. An overriding 39px height and biased shadow left the cap unbalanced, while an obsolete travel calculation remained. +- Repair: single 29×42px metallic head, matching 5px top/bottom corners and centered black stripe; the lower grip is a true Y-mirror of the upper grip. Same CSS for channel and master. +- Keep the cross-browser 25px safe-travel clamp. Add subtle hover and keyboard focus highlights; remove contradictory height/position declarations. +- UX: vertical ARIA sliders, live master value, 0.5dB arrow steps, 5dB Page steps, Home (-60dB) and End (+10dB). +- Automated Playwright smoke includes cap dimension, pseudo-layer symmetry, boundary clipping at initial positions, keyboard endpoints and existing FX workflows. Only the standalone component has been visually rendered in Linux Chromium during this patch; run the complete smoke suite before release. + +## 2026-10-25 — Image-backed rugged silver fader (supersedes flat CSS v0.3) + +- **Canonical reference:** `web/assets/fader-silver2.png` (user-supplied Gambar 3, 31×90 RGBA, SHA-256 `0f45fe5aebc8db7b65c4163ffad083cbe3965d59cde7056add94812ac067a899`). +- The original PNG preserves curved machined-metal edge shading, fine ridges and soft downcast shadow. The embedded CSS data URI uses exactly the same PNG so **standalone HTML, normal browser CSS and JUCE WebView2 never depend on external file loading**; the canonical PNG remains replaceable. +- On-image black horizontal center mark is **pixel y=35**, CSS `translateY(-35px)` pins that mark to the fader dB coordinate. The body ends near y=65; the transparent falloff continues below without changing the controlled value. Keep the visual clipping assertions limited to the actual metal body (not its cast shadow). +- Pointer-down on an existing cap now retains the current gain; drag is relative to the starting value. Track click still jumps as before. Keyboard and ARIA controls retained. +- QA: `python tests/fader_asset_test.py` checks byte-exact PNG, CSS and offline trial synchronization. Chromium `tests/ui_smoke.py` covers asset decode, all 13 cap dimensions, body clipping, no-jump drag, keyboard endpoints, plugin rack operations and screenshot artifact. +- **Known:** Original user asset is only 31px wide. It is deliberately shown at approximately original pixel dimensions, not artificially upscaled. Replacing the original source with a high-DPI recreation may be considered later if 150%/200% scaling reveals softness. diff --git a/scripts/build_pages.py b/scripts/build_pages.py new file mode 100644 index 000000000..533348262 --- /dev/null +++ b/scripts/build_pages.py @@ -0,0 +1,22 @@ +"""Build public Pages landing and interactive console from canonical standalone HTML.""" +from pathlib import Path +import argparse,os,json,shutil,subprocess +ROOT=Path(__file__).resolve().parents[1] +p=argparse.ArgumentParser() +p.add_argument('--out',default='dist-pages') +p.add_argument('--sha',default=os.environ.get('GITHUB_SHA','local')) +p.add_argument('--branch',default=os.environ.get('GITHUB_REF_NAME','local')) +args=p.parse_args() +dst=Path(args.out).resolve() +if dst==ROOT or dst==ROOT/'site': raise SystemExit('unsafe output path') +dst.mkdir(parents=True,exist_ok=True) +shutil.copytree(ROOT/'site',dst,dirs_exist_ok=True) +source=ROOT/'AR-MIX-Live-FX-Host-Standalone-v0.3.html' +html=source.read_text(encoding='utf-8') +assert ' +
+
LIVE AUDIO · VST FX · DIGITAL CONSOLE

The next-generation live mixing workspace.

A precision-focused digital mixer UI for live vocals, karaoke, and streaming. Explore channel strips, real console controls, effect chains and professional signal flow in the interactive browser prototype.

GUI preview availableWindows-native engine in developmentOpen source
+
ArSonMix48 kHz  |  DIGITAL MIXER
+
+
+
+
+
+
+
+
+
Metal faders · Tactile buttons · Interactive FX chain
+
EXPLORE THE CONSOLE

Built around a practical live workflow

Open full console →
⌁

Professional mixer surface

Channel faders, pan, routing, meters, and tactile MUTE/SOLO/HPF states inspired by physical consoles.

≋

FX chain workflow

Explore racks, plugin browser and signal flow. The browser version is a UI prototype, not a real-time audio engine.

◉

Continuously updated GUI

The preview is rebuilt from the current development HTML by GitHub Actions. Check version and reload from the preview header.

+
\ No newline at end of file diff --git a/site/preview/index.html b/site/preview/index.html new file mode 100644 index 000000000..751a01dfd --- /dev/null +++ b/site/preview/index.html @@ -0,0 +1,32 @@ + + +ArSonMix — Live GUI Preview + + + + + \ No newline at end of file diff --git a/tests/button_asset_test.py b/tests/button_asset_test.py new file mode 100644 index 000000000..1a6fbe8ca --- /dev/null +++ b/tests/button_asset_test.py @@ -0,0 +1,34 @@ +"""Context-aware ArSonMix button family integrity and CSS design boundary tests.""" +from pathlib import Path +from hashlib import sha256 +import re, base64, struct +root=Path(__file__).resolve().parents[1] +css=(root/'web/styles.css').read_text(encoding='utf-8') +js=(root/'web/app.js').read_text(encoding='utf-8') +offline=(root/'AR-MIX-Live-FX-Host-Standalone-v0.3.html').read_text(encoding='utf-8') + +families={ + 'SO-S-SLV.png':('skin-small-off',(49,37)), + 'SO-S-YLW.png':('skin-small-solo',(49,37)), + 'SO-S-RED.png':('skin-small-mute',(49,37)), + 'SO-S-GRE.png':('skin-small-enable',(49,37)), + 'SO-S-BLU.png':('skin-small-phase',(49,37)), + 'SO-L-BTN-OFF.png':('skin-long-off',(192,36)), + 'SO-L-BTN-TUR.png':('skin-long-on',(192,36)), + 'SO-B-BTN-OFF.png':('skin-large-off',(88,56)), + 'SO-B-BTN-BLU.png':('skin-large-on',(88,56)), +} +for name,(token,expected) in families.items(): + original=(root/'web/assets/buttons'/name).read_bytes() + assert original[:8] == bytes.fromhex('89504e470d0a1a0a'),name + assert struct.unpack('>II',original[16:24]) == expected, name + found=re.search(r'--'+token+r':url\("data:image/png;base64,([A-Za-z0-9+/=]+)"\)', css) + assert found,name+' is missing from the intended CSS family' + assert base64.b64decode(found.group(1)) == original,name+' embedded bytes mismatch' +assert '' in offline, 'Offline CSS differs from modular CSS' +assert '' in offline, 'Offline JS differs from modular JS' +# The previously blanket-styled nav/rack/plugin controls must stay separate. +assert ':is(.nav button,.seg button,.right-button' not in css +assert '.strip .rack .insert,.strip .rack .insert.empty' in css +assert '/* CONTEXTUAL ARSONMIX HARDWARE BUTTONS' in css +print('PASS: all 9 contextual button assets original & correct dimensions, no global override, offline parity') diff --git a/tests/fader_asset_test.py b/tests/fader_asset_test.py new file mode 100644 index 000000000..b8f3a25b1 --- /dev/null +++ b/tests/fader_asset_test.py @@ -0,0 +1,27 @@ +"""Regression guard for original user-supplied metallic fader PNG and offline build.""" +from pathlib import Path +import base64 +import hashlib +import re + +root=Path(__file__).resolve().parents[1] +asset=(root/"web/assets/fader-silver2.png").read_bytes() +css=(root/"web/styles.css").read_text(encoding="utf-8") +js=(root/"web/app.js").read_text(encoding="utf-8") +html=(root/"AR-MIX-Live-FX-Host-Standalone-v0.3.html").read_text(encoding="utf-8") +data=re.search(r'data:image/png;base64,([A-Za-z0-9+/=]+)',css) +assert data, "Embedded metallic asset missing from web/styles.css" +assert base64.b64decode(data.group(1))==asset, "Embedded thumb differs from source PNG" +assert (len(asset),asset[:8])==(2786,b"\x89PNG\r\n\x1a\n") +assert hashlib.sha256(asset).hexdigest()=="0f45fe5aebc8db7b65c4163ffad083cbe3965d59cde7056add94812ac067a899" +master=(root/'web/assets/faders/FADER-RED2.png').read_bytes() +assert hashlib.sha1(b'blob '+str(len(master)).encode()+bytes([0])+master).hexdigest()=='2369e1b9002522600948909246918e57880da1ed' +needle='--master-cap-asset:url("data:image/png;base64,' +assert needle in css, 'Missing master cap CSS source' +master_css=css.split(needle,1)[1].split('")',1)[0] +assert base64.b64decode(master_css)==master, 'Master red cap differs from original user PNG' +assert "" in html, "Offline CSS is stale" +assert "" in html, "Offline JS is stale" +assert ".cap::before,.cap::after{content:none}" in css +assert "translate(-50%,-35px)" in css +print("PASS: supplied 31x90 PNG unchanged, detent anchor, modular and offline assets synced") diff --git a/tests/pan_button_asset_test.py b/tests/pan_button_asset_test.py new file mode 100644 index 000000000..97ea61eb8 --- /dev/null +++ b/tests/pan_button_asset_test.py @@ -0,0 +1,21 @@ +"""Byte-for-byte provenance and embedded asset integrity for PAN + five metal buttons.""" +from pathlib import Path +import base64,re,struct +root=Path(__file__).resolve().parents[1] +css=(root/'web/styles.css').read_text(encoding='utf-8') +js=(root/'web/app.js').read_text(encoding='utf-8') +offline=(root/'AR-MIX-Live-FX-Host-Standalone-v0.3.html').read_text(encoding='utf-8') +sources={'pan/PAN-SLIDER.png':('ar-pan',(18,40)),'buttons/SO-M-BTN-TUR.png':('ar-btn-tur',(88,36)), +'buttons/SO-M-BTN-BLU.png':('ar-btn-blue',(88,36)),'buttons/SO-M-BTN-OFF.png':('ar-btn-off',(88,36)), +'buttons/SO-M-BTN-PNK.png':('ar-btn-pink',(88,36)),'buttons/SO-M-BTN-RED.png':('ar-btn-red',(88,36))} +for name,(token,expected) in sources.items(): + original=(root/'web/assets'/name).read_bytes() + assert original.startswith(bytes.fromhex('89504e470d0a1a0a')) + assert struct.unpack('>II',original[16:24])==expected,name + found=re.search(r'--'+token+r':url\("data:image/png;base64,([A-Za-z0-9+/=]+)"\)',css) + assert found, name+' not embedded' + assert base64.b64decode(found.group(1))==original,name+' changed during embedding' +assert '' in offline, 'CSS modular/standalone mismatch' +assert '' in offline, 'JS modular/standalone mismatch' +assert 'ArSonMix' in offline +print('PASS: 6 original metal assets embedded exactly, PAN/brand and standalone parity') diff --git a/tests/ui_smoke.py b/tests/ui_smoke.py index 00d2eff6a..5e4a5a67b 100644 --- a/tests/ui_smoke.py +++ b/tests/ui_smoke.py @@ -11,7 +11,368 @@ async def main(): errors=[] page.on("pageerror", lambda e: errors.append(str(e))) await page.set_content((project/"AR-MIX-Live-FX-Host-Standalone-v0.3.html").read_text()) - assert await page.locator(".strip").count()==12 + assert await page.locator(".strip").count()==13 + # All 12 PAN knobs have been replaced by horizontal slider tracks. + assert await page.locator('[data-pan]').count()==13 + assert await page.locator('[data-knob="pan"]').count()==0 + assert ''.join((await page.locator('.brand').inner_text()).split())=='ArSonMix' + for idx in range(12): + p=page.locator(f'[data-pan="{idx}"]') + assert await p.get_attribute('aria-orientation')=='horizontal' + assert await p.locator('.pan-thumb').count()==1 + for selector in ['.nav button.selected','.left-rail .seg button.selected']: + bg=await page.locator(selector).first.evaluate('(x)=>getComputedStyle(x).backgroundImage') + assert 'data:image/png;base64,' in bg, (selector,bg[:110]) + # Visual-architecture regression: four intentionally different hardware + # families, FX slots recessed rather than taking on button-cap artwork. + # GUI target: the master is the 13th sibling, not a floating right rail. + assert await page.locator('#mixer > .strip').count()==13 + assert await page.locator('#mixer > .strip:last-child').get_attribute('id')=='masterLeft' + assert await page.locator('[data-insert="0:5"]').count()==1 + assert await page.locator('[data-master-insert="5"]').count()==1 + assert await page.locator('.strip-controls .knob-label').filter(has_text="PAN").count()==0 + assert await page.locator('.pan-readline').count()==13 + assert await page.locator('#masterLeft .master-controls-zone .master-analysis').count()==1 + # Six real insert slots fit entirely within each FX rack (no cropping). + rack_geometry=await page.evaluate("""() => [...document.querySelectorAll('.strip')].every(strip=>{ + const rack=strip.querySelector('.rack,.master-fx-rack'); + const cells=[...rack.querySelectorAll('.insert-slot,.master-fx-slot')]; + const r=rack.getBoundingClientRect(); + return cells.length===6&&cells.every(c=>{ + const b=c.getBoundingClientRect();return b.top>=r.top-.5 && b.bottom<=r.bottom+.5; + }); + })""") + assert rack_geometry, 'Some of the six FX slots are clipped' + + assert await page.locator('.right-rail,.master-tabs,.head').count()==0 + assert await page.locator('[data-master-output]').count()==0 + assert await page.locator('.master-stereo-badge,.master-route-label').count()==2 + # Streaming output panel has only two useful readouts. + assert await page.locator('#masterLeft .master-analysis .master-info-row').count()==2 + assert await page.locator('#masterPeakDb').count()==0 + assert await page.locator('#masterLufs').count()==1 + assert await page.locator('#masterDbtp').count()==1 + assert 'SIM' in await page.locator('#masterLeft .master-analysis').inner_text() + assert 'LUFS-I' in await page.locator('#masterLeft .master-analysis').inner_text() + # Buttons must describe and perform actual distinct actions: no "..." blank cap. + assert await page.locator('.left-rail #addScene').inner_text()=='+ SAVE SNAPSHOT' + assert await page.locator('.left-rail #saveFxPreset').inner_text()=='SAVE FX' + assert await page.locator('.left-rail #menuScene').inner_text()=='EXPORT' + assert await page.locator('.left-rail .rail-bottom button').count()==3 + assert await page.locator('.left-rail .rail-input-footer').count()==1 + railGeometry=await page.evaluate("""()=>{ + const rect=s=>{const r=document.querySelector(s).getBoundingClientRect();return {top:r.top,bottom:r.bottom,width:r.width,height:r.height}}; + const rail=rect('.left-rail'),channels=rect('#channelList'); + const presets=rect('#presetList'),snapshots=rect('#scenesList'); + const actions=rect('.rail-bottom'),input=rect('.rail-input-footer'); + const sections=[...document.querySelectorAll('.left-rail .rail-section-title')].map(e=>e.getBoundingClientRect()); + return {rail,channels,presets,snapshots,actions,input,sectionTops:sections.map(r=>r.top), + emptyControls:[...document.querySelectorAll('.left-rail .rail-bottom button')].some(b=>!b.innerText.trim()), + buttons:[...document.querySelectorAll('.left-rail .rail-bottom button')].map(b=>({width:b.getBoundingClientRect().width,height:b.getBoundingClientRect().height}))}; + }""") + assert railGeometry['channels']['bottom']<=railGeometry['sectionTops'][0]+2,railGeometry + assert railGeometry['actions']['bottom']<=railGeometry['rail']['bottom']+1,railGeometry + assert railGeometry['input']['bottom']<=railGeometry['rail']['bottom']+1,railGeometry + assert railGeometry['snapshots']['bottom']<=railGeometry['actions']['top']+1,railGeometry + assert not railGeometry['emptyControls'],railGeometry + assert all(btn['width']>=40 and btn['height']>=25 for btn in railGeometry['buttons']),railGeometry + await page.screenshot(path=str(project/'mixer-master-dual-metric-left-rail.png'),full_page=True) + + assert await page.locator('[data-clear-all-clips]').count()==1 + architecture=await page.evaluate("""() => { + const bg=s=>getComputedStyle(document.querySelector(s)).backgroundImage; + const rect=s=>{const r=document.querySelector(s).getBoundingClientRect();return {x:r.x,y:r.y,right:r.right,bottom:r.bottom,height:r.height}}; + const main=document.querySelector('[data-strip="0"]'),master=document.querySelector('#masterLeft'); + const overflow=[...document.querySelectorAll('.strip .channel-actions button,.strip .utility-row button')].some(el=>{ + const b=el.getBoundingClientRect(),p=el.closest('.strip').getBoundingClientRect(); + return b.leftp.right+1; + }); + return {nav:bg('.nav button.selected'),small:bg('[data-mute="0"]'), + long:bg('.rail-presets button'),fx:bg('.strip .rack .insert'),chrome:bg('#settingsBtn'), + navBounds:rect('.nav'),mode:rect('#modeToggle'),overflow, + mainHeader:rect('[data-strip="0"] .ch-id'),masterHeader:rect('#masterLeft .ch-id'), + mainBottom:rect('[data-strip="0"] .strip-name'),masterBottom:rect('#masterLeft .strip-name'), + mainFader:rect('[data-strip="0"] .fader-zone'),masterFader:rect('#masterLeft .fader-zone'), + selection:getComputedStyle(main,'::before').borderTopWidth, + masterRows:[...master.children].map(x=>({cls:x.className,height:x.getBoundingClientRect().height}))}; + }""") + assert len({architecture[k] for k in ('nav','small','long')})==3 + assert 'data:image/png;base64' not in architecture['fx'] + assert 'data:image/png;base64' not in architecture['chrome'] + assert not architecture['overflow'] + assert architecture['navBounds']['right']<=architecture['mode']['x']+1 + for key in ('Header','Bottom','Fader'): + assert abs(architecture['main'+key]['y']-architecture['master'+key]['y'])<=2,architecture + assert abs(architecture['mainBottom']['bottom']-architecture['masterBottom']['bottom'])<=2,architecture + assert architecture['selection']=='2px',architecture + await page.screenshot(path=str(project/'mixer-design-review.png'),full_page=True) + # Medium desktop check; channel strips may scroll *inside* workbench. + await page.set_viewport_size({"width":1440,"height":820}) + await page.screenshot(path=str(project/'mixer-design-review-1440.png'),full_page=True) + smallRail=await page.evaluate("""()=>{ + const rail=document.querySelector('.left-rail').getBoundingClientRect(); + const footer=document.querySelector('.left-rail .rail-input-footer').getBoundingClientRect(); + const buttons=[...document.querySelectorAll('.left-rail .rail-bottom button')].map(e=>e.getBoundingClientRect()); + return {bottom:rail.bottom,footerBottom:footer.bottom,buttons:buttons.map(b=>({right:b.right,left:b.left,width:b.width}))}; + }""") + assert smallRail['footerBottom']<=smallRail['bottom']+1,smallRail + assert all(b['width']>35 for b in smallRail['buttons']),smallRail + assert await page.locator('.strip').count()==13 + await page.set_viewport_size({"width":1680,"height":920}) + # Hardware-style PAN illumination must grow from center, both L and R. + pan_fill=page.locator('[data-pan="1"] .pan-fill') + assert await pan_fill.count()==1 + p1=page.locator('[data-pan="1"]') + await p1.focus() + await p1.press('Home') + at_center=await pan_fill.bounding_box() + assert at_center['width']<1,at_center + await p1.press('End') + assert 'drop-shadow' in await p1.locator('.pan-thumb').evaluate('(e)=>getComputedStyle(e).filter') + right_fill=await pan_fill.bounding_box() + assert right_fill['width']>10,right_fill + await p1.press('Home') + await p1.press('ArrowLeft') + left_small=await pan_fill.bounding_box() + assert left_small['width']>0,left_small + for _ in range(20): + await p1.press('Shift+ArrowLeft') + left_fill=await pan_fill.bounding_box() + assert left_fill['width']>10 and left_fill['x']x.classList.contains('is-bypassed')") + assert await page.evaluate('bypassed["0:0"]') is True + assert await page.locator('#pluginModal').is_hidden() + await page.locator('[data-view="FX RACK"]').click() + rack_power=page.locator('[data-chainbypass="0"]') + assert await rack_power.get_attribute('aria-pressed')=='false' + await rack_power.click() + assert await rack_power.get_attribute('aria-pressed')=='true' + await page.locator('[data-view="MIX"]').click() + assert await page.locator('[data-fxpower="0:0"]').get_attribute('aria-pressed')=='true' + assert await page.evaluate('durableSession().bypassed["0:0"]') is False + await page.locator('#masterMute').click() + assert await page.locator('#masterMute').inner_text()=='MUTE' + assert await page.locator('#masterMute').get_attribute('aria-pressed')=='true' + await page.locator('#masterMute').click() + assert await page.locator('#masterMute').inner_text()=='MUTE' + # Hover and active feedback stays visual and does not change native fader geometry. + cap0=page.locator('[data-fader="0"] .cap') + await cap0.hover() + fader_hover=await cap0.evaluate("(e)=>getComputedStyle(e).filter") + assert 'brightness(1.19)' in fader_hover, fader_hover + button=page.locator('[data-mute="0"]') + await button.hover() + await page.wait_for_timeout(150) # Finish 90 ms physical-switch filter transition. + button_hover=await button.evaluate("(e)=>getComputedStyle(e).filter") + assert 'brightness(1.13)' in button_hover,button_hover + # FX power and FX name remain separate inside the 104px channel strip. + assert await page.evaluate("""() => [...document.querySelectorAll('.strip .insert-slot')].every(slot=>{ + const cell=slot.getBoundingClientRect(),strip=slot.closest('.strip').getBoundingClientRect(); + return cell.x>=strip.x-1&&cell.right<=strip.right+1&&cell.height===27 + })"""), 'FX power overflow or slot geometry changed' + # Channel identities are real editable state, not only colored labels. + await page.locator('[data-editstrip="0"]').click() + assert await page.locator('#channelIdentity').is_visible() + await page.locator('#identityName').fill('Vocal Main') + await page.locator('[data-icon-choice="🎙"]').click() + await page.locator('[data-color-choice="#cf6b1e"]').click() + await page.locator('#identitySave').click() + assert await page.locator('#channelIdentity').is_hidden() + assert await page.locator('[data-editstrip="0"] .strip-caption').inner_text()=='Vocal Main' + assert await page.locator('[data-editstrip="0"] .track-icon').inner_text()=='🎙' + assert await page.evaluate('durableSession().channels[0].color')=='#cf6b1e' + # Channel name editor cancel must not overwrite committed changes. + await page.locator('[data-editstrip="0"]').click() + await page.locator('#identityName').fill('This Should Not Persist') + await page.locator('#identityCancel').click() + assert await page.locator('[data-editstrip="0"] .strip-caption').inner_text()=='Vocal Main' + # Master FX chain has its own slots and independent quick power. + assert await page.locator('.master-fx-slot').count()==6 + assert await page.locator('[data-fader="master"] .cap.master-cap').count()==1 + master_fader_debug=await page.locator('[data-fader="master"] .cap.master-cap').evaluate("""(el)=>{ + const c=getComputedStyle(el),p=getComputedStyle(el.parentElement),r=el.getBoundingClientRect(); + return {display:c.display,visibility:c.visibility,opacity:c.opacity,background:c.backgroundImage.slice(0,62), + parent:{height:el.parentElement.getBoundingClientRect().height,width:el.parentElement.getBoundingClientRect().width}, + rect:{x:r.x,y:r.y,width:r.width,height:r.height},top:c.top,zIndex:c.zIndex,pos:el.style.getPropertyValue('--pos'),parentPosition:p.position}; + }""") + assert master_fader_debug['display']!='none' and master_fader_debug['visibility']=='visible' + assert (master_fader_debug['rect']['width'],master_fader_debug['rect']['height'])==(31,90) + assert master_fader_debug['background'].startswith('url("data:image/png;base64,') + decoded=await page.locator('[data-fader="master"] .cap').evaluate("""async el => { + const bg=getComputedStyle(el).backgroundImage; + const image=new Image();image.src=bg.slice(5,-2); + await image.decode(); + return {width:image.naturalWidth,height:image.naturalHeight}; + }""") + assert decoded=={'width':31,'height':90}, 'Master red PNG did not decode' + a=await page.locator('[data-fader="0"]').bounding_box() + m=await page.locator('[data-fader="master"]').bounding_box() + assert abs(a['y']-m['y'])<=2,(a,m) + await page.locator('#modeToggle').click() + pro_a=await page.locator('[data-fader="0"]').bounding_box() + pro_m=await page.locator('[data-fader="master"]').bounding_box() + assert abs(pro_a['y']-pro_m['y'])<=2,(pro_a,pro_m) + await page.screenshot(path=str(project/'mixer-pro-view-review.png'),full_page=True) + await page.locator('#modeToggle').click() + + + + masterPan=page.locator('[data-pan="master"]') + assert await masterPan.get_attribute('aria-valuenow')=='0' + await masterPan.focus() + await masterPan.press('ArrowRight') + assert await masterPan.get_attribute('aria-valuenow')=='1' + await masterPan.press('Home') + assert await masterPan.get_attribute('aria-valuenow')=='0' + assert await page.evaluate('durableSession().masterPan')==0 + assert await page.locator('[data-master-insert="0"]').count()==1 + await page.locator('[data-master-power="0"]').click() + assert await page.locator('[data-master-power="0"]').get_attribute('aria-pressed')=='false' + assert await page.evaluate('durableSession().masterBypassed["0"]') is True + await page.locator('[data-master-power="0"]').click() + assert await page.locator('[data-master-power="0"]').get_attribute('aria-pressed')=='true' + # Master insert selection can open an editor and replace the selected FX. + await page.locator('[data-master-insert="0"]').click() + assert await page.locator('#pluginModal').is_visible() + await page.locator('#closeBrowser').click() + assert await page.locator('#pluginModal').is_hidden() + assert await page.locator('#masterLufs').count()==1 + assert await page.locator('#masterDbtp').count()==1 + assert await page.locator('[data-clip]').count()==14 + assert await page.locator('[data-meter="masterL"]').count()==1 + assert await page.locator('[data-meter="masterR"]').count()==1 + await page.evaluate('updateMeterVisual("masterL",99,performance.now())') + assert await page.locator('[data-clip="masterL"]').evaluate('(e)=>e.classList.contains("latched")') + await page.locator('[data-clip="masterL"]').click() + assert not await page.locator('[data-clip="masterL"]').evaluate('(e)=>e.classList.contains("latched")') + assert not await page.locator('.strip .insert-led').count() + assert await page.locator('.strip .insert-name').first.inner_text() != '' + assert await page.locator('.strip .insert-add-glyph').count()>0 + await page.screenshot(path=str(project/'mixer-master-clip-review.png'),full_page=True) + # Click any passive part of master strip, it must gain the same full border. + await page.locator('#masterLeft .master-ch-id').click() + assert await page.locator('#masterLeft').evaluate('(e)=>e.classList.contains("selected")') + assert await page.locator('[data-strip="0"]').evaluate('(e)=>!e.classList.contains("selected")') + await page.locator('[data-strip="0"] .ch-id').click() + assert await page.locator('#masterLeft').evaluate('(e)=>!e.classList.contains("selected")') + + pan=page.locator('[data-pan="0"]') + await pan.focus() + await pan.press('Home') + assert await pan.get_attribute('aria-valuenow')=='0' + await pan.press('ArrowRight') + assert await pan.get_attribute('aria-valuenow')=='1' + await pan.press('Shift+ArrowLeft') + assert await pan.get_attribute('aria-valuenow')=='-9' + await pan.press('End') + assert await pan.get_attribute('aria-valuenow')=='100' + await pan.press('Home') + bbox=await pan.bounding_box() + await page.mouse.click(bbox['x']+bbox['width']*.76,bbox['y']+20) + assert int(await pan.get_attribute('aria-valuenow'))>0 + await pan.press('Home') + thumb=await pan.locator('.pan-thumb').bounding_box() + x=thumb['x']+thumb['width']/2 + y=thumb['y']+thumb['height']/2 + await page.mouse.move(x,y) + await page.mouse.down() + assert await pan.get_attribute('aria-valuenow')=='0','PAN jumped on grab' + await page.mouse.move(x+14,y,steps=3) + assert int(await pan.get_attribute('aria-valuenow'))>0 + await page.mouse.up() + await pan.dblclick() + assert await pan.get_attribute('aria-valuenow')=='0' + assert not await page.locator('#editor').is_visible(),'PAN double click opened editor' + + # Pixel-perfect state mapping uses original silver/red/green images, not CSS flats. + async def image_for(selector): + return await page.locator(selector).first.evaluate( + '(b) => getComputedStyle(b).backgroundImage') + assert "data:image/png;base64," in await image_for('[data-mute="0"]') + assert await image_for('[data-mute="0"]') == await image_for('[data-solo="0"]') + await page.locator('[data-mute="0"]').click() + assert await page.locator('[data-mute="0"]').get_attribute('aria-pressed') == 'true' + assert await image_for('[data-mute="0"]') != await image_for('[data-solo="0"]') + await page.locator('[data-solo="0"]').click() + assert await page.locator('[data-solo="0"]').get_attribute('aria-pressed') == 'true' + assert await image_for('[data-solo="0"]') != await image_for('[data-mute="0"]') + await page.locator('[data-mute="0"]').click() + await page.locator('[data-solo="0"]').click() + await page.locator('#masterMute').click() + assert await page.locator('#masterMute').get_attribute('aria-pressed') == 'true' + await page.locator('#masterMute').click() + assert await page.locator('#dim,#talkBtn,[data-master-tab]').count()==0 + + # The source image has a real metallic body and a long cast shadow. + # The body must travel inside the track, centered on image y=35. + geometry=await page.evaluate("""async () => { + const slots=[...document.querySelectorAll('[data-fader]')]; + const heads=slots.map(f => { + const c=f.querySelector('.cap'),b=c.getBoundingClientRect(),r=f.getBoundingClientRect(); + const s=getComputedStyle(c); + return {width:b.width,height:b.height,bodyInside:b.top>=r.top-1 && b.top+66<=r.bottom+1, + top:b.top,trackTop:r.top,radius:s.borderRadius, + bg:s.backgroundImage,transform:s.transform}; + }); + const uri=heads[0].bg.match(/data:image\\/png;base64,[a-zA-Z0-9+/=]+/)?.[0]; + if(!uri) throw new Error('Image data URI not found'); + const image=new Image();image.src=uri;await image.decode(); + return {heads,imgW:image.naturalWidth,imgH:image.naturalHeight}; + }""") + assert len(geometry['heads'])==13 + assert (geometry['imgW'],geometry['imgH'])==(31,90), geometry + for g in geometry['heads']: + assert (g['width'],g['height'])==(31,90),g + assert g['bodyInside'],g + assert g['radius']=='0px',g + assert 'matrix(1, 0, 0, 1, -15.5, -35)' in g['transform'],g + for fader in ('0','master'): + ctrl=page.locator(f'[data-fader="{fader}"]') + await ctrl.focus() + await ctrl.press('Home') + assert float(await ctrl.get_attribute('aria-valuenow'))==-60 + await ctrl.press('End') + assert float(await ctrl.get_attribute('aria-valuenow'))==10 + # Repaint at 0 dB, then dragging the head starts without a value jump. + channel=page.locator('[data-fader="0"]') + await channel.focus() + for _ in range(20): + await channel.press('ArrowDown') + original=float(await channel.get_attribute('aria-valuenow')) + cap=channel.locator('.cap') + rect=await cap.bounding_box() + cx=rect['x']+rect['width']/2 + cy=rect['y']+35 + await page.mouse.move(cx,cy) + await page.mouse.down() + assert float(await channel.get_attribute('aria-valuenow'))==original + await page.mouse.move(cx,cy+18,steps=3) + assert float(await channel.get_attribute('aria-valuenow'))baseline,(name,baseline) + await page.mouse.up() + await page.screenshot(path=str(project/'fader-ui-smoke.png'),full_page=True) await page.locator('[data-view="FX RACK"]').click() await page.locator('[data-addplugin]').click() await page.locator("#pluginSearch").fill("de-esser") @@ -31,6 +392,6 @@ async def main(): assert await page.locator('.app.easy').count()==0 assert not errors, errors await browser.close() - print("PASS: 12 strips, plugin chain, editor, reorder, signal flow, setup, easy/pro, no JS errors") + print("PASS: asset PNG for 13 faders, detent alignment, no-jump drag, endpoints, FX chain, no JS errors") if __name__=="__main__":asyncio.run(main()) diff --git a/web/app.js b/web/app.js index 96efb3eb6..18935803c 100644 --- a/web/app.js +++ b/web/app.js @@ -16,8 +16,8 @@ const raw=[ ['Aux Out','◉',['Limiter'],-11.5,0] ]; const extraNames=['BGV 2','Guitar 2','FX Return 2','Talkback']; -const channels=raw.map((a,i)=>({id:i+1,name:a[0],icon:a[1],inserts:[...a[2]],fader:a[3],pan:a[4],trim:0,mute:false,solo:false,pre:false,hpf:i%4!==0,a:true,b:false})); -let currentChannel=0, view='MIX', sceneIdx=0, timer=0; +const channels=raw.map((a,i)=>({id:i+1,name:a[0],icon:a[1],color:colors[i],inserts:[...a[2]],fader:a[3],pan:a[4],trim:0,mute:false,solo:false,pre:false,hpf:i%4!==0,a:true,b:false})); +let currentChannel=0, masterSelected=false, view='MIX', sceneIdx=0, timer=0; const scenes=['Vocal Live','Karaoke Warm','Clean Voice','Studio Session']; const $=id=>document.getElementById(id); const clamp=(v,min,max)=>Math.max(min,Math.min(max,v)); @@ -25,6 +25,19 @@ const levelToTop=db=>+(clamp((10-db)/70,0,1)*100).toFixed(3); const fmt=db=>db===-Infinity?'−∞':`${db>0?'+':''}${db.toFixed(1)} dB`; // UI side throttling is distinct from the native realtime control plane. const pendingUiParams=new Map();let uiFlushScheduled=false; +const peakHold=Object.create(null),clipLatch=Object.create(null); +function resetClip(key){clipLatch[key]=false;document.querySelector(`[data-clip="${key}"]`)?.classList.remove('latched')} +function syncClipLeds(){document.querySelectorAll('[data-clip]').forEach(e=>e.classList.toggle('latched',!!clipLatch[e.dataset.clip]))} +function updateMeterVisual(key,level,now){ + const el=document.querySelector(`[data-meter="${key}"]`);if(!el)return; + const value=clamp(level,0,99); + el.style.setProperty('--level',value.toFixed(1)+'%'); + const slot=el.closest('.meter'),old=peakHold[key]; + if(!old||value>=old.value||now>=old.until)peakHold[key]={value,until:now+1600}; + const pk=slot?.querySelector('.meter-peak');if(pk)pk.style.bottom=peakHold[key].value.toFixed(1)+'%'; + if(value>=97){clipLatch[key]=true;slot?.querySelector('.clip-led')?.classList.add('latched')} +} + function flushUiParams(){uiFlushScheduled=false;const bridge=window.__JUCE__?.backend;if(bridge?.emitEvent)for(const event of pendingUiParams.values())bridge.emitEvent('arMixParameter',event);pendingUiParams.clear()} function send(param,value,ch=currentChannel){ const event={channel:ch+1,parameter:param,value}; @@ -36,24 +49,99 @@ function send(param,value,ch=currentChannel){ function flash(message){const x=$('toast');x.textContent=message;x.classList.add('show');clearTimeout(timer);timer=setTimeout(()=>x.classList.remove('show'),1500)} function createSide(){ const labels=channels.map(c=>c.name); - $('channelList').innerHTML=labels.map((label,i)=>`
${i+1}${label}
`).join(''); + $('channelList').innerHTML=labels.map((label,i)=>`
${i+1}${label}
`).join(''); $('groupsList').innerHTML=['Drums','Band','Vocals','FX','All Music','All Vocals'].map((x,i)=>`
${i+1}${x}
`).join(''); $('scenesList').innerHTML=scenes.map((x,i)=>`
${x}
`).join(''); $('currentScene').innerHTML=`Snapshot: ${scenes[sceneIdx]}▾`; } function knobMarkup(param,ch,value,label,small=false){let angle=(param==='pan'?value/100*130:value/24*130);return ``} -function makeStrip(ch,i){let inserts=ch.inserts.slice(0,4);while(inserts.length<5) inserts.push('');return `
-
${i+1}
${inserts.map((n,j)=>``).join('')}
-
TRIM
dB
${fmt(ch.trim)}
${knobMarkup('trim',i,ch.trim,'Trim')}
PAN
${knobMarkup('pan',i,ch.pan,'Pan',true)}
${ch.pan===0?'C':`${ch.pan<0?'L':'R'} ${Math.abs(ch.pan)}`}
+function panText(v){return v===0?'C':(v<0?'L':'R')+' '+Math.abs(v)} +function panMarkup(ch,i){return `
`} + +const channelIcons=['♩','♫','♬','🎙','🎸','🎹','🥁','🎧','▥','◉','◎','⊞']; +const channelPalette=['#1699cd','#b92e41','#cf6b1e','#b28c27','#34a544','#168762','#0e95c9','#066fa9','#7140b5','#b52893','#c32974','#586889']; +let editingChannel=-1,editingColor='',editingIcon=''; +function openChannelIdentity(index){ + editingChannel=index;editingColor=channels[index].color||colors[index];editingIcon=channels[index].icon; + const modal=$('channelIdentity');if(!modal)return; + $('identityIndex').textContent=String(index+1).padStart(2,'0'); + $('identityName').value=channels[index].name; + $('identityIcons').innerHTML=channelIcons.map(icon=>``).join(''); + $('identityColors').innerHTML=channelPalette.map(color=>``).join(''); + modal.classList.remove('hidden');$('identityName').focus();$('identityName').select(); +} +function closeChannelIdentity(){editingChannel=-1;$('channelIdentity')?.classList.add('hidden')} +function commitChannelIdentity(){ + if(editingChannel<0)return;const index=editingChannel; + const name=$('identityName').value.trim().replace(/\s+/g,' ').slice(0,26); + if(!name){flash('Enter a channel name');$('identityName').focus();return} + channels[index].name=name;channels[index].icon=channelIcons.includes(editingIcon)?editingIcon:'♩'; + channels[index].color=channelPalette.includes(editingColor)?editingColor:colors[index]; + closeChannelIdentity();currentChannel=index;renderMixer(); + if(view==='FX RACK')renderRackWorkspace(); + persistSession();flash('Channel identity updated'); +} +function makeStrip(ch,i){let inserts=ch.inserts.slice(0,6);while(inserts.length<6) inserts.push('');return `
+
${i+1}
${inserts.map((n,j)=>`
${n?``:''}
`).join('')}
+
TRIM
dB
${fmt(ch.trim)}
${knobMarkup('trim',i,ch.trim,'Trim')}
${panMarkup(ch,i)}
${panText(ch.pan)}
-
${fmt(ch.fader)}
100−10−20−30−40−60
+
${fmt(ch.fader)}
100−10−20−30−40−60
-
${ch.name}${ch.icon}
+
${safeText(ch.name)}${safeText(ch.icon)}
`} -function renderMixer(){const x=$('mixer'),scroll=x.scrollLeft;x.innerHTML=channels.map(makeStrip).join('');x.scrollLeft=scroll;createSide()} -let masterGain=-.1,masterMute=false,phones=-12; -function renderMaster(){ $('masterLeft').innerHTML=`
${fmt(masterGain)}
${fmt(masterGain)}
100−10−20−30−40−60
MAIN MASTER
`; - $('masterRight').innerHTML=`
OUTPUTS
${['Main L/R','Alt 1','Alt 2','Record','Streaming'].map((s,i)=>``).join('')}
MONITOR SOURCE
${knobMarkup('phones',-1,phones,'Phones')}
${fmt(phones)}
TALKBACK
Latch
To Monitors
PHONES
${fmt(phones)}
`; } +function renderMixer(){ + const x=$('mixer'),scroll=x.scrollLeft; + x.innerHTML=channels.map(makeStrip).join('')+'
'; + renderMaster();x.scrollLeft=scroll;createSide(); +} +let masterGain=-.1,masterPan=0,masterMute=false,phones=-12,masterInserts=['Studio EQ','Brickwall Limiter'],masterBypassed={},pendingMasterSlot=null; +function masterFxRows(){ + const slots=masterInserts.slice(0,6);while(slots.length<6)slots.push(''); + return slots.map((name,i)=>`
+ + ${name?``:''}
`).join(''); +} +function meterUnit(key,label){return `
${label?''+label+'':''}
`} +function renderMaster(){ + const host=$('masterLeft');if(!host)return; + host.innerHTML=`
MASTER
+
${masterFxRows()}
+
+
+
STREAM LEVELS SIM
+
LUFS-I--
+
dBTP--
+
+
+
+
+
${panText(masterPan)}
+
+
+
STEREO MAIN L / R
+
+
+ + STEREO +
+
${fmt(masterGain)}
+
+
100−10−20−30−40−60
+ ${meterUnit('masterL','L')} +
+
+
+ ${meterUnit('masterR','R')} +
+
MAIN L/R
+
MASTER
`; + syncClipLeds(); +} let bands=[{freq:80,gain:2.1,q:1},{freq:300,gain:-3.2,q:1},{freq:2200,gain:-1.5,q:1.2},{freq:7800,gain:3.5,q:.8}];let activeBand=1; const fx=x=>Math.log(x/20)/Math.log(1000)*1000; const fy=y=>250-y*9; @@ -70,21 +158,59 @@ function setView(next){ if(next==='SIGNAL FLOW')renderSignalFlow(); if(next==='SETUP')renderSetup(); } -function updateFader(idx,value){if(idx==='master'){masterGain=clamp(value,-60,10);const host=document.querySelector('[data-fader="master"]');host.querySelector('.cap').style.setProperty('--pos',levelToTop(masterGain)+'%');$('masterLeft').querySelectorAll('.master-lcd,.master-mid').forEach(e=>e.textContent=fmt(masterGain));send('masterGain',masterGain,-1);return}const ch=channels[+idx];ch.fader=clamp(value,-60,10);const el=document.querySelector(`[data-fader="${idx}"]`);if(el){el.querySelector('.cap').style.setProperty('--pos',levelToTop(ch.fader)+'%');el.setAttribute('aria-valuenow',ch.fader.toFixed(1));document.querySelector(`[data-read="${idx}"]`).textContent=fmt(ch.fader)}send('faderDb',ch.fader,+idx)} +function updateFader(idx,value){if(idx==='master'){masterGain=clamp(value,-60,10);const host=document.querySelector('[data-fader="master"]');host.querySelector('.cap').style.setProperty('--pos',levelToTop(masterGain)+'%');host.setAttribute('aria-valuenow',masterGain.toFixed(1));$('masterLeft').querySelectorAll('.master-db').forEach(e=>e.textContent=fmt(masterGain));send('masterGain',masterGain,-1);return}const ch=channels[+idx];ch.fader=clamp(value,-60,10);const el=document.querySelector(`[data-fader="${idx}"]`);if(el){el.querySelector('.cap').style.setProperty('--pos',levelToTop(ch.fader)+'%');el.setAttribute('aria-valuenow',ch.fader.toFixed(1));document.querySelector(`[data-read="${idx}"]`).textContent=fmt(ch.fader)}send('faderDb',ch.fader,+idx)} +function updatePan(idx,value,pointer=false){ + const master=idx==='master'; + const actual=master?masterPan:channels[idx].pan; + // A tactile 10% center detent, with 3% release hysteresis during a drag. + const oldCenter=actual===0; + const threshold=pointer?(oldCenter?13:10):0; + const next=Math.round(clamp(pointer&&Math.abs(value)<=threshold?0:value,-100,100)); + if(master)masterPan=next;else channels[idx].pan=next; + const c={pan:next}; + const el=document.querySelector(`[data-pan="${idx}"]`); + if(el){el.classList.toggle('is-centered',c.pan===0);el.style.setProperty('--pan-frac',(c.pan+100)/200);el.style.setProperty('--pan-left',Math.min(.5,(c.pan+100)/200));el.style.setProperty('--pan-span',Math.abs(c.pan)/200);el.setAttribute('aria-valuenow',String(c.pan));el.setAttribute('aria-valuetext',panText(c.pan))} + const display=document.querySelector(`[data-pan-read="${idx}"]`); + if(display)display.textContent=panText(c.pan); + send(master?'masterPan':'pan',c.pan,master?-1:idx); +} function updateKnob(el,value){let idx=+el.dataset.ch,param=el.dataset.knob; if(param==='phones'){phones=clamp(value,-60,10);el.style.setProperty('--angle',phones/24*130+'deg');const rd=document.querySelector('[data-phones-read]');if(rd)rd.textContent=fmt(phones);send('phonesDb',phones,-1);return} - const c=channels[idx];if(param==='pan'){c.pan=Math.round(clamp(value,-100,100));el.style.setProperty('--angle',(c.pan/100*130)+'deg');document.querySelector(`[data-pan-read="${idx}"]`).textContent=c.pan===0?'C':`${c.pan<0?'L':'R'} ${Math.abs(c.pan)}`;send('pan',c.pan,idx)}else{c.trim=+clamp(value,-24,24).toFixed(1);el.style.setProperty('--angle',c.trim/24*130+'deg');document.querySelector(`[data-trim-read="${idx}"]`).textContent=fmt(c.trim);send('trimDb',c.trim,idx)}} + const c=channels[idx];if(param==='pan'){updatePan(idx,value)}else{c.trim=+clamp(value,-24,24).toFixed(1);el.style.setProperty('--angle',c.trim/24*130+'deg');document.querySelector(`[data-trim-read="${idx}"]`).textContent=fmt(c.trim);send('trimDb',c.trim,idx)}} +function focusChannel(i){ + if(i<0||i>=channels.length||(i===currentChannel&&!masterSelected))return; + masterSelected=false;currentChannel=i; + document.querySelectorAll('.strip').forEach(strip=>strip.classList.toggle('selected',strip.dataset.strip!==undefined&&+strip.dataset.strip===i)); + document.querySelectorAll('#channelList [data-choose]').forEach(row=>row.classList.toggle('selected',+row.dataset.choose===i)); +} +function focusMaster(){ + if(masterSelected)return; + masterSelected=true; + document.querySelectorAll('.strip').forEach(strip=>strip.classList.toggle('selected',strip.id==='masterLeft')); + document.querySelectorAll('#channelList [data-choose]').forEach(row=>row.classList.remove('selected')); +} function chooseChannel(i){if(i>=channels.length){flash('Additional bank channels are not populated in this UI study');return}currentChannel=i;renderMixer();if(view!=='MIX')renderEditor()} function chooseScene(i){loadSnapshotByIndex((i+scenes.length)%scenes.length)} function toggleState(i,key){channels[i][key]=!channels[i][key];const btn=document.querySelector(`[data-${key}="${i}"]`);if(btn){btn.classList.toggle('active',channels[i][key]);btn.setAttribute('aria-pressed',String(channels[i][key]))}send(key,channels[i][key],i)} -document.addEventListener('click',e=>{const b=e.target.closest('button,[data-choose],[data-scene],[data-editstrip],[data-group]');if(!b)return; +document.addEventListener('click',e=>{const b=e.target.closest('button,[data-choose],[data-scene],[data-editstrip],[data-group]'); + const icon=e.target.closest('[data-icon-choice]'),color=e.target.closest('[data-color-choice]'); + if(icon){editingIcon=icon.dataset.iconChoice;document.querySelectorAll('[data-icon-choice]').forEach(n=>{n.classList.toggle('selected',n===icon);n.setAttribute('aria-pressed',String(n===icon))});return} + if(color){editingColor=color.dataset.colorChoice;document.querySelectorAll('[data-color-choice]').forEach(n=>{n.classList.toggle('selected',n===color);n.setAttribute('aria-pressed',String(n===color))});return} + if(!b){const strip=e.target.closest('[data-strip]');if(strip&&view==='MIX')focusChannel(+strip.dataset.strip);else if(e.target.closest('#masterLeft')&&view==='MIX')focusMaster();return;} + const originStrip=b.closest('[data-strip]'); + if(originStrip&&view==='MIX')focusChannel(+originStrip.dataset.strip);else if(b.closest('#masterLeft')&&view==='MIX')focusMaster(); if(b.dataset.view){setView(b.dataset.view);return}if(b.dataset.choose!==undefined){chooseChannel(+b.dataset.choose);return} if(b.dataset.mute!==undefined){toggleState(+b.dataset.mute,'mute');return}if(b.dataset.solo!==undefined){toggleState(+b.dataset.solo,'solo');return} if(b.dataset.pre!==undefined){let i=+b.dataset.pre;channels[i].pre=!channels[i].pre;b.classList.toggle('active');send('phase',channels[i].pre,i);return} if(b.dataset.hpf!==undefined){let i=+b.dataset.hpf;channels[i].hpf=!channels[i].hpf;b.classList.toggle('active');send('hpf',channels[i].hpf,i);return} if(b.dataset.send!==undefined){let [i,k]=b.dataset.send.split(':');channels[+i][k]=!channels[+i][k];b.classList.toggle('active');send(`send${k.toUpperCase()}`,channels[+i][k],+i);return} + if(b.dataset.masterInsert!==undefined){pendingMasterSlot=+b.dataset.masterInsert;openPluginBrowser(currentChannel,true);return} + if(b.dataset.masterPower!==undefined){const slot=+b.dataset.masterPower;masterBypassed[slot]=!masterBypassed[slot];renderMaster();persistSession();send('masterFxBypass',{slot,bypass:masterBypassed[slot]},-1);return} + if(b.dataset.clip!==undefined){resetClip(b.dataset.clip);return} + if(b.dataset.clearAllClips!==undefined){Object.keys(clipLatch).forEach(resetClip);Object.keys(peakHold).forEach(k=>delete peakHold[k]);return} + if(b.dataset.fxpower!==undefined){const [i,j]=b.dataset.fxpower.split(':').map(Number);setFxBypass(i,j,!bypassed[fxKey(i,j)]);return} if(b.dataset.insert){let [i,j]=b.dataset.insert.split(':').map(Number);currentChannel=i;pendingSlot=j;openPluginBrowser(i);return} - if(b.dataset.editstrip!==undefined){chooseChannel(+b.dataset.editstrip);setView('EDIT');return} + if(b.dataset.editstrip!==undefined){openChannelIdentity(+b.dataset.editstrip);return} if(b.dataset.scene!==undefined){loadSnapshotByIndex(+b.dataset.scene);return} if(b.dataset.preset){applyQuickPreset(b.dataset.preset);return} if(b.dataset.addplugin!==undefined){pendingSlot=channels[currentChannel].inserts.length;openPluginBrowser(currentChannel);return} @@ -97,28 +223,66 @@ document.addEventListener('click',e=>{const b=e.target.closest('button,[data-cho if(b.dataset.category){activeCategory=b.dataset.category;renderPluginBrowser();return} if(b.dataset.group!==undefined){flash('Group selection — interface placeholder');return} if(b.dataset.activeband!==undefined){activeBand=+b.dataset.activeband;renderEditor();return} - if(b.dataset.output!==undefined){document.querySelectorAll('[data-output]').forEach(x=>x.classList.toggle('selected',x===b));flash(`Monitoring output: ${b.dataset.output} (UI only)`);return} - if(b.dataset.masterTab){document.querySelectorAll('[data-master-tab]').forEach(x=>x.classList.toggle('selected',x===b));flash(`${b.textContent} panel selected`);return} if(b.dataset.side){document.querySelectorAll('[data-side]').forEach(x=>x.classList.toggle('selected',x===b));if(b.dataset.side==='fx')setView('FX RACK');else setView('MIX');return} - switch(b.id){case'prevScene':chooseScene(sceneIdx-1);break;case'nextScene':chooseScene(sceneIdx+1);break;case'editorClose':setView('MIX');break;case'masterMute':masterMute=!masterMute;b.textContent=masterMute?'UNMUTE':'MUTE';send('masterMute',masterMute,-1);break;case'resetEq':bands.forEach(b=>b.gain=0);renderEditor();break;case'addScene':saveMixerSnapshot();break;case'saveFxPreset':saveFxChainPreset();break;case'menuScene':exportSession();break;case'closeBrowser':closePluginBrowser();break;case'closeFxInspector':pluginEditorIndex=null;renderRackWorkspace();break;case'modeToggle':toggleMode();break;case'chooseFxFile':importSession();break;case'browse':importSession();break;case'settingsBtn':setView('SETUP');break;case'talkBtn':b.classList.toggle('selected');flash('Talkback control — audio disconnected');break;default:if(b.id)flash('UI study: '+b.textContent.trim().slice(0,28));} + switch(b.id){case'identityCancel':closeChannelIdentity();break;case'identitySave':commitChannelIdentity();break;case'prevScene':chooseScene(sceneIdx-1);break;case'nextScene':chooseScene(sceneIdx+1);break;case'editorClose':setView('MIX');break;case'masterMute':masterMute=!masterMute;b.textContent='MUTE';b.classList.toggle('active',masterMute);b.setAttribute('aria-pressed',String(masterMute));send('masterMute',masterMute,-1);break;case'resetEq':bands.forEach(b=>b.gain=0);renderEditor();break;case'addScene':saveMixerSnapshot();break;case'saveFxPreset':saveFxChainPreset();break;case'menuScene':exportSession();break;case'closeBrowser':closePluginBrowser();break;case'closeFxInspector':pluginEditorIndex=null;renderRackWorkspace();break;case'modeToggle':toggleMode();break;case'chooseFxFile':importSession();break;case'browse':importSession();break;case'settingsBtn':setView('SETUP');break;default:if(b.id)flash('UI study: '+b.textContent.trim().slice(0,28));} }); +document.addEventListener('dblclick',e=>{const pan=e.target.closest('[data-pan]');if(pan){e.preventDefault();e.stopPropagation();updatePan(pan.dataset.pan==='master'?'master':+pan.dataset.pan,0)}},true); document.addEventListener('dblclick',e=>{const st=e.target.closest('[data-strip]');if(st){chooseChannel(+st.dataset.strip);setView('EDIT')}}); let drag=null; -document.addEventListener('pointerdown',e=>{const f=e.target.closest('[data-fader]'),k=e.target.closest('[data-knob]'),node=e.target.closest('[data-band]');if(!f&&!k&&!node)return;const el=f||k||node; - if(f){drag={type:'fader',el,index:f.dataset.fader};const r=f.getBoundingClientRect();const y=clamp((e.clientY-r.top)/r.height,0,1);updateFader(drag.index,10-y*70)} +document.addEventListener('pointerdown',e=>{const f=e.target.closest('[data-fader]'),p=e.target.closest('[data-pan]'),k=e.target.closest('[data-knob]'),node=e.target.closest('[data-band]');if(!f&&!p&&!k&&!node)return;const el=f||p||k||node; + const strip=e.target.closest('[data-strip]'); + if(strip&&view==='MIX')focusChannel(+strip.dataset.strip);else if(e.target.closest('#masterLeft')&&view==='MIX')focusMaster(); + if(f){const idx=f.dataset.fader,fromCap=!!e.target.closest('.cap'); + drag={type:'fader',el:f,index:idx,fromCap,startY:e.clientY, + startDb:idx==='master'?masterGain:channels[+idx].fader}; + // Motorized-console behavior: the rail is a focus/relative-drag surface. + // Never teleport gain to pointer Y, either on pointerdown or on the first move. + } + else if(p){const index=p.dataset.pan==='master'?'master':+p.dataset.pan,fromThumb=!!e.target.closest('.pan-thumb'); + drag={type:'pan',el:p,index,fromThumb,startX:e.clientX,startPan:index==='master'?masterPan:channels[index].pan}; + if(!fromThumb){const r=p.getBoundingClientRect();updatePan(index,((e.clientX-r.left-9)/Math.max(1,r.width-18))*200-100,true)}} else if(k){drag={type:'knob',el,initial:e.clientY,original:k.dataset.knob==='phones'?phones:channels[+k.dataset.ch][k.dataset.knob],param:k.dataset.knob}} else if(node){drag={type:'eq',el,index:+node.dataset.band};activeBand=drag.index} + if(drag&&(drag.type==='fader'||drag.type==='pan'))drag.el.classList.add('is-dragging'); if(el.setPointerCapture)el.setPointerCapture(e.pointerId);e.preventDefault();}); document.addEventListener('pointermove',e=>{if(!drag)return; - if(drag.type==='fader'){const r=drag.el.getBoundingClientRect();updateFader(drag.index,10-clamp((e.clientY-r.top)/r.height,0,1)*70)} - else if(drag.type==='knob'){const delta=(drag.initial-e.clientY);updateKnob(drag.el,drag.original+(drag.param==='pan'?delta:delta*.35))} + if(drag.type==='fader'){const r=drag.el.getBoundingClientRect(); + const distance=Math.max(24,r.height-66); + updateFader(drag.index,drag.startDb+(drag.startY-e.clientY)*70/distance)} + else if(drag.type==='pan'){const r=drag.el.getBoundingClientRect(),travel=Math.max(1,r.width-18); + updatePan(drag.index,drag.fromThumb?drag.startPan+(e.clientX-drag.startX)*200/travel:((e.clientX-r.left-9)/travel)*200-100,true)} + else if(drag.type==='knob'){const delta=(drag.initial-e.clientY);updateKnob(drag.el,drag.original+delta*.35)} else if(drag.type==='eq'){const svg=$('eqSvg');if(!svg)return;const r=svg.getBoundingClientRect();const x=clamp((e.clientX-r.left)/r.width,0,1),y=clamp((e.clientY-r.top)/r.height,0,1);bands[drag.index].freq=Math.round(20*Math.pow(1000,x));bands[drag.index].gain=+(clamp((.5-y)*500/9,-18,18)).toFixed(1);renderEditor();} }); -for(const event of ['pointerup','pointercancel'])document.addEventListener(event,()=>{drag=null;flushUiParams()}); -document.addEventListener('wheel',e=>{const k=e.target.closest('[data-knob]');if(!k)return;e.preventDefault();const p=k.dataset.knob,i=+k.dataset.ch,v=p==='phones'?phones:channels[i][p];updateKnob(k,v-(Math.sign(e.deltaY)*(p==='pan'?2:.5)))},{passive:false}); -document.addEventListener('keydown',e=>{const f=e.target.closest('[data-fader]');if(!f)return;if(!['ArrowUp','ArrowDown'].includes(e.key))return;e.preventDefault();let idx=f.dataset.fader,db=idx==='master'?masterGain:channels[+idx].fader;updateFader(idx,db+(e.key==='ArrowUp'?.5:-.5))}); +for(const event of ['pointerup','pointercancel'])document.addEventListener(event,()=>{ + if(drag?.el)drag.el.classList.remove('is-dragging'); + drag=null;flushUiParams() +}); +document.addEventListener('wheel',e=>{const pan=e.target.closest('[data-pan]');if(pan){e.preventDefault();const idx=pan.dataset.pan==='master'?'master':+pan.dataset.pan;updatePan(idx,(idx==='master'?masterPan:channels[idx].pan)-Math.sign(e.deltaY)*2);return} + const k=e.target.closest('[data-knob]');if(!k)return;e.preventDefault();const p=k.dataset.knob,i=+k.dataset.ch,v=p==='phones'?phones:channels[i][p];updateKnob(k,v-Math.sign(e.deltaY)*.5)},{passive:false}); +document.addEventListener('keydown',e=>{const pan=e.target.closest('[data-pan]');if(pan){const k=e.key,idx=pan.dataset.pan==='master'?'master':+pan.dataset.pan; + if(!['ArrowLeft','ArrowRight','PageUp','PageDown','Home','End'].includes(k))return; + e.preventDefault();const value=idx==='master'?masterPan:channels[idx].pan,step=e.shiftKey?10:1; + updatePan(idx,k==='Home'?0:k==='End'?100:k==='PageUp'?value+10:k==='PageDown'?value-10:value+(k==='ArrowRight'?step:-step));return} + const f=e.target.closest('[data-fader]');if(!f)return; + const steps={ArrowUp:.5,ArrowDown:-.5,PageUp:5,PageDown:-5}; + if(!(e.key in steps)&&e.key!=='Home'&&e.key!=='End')return; + e.preventDefault();const idx=f.dataset.fader,db=idx==='master'?masterGain:channels[+idx].fader; + updateFader(idx,e.key==='Home'?-60:e.key==='End'?10:db+steps[e.key]); +}); document.addEventListener('keydown',e=>{if(e.ctrlKey&&e.key.toLowerCase()==='s'){e.preventDefault();if(persistSession())flash('UI state saved locally');else flash('Browser storage unavailable')}}); -let lastMeterFrame=0;function meters(t){requestAnimationFrame(meters);if(t-lastMeterFrame<33||document.hidden)return;lastMeterFrame=t;channels.forEach((c,i)=>{const element=document.querySelector(`[data-meter="${i}"]`);if(!element)return;const wave=(Math.sin(t*.0022+i*1.92)+Math.sin(t*.0043+i*.6))*.5;let base=clamp(45+wave*24 +c.fader*.48,4,98);if(c.mute)base=2;element.style.setProperty('--level',base.toFixed(1)+'%')});let m=clamp(67+Math.sin(t*.002)*15,8,92);['masterMeterL','masterMeterR','masterMeterAux'].forEach((id,i)=>{let x=$(id);if(x)x.style.setProperty('--level',clamp(m-i*7+Math.sin(t*.003+i)*8,4,99).toFixed(1)+'%')})} +let lastMeterFrame=0;function meters(t){ + requestAnimationFrame(meters);if(t-lastMeterFrame<33||document.hidden)return;lastMeterFrame=t; + channels.forEach((ch,i)=>{const wave=(Math.sin(t*.0022+i*1.92)+Math.sin(t*.0043+i*.6))*.5; + let v=clamp(45+wave*24+ch.fader*.48,4,98);if(ch.mute)v=2;updateMeterVisual(String(i),v,t)}); + const base=clamp(67+Math.sin(t*.002)*15,8,95); + const l=clamp(base+Math.sin(t*.003)*6,3,99),r=clamp(base-5+Math.sin(t*.003+1)*7,3,99); + updateMeterVisual('masterL',masterMute?2:l,t);updateMeterVisual('masterR',masterMute?2:r,t); + // UI demonstration only. These values are never from a true-peak or loudness meter. + const lufs=$('masterLufs'),tp=$('masterDbtp'); + if(lufs)lufs.textContent=(-31+(l+r)/11).toFixed(1); + if(tp)tp.textContent=(-18+Math.max(l,r)/7).toFixed(1); +} // v0.3: demo-only FX catalog. Items represent mock plugins, not installed VST3 binaries. const pluginCatalog=[ {name:'Studio EQ',type:'EQ',badge:'EQ',hint:'Four-band tonal shaping'}, @@ -143,25 +307,69 @@ function shiftFxMetaRight(ch,at,len){for(let i=len;i>at;i--){fxParams[fxKey(ch,i function shiftFxMetaLeft(ch,at,len){for(let i=at;i``).join('')} -function renderRackWorkspace(){let c=channels[currentChannel];let chain=normalChain(c);$('rackWorkspace').innerHTML=`
YOUR SOUND · CORE WORKFLOW

FX Rack — ${safeText(c.name)}

Build your signature vocal sound. Add, reorder, bypass, and store your VST chain.

● AUDIO INPUT · ${safeText(c.name)}
↓
${chain.map((name,i)=>`
${String(i+1).padStart(2,'0')}${safeText(name)}${safeText(pluginCatalog.find(p=>p.name===name)?.hint||'VST3 plugin · mock chain state')}
↓
`).join('')}
↓
◎ OUTPUT · MASTER / STREAM
${pluginEditorIndex!==null&&pluginEditorIndex

Ready-to-use Sound

Start with a preset, then personalize your FX chain. No complex routing required.

${['Clean Vocal','Warm Karaoke','Live Broadcast'].map(s=>``).join('')}

Make it sound better

Recommended signal path:

Noise Gate → EQ → Compressor → De-Esser → Reverb

Demo status

Plugin names and bypass buttons currently change visual state only. Installed VST3 scanning and DSP are scheduled for the native engine phase.

`}`} +function renderRackWorkspace(){let c=channels[currentChannel];let chain=normalChain(c);$('rackWorkspace').innerHTML=`
YOUR SOUND · CORE WORKFLOW

FX Rack — ${safeText(c.name)}

Build your signature vocal sound. Add, reorder, bypass, and store your VST chain.

● AUDIO INPUT · ${safeText(c.name)}
↓
${chain.map((name,i)=>`
${String(i+1).padStart(2,'0')}${safeText(name)}${safeText(pluginCatalog.find(p=>p.name===name)?.hint||'VST3 plugin · mock chain state')}
↓
`).join('')}
↓
◎ OUTPUT · MASTER / STREAM
${pluginEditorIndex!==null&&pluginEditorIndex

Ready-to-use Sound

Start with a preset, then personalize your FX chain. No complex routing required.

${['Clean Vocal','Warm Karaoke','Live Broadcast'].map(s=>``).join('')}

Make it sound better

Recommended signal path:

Noise Gate → EQ → Compressor → De-Esser → Reverb

Demo status

Plugin names and bypass buttons currently change visual state only. Installed VST3 scanning and DSP are scheduled for the native engine phase.

`}`} function pluginInspector(ch,slot){const name=normalChain(channels[ch])[slot],v=getFxParams(ch,slot);return `
FX EDITOR · DEMO PARAMETERS

${safeText(name)}

These generic controls demonstrate the editing and preset workflow. The real VST3 editor will replace them when connected.

`} function renderSignalFlow(){$('rackWorkspace').innerHTML=`
NO TECHNICAL PATCHBAY REQUIRED

Signal Flow — See where your voice goes

A beginner-first view of the real-time audio path. Select your audio device in Setup.

01 · INPUTMicrophoneAudio Interface
ASIO or WASAPI
➜
02 · FX CHAINVST3 PluginsEQ · Dynamics
Reverb · Delay
➜
03 · MIXERMix & MonitorFader · Pan
Master · Meters
➜
04 · OUTPUTSpeakers / StreamAudio Device
Streaming bridge later
⚠ In this trial the audio flow is a visual concept; no microphone is captured and no audio is sent to a livestream.
`} function renderSetup(){$('rackWorkspace').innerHTML=`
AUDIO DEVICE WIZARD

Make your live setup simple

Windows ASIO / WASAPI support is a core requirement for the native build.

1 · Audio Driver

Actual device enumeration and stream opening belong to the upcoming native engine.

2 · Live Latency

At 48 kHz, 64 samples ≈ 1.33 ms buffer period. This is NOT the device round-trip latency.

3 · Your Voice

This changes the FX chain preview and can later recall stored VST3 states automatically.

4 · Live Safety

Before livestream: verify your microphone level, output device, monitoring feedback, total latency and plugin stability. The future engine will display xruns, dropouts, latency and recovery state here.

`} -function openPluginBrowser(idx){currentChannel=idx;activeCategory='All';$('pluginModal').classList.remove('hidden');$('pluginTarget').textContent='Adding to '+channels[idx].name+' · virtual effects catalog';$('pluginSearch').value='';renderPluginBrowser();$('pluginSearch').focus()} +function openPluginBrowser(idx,isMaster=false){if(!isMaster){currentChannel=idx;pendingMasterSlot=null}activeCategory='All';$('pluginModal').classList.remove('hidden');$('pluginTarget').textContent=isMaster?'Adding to MASTER bus · demo FX catalog':'Adding to '+channels[idx].name+' · virtual effects catalog';$('pluginSearch').value='';renderPluginBrowser();$('pluginSearch').focus()} function closePluginBrowser(){$('pluginModal').classList.add('hidden')} function renderPluginBrowser(){document.querySelectorAll('[data-category]').forEach(b=>b.classList.toggle('active',b.dataset.category===activeCategory));const q=$('pluginSearch').value.trim().toLowerCase();let pool=pluginCatalog.filter(p=>(activeCategory==='All'||p.type===activeCategory)&&`${p.name} ${p.type} ${p.hint}`.toLowerCase().includes(q));$('pluginResults').innerHTML=pool.map(p=>``).join('')||'

No matching demo effects.

'} -function insertPlugin(name){const c=channels[currentChannel];const chain=normalChain(c);if(chain.length>=8){flash('Maximum 8 FX slots in this UI trial');return}const index=clamp(pendingSlot,0,chain.length);shiftFxMetaRight(currentChannel,index,chain.length);chain.splice(index,0,name);pluginEditorIndex=index;setChain(c,chain);closePluginBrowser();flash(name+' added to preview chain');send('chainChanged',{chain},currentChannel)} +function insertPlugin(name){ + if(pendingMasterSlot!==null){ + const slot=pendingMasterSlot; + if(slot>=6)return; + masterInserts[slot]=name;delete masterBypassed[slot];pendingMasterSlot=null; + closePluginBrowser();renderMaster();persistSession(); + send('masterChainChanged',{chain:[...masterInserts]},-1); + flash('Master FX updated (GUI preview)');return; + } + const c=channels[currentChannel];const chain=normalChain(c);if(chain.length>=8){flash('Maximum 8 FX slots in this UI trial');return}const index=clamp(pendingSlot,0,chain.length);shiftFxMetaRight(currentChannel,index,chain.length);chain.splice(index,0,name);pluginEditorIndex=index;setChain(c,chain);closePluginBrowser();flash(name+' added to preview chain');send('chainChanged',{chain},currentChannel)} function movePlugin(idx,dir){const c=channels[currentChannel],ch=normalChain(c),n=idx+dir;if(n<0||n>=ch.length)return;[ch[idx],ch[n]]=[ch[n],ch[idx]];moveFxMeta(currentChannel,idx,n);pluginEditorIndex=n;setChain(c,ch);send('chainChanged',{chain:ch},currentChannel)} function removePlugin(idx){const c=channels[currentChannel],ch=normalChain(c);shiftFxMetaLeft(currentChannel,idx,ch.length);ch.splice(idx,1);pluginEditorIndex=null;setChain(c,ch);send('chainChanged',{chain:ch},currentChannel)} -function toggleBypass(idx){const k=currentChannel+':'+idx;bypassed[k]=!bypassed[k];renderRackWorkspace();send('chainBypass',{slot:idx,bypass:bypassed[k]},currentChannel)} +function setFxBypass(ch,slot,disabled){ + const chain=normalChain(channels[ch]); + if(!chain[slot])return; + const k=fxKey(ch,slot); + bypassed[k]=!!disabled; + const power=document.querySelector(`[data-fxpower="${k}"]`); + const cell=power?.closest('.insert-slot'); + if(cell)cell.classList.toggle('is-bypassed',disabled); + if(power){ + power.classList.toggle('is-bypassed',disabled); + power.setAttribute('aria-pressed',String(!disabled)); + power.setAttribute('aria-label',(disabled?'Enable ':'Bypass ')+chain[slot]); + power.title=(disabled?'Enable ':'Bypass ')+chain[slot]; + } + if(ch===currentChannel){ + const rackButton=document.querySelector(`[data-chainbypass="${slot}"]`); + if(rackButton){ + rackButton.classList.toggle('power-on',!disabled); + rackButton.classList.toggle('is-bypassed',disabled); + rackButton.setAttribute('aria-pressed',String(!disabled)); + rackButton.setAttribute('aria-label',(disabled?'Enable ':'Bypass ')+chain[slot]); + rackButton.title=(disabled?'Enable ':'Bypass ')+chain[slot]; + rackButton.closest('.chain-node')?.classList.toggle('dimmed',disabled); + } + } + send('chainBypass',{slot,bypass:!!disabled},ch); + persistSession(); +} +function toggleBypass(idx){setFxBypass(currentChannel,idx,!bypassed[fxKey(currentChannel,idx)])} const quickPresets={'Clean Vocal':['Noise Gate','Studio EQ','Vocal Compressor'],'Warm Karaoke':['Noise Gate','Studio EQ','Vocal Compressor','Studio Reverb'],'Live Broadcast':['Noise Gate','Dynamic EQ','De-Esser','Brickwall Limiter']}; function applyQuickPreset(name){const c=channels[currentChannel];for(let i=0;i<8;i++){delete fxParams[fxKey(currentChannel,i)];delete bypassed[fxKey(currentChannel,i)]}pluginEditorIndex=null;setChain(c,quickPresets[name]||[]);document.querySelectorAll('[data-preset]').forEach(b=>b.classList.toggle('active',b.dataset.preset===name));flash('FX chain preset selected: '+name+' (UI only)');send('chainChanged',{chain:normalChain(c)},currentChannel)} -function durableSession(){return {schemaVersion:1,version:'0.3-ui',channels:channels.map(c=>({id:c.id,name:c.name,inserts:[...c.inserts],fader:c.fader,pan:c.pan,trim:c.trim,mute:c.mute,solo:c.solo,hpf:c.hpf})),masterGain,masterMute,sceneIdx,selected:currentChannel,fxParams:structuredClone(fxParams),bypassed:{...bypassed}};} +function durableSession(){return {schemaVersion:1,version:'0.3-ui',channels:channels.map(c=>({id:c.id,name:c.name,icon:c.icon,color:c.color,inserts:[...c.inserts],fader:c.fader,pan:c.pan,trim:c.trim,mute:c.mute,solo:c.solo,hpf:c.hpf})),masterGain,masterPan,masterMute,masterInserts:[...masterInserts],masterBypassed:{...masterBypassed},sceneIdx,selected:currentChannel,fxParams:structuredClone(fxParams),bypassed:{...bypassed}};} function persistSession(){try{localStorage.setItem('armix-v03-current',JSON.stringify(durableSession()));localStorage.setItem('armix-v03-snapshots',JSON.stringify(userSnapshots));localStorage.setItem('armix-v03-chains',JSON.stringify(savedChains));return true}catch{return false}} function saveFxChainPreset(){const name=prompt('Name this FX chain preset:','My Vocal Chain');if(!name)return;const key=name.trim().slice(0,60);if(!key)return;savedChains[key]={schemaVersion:1,inserts:[...normalChain(channels[currentChannel])],states:normalChain(channels[currentChannel]).map((_,i)=>({...getFxParams(currentChannel,i),bypass:!!bypassed[fxKey(currentChannel,i)]}))};persistSession();flash('FX chain preset saved: '+key)} function recallFxChain(){const keys=Object.keys(savedChains);if(!keys.length){flash('No saved FX chains yet');return}const key=prompt('Enter FX chain preset name:\n'+keys.join('\n'),keys[0]);if(!key||!savedChains[key])return;setChain(channels[currentChannel],savedChains[key].inserts);savedChains[key].states?.forEach((v,i)=>{fxParams[fxKey(currentChannel,i)]={mix:v.mix,amount:v.amount,output:v.output};bypassed[fxKey(currentChannel,i)]=!!v.bypass});pluginEditorIndex=null;renderRackWorkspace();flash('FX chain recalled: '+key)} function saveMixerSnapshot(){const name=prompt('Name this mixer snapshot:','My Live Sound');if(!name)return;const key=name.trim().slice(0,60);if(!key)return;userSnapshots[key]=durableSession();if(!scenes.includes(key))scenes.push(key);persistSession();createSide();flash('Snapshot saved: '+key)} -function applySession(session){if(!session||session.schemaVersion!==1||!Array.isArray(session.channels)||session.channels.length!==channels.length){flash('Unsupported session format');return}for(let i=0;itypeof x==='string').slice(0,8)}masterGain=Number.isFinite(session.masterGain)?session.masterGain:-.1;masterMute=!!session.masterMute;fxParams=(session.fxParams&&typeof session.fxParams==='object')?structuredClone(session.fxParams):{};bypassed=(session.bypassed&&typeof session.bypassed==='object')?{...session.bypassed}:{};pluginEditorIndex=null;renderMixer();renderMaster();if(view==='FX RACK')renderRackWorkspace()} +function applySession(session){if(!session||session.schemaVersion!==1||!Array.isArray(session.channels)||session.channels.length!==channels.length){flash('Unsupported session format');return}for(let i=0;itypeof x==='string').slice(0,8)}masterGain=Number.isFinite(session.masterGain)?session.masterGain:-.1;masterPan=Number.isFinite(session.masterPan)?clamp(session.masterPan,-100,100):0;masterMute=!!session.masterMute; + if(Array.isArray(session.masterInserts))masterInserts=session.masterInserts.filter(x=>typeof x==='string').slice(0,6); + masterBypassed=(session.masterBypassed&&typeof session.masterBypassed==='object')?{...session.masterBypassed}:{}; + fxParams=(session.fxParams&&typeof session.fxParams==='object')?structuredClone(session.fxParams):{};bypassed=(session.bypassed&&typeof session.bypassed==='object')?{...session.bypassed}:{};pluginEditorIndex=null;renderMixer();renderMaster();if(view==='FX RACK')renderRackWorkspace()} function loadSnapshotByIndex(i){sceneIdx=(i+scenes.length)%scenes.length;const name=scenes[sceneIdx]; if(userSnapshots[name])applySession(userSnapshots[name]); else if(sceneIdx<4){const state=durableSession();state.channels=initialFactoryChannels.map(c=>({...c,inserts:[...c.inserts]}));state.masterGain=-.1; @@ -174,11 +382,21 @@ $('app').classList.add('easy');$('modeToggle').classList.add('active'); $('pluginSearch').addEventListener('input',renderPluginBrowser); document.addEventListener('input',e=>{const el=e.target;if(!el.dataset.fxparam)return;const slot=+el.dataset.slot,key=el.dataset.fxparam;if(!['mix','amount','output'].includes(key))return;const v=getFxParams(currentChannel,slot);v[key]=+el.value;const out=el.closest('label')?.querySelector('output');if(out)out.textContent=key==='output'?`${v[key]>0?'+':''}${v[key]} dB`:`${v[key]}%`;send('fxDemoParam',{slot,key,value:v[key]},currentChannel)}); $('pluginModal').addEventListener('click',e=>{if(e.target===$('pluginModal'))closePluginBrowser()}); -document.addEventListener('keydown',e=>{if(e.key==='Escape')closePluginBrowser()}); +$('channelIdentity').addEventListener('click',e=>{if(e.target===$('channelIdentity'))closeChannelIdentity()}); +$('identityName').addEventListener('keydown',e=>{if(e.key==='Enter'){e.preventDefault();commitChannelIdentity()}}); +document.addEventListener('keydown',e=>{if(e.key==='Escape'){closePluginBrowser();closeChannelIdentity()}if((e.key==='Enter'||e.key===' ')&&e.target.matches('[data-editstrip]')){e.preventDefault();openChannelIdentity(+e.target.dataset.editstrip)}}); document.addEventListener('change',e=>{if(e.target.id==='rackChannel'){currentChannel=+e.target.value;renderRackWorkspace();renderMixer()}}); document.addEventListener('click',e=>{const id=e.target.closest('button')?.id;if(id==='saveFxFromRack')saveFxChainPreset();else if(id==='recallFxPreset')recallFxChain();else if(id==='openSetupFromFlow')setView('SETUP');else if(id==='flowFxButton')setView('FX RACK');else if(id==='backMixer')setView('MIX')}); let lastPersist=0;setInterval(()=>{if(Date.now()-lastPersist<2000)return;lastPersist=Date.now();persistSession()},5000); try{userSnapshots=JSON.parse(localStorage.getItem('armix-v03-snapshots')||'{}');savedChains=JSON.parse(localStorage.getItem('armix-v03-chains')||'{}');for(const k of Object.keys(userSnapshots))if(!scenes.includes(k))scenes.push(k)}catch{userSnapshots={};savedChains={}} -createSide();renderMixer();renderMaster();try{let last=JSON.parse(localStorage.getItem('armix-v03-current'));if(!last)last=JSON.parse(localStorage.getItem('arMixStudioUI')); if(last&&last.channels?.length===channels.length){last.channels.forEach((s,i)=>{for(const k of ['fader','pan','trim','mute','solo','hpf'])if(s[k]!==undefined)channels[i][k]=s[k];if(Array.isArray(s.inserts))channels[i].inserts=s.inserts.filter(x=>typeof x==='string').slice(0,8)});sceneIdx=last.sceneIdx??0;masterGain=last.masterGain??-.1;renderMixer();renderMaster();flash('Previous UI session restored')}}catch{} +createSide();renderMixer();renderMaster();try{let last=JSON.parse(localStorage.getItem('armix-v03-current'));if(!last)last=JSON.parse(localStorage.getItem('arMixStudioUI')); if(last&&last.channels?.length===channels.length){last.channels.forEach((s,i)=>{if(typeof s.name==='string'&&s.name.trim())channels[i].name=s.name.trim().slice(0,26); + if(channelIcons.includes(s.icon))channels[i].icon=s.icon; + if(channelPalette.includes(s.color))channels[i].color=s.color; + for(const k of ['fader','pan','trim','mute','solo','hpf'])if(s[k]!==undefined)channels[i][k]=s[k];if(Array.isArray(s.inserts))channels[i].inserts=s.inserts.filter(x=>typeof x==='string').slice(0,8)});sceneIdx=last.sceneIdx??0;masterGain=last.masterGain??-.1;masterPan=Number.isFinite(last.masterPan)?clamp(last.masterPan,-100,100):0;masterMute=!!last.masterMute; + if(Array.isArray(last.masterInserts))masterInserts=last.masterInserts.filter(x=>typeof x==='string').slice(0,6); + if(last.masterBypassed&&typeof last.masterBypassed==='object')masterBypassed={...last.masterBypassed}; + if(last.bypassed&&typeof last.bypassed==='object')bypassed={...last.bypassed}; + if(last.fxParams&&typeof last.fxParams==='object')fxParams=structuredClone(last.fxParams); + renderMixer();renderMaster();flash('Previous UI session restored')}}catch{} requestAnimationFrame(meters); diff --git a/web/assets/buttons/SO-B-BTN-BLU.png b/web/assets/buttons/SO-B-BTN-BLU.png new file mode 100644 index 000000000..8539cf540 Binary files /dev/null and b/web/assets/buttons/SO-B-BTN-BLU.png differ diff --git a/web/assets/buttons/SO-B-BTN-OFF.png b/web/assets/buttons/SO-B-BTN-OFF.png new file mode 100644 index 000000000..87d099df6 Binary files /dev/null and b/web/assets/buttons/SO-B-BTN-OFF.png differ diff --git a/web/assets/buttons/SO-L-BTN-OFF.png b/web/assets/buttons/SO-L-BTN-OFF.png new file mode 100644 index 000000000..dc5db1c5f Binary files /dev/null and b/web/assets/buttons/SO-L-BTN-OFF.png differ diff --git a/web/assets/buttons/SO-L-BTN-TUR.png b/web/assets/buttons/SO-L-BTN-TUR.png new file mode 100644 index 000000000..139c40ad5 Binary files /dev/null and b/web/assets/buttons/SO-L-BTN-TUR.png differ diff --git a/web/assets/buttons/SO-M-BTN-BLU.png b/web/assets/buttons/SO-M-BTN-BLU.png new file mode 100644 index 000000000..4fec38d67 Binary files /dev/null and b/web/assets/buttons/SO-M-BTN-BLU.png differ diff --git a/web/assets/buttons/SO-M-BTN-OFF.png b/web/assets/buttons/SO-M-BTN-OFF.png new file mode 100644 index 000000000..18917681d Binary files /dev/null and b/web/assets/buttons/SO-M-BTN-OFF.png differ diff --git a/web/assets/buttons/SO-M-BTN-PNK.png b/web/assets/buttons/SO-M-BTN-PNK.png new file mode 100644 index 000000000..a2d9fcfce Binary files /dev/null and b/web/assets/buttons/SO-M-BTN-PNK.png differ diff --git a/web/assets/buttons/SO-M-BTN-RED.png b/web/assets/buttons/SO-M-BTN-RED.png new file mode 100644 index 000000000..6a039f1de Binary files /dev/null and b/web/assets/buttons/SO-M-BTN-RED.png differ diff --git a/web/assets/buttons/SO-M-BTN-TUR.png b/web/assets/buttons/SO-M-BTN-TUR.png new file mode 100644 index 000000000..81538a257 Binary files /dev/null and b/web/assets/buttons/SO-M-BTN-TUR.png differ diff --git a/web/assets/buttons/SO-M-GRE.png b/web/assets/buttons/SO-M-GRE.png new file mode 100644 index 000000000..8edc9abc0 Binary files /dev/null and b/web/assets/buttons/SO-M-GRE.png differ diff --git a/web/assets/buttons/SO-M-RED.png b/web/assets/buttons/SO-M-RED.png new file mode 100644 index 000000000..16086ba8c Binary files /dev/null and b/web/assets/buttons/SO-M-RED.png differ diff --git a/web/assets/buttons/SO-M-SLV.png b/web/assets/buttons/SO-M-SLV.png new file mode 100644 index 000000000..41f770a49 Binary files /dev/null and b/web/assets/buttons/SO-M-SLV.png differ diff --git a/web/assets/buttons/SO-S-BLU.png b/web/assets/buttons/SO-S-BLU.png new file mode 100644 index 000000000..50fd149f8 Binary files /dev/null and b/web/assets/buttons/SO-S-BLU.png differ diff --git a/web/assets/buttons/SO-S-GRE.png b/web/assets/buttons/SO-S-GRE.png new file mode 100644 index 000000000..cc9e444d8 Binary files /dev/null and b/web/assets/buttons/SO-S-GRE.png differ diff --git a/web/assets/buttons/SO-S-RED.png b/web/assets/buttons/SO-S-RED.png new file mode 100644 index 000000000..910e55016 Binary files /dev/null and b/web/assets/buttons/SO-S-RED.png differ diff --git a/web/assets/buttons/SO-S-SLV.png b/web/assets/buttons/SO-S-SLV.png new file mode 100644 index 000000000..c6ce6776b Binary files /dev/null and b/web/assets/buttons/SO-S-SLV.png differ diff --git a/web/assets/buttons/SO-S-YLW.png b/web/assets/buttons/SO-S-YLW.png new file mode 100644 index 000000000..8e13d4d0e Binary files /dev/null and b/web/assets/buttons/SO-S-YLW.png differ diff --git a/web/assets/fader-silver2.png b/web/assets/fader-silver2.png new file mode 100644 index 000000000..1e32ed934 Binary files /dev/null and b/web/assets/fader-silver2.png differ diff --git a/web/assets/faders/FADER-RED2.png b/web/assets/faders/FADER-RED2.png new file mode 100644 index 000000000..2369e1b90 Binary files /dev/null and b/web/assets/faders/FADER-RED2.png differ diff --git a/web/assets/pan/PAN-SLIDER.png b/web/assets/pan/PAN-SLIDER.png new file mode 100644 index 000000000..f9f9699de Binary files /dev/null and b/web/assets/pan/PAN-SLIDER.png differ diff --git a/web/index.html b/web/index.html index c84739b61..c07866cf2 100644 --- a/web/index.html +++ b/web/index.html @@ -1,9 +1,9 @@ -AR MIX Studio — Live FX Host Concept +ArSonMix — Live FX Host GUI Preview
-
ARMIX Studio
+
ArSonMix
Session: Live Vocal Studio▾
ASIO / WASAPI
48 kHz
64 samples
@@ -18,22 +18,26 @@
-
-
UI STUDY · Audio engine disconnected · Simulated metersDrag faders & knobs • Click FX insert to open plugin browser • Ctrl+S saves sessionAR MIX v0.3 | FX HOST UI PROTOTYPE
-
+
UI STUDY · Audio engine disconnected · Simulated metersDrag faders and PAN sliders • Click FX insert to open plugin browser • Ctrl+S saves sessionArSonMix | FX HOST UI PROTOTYPE
+
diff --git a/web/styles.css b/web/styles.css index 5b4846793..09b3ba959 100644 --- a/web/styles.css +++ b/web/styles.css @@ -1,15 +1,10 @@ -:root{font:12px 'Segoe UI',Arial,sans-serif;color:#cfdae3;background:#070c11;--cyan:#16c6f5;--cyan2:#74e4ff;--seam:#050a0e;--steel:#35404a;--white:#eef5f8}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,[tabindex]:focus-visible{outline:2px solid #45cafa;outline-offset:-2px}button:active{filter:brightness(1.2)}.hidden{display:none!important}.app{height:100dvh;min-height:600px;display:flex;flex-direction:column;background:#111b23}.toolbar{flex:none;height:56px;display:flex;align-items:center;gap:6px;padding:0 10px;background:linear-gradient(#29343f 0%,#121b24 56%,#0d151c 100%);border-bottom:2px solid #05090d;box-shadow:inset 0 1px #65778688,0 3px 8px #0008;white-space:nowrap;position:relative;z-index:2}.brand{height:100%;display:flex;align-items:center;gap:6px;padding:0 17px 0 10px;border-right:1px solid #6575835c;margin-right:5px;letter-spacing:.1px;font-size:20px;font-weight:550}.brand-ar{color:#1ac9f6;font-size:24px;letter-spacing:1px;text-shadow:0 0 6px #18b2dc28}.brand-label{color:#eef1f4}.brand-label>span{color:#bac6cf;font-weight:400}.project,.scene-select,.spec,.cpu,.chrome-icon,.nav button{height:34px;background:linear-gradient(#1b2934,#0c151e 70%,#1a2832);border:1px solid #02080d;box-shadow:inset 0 1px 1px #55677364,0 1px #5c6b7854;border-radius:3px}.project{width:234px;padding:9px 12px;font-size:11px;overflow:hidden;text-overflow:ellipsis}.project strong,.spec strong,.cpu strong{color:#87e7ff;font-weight:600}.muted{color:#97a7b3}.chev{float:right;color:#83cbeb}.chrome-icon{width:36px;flex:none;font-size:15px;color:#a9bbca;background:linear-gradient(#3a4752,#141d26 24%,#18232d 65%,#35414c);box-shadow:inset 0 1px #91a1ac6c,0 2px 2px #000a}.spec{padding:9px 9px;color:#9cabb5;min-width:66px;text-align:center}.bpm{min-width:95px}.cpu{display:flex;align-items:center;gap:9px;min-width:148px;padding:0 10px;font-size:10px;color:#9badba}.cpu strong{color:#dde8e7}.cpu i{height:8px;flex:1;background:#091017;box-shadow:inset 0 1px 4px #000;border:1px solid #3a4a53;display:block}.cpu i b{display:block;height:100%;width:38%;background:linear-gradient(90deg,#188c4a,#63e47e)}.toolbar-spacer{flex:1;min-width:4px}.scene-select{min-width:162px;display:flex;align-items:center;gap:5px;padding:0 10px;color:#91d0ea;font-size:11px}.scene-select b{color:#c6e5f1;font-weight:600}.scene-select span{margin-left:auto}.nav{display:flex;gap:0;margin-left:3px}.nav button{border-radius:0;padding:0 15px;min-width:65px;font-weight:650;letter-spacing:.15px;font-size:10px;color:#c6d6df}.nav button.selected,.seg button.selected{color:#02131c;background:linear-gradient(#18b2dd 0%,#42d8fa 52%,#038cbd 53%,#19bff0 95%);box-shadow:inset 0 1px #9df8ff,0 0 10px #0bb7ff33;border-color:#04779b}.main{flex:1;display:flex;overflow:hidden;min-height:0;gap:5px;padding:6px 6px 6px 7px}.left-rail{flex:0 0 156px;min-width:140px;display:flex;flex-direction:column;background:linear-gradient(90deg,#19252e,#0d161e);border:1px solid #33434d;border-radius:4px;box-shadow:inset 0 0 6px #000c;overflow:hidden}.tabs{display:flex;flex:none;gap:2px;padding:4px 3px;background:#111c24}.seg button{flex:1;border:1px solid #344854;height:36px;border-radius:2px;font-size:10px;font-weight:700;background:linear-gradient(#273642,#111c24);color:#cbd6db}.channel-list{flex:1;min-height:160px;overflow:auto;scrollbar-width:thin;scrollbar-color:#324853 #131b24}.list-item{height:25px;display:flex;align-items:center;gap:8px;padding:0 7px 0 5px;border-bottom:1px solid #29374169;font-size:11px;color:#becbd4;cursor:pointer}.list-item:hover{background:#294050}.list-item.selected{background:linear-gradient(90deg,#175d7d,#0e425e);color:#e1f5ff}.list-item .index{color:#9ba8b2;min-width:13px;text-align:right}.swatch{width:12px;height:17px;border:1px solid #7f91a0a3;border-radius:1px;box-shadow:inset 0 1px #fff4;flex:none}.rail-section-title{height:26px;display:flex;align-items:center;padding-left:9px;font-weight:600;font-size:10px;background:linear-gradient(#1b2d37,#101a21);border-top:2px solid #334957;color:#b6d2dd}.rail-list{flex:none}.rail-list .list-item{height:23px;font-size:10px}.scenes-list .list-item{height:22px}.rail-bottom{display:flex;gap:5px;padding:5px}.rail-bottom button{width:26px;height:25px;border:1px solid #394c59;border-radius:3px;background:linear-gradient(#33434f,#101a23);box-shadow:inset 0 1px #fff2}.workbench{flex:1;min-width:0;min-height:0;overflow:hidden;border:1px solid #17232d;box-shadow:0 0 0 1px #54616a42;border-radius:2px;background:#10181f}.mixer{width:100%;height:100%;display:flex;overflow:auto hidden;scrollbar-width:thin;scrollbar-color:#40505c #0c1117;user-select:none}.strip{flex:1 0 92px;min-width:92px;max-width:140px;height:100%;display:flex;flex-direction:column;border-left:1px solid #57646c72;border-right:2px solid #060b10;background:linear-gradient(90deg,#1b2933 0%,#293640 5%,#222d35 17%,#1a252e 50%,#26313a 90%,#111920 100%);box-shadow:inset 1px 0 #86959b28,inset -2px 0 #0007;position:relative}.strip.selected{background:linear-gradient(90deg,#214052,#304553 6%,#273947 38%,#233844 75%,#0c222d);box-shadow:inset 1px 0 #3ad1f7,inset -2px 0 #04090c}.ch-id{height:35px;flex:none;display:flex;justify-content:center;align-items:center;font:600 19px 'Segoe UI',Arial,sans-serif;color:#fff;border-top:2px solid #7be1ff9c;border-bottom:2px solid #05090d;background:linear-gradient(135deg,color-mix(in srgb,var(--ch) 65%,#fff 12%),color-mix(in srgb,var(--ch) 58%,#070d14 42%) 80%);text-shadow:0 1px 3px #000}.strip:nth-child(2n) .ch-id{border-top-color:#fff6}.rack{height:163px;flex:none;display:flex;flex-direction:column;gap:4px;padding:7px 4px 7px;border-bottom:2px solid #050b0e;background:linear-gradient(#0e1920,#192630)}.insert{display:flex;align-items:center;gap:5px;min-height:25px;width:100%;border:1px solid #03080c;box-shadow:inset 0 1px #70828c40,0 1px #5971804b;border-radius:3px;text-align:left;padding:0 4px;color:#c9d8df;background:linear-gradient(#25333b,#10181d 60%,#1a262d);font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.insert .insert-led{display:inline-grid;place-items:center;flex:none;width:14px;height:16px;font-size:10px;border-radius:3px;background:linear-gradient(#37cdf7,#0677aa);color:#031922;box-shadow:inset 0 1px #c0f6ff,0 0 4px #0dbbee77}.insert.off{opacity:.45}.insert.off .insert-led{background:linear-gradient(#626b70,#28343b);color:#d0d7dc}.insert.empty{color:#708994}.insert.empty .insert-led{background:none;box-shadow:none;color:#70a1b6;font-size:14px}.strip-controls{height:215px;flex:none;display:flex;flex-direction:column;align-items:center;border-top:1px solid #61717a4d;border-bottom:1px solid #060c11;background:linear-gradient(#283641 0%,#1e2a33 40%,#2b373f 50%,#1b242c 100%)}.trim-row{height:45px;width:100%;padding:7px 6px;display:flex;justify-content:space-between;align-items:center;gap:4px}.mini-label{font-size:8px;letter-spacing:.3px;color:#afc1c8}.mini-lcd{height:23px;min-width:56px;display:grid;place-items:center;padding:0 3px;color:#62e5fa;text-shadow:0 0 5px #1fbfe988;background:linear-gradient(#080f13,#0a1920);border:2px solid #0d151b;border-radius:3px;box-shadow:inset 0 0 4px #000,0 1px #60768355;font:600 10px Consolas,monospace}.knob{--angle:0deg;--accent:#27c9ed;appearance:none;border:1px solid #020508;border-radius:50%;width:44px;height:44px;flex:none;position:relative;cursor:ns-resize;touch-action:none;background:radial-gradient(circle at 28% 18%,#a4b0b6 0%,#7e929d 5%,#303d45 22%,#101920 64%,#050b10 100%);box-shadow:inset 0 2px 2px #d2e3ec77,inset 0 -4px 6px #0009,0 3px 5px #000b,0 0 0 2px #465662}.knob::before{content:"";position:absolute;inset:7px;border-radius:50%;border:1px solid #94a7b282;background:linear-gradient(132deg,#73818a 0%,#24313b 38%,#0c1820 60%,#485d6a 95%);box-shadow:inset 2px 2px 2px #d4e0e44d,inset -3px -3px 5px #000b}.knob::after{content:"";position:absolute;width:3px;height:17px;top:7px;left:calc(50% - 1px);border-radius:4px;transform-origin:50% 15px;transform:rotate(var(--angle));background:linear-gradient(#eaffff,#20ccff);box-shadow:0 0 5px #1cc5f9}.knob.small{width:38px;height:38px}.knob.small::after{height:13px;top:6px;transform-origin:50% 13px}.knob-label{font-size:9px;color:#b9c9d2;margin-top:4px;line-height:11px}.knob-value{color:#90aebc;font:9px Consolas,monospace;margin-top:2px}.pan-control{display:flex;flex-direction:column;align-items:center}.pan-control .knob{width:39px;height:39px}.pan-control .knob::after{height:14px;transform-origin:50% 13px}.utility-row{display:flex;width:100%;padding:0 5px;gap:4px;margin-top:auto;margin-bottom:7px}.utility-row button{width:50%;height:25px;border:1px solid #080e13;box-shadow:inset 0 1px #a2b4c34f,0 1px 2px #0009;border-radius:3px;background:linear-gradient(#35434d,#101920 45%,#27333c);font-weight:700;font-size:10px}.utility-row button.active{background:linear-gradient(#b45558,#8e1d2e 50%,#54141c 52%,#bd525a);color:#fff;text-shadow:0 1px #000}.channel-actions{height:41px;flex:none;display:flex;align-items:center;gap:5px;padding:0 6px;border-top:1px solid #6b747b4a;border-bottom:1px solid #0007;background:#1b252d}.candy{height:28px;flex:1;border:1px solid #050709;min-width:0;border-radius:4px;box-shadow:inset 0 1px #fff5,inset 0 -2px #0008,0 1px 2px #000e;background:linear-gradient(#454f56 0%,#26333c 45%,#141d25 49%,#28333b 100%);font-size:10px;font-weight:700;color:#cbd5dc;text-shadow:0 1px #000}.candy.mute.active{color:#fff;background:linear-gradient(#ff8c8c 0%,#bd3944 44%,#77141d 47%,#b02336 100%);box-shadow:inset 0 1px #ffcacc,0 0 7px #e827405e,0 2px 2px #000c}.candy.solo{color:#f6d56e}.candy.solo.active{color:#080b0d;text-shadow:0 1px #fff4;background:linear-gradient(#fff6a3,#f5bf4b 43%,#a56b10 48%,#dd9c21)}.db-display{height:35px;flex:none;display:grid;place-items:center;background:linear-gradient(#1d2b35,#101b22);font:700 12px Consolas,monospace;color:#65dffc;text-shadow:0 0 7px #15bbed88}.fader-zone{flex:1;min-height:90px;display:flex;gap:5px;padding:4px 5px 7px;background:linear-gradient(90deg,#1e2931,#111a21 10%,#202b32 60%,#111b23);border-top:1px solid #43545e;position:relative}.scale{width:19px;display:flex;flex-direction:column;justify-content:space-between;color:#9baab4;font:9px Consolas,monospace;text-align:right;padding:0 0 1px}.fader{flex:1;position:relative;touch-action:none;cursor:ns-resize;min-width:25px}.fader:before{content:"";position:absolute;top:2px;bottom:3px;left:calc(50% - 6px);width:12px;background:linear-gradient(90deg,#1b2a32,#01070b 25%,#020408 55%,#22343c);border-left:1px solid #576c78;border-right:1px solid #50636b;box-shadow:inset 0 1px 4px #000,0 0 2px #000}.fader:after{content:"";position:absolute;top:1px;bottom:2px;left:calc(50% + 13px);width:1px;background:#33424e}.cap{position:absolute;left:50%;top:var(--pos);transform:translate(-50%,-50%);width:29px;height:45px;border-radius:4px;border:1px solid #061017;z-index:1;box-shadow:0 3px 5px #000e,inset 0 1px 1px #fff,inset 0 -2px 3px #252c36;background:linear-gradient(90deg,#5c6971 0%,#c8d0d4 9%,#f3f5f3 20%,#929ea4 42%,#d5dbdd 70%,#f4f5ed 82%,#56616b 100%)}.cap:before{content:"";position:absolute;inset:4px 2px;background:repeating-linear-gradient(to bottom,#f1f3f277 0 2px,#6f808e55 2px 3px);opacity:.65}.cap:after{content:"";position:absolute;top:19px;height:5px;left:0;right:0;background:linear-gradient(#0c1821,#71838a 45%,#091319 65%,#33434b);box-shadow:0 -1px #fafafa7c,0 1px #d9e7e6a8}.meter{width:11px;min-width:11px;position:relative;border:1px solid #495f6a;background:linear-gradient(90deg,#081118,#04090e 65%,#12232a);box-shadow:inset 0 0 6px #000,0 0 0 1px #05090c;border-radius:1px;overflow:hidden}.meter-fill{position:absolute;bottom:0;left:2px;right:2px;height:var(--level,35%);background:repeating-linear-gradient(to top,transparent 0 5px,#000a 5px 7px),linear-gradient(to top,#33f17d 0%,#78f65f 43%,#d6ec36 69%,#ffe133 85%,#ff6540 100%);box-shadow:0 0 3px #56e87b}.fader-tools{height:40px;flex:none;display:flex;gap:5px;align-items:center;padding:3px 7px;border-top:1px solid #56647255;background:linear-gradient(#1a2a33,#0c171e)}.fader-tools button{flex:1;height:27px;border:1px solid #070b0d;background:linear-gradient(#344c61,#08141f 50%,#1b2c38);border-radius:3px;box-shadow:inset 0 1px #e0eff740,0 1px 2px #0007;font-size:11px}.fader-tools button.active{background:linear-gradient(#66daff,#056c9f 45%,#063850 52%,#197ca9);color:#fff}.strip-name{flex:none;height:72px;border-top:3px solid var(--ch);background:linear-gradient(135deg,color-mix(in srgb,var(--ch) 50%,#050f19 50%),color-mix(in srgb,var(--ch) 23%,#0b1520 77%));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;cursor:pointer;color:#f5f7fa;text-shadow:0 1px 2px #000;font-size:12px}.strip-name .track-icon{font-size:21px;color:#d8e5ec;font-weight:400;line-height:19px}.status{height:24px;flex:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 12px;border-top:1px solid #334551;background:linear-gradient(#172630,#0a131b);color:#90a5b3;font-size:10px}.status b{font-weight:600;color:#c9e4ed}.status .live-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#62d481;box-shadow:0 0 4px #48bf69;margin-right:5px}.dim-text{color:#698492}.right-rail{flex:0 0 255px;display:flex;flex-direction:column;border:1px solid #344957;border-radius:4px;background:linear-gradient(90deg,#25323c,#0e1922 14%,#121c24 85%,#1a2730);min-width:220px;overflow:hidden}.master-tabs{padding:4px}.master-workarea{flex:1;min-height:0;display:flex;gap:5px;padding:5px}.master-left{flex:1;display:flex;flex-direction:column;min-width:0;padding:9px 6px;background:linear-gradient(90deg,#15232b,#101922);border:1px solid #31424d;border-radius:3px}.master-right{width:102px;display:flex;flex-direction:column;gap:6px;min-width:0}.master-lcd{height:34px;color:#ffe671;text-shadow:0 0 4px #ffcd3844;font:700 16px Consolas,monospace;display:flex;align-items:center;justify-content:center;background:#081118;border:2px solid #31444b}.master-meter-box{height:38%;min-height:100px;display:flex;justify-content:center;gap:9px;padding:12px 10px;border-bottom:2px solid #080c12}.master-meter-box .meter{width:18px;min-width:18px}.master-mid{height:39px;background:#101b23;border-bottom:1px solid #364751;display:flex;align-items:center;justify-content:center;font:700 16px Consolas,monospace;color:#f4e56e}.master-slider-wrap{display:flex;flex:1;min-height:120px;gap:10px;padding:10px 8px}.master-slider-wrap .fader{width:47px;flex:1}.master-slider-wrap .meter{width:13px;min-width:13px}.master-fader-label{height:42px;display:grid;place-items:center;color:#8de2fb;border:1px solid #176b92;margin-top:auto;font-size:11px;font-weight:650}.right-title{color:#8ee6fb;font-size:10px;font-weight:700;margin:7px 1px 0}.right-button{height:27px;min-height:27px;border:1px solid #03080c;border-radius:3px;background:linear-gradient(#263743,#111c26 50%,#1c2b36);text-align:left;padding-left:9px;font-size:11px;box-shadow:inset 0 1px #95adba4d}.right-button.selected{background:linear-gradient(#4edbff,#087caa 55%,#0a5e81);color:#fff}.monitor-knob{align-self:center;margin:5px 0}.monitor-knob .knob{width:53px;height:53px}.master-controls{display:flex;gap:5px}.master-controls button{padding-left:0;text-align:center;flex:1;font-size:10px}.right-data{background:#0b1921;color:#7ee9fd;text-align:center;font:12px Consolas,monospace;border:1px solid #1a3643;padding:6px}.talk-btn{height:66px;border:1px solid #31434f;background:linear-gradient(#263643,#0e1d27);color:#bedbea;font-size:24px}.right-small{font-size:10px;color:#a1bac7}.editor{height:100%;display:flex;flex-direction:column;padding:18px;background:linear-gradient(#141f29,#0d151c)}.editor-top{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #385160}.editor-top h2{font-size:17px;font-weight:550;margin:0;color:#cdeaf4}.editor-top button{margin-left:auto}.editor-flex{display:flex;gap:18px;flex:1;min-height:0;padding-top:18px}.eq-graph{flex:1;min-width:0;position:relative;border:1px solid #384d59;background:repeating-linear-gradient(to right,#30444c4b 0 1px,transparent 1px 9.09%),repeating-linear-gradient(to bottom,#30444c33 0 1px,transparent 1px 12.5%),radial-gradient(ellipse at 55% 40%,#1b2c35,#090e13);box-shadow:inset 0 0 24px #000a}.eq-graph svg{width:100%;height:100%;touch-action:none}.eq-side{width:212px;display:flex;flex-direction:column;gap:12px}.eq-side .knob-row{display:flex;align-items:center;gap:18px;border-bottom:1px solid #3a515c;padding-bottom:10px}.eq-side .knob-wrap{min-width:80px;display:grid;justify-items:center;gap:6px}.eq-title{font-size:12px;color:#a7e7f8}.editor-help{margin-top:auto;color:#8da4b1;line-height:1.6;font-size:11px}.editor .chrome-icon{width:auto;padding:0 15px}.toast{position:fixed;z-index:50;left:50%;bottom:36px;transform:translateX(-50%) translateY(40px);opacity:0;pointer-events:none;border:1px solid #357a91;background:#152c3a;padding:9px 17px;border-radius:5px;color:#d5f4ff;box-shadow:0 10px 28px #0009;transition:opacity .2s,transform .2s;font-size:11px}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}@media(max-width:1510px){.project{width:175px}.cpu{min-width:90px}.nav button{min-width:54px;padding:0 8px}.scene-select{min-width:137px}.brand{font-size:17px;padding-right:9px}.brand-ar{font-size:22px}.spec{min-width:55px;padding:9px 5px}.bpm{min-width:80px}.strip{flex:1 0 90px}}@media(max-width:1190px){.project{display:none}.cpu{display:none}.right-rail{flex-basis:225px}.left-rail{flex-basis:138px}.status-help{display:none}}@media(max-height:790px){.rack{height:129px;gap:3px;padding:4px}.insert{min-height:21px}.strip-controls{height:170px}.trim-row{height:33px}.knob{width:36px;height:36px}.pan-control .knob{width:32px;height:32px}.utility-row{margin-bottom:5px}.strip-name{height:53px;gap:2px}.strip-name .track-icon{font-size:17px}.fader-tools{height:32px}} +:root{font:12px 'Segoe UI',Arial,sans-serif;color:#cfdae3;background:#070c11;--cyan:#16c6f5;--cyan2:#74e4ff;--seam:#050a0e;--steel:#35404a;--white:#eef5f8}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,[tabindex]:focus-visible{outline:2px solid #45cafa;outline-offset:-2px}button:active{filter:brightness(1.2)}.hidden{display:none!important}.app{height:100dvh;min-height:600px;display:flex;flex-direction:column;background:#111b23}.toolbar{flex:none;height:56px;display:flex;align-items:center;gap:6px;padding:0 10px;background:linear-gradient(#29343f 0%,#121b24 56%,#0d151c 100%);border-bottom:2px solid #05090d;box-shadow:inset 0 1px #65778688,0 3px 8px #0008;white-space:nowrap;position:relative;z-index:2}.brand{height:100%;display:flex;align-items:center;gap:6px;padding:0 17px 0 10px;border-right:1px solid #6575835c;margin-right:5px;letter-spacing:.1px;font-size:20px;font-weight:550}.brand-ar{color:#1ac9f6;font-size:24px;letter-spacing:1px;text-shadow:0 0 6px #18b2dc28}.brand-label{color:#eef1f4}.brand-label>span{color:#bac6cf;font-weight:400}.project,.scene-select,.spec,.cpu,.chrome-icon,.nav button{height:34px;background:linear-gradient(#1b2934,#0c151e 70%,#1a2832);border:1px solid #02080d;box-shadow:inset 0 1px 1px #55677364,0 1px #5c6b7854;border-radius:3px}.project{width:234px;padding:9px 12px;font-size:11px;overflow:hidden;text-overflow:ellipsis}.project strong,.spec strong,.cpu strong{color:#87e7ff;font-weight:600}.muted{color:#97a7b3}.chev{float:right;color:#83cbeb}.chrome-icon{width:36px;flex:none;font-size:15px;color:#a9bbca;background:linear-gradient(#3a4752,#141d26 24%,#18232d 65%,#35414c);box-shadow:inset 0 1px #91a1ac6c,0 2px 2px #000a}.spec{padding:9px 9px;color:#9cabb5;min-width:66px;text-align:center}.bpm{min-width:95px}.cpu{display:flex;align-items:center;gap:9px;min-width:148px;padding:0 10px;font-size:10px;color:#9badba}.cpu strong{color:#dde8e7}.cpu i{height:8px;flex:1;background:#091017;box-shadow:inset 0 1px 4px #000;border:1px solid #3a4a53;display:block}.cpu i b{display:block;height:100%;width:38%;background:linear-gradient(90deg,#188c4a,#63e47e)}.toolbar-spacer{flex:1;min-width:4px}.scene-select{min-width:162px;display:flex;align-items:center;gap:5px;padding:0 10px;color:#91d0ea;font-size:11px}.scene-select b{color:#c6e5f1;font-weight:600}.scene-select span{margin-left:auto}.nav{display:flex;gap:0;margin-left:3px}.nav button{border-radius:0;padding:0 15px;min-width:65px;font-weight:650;letter-spacing:.15px;font-size:10px;color:#c6d6df}.nav button.selected,.seg button.selected{color:#02131c;background:linear-gradient(#18b2dd 0%,#42d8fa 52%,#038cbd 53%,#19bff0 95%);box-shadow:inset 0 1px #9df8ff,0 0 10px #0bb7ff33;border-color:#04779b}.main{flex:1;display:flex;overflow:hidden;min-height:0;gap:5px;padding:6px 6px 6px 7px}.left-rail{flex:0 0 156px;min-width:140px;display:flex;flex-direction:column;background:linear-gradient(90deg,#19252e,#0d161e);border:1px solid #33434d;border-radius:4px;box-shadow:inset 0 0 6px #000c;overflow:hidden}.tabs{display:flex;flex:none;gap:2px;padding:4px 3px;background:#111c24}.seg button{flex:1;border:1px solid #344854;height:36px;border-radius:2px;font-size:10px;font-weight:700;background:linear-gradient(#273642,#111c24);color:#cbd6db}.channel-list{flex:1;min-height:160px;overflow:auto;scrollbar-width:thin;scrollbar-color:#324853 #131b24}.list-item{height:25px;display:flex;align-items:center;gap:8px;padding:0 7px 0 5px;border-bottom:1px solid #29374169;font-size:11px;color:#becbd4;cursor:pointer}.list-item:hover{background:#294050}.list-item.selected{background:linear-gradient(90deg,#175d7d,#0e425e);color:#e1f5ff}.list-item .index{color:#9ba8b2;min-width:13px;text-align:right}.swatch{width:12px;height:17px;border:1px solid #7f91a0a3;border-radius:1px;box-shadow:inset 0 1px #fff4;flex:none}.rail-section-title{height:26px;display:flex;align-items:center;padding-left:9px;font-weight:600;font-size:10px;background:linear-gradient(#1b2d37,#101a21);border-top:2px solid #334957;color:#b6d2dd}.rail-list{flex:none}.rail-list .list-item{height:23px;font-size:10px}.scenes-list .list-item{height:22px}.rail-bottom{display:flex;gap:5px;padding:5px}.rail-bottom button{width:26px;height:25px;border:1px solid #394c59;border-radius:3px;background:linear-gradient(#33434f,#101a23);box-shadow:inset 0 1px #fff2}.workbench{flex:1;min-width:0;min-height:0;overflow:hidden;border:1px solid #17232d;box-shadow:0 0 0 1px #54616a42;border-radius:2px;background:#10181f}.mixer{width:100%;height:100%;display:flex;overflow:auto hidden;scrollbar-width:thin;scrollbar-color:#40505c #0c1117;user-select:none}.strip{flex:1 0 92px;min-width:92px;max-width:140px;height:100%;display:flex;flex-direction:column;border-left:1px solid #57646c72;border-right:2px solid #060b10;background:linear-gradient(90deg,#1b2933 0%,#293640 5%,#222d35 17%,#1a252e 50%,#26313a 90%,#111920 100%);box-shadow:inset 1px 0 #86959b28,inset -2px 0 #0007;position:relative}.strip.selected{background:linear-gradient(90deg,#214052,#304553 6%,#273947 38%,#233844 75%,#0c222d);box-shadow:inset 1px 0 #3ad1f7,inset -2px 0 #04090c}.ch-id{height:35px;flex:none;display:flex;justify-content:center;align-items:center;font:600 19px 'Segoe UI',Arial,sans-serif;color:#fff;border-top:2px solid #7be1ff9c;border-bottom:2px solid #05090d;background:linear-gradient(135deg,color-mix(in srgb,var(--ch) 65%,#fff 12%),color-mix(in srgb,var(--ch) 58%,#070d14 42%) 80%);text-shadow:0 1px 3px #000}.strip:nth-child(2n) .ch-id{border-top-color:#fff6}.rack{height:163px;flex:none;display:flex;flex-direction:column;gap:4px;padding:7px 4px 7px;border-bottom:2px solid #050b0e;background:linear-gradient(#0e1920,#192630)}.insert{display:flex;align-items:center;gap:5px;min-height:25px;width:100%;border:1px solid #03080c;box-shadow:inset 0 1px #70828c40,0 1px #5971804b;border-radius:3px;text-align:left;padding:0 4px;color:#c9d8df;background:linear-gradient(#25333b,#10181d 60%,#1a262d);font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.insert .insert-led{display:inline-grid;place-items:center;flex:none;width:14px;height:16px;font-size:10px;border-radius:3px;background:linear-gradient(#37cdf7,#0677aa);color:#031922;box-shadow:inset 0 1px #c0f6ff,0 0 4px #0dbbee77}.insert.off{opacity:.45}.insert.off .insert-led{background:linear-gradient(#626b70,#28343b);color:#d0d7dc}.insert.empty{color:#708994}.insert.empty .insert-led{background:none;box-shadow:none;color:#70a1b6;font-size:14px}.strip-controls{height:215px;flex:none;display:flex;flex-direction:column;align-items:center;border-top:1px solid #61717a4d;border-bottom:1px solid #060c11;background:linear-gradient(#283641 0%,#1e2a33 40%,#2b373f 50%,#1b242c 100%)}.trim-row{height:45px;width:100%;padding:7px 6px;display:flex;justify-content:space-between;align-items:center;gap:4px}.mini-label{font-size:8px;letter-spacing:.3px;color:#afc1c8}.mini-lcd{height:23px;min-width:56px;display:grid;place-items:center;padding:0 3px;color:#62e5fa;text-shadow:0 0 5px #1fbfe988;background:linear-gradient(#080f13,#0a1920);border:2px solid #0d151b;border-radius:3px;box-shadow:inset 0 0 4px #000,0 1px #60768355;font:600 10px Consolas,monospace}.knob{--angle:0deg;--accent:#27c9ed;appearance:none;border:1px solid #020508;border-radius:50%;width:44px;height:44px;flex:none;position:relative;cursor:ns-resize;touch-action:none;background:radial-gradient(circle at 28% 18%,#a4b0b6 0%,#7e929d 5%,#303d45 22%,#101920 64%,#050b10 100%);box-shadow:inset 0 2px 2px #d2e3ec77,inset 0 -4px 6px #0009,0 3px 5px #000b,0 0 0 2px #465662}.knob::before{content:"";position:absolute;inset:7px;border-radius:50%;border:1px solid #94a7b282;background:linear-gradient(132deg,#73818a 0%,#24313b 38%,#0c1820 60%,#485d6a 95%);box-shadow:inset 2px 2px 2px #d4e0e44d,inset -3px -3px 5px #000b}.knob::after{content:"";position:absolute;width:3px;height:17px;top:7px;left:calc(50% - 1px);border-radius:4px;transform-origin:50% 15px;transform:rotate(var(--angle));background:linear-gradient(#eaffff,#20ccff);box-shadow:0 0 5px #1cc5f9}.knob.small{width:38px;height:38px}.knob.small::after{height:13px;top:6px;transform-origin:50% 13px}.knob-label{font-size:9px;color:#b9c9d2;margin-top:4px;line-height:11px}.knob-value{color:#90aebc;font:9px Consolas,monospace;margin-top:2px}.pan-control{display:flex;flex-direction:column;align-items:center}.pan-control .knob{width:39px;height:39px}.pan-control .knob::after{height:14px;transform-origin:50% 13px}.utility-row{display:flex;width:100%;padding:0 5px;gap:4px;margin-top:auto;margin-bottom:7px}.utility-row button{width:50%;height:25px;border:1px solid #080e13;box-shadow:inset 0 1px #a2b4c34f,0 1px 2px #0009;border-radius:3px;background:linear-gradient(#35434d,#101920 45%,#27333c);font-weight:700;font-size:10px}.utility-row button.active{background:linear-gradient(#b45558,#8e1d2e 50%,#54141c 52%,#bd525a);color:#fff;text-shadow:0 1px #000}.channel-actions{height:41px;flex:none;display:flex;align-items:center;gap:5px;padding:0 6px;border-top:1px solid #6b747b4a;border-bottom:1px solid #0007;background:#1b252d}.candy{height:28px;flex:1;border:1px solid #050709;min-width:0;border-radius:4px;box-shadow:inset 0 1px #fff5,inset 0 -2px #0008,0 1px 2px #000e;background:linear-gradient(#454f56 0%,#26333c 45%,#141d25 49%,#28333b 100%);font-size:10px;font-weight:700;color:#cbd5dc;text-shadow:0 1px #000}.candy.mute.active{color:#fff;background:linear-gradient(#ff8c8c 0%,#bd3944 44%,#77141d 47%,#b02336 100%);box-shadow:inset 0 1px #ffcacc,0 0 7px #e827405e,0 2px 2px #000c}.candy.solo{color:#f6d56e}.candy.solo.active{color:#080b0d;text-shadow:0 1px #fff4;background:linear-gradient(#fff6a3,#f5bf4b 43%,#a56b10 48%,#dd9c21)}.db-display{height:35px;flex:none;display:grid;place-items:center;background:linear-gradient(#1d2b35,#101b22);font:700 12px Consolas,monospace;color:#65dffc;text-shadow:0 0 7px #15bbed88}.fader-zone{flex:1;min-height:90px;display:flex;gap:5px;padding:4px 5px 7px;background:linear-gradient(90deg,#1e2931,#111a21 10%,#202b32 60%,#111b23);border-top:1px solid #43545e;position:relative}.scale{width:19px;display:flex;flex-direction:column;justify-content:space-between;color:#9baab4;font:9px Consolas,monospace;text-align:right;padding:0 0 1px}.fader{flex:1;position:relative;touch-action:none;cursor:ns-resize;min-width:25px}.fader:before{content:"";position:absolute;top:2px;bottom:3px;left:calc(50% - 6px);width:12px;background:linear-gradient(90deg,#1b2a32,#01070b 25%,#020408 55%,#22343c);border-left:1px solid #576c78;border-right:1px solid #50636b;box-shadow:inset 0 1px 4px #000,0 0 2px #000}.fader:after{content:"";position:absolute;top:1px;bottom:2px;left:calc(50% + 13px);width:1px;background:#33424e}.cap{position:absolute;left:50%;top:var(--pos,50%);transform:translate(-50%,-35px);width:31px;height:90px;z-index:1;border:0;border-radius:0;box-shadow:none;overflow:visible;cursor:ns-resize;user-select:none;touch-action:none;pointer-events:auto;background:transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAABaCAYAAABAO43mAAAACXBIWXMAAC4jAAAuIwF4pT92AAAKlElEQVR4nLWaW48jx3XHf6equknOkDs7F2l3drLaxcSAIWv3VYadRynIUxADeYy/QD5K8pDHfALlKUCQwICBII5lBFIiR0ge4rWdi7SKJGfHI+1wOcMhm8OurpOHqm6Sc9vVLnmABtFs9vnXOXXuRen2Nuiur9/PW60/ffjWd/5w8+bNN40xXEUhBMqyZDqdEjQAYMSQ5zlZlnHVuyEEng0Gv/7FL3/1o7PJ2V+Ox+PP5f79/bcnk8nf/O7+/t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SkxAbzs2PUq0JrflDljbv6SlhZRLgnwKiphNg6Vc9VLk3NXRPE/CzXYdX8VXRZdhSHz00ZjZk3DZVPIl6E5FafWuXHtV+b9SvT/32AqCRfud2IAAAAASUVORK5CYII=") center top / 31px 90px no-repeat}.cap::before,.cap::after{content:none}.meter{width:11px;min-width:11px;position:relative;border:1px solid #495f6a;background:linear-gradient(90deg,#081118,#04090e 65%,#12232a);box-shadow:inset 0 0 6px #000,0 0 0 1px #05090c;border-radius:1px;overflow:hidden}.meter-fill{position:absolute;bottom:0;left:2px;right:2px;height:var(--level,35%);background:repeating-linear-gradient(to top,transparent 0 5px,#000a 5px 7px),linear-gradient(to top,#33f17d 0%,#78f65f 43%,#d6ec36 69%,#ffe133 85%,#ff6540 100%);box-shadow:0 0 3px #56e87b}.fader-tools{height:40px;flex:none;display:flex;gap:5px;align-items:center;padding:3px 7px;border-top:1px solid #56647255;background:linear-gradient(#1a2a33,#0c171e)}.fader-tools button{flex:1;height:27px;border:1px solid #070b0d;background:linear-gradient(#344c61,#08141f 50%,#1b2c38);border-radius:3px;box-shadow:inset 0 1px #e0eff740,0 1px 2px #0007;font-size:11px}.fader-tools button.active{background:linear-gradient(#66daff,#056c9f 45%,#063850 52%,#197ca9);color:#fff}.strip-name{flex:none;height:72px;border-top:3px solid var(--ch);background:linear-gradient(135deg,color-mix(in srgb,var(--ch) 50%,#050f19 50%),color-mix(in srgb,var(--ch) 23%,#0b1520 77%));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;cursor:pointer;color:#f5f7fa;text-shadow:0 1px 2px #000;font-size:12px}.strip-name .track-icon{font-size:21px;color:#d8e5ec;font-weight:400;line-height:19px}.status{height:24px;flex:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 12px;border-top:1px solid #334551;background:linear-gradient(#172630,#0a131b);color:#90a5b3;font-size:10px}.status b{font-weight:600;color:#c9e4ed}.status .live-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#62d481;box-shadow:0 0 4px #48bf69;margin-right:5px}.dim-text{color:#698492}.right-rail{flex:0 0 255px;display:flex;flex-direction:column;border:1px solid #344957;border-radius:4px;background:linear-gradient(90deg,#25323c,#0e1922 14%,#121c24 85%,#1a2730);min-width:220px;overflow:hidden}.master-tabs{padding:4px}.master-workarea{flex:1;min-height:0;display:flex;gap:5px;padding:5px}.master-left{flex:1;display:flex;flex-direction:column;min-width:0;padding:9px 6px;background:linear-gradient(90deg,#15232b,#101922);border:1px solid #31424d;border-radius:3px}.master-right{width:102px;display:flex;flex-direction:column;gap:6px;min-width:0}.master-lcd{height:34px;color:#ffe671;text-shadow:0 0 4px #ffcd3844;font:700 16px Consolas,monospace;display:flex;align-items:center;justify-content:center;background:#081118;border:2px solid #31444b}.master-meter-box{height:38%;min-height:100px;display:flex;justify-content:center;gap:9px;padding:12px 10px;border-bottom:2px solid #080c12}.master-meter-box .meter{width:18px;min-width:18px}.master-mid{height:39px;background:#101b23;border-bottom:1px solid #364751;display:flex;align-items:center;justify-content:center;font:700 16px Consolas,monospace;color:#f4e56e}.master-slider-wrap{display:flex;flex:1;min-height:120px;gap:10px;padding:10px 8px}.master-slider-wrap .fader{width:47px;flex:1}.master-slider-wrap .meter{width:13px;min-width:13px}.master-fader-label{height:42px;display:grid;place-items:center;color:#8de2fb;border:1px solid #176b92;margin-top:auto;font-size:11px;font-weight:650}.right-title{color:#8ee6fb;font-size:10px;font-weight:700;margin:7px 1px 0}.right-button{height:27px;min-height:27px;border:1px solid #03080c;border-radius:3px;background:linear-gradient(#263743,#111c26 50%,#1c2b36);text-align:left;padding-left:9px;font-size:11px;box-shadow:inset 0 1px #95adba4d}.right-button.selected{background:linear-gradient(#4edbff,#087caa 55%,#0a5e81);color:#fff}.monitor-knob{align-self:center;margin:5px 0}.monitor-knob .knob{width:53px;height:53px}.master-controls{display:flex;gap:5px}.master-controls button{padding-left:0;text-align:center;flex:1;font-size:10px}.right-data{background:#0b1921;color:#7ee9fd;text-align:center;font:12px Consolas,monospace;border:1px solid #1a3643;padding:6px}.talk-btn{height:66px;border:1px solid #31434f;background:linear-gradient(#263643,#0e1d27);color:#bedbea;font-size:24px}.right-small{font-size:10px;color:#a1bac7}.editor{height:100%;display:flex;flex-direction:column;padding:18px;background:linear-gradient(#141f29,#0d151c)}.editor-top{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #385160}.editor-top h2{font-size:17px;font-weight:550;margin:0;color:#cdeaf4}.editor-top button{margin-left:auto}.editor-flex{display:flex;gap:18px;flex:1;min-height:0;padding-top:18px}.eq-graph{flex:1;min-width:0;position:relative;border:1px solid #384d59;background:repeating-linear-gradient(to right,#30444c4b 0 1px,transparent 1px 9.09%),repeating-linear-gradient(to bottom,#30444c33 0 1px,transparent 1px 12.5%),radial-gradient(ellipse at 55% 40%,#1b2c35,#090e13);box-shadow:inset 0 0 24px #000a}.eq-graph svg{width:100%;height:100%;touch-action:none}.eq-side{width:212px;display:flex;flex-direction:column;gap:12px}.eq-side .knob-row{display:flex;align-items:center;gap:18px;border-bottom:1px solid #3a515c;padding-bottom:10px}.eq-side .knob-wrap{min-width:80px;display:grid;justify-items:center;gap:6px}.eq-title{font-size:12px;color:#a7e7f8}.editor-help{margin-top:auto;color:#8da4b1;line-height:1.6;font-size:11px}.editor .chrome-icon{width:auto;padding:0 15px}.toast{position:fixed;z-index:50;left:50%;bottom:36px;transform:translateX(-50%) translateY(40px);opacity:0;pointer-events:none;border:1px solid #357a91;background:#152c3a;padding:9px 17px;border-radius:5px;color:#d5f4ff;box-shadow:0 10px 28px #0009;transition:opacity .2s,transform .2s;font-size:11px}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}@media(max-width:1510px){.project{width:175px}.cpu{min-width:90px}.nav button{min-width:54px;padding:0 8px}.scene-select{min-width:137px}.brand{font-size:17px;padding-right:9px}.brand-ar{font-size:22px}.spec{min-width:55px;padding:9px 5px}.bpm{min-width:80px}.strip{flex:1 0 90px}}@media(max-width:1190px){.project{display:none}.cpu{display:none}.right-rail{flex-basis:225px}.left-rail{flex-basis:138px}.status-help{display:none}}@media(max-height:790px){.rack{height:129px;gap:3px;padding:4px}.insert{min-height:21px}.strip-controls{height:170px}.trim-row{height:33px}.knob{width:36px;height:36px}.pan-control .knob{width:32px;height:32px}.utility-row{margin-bottom:5px}.strip-name{height:53px;gap:2px}.strip-name .track-icon{font-size:17px}.fader-tools{height:32px}} /* v0.3 Industrial Crystal polish — each gloss is continuous, not a broken midline */ .nav button.selected,.seg button.selected,.mode-pill.active{position:relative;isolation:isolate;background:linear-gradient(180deg,#85f5ff 0%,#48defc 7%,#17b5e2 35%,#0087b8 70%,#086084 100%);border:1px solid #0b7798;box-shadow:inset 0 2px 2px #ecffffd9,inset 0 -3px 4px #042b538c,0 1px 2px #000b,0 0 7px #08c3fc26;color:#f2fdff;text-shadow:0 1px 2px #003c68} .nav button.selected::before,.seg button.selected::before,.mode-pill.active::before{content:"";position:absolute;inset:2px 3px 47% 3px;border-radius:2px 2px 5px 5px;background:linear-gradient(180deg,#fff9,#fff2 78%,transparent);pointer-events:none;opacity:.7} .nav button,.seg button,.mode-pill{overflow:hidden} .mode-pill{border-radius:4px;height:34px;min-width:90px;padding:0 9px;font-size:10px;font-weight:700;color:#c4effa;border:1px solid #206984;box-shadow:inset 0 1px #8cecff55,0 1px 2px #000b;background:linear-gradient(#2b5061,#0e2b3a 67%,#123949)} -.cap{height:39px;overflow:visible;will-change:transform;box-shadow:0 4px 6px #000d,inset 0 2px 1px #fff,inset 0 -2px 3px #292f34,0 0 0 1px #516b7a} -.cap::before{border-radius:2px} -/* Keep cap entirely inside the travel-safe area instead of clipping at the track edge */ -.fader{--travel-top:26px;--travel-bottom:27px} -.cap{top:calc(var(--travel-top) + (100% - var(--travel-top) - var(--travel-bottom)) * var(--travel, .5)))} .fader-zone{overflow:visible;min-height:95px} .fader-tools{height:34px}.strip-name{height:61px;gap:5px}.strip-name .track-icon{font-size:18px} .rack{position:relative}.rack::before{content:"FX CHAIN";font-size:8px;letter-spacing:1px;color:#5f9db4;position:absolute;top:-1px;right:6px} @@ -31,7 +26,644 @@ @media(max-width:1120px){.mode-pill{min-width:75px}.rack-layout{grid-template-columns:1fr}.guide-panel{display:none}.project{display:none}.feature-workspace{padding:13px}} @media(max-height:730px){.app.easy .rack{height:130px}.app.easy .strip-controls{height:80px}.rail-signal{padding:5px}.strip-name{height:49px}.strip-name .track-icon{display:none}.rack{height:133px}.insert{min-height:21px}.fader-tools{height:27px}} -/* Verified cross-browser safe travel geometry: clamp avoids cutting off metallic slider heads */ -.fader .cap{top:clamp(25px,var(--pos,50%),calc(100% - 25px));} +/* Supplied 31x90 PNG: physical metal spans y=0..65, shadow continues below. + The black center detent is at y=35. Translate by -35px so dB value and + pointer position align to that detent rather than the transparent shadow. */ +.fader .cap{top:clamp(35px,var(--pos,50%),calc(100% - 31px))} +.fader:focus-visible{outline:none} +.fader:focus-visible .cap{filter:drop-shadow(0 0 2px #6de6ff)} +.fader:hover .cap{filter:brightness(1.08)} +.fader:active .cap{filter:brightness(1.02)} .plugin-inspector label{display:block;font-size:11px;color:#a2d9e8;margin:18px 0}.plugin-inspector label output{float:right;font:11px Consolas,monospace;color:#6ce0fb}.plugin-inspector input[type=range]{display:block;width:100%;margin-top:10px;accent-color:#16b9dc;cursor:ew-resize} + + +/* ArSonMix: supplied 18x40 horizontal pan head and 88x36 tactile button art. */ +:root{ +--ar-pan:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAoCAMAAADE8VquAAACf1BMVEUAAAAgICAQEBANDQ0UFBQUFBQSEhIaGhoQEBAfHx8XFxcSEhIvLy8SEhIUFBQ2NjZiYmJdXV1aWlpbW1sVFRUmJiYWFhYaGhoaGhoeHh4TExMUFBQeHh4gICAbGxsTExMbGxsaGhodHR0dHR0aGhobGxsYGBgUFBQVFRUXFxcXFxcWFhYaGhobGxsZGRkYGBgXFxcWFhYXFxcUFBQUFBQTExMTExMTExMUFBQQEBAQEBAQEBAMDAwMDAwJCQkJCQ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BjZsRx/JuSJGEAeL69jSebmwAweVkAJD4J0WRG3qfy500DV8yZuSBjIdtLU7wbDAAAxho92NgoPMwoOuezaCnJG940EmeRywAedzpOH9vB7ShyBmQfoGl82pFzTsXYbVoklyKXWdX75AJTLoEzgonIEWsNNZIBhWinaBbFpfezcr/3yLVjIgIzI7a51RpoJNsPIOHTWbWgpsAnFqgm13FJNE0R0lCNZEAlWqIpMay9o0ZsSa486wjORaTKE4QkXTqmipRw1UmuCqCqHCzn2gnD5eCCwsvJpDlkVslsYqKoJN3vvQBk5mkEFzY5kVtkWrjq0bkstGh1Y2XvkZLSJmehnRZKNg07OVThPBu4n4sBb5Oz/0RIwjX6pKzpJwcNi2yAAIopQjPwcV2itgqLBlWJ4FnwTxLXFYswEM83Wc5xwARTgkNk1gIz3yTgIlgoBwcsjhDBNSMQXDMCwTUjEFwzwiZXM0IE14xAcM1wBP/JsstcR6MguXQEfxuNLmUxTcSXoyM3jpMkOTk9Pb354eAAANBbX8ctca9/LoiyJteLEqhSKZRWUmV1UaTaSnvpz861Eit7baOVWrkSK6/kyi+lkmVZnGXFuWd/OBzi62iEvTQFACRJckI7Ozuf+v3+I/k773X/zXdZFG5/mNHr9T5G/X7/1/7+/t00Te9kWXYDCARfFO12+6Tb7X7f3d19RcwcAbgP4B6A9hL+5C0/ec3MmJs5/TyZ1uQaCjfpFS1XxrNkms2xwslfAD8B/KBwQ1Evwjm4ZgSCa8Y/32omoHhXOHgAAAAASUVORK5CYII="); +} +.brand{font-size:18px;gap:0;letter-spacing:0;font-weight:520;white-space:nowrap} +.brand-ar{font-size:19px;letter-spacing:0;font-weight:620} +.brand-label{font-weight:500;color:#e3edf2} +.pan-control{width:100%;padding:0 6px;display:flex;flex-direction:column;align-items:center;gap:0} +.pan-track{position:relative;width:100%;height:40px;min-height:40px;cursor:ew-resize;touch-action:none;outline:none;user-select:none} +.pan-track::before{content:"";position:absolute;top:18px;left:9px;right:9px;height:5px;border-radius:2px;border:1px solid #06090b;background:linear-gradient(180deg,#030507,#24313b 51%,#071016);box-shadow:inset 0 1px 2px #000,inset 0 -1px #50616a50,0 1px #7a8b9030} +.pan-track::after{content:"";position:absolute;top:13px;left:calc(50% - 1px);height:15px;width:2px;background:linear-gradient(#8198a3,#365263);box-shadow:0 1px 1px #0009;pointer-events:none} +.pan-thumb{position:absolute;z-index:1;top:0;left:calc(9px + (100% - 18px)*var(--pan-frac,.5));width:18px;height:40px;transform:translateX(-50%);background:var(--ar-pan) center / 18px 40px no-repeat;filter:drop-shadow(1px 1px 2px #0008);pointer-events:auto;transition:filter 95ms ease} +.pan-track:hover .pan-thumb{filter:brightness(1.12) drop-shadow(1px 1px 2px #000b)} +.pan-track:active .pan-thumb{filter:brightness(.96) drop-shadow(0 0 1px #000)} +.pan-track:focus-visible .pan-thumb{filter:drop-shadow(0 0 3px #39cbff)} +.pan-control .knob-value{margin-top:-1px;font:10px Consolas,monospace;line-height:11px;color:#77d7f0;text-align:center} +@media(max-height:790px){.pan-control{padding:0 5px}} + +/* CONTEXTUAL ARSONMIX HARDWARE BUTTONS — no selector shared across unrelated zones. + * Source art is checked into web/assets/buttons and embedded for standalone parity. + * Families: 49x37 strip; 88x36 navigation/output; 192x36 presets; 88x56 talkback. + * Do not stretch art onto rack-insert cells, labels, knobs, or icon buttons. */ +:root { + --skin-small-off:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAlCAYAAADr2wGRAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0JJREFUeJztmLtuG0cUhr8zM2dNcRU3lgWokpCLgvghnDqxgLRx7bxB/BjOI6R3yvSuHMDKA0RpAhdUfENoN7YoUbtzSbEXkpIoy0IgrgP+AMkzM9zd/5vDXQK/9Hq9b4CfgQ3OkIicNX2lSinNW3oJ3JNer/dCRDYAbt5c5/u7d7n11S1WV1fJsozsmqKakWVKphmqSpYpmmWoZqg61DmcU1QdzjmstVhrMcZgjCHGSIyREAIhBLz3lKXH+5KyrsuyoCwKiqKkLEuKsqkLiuOSoig4ODhg7889fnn4kOHwnwbwpaysrCQR4caNNX68f59Prl/HGYtxFmssxlqsEcQYjLFYoa7rl8hkLIIxBmsNUtciQkqJGCMpJUKogGIzN1U345AgxlDVMRFDIMRA9AEfA+/evuWnBw948+Y1KSWMiCAi3NnZIe/nVZMERAARjIBIZdIaqUCsw9nq09a775yimaLadO70S+tOaqY4p1XX1M2czxhbX8dU1619VH4qe3k/59udOzTeTfPj2v5yu/Ffv0tVt7eEMLU0U05N8b5bSM459vSg3tCTnoDtL7bbc7qGpr/SP//qHVOe5+1Dx7znu5VkaoOm5ibbf0kn08fLGUsXPO8sxOKfphfTCZ8X60THNReia005z8//uxMfk5YQXdESoitaQnRFS4iuaAnRFS0huqK5EHOTngXpPD8txPh4fAVW/juNxxO/LcT+YL972z9PCf7e32+HLcTvu084Gs/pRjqDLzGZvCz89PHpjKU55z0aj9ndfdKOJc/zJCKsra2xtbXF7dtf8+lnn9PP+1xTxTVRZaY4q2TqUFVcE5pZW0eXDuss1pg6BJNTMWaMiRA8IUaCD4Tg8d7j62jTl76OMD0+lJRFWcWdZcFxWXI4OuTp07/47fFjBoMBw+GQlNIEwhjD5uYmzrkJYQfC5EbTobL3nsFg0EajLUSMEVVlfX19JpjqklJKjEYjhsMhRVFgjGkhXojIRoxx0R4/WDXEK5NS+iGl9GrRhi6jlNLzlNI9SSmRZRnAd8DHFMgeAr+q6sw/9rNFubmkngOMRqMZiD3gaDF+Plhj4I9mYE4sPKIiDFds6qIKVP4eUfkF4F81rFSu+vKxSgAAAABJRU5ErkJggg=="); + --skin-small-mute:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAlCAYAAADr2wGRAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmFJREFUeJztmMFqU0EUhr8zc5sEEkiwuLFQaJcuiqAbX8QHMK678Al8gK7sUtzog7h1afsEhaagSGhaLG3JzBwXd2Z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wGRlBSHiyJLZyL6Dc6FUJnFjk4xhSwvbAu7uMhjdLFkIOLEflPMGxsq1nrfw6dcgYWm9zoPZ3R5zwuZkZY9SLWnXGKcJ44HsGVcYErU1wHr3AVa4xHcGVc4Mq4wJVxgSvjm1xl/EajMp4iKuMCV8YFrkzxk9Eql7G+eARXxgWujF+mVcZvNCrjKaIyLnBlXODKuMCV8U2uMh7BlXGBK+M3GpXxCK6Mb3KV8QiujAtcGRe4Mi5wZVzgygwCd8d/rHIda0Wp5SDw4f5XK1nMOvLb918O/qRt26Pj4+MrP80+BoNrt7ZpplfPOfw0ZakBK8sQkG3oyxKUZQ8K3wzL7Sa/V5Y36Mf048ef18+3mHtYC7YoezCUP+hLHfTlD5TLExQlDDQuc9CXRej6Y/uyBxqXQfjl1wcc7t/j4NtPAWjb9sh2dnY+n81mrwxPG9E/iLgcas+lJf4/QjmXJLa3t+82s9ns/t7e3vMHBwfPdl13CZYr8DoynU6Ptra2vt7d3X3XJDXAS8AtYPovPq98mNlOvMI57XCBvajvrFe5hlxnAAr/5Cue4Z/Xd9aY38/Q5C9gH/jGlnkK/R/x6+DKuMCV+Qe1cdb3DUeEIgAAAABJRU5ErkJggg=="); +} +:where(.toolbar .nav button,.toolbar .mode-pill, + .left-rail .tabs button,.right-rail .master-tabs button, + .right-rail .right-button,.rail-presets button,.rail-bottom button, + .strip .channel-actions button,.strip .utility-row button, + .strip .fader-tools button,.master-controls button,.right-rail .talk-btn){ + appearance:none; user-select:none; cursor:pointer; + transition:filter 90ms ease,transform 90ms ease; +} +:where(.toolbar .nav button,.toolbar .mode-pill,.left-rail .tabs button, + .right-rail .master-tabs button,.right-rail .right-button,.rail-presets button, + .rail-bottom button,.strip .channel-actions button,.strip .utility-row button, + .strip .fader-tools button,.master-controls button,.right-rail .talk-btn):hover{filter:brightness(1.09)} +:where(.toolbar .nav button,.toolbar .mode-pill,.left-rail .tabs button, + .right-rail .master-tabs button,.right-rail .right-button,.rail-presets button, + .rail-bottom button,.strip .channel-actions button,.strip .utility-row button, + .strip .fader-tools button,.master-controls button,.right-rail .talk-btn):active{transform:translateY(1px);filter:brightness(.92)} +:where(.toolbar .nav button,.toolbar .mode-pill,.left-rail .tabs button, + .right-rail .master-tabs button,.right-rail .right-button,.rail-presets button, + .rail-bottom button,.strip .channel-actions button,.strip .utility-row button, + .strip .fader-tools button,.master-controls button,.right-rail .talk-btn):focus-visible{outline:2px solid #66dbfa;outline-offset:1px} + +/* Top transport/nav has its own dimensions, unrelated to channel switches. */ +.toolbar .nav{gap:2px;align-items:center;margin-left:6px} +.toolbar .nav button{ + height:31px; min-width:0; flex:0 0 auto; + padding:0 9px 3px; font-size:10px;font-weight:600;line-height:1.1; + color:#c4d5dc;text-shadow:0 1px 1px #000; + background:var(--ar-btn-off) center/100% 100% no-repeat !important; + border:0;box-shadow:none;border-radius:2px; +} +.toolbar .nav button[data-view="MIX"]{width:54px} +.toolbar .nav button[data-view="FX RACK"]{width:69px} +.toolbar .nav button[data-view="SIGNAL FLOW"]{width:94px} +.toolbar .nav button[data-view="SETUP"]{width:64px} +.toolbar .nav button.selected{background-image:var(--ar-btn-blue)!important;color:#f4fbff} +.toolbar .nav button.selected::before{content:none} +.toolbar .mode-pill{min-width:91px;height:31px; + background:var(--ar-btn-off) center/100% 100% no-repeat!important; + border:0;box-shadow:none;border-radius:2px;padding:0 9px 3px; + font-size:10px;font-weight:600;line-height:1.1;color:#dae5eb;text-shadow:0 1px 1px #000} +.toolbar .mode-pill.active{background-image:var(--ar-btn-tur)!important;color:#fff} +.toolbar .mode-pill.active::before{content:none} + +/* Sidebar tabs and master section tabs: 88x36 medium, never tiny strip caps. */ +.left-rail .tabs,.right-rail .master-tabs{gap:3px;padding:4px} +.left-rail .tabs button,.right-rail .master-tabs button{ + flex:1 1 0;min-width:0;height:30px;min-height:30px;padding:0 2px 3px; + border:0;box-shadow:none;border-radius:2px; + background:var(--ar-btn-off) center/100% 100% no-repeat!important; + color:#d4e3e8;font-weight:600;font-size:10px;text-shadow:0 1px 1px #000; +} +.left-rail .tabs button.selected,.right-rail .master-tabs button.selected{ + background-image:var(--ar-btn-tur)!important;color:#f5ffff; +} +.left-rail .tabs button.selected::before,.right-rail .master-tabs button.selected::before{content:none} + +/* The 49x37 family is for the dense 12-channel toggle grid. */ +.strip .channel-actions{gap:4px;padding:3px 5px;height:38px} +.strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button{ + background:var(--skin-small-off) center/100% 100% no-repeat!important; + border:0!important;box-shadow:none!important;border-radius:2px!important; + padding:0 2px 3px;color:#142027!important;text-shadow:0 1px #ffffffb5!important; + font-size:10px;font-weight:650;min-width:0;line-height:1.1; +} +.strip .channel-actions .candy{height:29px;min-height:29px;flex:1} +.strip .utility-row{padding:0 6px;gap:4px;margin-bottom:6px} +.strip .utility-row button{height:27px;min-height:27px;flex:1} +.strip .fader-tools{padding:3px 6px;gap:4px} +.strip .fader-tools button{height:27px;min-height:27px;flex:1} +.strip .candy.mute.active{background-image:var(--skin-small-mute)!important;color:#fff!important;text-shadow:0 1px 1px #521217!important} +.strip .candy.solo.active{background-image:var(--skin-small-solo)!important;color:#19160a!important} +.strip .utility-row button[data-hpf].active{background-image:var(--skin-small-enable)!important;color:#0a240c!important} +.strip .utility-row button[data-pre].active{background-image:var(--skin-small-phase)!important;color:white!important} +.strip .fader-tools button.active{background-image:var(--skin-small-phase)!important;color:#fff!important} +.strip .channel-actions button.active,.strip .utility-row button.active,.strip .fader-tools button.active{transform:translateY(1px)} + +/* FX insert slots are narrow, recessed signal-chain elements, NOT hardware buttons. + * Restore their understated dark rack aesthetic rather than resizing button art. */ +.strip .rack .insert,.strip .rack .insert.empty{ + background:linear-gradient(#283a44,#111b21 55%,#1b2b33)!important; + border:1px solid #071016!important;box-shadow:inset 0 1px #71838d55,0 1px #50667158!important; + border-radius:3px!important;color:#bfd4df!important;font-size:10px; + padding:0 4px;min-height:25px;height:25px;font-weight:500!important;text-shadow:none!important; +} +.strip .rack .insert.empty{background:linear-gradient(#1b2d37,#0a1820)!important;color:#70cbeb!important} +.strip .rack .insert:hover{filter:brightness(1.12)} + +/* Presets are long and narrow — use 192x36 elongated plate, not 88x36 cap. */ +.left-rail .rail-presets{padding:5px 6px;gap:3px} +.left-rail .rail-presets button{ + width:100%;height:28px;min-height:28px;padding:0 9px 3px; + background:var(--skin-long-off) center/100% 100% no-repeat!important; + border:0;box-shadow:none;border-radius:2px;color:#cedde6!important; + font-size:10px;font-weight:560;text-align:left;text-shadow:0 1px 1px #000c; +} +.left-rail .rail-presets button.active{ + background-image:var(--skin-long-on)!important;color:#f7ffff!important; +} +/* Toolbar snapshot actions: small caps, independent from long presets. */ +.left-rail .rail-bottom{display:flex;gap:4px;padding:4px 5px} +.left-rail .rail-bottom button{ + flex:1 1 0;width:auto;min-width:0;height:28px;min-height:28px; + padding:0 2px 3px;border:0;box-shadow:none;border-radius:2px; + background:var(--skin-small-off) center/100% 100% no-repeat!important; + color:#15202a!important;font-size:9px;font-weight:600; +} +.left-rail .rail-bottom #addScene,.left-rail .rail-bottom #saveFxPreset{ + background-image:var(--skin-small-phase)!important;color:white!important; +} + +/* Output selector rail has medium switches; only the selected route gets color. + * Red/pink are reserved for the selected destination, never all at once. */ +.right-rail .master-right .right-button{ + width:100%;min-width:0;height:27px;min-height:27px;padding:0 8px 3px; + background:var(--ar-btn-off) center/100% 100% no-repeat!important; + border:0;box-shadow:none;border-radius:2px; + color:#e1eaf0!important;font-size:10px;font-weight:570;text-align:left;text-shadow:0 1px #000e; +} +.right-rail .master-right .right-button.selected{background-image:var(--ar-btn-tur)!important;color:#fff!important} +.right-rail .master-right .right-button[data-output="Record"].selected{background-image:var(--ar-btn-red)!important} +.right-rail .master-right .right-button[data-output="Streaming"].selected{background-image:var(--ar-btn-pink)!important} +.right-rail .master-right #monitorSource{background-image:var(--ar-btn-off)!important} +.right-rail .master-right .master-controls{display:flex;gap:4px} +.right-rail .master-right .master-controls button{ + flex:1 1 0;padding:0 2px 3px;text-align:center;font-size:9px; + background-image:var(--skin-small-off)!important;color:#18232c!important;text-shadow:0 1px #fff9; +} +.right-rail .master-right #masterMute.active{background-image:var(--skin-small-mute)!important;color:white!important;text-shadow:0 1px #451014} +.right-rail .master-right #dim.active{background-image:var(--skin-small-solo)!important;color:#221e07!important} +/* Talkback is a prominent momentary action: 88x56 tall-family cap only here. */ +.right-rail .master-right #talkBtn{ + height:48px;min-height:48px;padding:0 0 4px;border:0;box-shadow:none;border-radius:3px; + background:var(--skin-large-off) center/100% 100% no-repeat!important; + color:#d9f4ff;font-size:20px;text-shadow:0 1px 1px #000; +} +.right-rail .master-right #talkBtn.selected{background-image:var(--skin-large-on)!important} +.master-fader-label{ + background:linear-gradient(180deg,#144568,#08253b 65%,#0e334c)!important; + border:1px solid #155777;color:#9ce9ff;box-shadow:inset 0 1px #9cdfff36; + padding:0;font-weight:600; +} +/* Utility icons, EQ editor, plugin categories and signal/rack workspace + * intentionally RETAIN their original design. No imported rectangular PNG skin. */ +@media(prefers-reduced-motion:reduce){:where(.toolbar button,.left-rail button,.right-rail button,.strip button){transition:none!important}} + + +/* ArSonMix v0.5 interaction polish — visual only, no signal-path side effects. */ +/* Pan fill starts at 0 (center) and grows toward the thumb in either direction. */ +.pan-track .pan-fill{ + position:absolute;z-index:1;pointer-events:none;top:18px;height:5px; + left:calc(9px + (100% - 18px)*var(--pan-left,.5)); + width:calc((100% - 18px)*var(--pan-span,0)); + border-radius:2px; + background:linear-gradient(180deg,#92fff1 0%,#34d9af 39%,#08ae85 100%); + box-shadow:0 0 6px 1px #37efb0ba,0 0 3px #b7fff4; + transition:none; +} +.pan-track:hover .pan-fill{filter:brightness(1.25);box-shadow:0 0 7px #57fcd6ae} +.pan-track.is-dragging .pan-fill{filter:brightness(1.55)} +/* At small pan offsets the metal thumb occludes the short LED ribbon: + a subtle aqua edge makes every nonzero position observable. */ +.pan-track:not([aria-valuenow="0"]) .pan-thumb{ + filter:drop-shadow(0 0 3px #35efbfba) drop-shadow(1px 1px 2px #0008); +} +.pan-track:not([aria-valuenow="0"]):hover .pan-thumb{ + filter:brightness(1.3) contrast(1.12) drop-shadow(0 0 5px #69ffe8); +} +.pan-track:hover .pan-thumb{filter:brightness(1.30) contrast(1.12) drop-shadow(0 0 4px #b4f7ff90)} +.pan-track.is-dragging .pan-thumb{filter:brightness(.72) contrast(1.20) drop-shadow(0 0 4px #52fbd590)} +/* Keep original metallic PNG, dimensions and translating anchor EXACTLY unchanged. */ +.fader:hover .cap,.fader .cap:hover{filter:brightness(1.30) contrast(1.11) drop-shadow(0 0 4px #d8f6ff8c)!important} +.fader.is-dragging .cap,.fader:active .cap{filter:brightness(.72) contrast(1.19) drop-shadow(0 0 6px #59cae6)!important} +/* Physical feedback; visual state retains semantic color and the original PNG. */ +:is(.strip .channel-actions button,.strip .utility-row button,.strip .fader-tools button, + .left-rail .tabs button,.right-rail .master-tabs button,.right-rail .master-right .right-button, + .left-rail .rail-presets button,.left-rail .rail-bottom button, + .toolbar .nav button,.toolbar .mode-pill,.right-rail .master-right #talkBtn):hover{ + filter:brightness(1.30) contrast(1.10)!important; +} +:is(.strip .channel-actions button,.strip .utility-row button,.strip .fader-tools button, + .left-rail .tabs button,.right-rail .master-tabs button,.right-rail .master-right .right-button, + .left-rail .rail-presets button,.left-rail .rail-bottom button, + .toolbar .nav button,.toolbar .mode-pill,.right-rail .master-right #talkBtn):active{ + filter:brightness(.72) contrast(1.22)!important; +} +/* Each occupied FX slot has two *independent* targets: label/edit and on/off. + Empty slots stay full width. Never make entire insert visually disabled. */ +.strip .rack .insert-slot{height:25px;min-height:25px;display:flex;align-items:stretch;gap:2px;min-width:0;width:100%} +.strip .rack .insert-slot .insert{flex:1 1 0;width:auto;min-width:0;overflow:hidden;white-space:nowrap} +.strip .rack .insert-slot .insert-name{display:block;flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden} +.strip .rack .insert-slot .insert-led{flex:0 0 14px} +.strip .rack .insert-slot .fx-power{ + width:22px;min-width:22px;max-width:22px;height:25px;min-height:25px; + border:1px solid #106f72;border-radius:3px;cursor:pointer; + color:#76fff4;font:700 15px/1 'Segoe UI',sans-serif; + background:linear-gradient(180deg,#28424a,#09272b 52%,#0e333a); + box-shadow:inset 0 1px #b4f8e74d,0 1px #0009; + text-shadow:0 0 5px #4ddca59a;padding:0;display:grid;place-items:center; + transition:filter 90ms ease,box-shadow 90ms ease; +} +.strip .rack .insert-slot .fx-power.is-bypassed{ + color:#637884;text-shadow:none;border-color:#34444c; + background:linear-gradient(#1e292f,#0d1419 55%,#1b282e); + box-shadow:inset 0 1px #7e94942c,0 1px #0008; +} +.strip .rack .insert-slot.is-bypassed .insert{color:#788e9b!important;filter:saturate(.55)} +.strip .rack .insert-slot.is-bypassed .insert-led{filter:grayscale(1) brightness(.6)} +.strip .rack .insert-slot .fx-power:hover{ + filter:brightness(1.45)!important;box-shadow:inset 0 1px #d9ffed88,0 0 5px #48f9be7b +} +.strip .rack .insert-slot .fx-power:active{filter:brightness(.65) contrast(1.15)!important;transform:translateY(1px)} +.strip .rack .insert-slot .fx-power:focus-visible{outline:2px solid #8cfbe7;outline-offset:1px} +/* Existing FX Rack power button shows consistent enabled vs bypassed state. */ +.chain-node button[data-chainbypass]{width:34px;padding:0;min-width:34px;font-size:19px;line-height:1} +.chain-node button[data-chainbypass].power-on{color:#61f9df;border-color:#1a988e;background:linear-gradient(#1c4648,#073037)} +.chain-node button[data-chainbypass].is-bypassed{color:#6f8390;border-color:#364954;background:linear-gradient(#26323a,#131d24)} +.chain-node button[data-chainbypass]:hover{filter:brightness(1.30)} +.chain-node button[data-chainbypass]:active{filter:brightness(.74);transform:translateY(1px)} +/* Clear selection without noisy new gradients or changing other control geometry. */ +.strip.selected .ch-id{box-shadow:inset 0 0 0 1px #8fe4ff3b} +@media(prefers-reduced-motion:reduce){.fx-power,.pan-fill{transition:none!important}} + +/* v0.6: subdued hardware feedback and center detent (zero snap in JS). */ +.pan-track:not([aria-valuenow="0"]) .pan-thumb, +.pan-track:not([aria-valuenow="0"]):hover .pan-thumb{filter:brightness(1.08) drop-shadow(1px 1px 2px #0009)!important} +.pan-track:hover .pan-thumb{filter:brightness(1.12) drop-shadow(1px 1px 2px #000a)!important} +.pan-track.is-dragging .pan-thumb{filter:brightness(.9) drop-shadow(0 1px 1px #000c)!important} +.pan-track .pan-fill{height:3px;top:19px;background:#35caac;box-shadow:none!important;filter:none!important} +.pan-track:hover .pan-fill,.pan-track.is-dragging .pan-fill{filter:none!important;box-shadow:none!important} +.pan-track::after{z-index:2;top:15px;height:11px;background:#829aa6;box-shadow:0 0 0 1px #071016} +.fader:hover .cap,.fader .cap:hover{filter:brightness(1.19) contrast(1.06) drop-shadow(0 1px 3px #c6deef70)!important} +.fader.is-dragging .cap,.fader:active .cap{filter:brightness(.82) contrast(1.11) drop-shadow(0 1px 3px #244c5b)!important} +:is(.strip .channel-actions button,.strip .utility-row button,.strip .fader-tools button,.left-rail .tabs button, + .right-rail .master-tabs button,.right-rail .master-right .right-button,.left-rail .rail-presets button,.left-rail .rail-bottom button, + .toolbar .nav button,.toolbar .mode-pill,.right-rail .master-right #talkBtn):hover{filter:brightness(1.13) contrast(1.05)!important} +:is(.strip .channel-actions button,.strip .utility-row button,.strip .fader-tools button,.left-rail .tabs button, + .right-rail .master-tabs button,.right-rail .master-right .right-button,.left-rail .rail-presets button,.left-rail .rail-bottom button, + .toolbar .nav button,.toolbar .mode-pill,.right-rail .master-right #talkBtn):active{filter:brightness(.87) contrast(1.09)!important} +.strip .rack .insert-slot .insert{padding:0 4px;font-size:9.5px;text-align:left} +.strip .rack .insert-slot .insert-name{min-width:0;text-overflow:ellipsis} +.strip .rack .insert-slot .fx-power{width:19px;min-width:19px;max-width:19px;font-size:13px} +.strip .rack .insert-add-glyph{flex:0 0 10px;color:#63c8e1;font-size:12px;line-height:1} +.strip .strip-name .strip-caption{max-width:96%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} +.strip .strip-name:hover{filter:brightness(1.12)} +/* Channel identity: console-matched floating control panel, not a page takeover. */ +.identity-overlay{z-index:60;background:#03090d88;display:grid;place-items:center} +.identity-overlay.hidden{display:none} +.identity-panel{width:min(390px,calc(100vw - 30px));padding:16px 18px 17px;color:#d9e7ef;border-radius:7px; + background:linear-gradient(150deg,#2a3944,#111e27 48%,#15232c); + border:1px solid #5a7481;box-shadow:0 16px 48px #000c,inset 0 1px #b8d4df46} +.identity-top{display:flex;align-items:center;justify-content:space-between} +.identity-kicker{font:600 10px Consolas,monospace;color:#74c7e2;letter-spacing:1px} +.identity-close{width:27px;height:25px;color:#bdcad2;border:1px solid #48606e; + background:linear-gradient(#364651,#14212a);border-radius:3px;cursor:pointer} +.identity-heading{font-size:18px;font-weight:600;margin:5px 0 19px;color:#f3f9fc} +.identity-label{display:block;font:600 10px 'Segoe UI',sans-serif;letter-spacing:1px;color:#91b8c8;margin:15px 0 8px} +#identityName{width:100%;height:36px;padding:0 10px;font:500 14px 'Segoe UI';color:#f4fbfd; + background:#0b1921;border:1px solid #43606c;box-shadow:inset 0 2px 5px #0008;border-radius:4px;outline:none} +#identityName:focus{border-color:#55c8e4} +.identity-icons,.identity-colors{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px} +.identity-icon{height:35px;border-radius:4px;border:1px solid #324550;color:#dbeef6;cursor:pointer; + background:linear-gradient(#304452,#162530);font-size:17px} +.identity-icon.selected{border-color:#6bd5ea;background:linear-gradient(#226682,#123448);box-shadow:inset 0 0 0 1px #62dafa66} +.identity-color{height:28px;border:2px solid #101b22;border-radius:4px;background:var(--choice);cursor:pointer;box-shadow:inset 0 1px #fff5,0 2px 4px #0009} +.identity-color.selected{outline:2px solid #eefaff;outline-offset:1px} +.identity-actions{display:flex;justify-content:flex-end;margin-top:21px} +#identitySave{height:34px;padding:0 16px;border:1px solid #2799b8;border-radius:4px;color:#f1fbff; + background:linear-gradient(#257fa0,#0d4761);font:600 11px 'Segoe UI';cursor:pointer} +#identitySave:hover{filter:brightness(1.12)} + +/* MASTER STRIP — matched physical segments and red master fader, without shrinking tools. */ +:root{--master-cap-asset:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAABaCAYAAABAO43mAAAACXBIWXMAAC4jAAAuIwF4pT92AAAKU0lEQVR4nLWaz48jx3XHP6+qupvk/NDORDOSNRutLMCC7Sjwr0CGfNXGixxyyt0Xn3L10cg/kBx8zB9gCIGRAIaDAF54bSAXAQZsyT8Qe2WsLC/kJLtY7Q455IxINruqng9VzSG5mjF2RT6AILubXd/3Xr/f1XJYluw599KWtf/4t3t7f39UVZ+zIlxEQZVJjExCIORzFuhaS9cYLro3qPL/df3ujweD//oohH898f4D+Zvd3dfOvP/+a7u7R9f39rSO8WJkIKoyjpFJjATVBC5C1xh6xmAuYbwyRn8yGMjPRqP/3XHuH1wd4z9Xxhx9aXu7KUSsiogBEEEBVCEvKBnciFCKEPOiBiiNoRTBiKCZKUSQvEYEChH90va2//XZ2V9OY/wXp/B6IaLPFkXRMYZCZAlslVSVTlZjhkCy9BaQFcn1/EasiHm2KEwholPV1x2qlRjDjrV0rUVVsYDJXM8/l6hzUTstg5qBNWsr5DXyWkKMlWs537KWbWsBsNZircVYiziHGAPGJDUacw4qkoBb0BjTcYxojKj3xBAI+dM+opZNpy14UdAtS9Q5TFVhOh2kqjBliRQFYi0Ycw6+qInMgMaYgENAm4Y4m6F1TZxOiXWNeI/OZkjWiJtzX5aYbpdoLabTeRzcuaR6Y9L3Cri2Equi3qPOgbVoZlZFMCEkrPyYnBNh5D23p1PeePllJs5hiyIBtqCLUotcDK66LL33aNOgTUPwnm7T8LPbtxl5T+kcDsCoEqzluW98g+bwEKO6LOFlxnYRtcxkjUQRig8/JHz722l9wNWqfLosuf7GG/idHVynQ++VV86N6WmAFxkQwR8fM71/H7+7y/Xr1/nBnTvcjRGnMdLtdOhcvUoYjyFGPvze99LvLPXTwLcBSmPE7ewgsxl2b4/utWt0iwKdTJLaUUWsxQ8GvPfd73Lv/feRolhyo6cWnhSAShFe/da3MNmdAZw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5IbrmuTxCYAAPgPxS+A0xcTn1e4b+BRlKCal+VWBdpFqoG3sp4uJxrZ8CUxN2UzVh9W1/UGQ+X3/JpgBNgBBQbBG+Afv7OpbNqzMBDoLNB8ClwCsQ0gdR2m53TDN5w8YbR01K73hg4lRRs0jNXY1Ri/IgkfY4Dawc3JAHHTV1rUVU4r5qahGRso4U/r5skrz+WssSrzg0OkhWOMoebBK/bEy6cTwoaklrs4/etjU4zTgJfqL4D8BHJ1TZFH2WcBL4w6g4ka9wk+HgJfOEtgUjyQ8emslpaf/6cXVy+OCNZ/WWbw08D2q43Y8GYXVzerm7WBHgRNUtb40ZkcetZYLPVs7ZvPABy2aui66KLMMSIzDd3XH5vdVMRJqjO353YxH7tE9GfAH9rxUpSaRd6AAAAAElFTkSuQmCC")} +.right-rail{flex-basis:268px;min-width:253px} +.master-workarea{padding:4px;gap:4px;min-height:0} +.master-left{width:132px;flex:1 1 132px;min-width:112px;padding:0;overflow:hidden;gap:0;border-radius:2px; + background:linear-gradient(90deg,#1e303d,#141e26 47%,#1c2934)} +.master-right{width:100px;flex:0 0 100px} +.master-ch-id{height:35px;flex:0 0 35px;display:grid;place-items:center; + color:#f8f3f3;font:600 15px 'Segoe UI';letter-spacing:1px;border-top:2px solid #f4858d; + background:linear-gradient(120deg,#a12e37,#5e1926 58%,#3c121b);text-shadow:0 1px 2px #000d} +.master-fx-rack{height:163px;flex:0 0 163px;display:flex;flex-direction:column;gap:4px;padding:7px 4px; + border-bottom:2px solid #04090d;background:linear-gradient(#111b22,#18232d)} +.master-fx-title{height:12px;flex:0 0 12px;font:600 8px Consolas,monospace;color:#a1d9eb;letter-spacing:.3px} +.master-fx-slot{height:22px;flex:0 0 22px;display:flex;min-width:0;gap:2px} +.master-insert{min-width:0;flex:1 1 0;padding:0 4px;color:#c7dce8;overflow:hidden; + text-overflow:ellipsis;white-space:nowrap;text-align:left;border:1px solid #061219;border-radius:2px; + background:linear-gradient(#293b45,#111d25);font:500 9px 'Segoe UI';cursor:pointer} +.master-insert.empty{color:#6ed0ea;background:linear-gradient(#14232d,#0b171f)} +.master-insert:hover{filter:brightness(1.13)} +.master-insert .insert-name{overflow:hidden;display:block;text-overflow:ellipsis} +.master-fx-power{width:19px;flex:0 0 19px;padding:0;border-radius:2px; + border:1px solid #14656a;background:linear-gradient(#28535a,#092a31);color:#7cfce3; + font:700 13px 'Segoe UI';cursor:pointer} +.master-fx-slot.is-bypassed .master-insert{opacity:.57} +.master-fx-power.is-bypassed{color:#8697a3;background:linear-gradient(#2b363a,#15212a);border-color:#334854} +.master-meter-info{height:174px;flex:0 0 174px;padding:10px 8px 6px;border-bottom:1px solid #060c11; + background:linear-gradient(#1f2e38,#121d26)} +.master-info-kicker{color:#85c7dc;font:700 9px 'Segoe UI';letter-spacing:.3px;margin-bottom:13px} +.master-info-kicker span{color:#caae64;font:700 8px Consolas,monospace;float:right} +.master-info-row{display:flex;align-items:center;justify-content:space-between; + font:600 10px Consolas,monospace;color:#93b0be;margin-bottom:12px;gap:5px} +.master-info-row strong{color:#edda8c;font:600 14px Consolas,monospace} +.master-info-note{font:8px Consolas,monospace;color:#7c93a0;letter-spacing:0;white-space:nowrap} +.master-action-space{height:82px;flex:0 0 82px;display:flex;flex-direction:column; + align-items:center;justify-content:center;gap:8px;border-bottom:1px solid #091117; + color:#72bdd5;font:600 10px 'Segoe UI'} +.master-stereo-symbol{color:#3da1bd;font-size:14px} +.master-db{height:35px;flex:0 0 35px;display:grid;place-items:center; + color:#f5db8a;background:linear-gradient(#1e2c35,#101a23);font:700 12px Consolas,monospace} +.master-fader-zone{flex:1;min-height:95px;display:flex;gap:2px;padding:7px 4px 5px; + border-top:1px solid #43515d;background:linear-gradient(90deg,#1a2730,#131e25,#23303a)} +.master-fader-zone .scale{width:18px;flex:0 0 18px;font-size:8px} +.master-fader-zone .fader{flex:1;min-width:29px} +.master-fader-zone .fader .cap{ + background-image:var(--master-cap-asset)!important;background-repeat:no-repeat!important; + background-position:center!important;background-size:31px 90px!important; +} +.master-fader-zone .meter-unit{min-width:10px;width:11px;flex:0 0 11px} +.master-fader-zone .meter-unit .meter{width:100%;min-width:0} +.master-fader-zone .meter-channel-label{font:700 8px Consolas,monospace;color:#9bcadd} +.master-tools{height:40px;flex:0 0 40px;display:flex;align-items:center;justify-content:center; + background:linear-gradient(#202d36,#101922);border-top:1px solid #40515b} +.master-tools button{font:600 9px 'Segoe UI';padding:5px 8px;color:#a9dbea; + border:1px solid #3c5d6a;border-radius:3px;background:linear-gradient(#264555,#122a35); + cursor:pointer} +.master-tools button:hover{filter:brightness(1.14)} +.master-left .master-fader-label{height:72px;min-height:72px;flex:0 0 72px;margin-top:0; + display:grid;place-items:center;border-top:3px solid #be3b46;color:#fce4e4; + background:linear-gradient(135deg,#5a212b,#25171d 80%)!important;font-size:11px} +/* Channel and master meters: subtle industrial scale + red peak-hold + click-reset CLIP LED. */ +.scale{background:repeating-linear-gradient(to bottom,#607482aa 0 1px,transparent 1px 10px) right 2px top / 5px 100% no-repeat} +.meter{overflow:visible} +.meter .meter-fill{bottom:2px;max-height:calc(100% - 14px)} +.meter .clip-led{position:absolute;top:3px;left:1px;right:1px;width:calc(100% - 2px);height:8px; + border:1px solid #54616c;border-radius:2px;z-index:4;cursor:pointer;padding:0; + background:linear-gradient(#45484c,#161d23);box-shadow:inset 0 1px #c8d3db56,0 1px 1px #0009} +.meter .clip-led.latched{background:linear-gradient(#ffb4a1,#ee4139 46%,#86121b); + border-color:#f85a58;box-shadow:0 0 5px #ec343a88,inset 0 1px #fff8} +.meter .meter-peak{position:absolute;z-index:3;left:1px;right:1px;height:2px; + background:#fb5b50;box-shadow:0 0 2px #f54a56aa;pointer-events:none} +.meter-unit{position:relative;display:flex;flex-direction:column;min-height:0} +.meter-unit .meter{height:100%;flex:1;min-height:0} + +/* Full-height selected strip: thin tinted outline, no disruptive thick border. */ +.strip.selected{box-shadow:inset 2px 0 #e2a86a,inset -2px 0 #e2a86a,inset 0 0 0 1px #e2a86a6c} +.strip.selected::before{content:"";position:absolute;inset:0;border-top:1px solid #f4ce8b6b; + border-bottom:2px solid #db935c;pointer-events:none;z-index:6} +.strip.selected .strip-name{box-shadow:inset 0 0 0 1px #ffd79f40} +.strip .rack .insert-slot .insert:hover{color:#dff4fd!important} +.strip .rack .insert-slot .insert-name{letter-spacing:-.15px} + +/* Align master slider band to input faders across EASY and PRO. + * Master-side tabs occupy 40px, so compensate through region heights. */ +.app.easy .master-fx-rack{height:132px;flex:0 0 132px;padding:5px 4px;gap:3px} +.app.easy .master-fx-rack .master-fx-slot:last-child{display:none} +.app.easy .master-fx-rack .master-fx-slot{height:22px;flex-basis:22px} +.app.easy .master-meter-info{height:84px;flex:0 0 84px;padding:5px 7px 3px} +.app.easy .master-info-kicker{font-size:8px;margin-bottom:5px} +.app.easy .master-info-row{font-size:9px;margin-bottom:5px} +.app.easy .master-info-row strong{font-size:12px} +.app.easy .master-info-note{font-size:7px} +.app.easy .master-action-space{height:39px;flex:0 0 39px;flex-direction:row;gap:5px;font-size:9px} +.app.easy .master-stereo-symbol{font-size:10px} +.app:not(.easy) .master-meter-info{height:150px;flex:0 0 150px} +.app:not(.easy) .master-info-kicker{margin-bottom:9px} +.app:not(.easy) .master-info-row{margin-bottom:8px} +.app:not(.easy) .master-action-space{height:66px;flex:0 0 66px} + +/* Master add-slot uses one leading plus icon, matching channel strips. */ +.master-insert.empty{display:flex;align-items:center;gap:3px} +.master-insert-add{color:#75d4e9;font:700 12px/1 Consolas,monospace;flex:0 0 auto} +.master-insert.empty .insert-name{min-width:0;white-space:nowrap} + +/* v0.6 MASTER-IN-STRIP: all thirteen strips share identical vertical bands. */ + +.mixer{gap:0} +.strip.master-strip{--ch:#a32836;flex:0 0 138px;min-width:138px;max-width:138px} +#masterLeft{display:flex;flex-direction:column;height:100%;padding:0;margin:0;overflow:hidden;border-left:2px solid #4c5962} +#masterLeft .master-ch-id{height:35px;flex:0 0 35px;border-top:2px solid #f18a97;border-bottom:2px solid #070b10;letter-spacing:.45px} +#masterLeft .master-fx-rack, +.app.easy #masterLeft .master-fx-rack,.app:not(.easy) #masterLeft .master-fx-rack{ + height:163px;flex:0 0 163px;padding:7px 4px;gap:4px;display:flex;flex-direction:column} +#masterLeft .master-fx-slot{flex:0 0 25px;height:25px;min-height:25px} +#masterLeft .master-fx-rack .master-insert{font-size:9px;line-height:1.1} +#masterLeft .master-controls-zone{height:215px;flex:0 0 215px;display:flex;flex-direction:column;align-items:stretch;padding:0 5px} +#masterLeft .master-analysis{flex:0 0 91px;height:91px;margin:5px 0 2px;padding:5px 7px;background:#0e1c26;border:1px solid #314451;border-radius:2px} +#masterLeft .master-analysis .master-info-kicker{font:600 8px Consolas,monospace;margin:0 0 7px;white-space:nowrap} +#masterLeft .master-analysis .master-info-row{font:9px Consolas,monospace;margin:0 0 6px;line-height:13px} +#masterLeft .master-analysis .master-info-row strong{font:600 11px Consolas,monospace} +#masterLeft .master-pan-wrap{flex:0 0 76px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0} +#masterLeft .master-pan-wrap .knob-label{margin:2px 0 0} +#masterLeft .pan-control{width:100%;padding:0 8px} +#masterLeft .master-monitor-label{margin-top:auto;margin-bottom:7px;text-align:center;letter-spacing:.8px;font:700 9px Consolas,monospace;color:#8ccada} +#masterLeft .master-actions{height:41px;flex:0 0 41px;gap:4px} +#masterLeft .master-actions button{font-size:9px} +#masterLeft .master-actions #masterMute.active{background:var(--skin-small-mute) center/100% 100% no-repeat!important;color:white!important} +#masterLeft .master-db{height:35px;flex:0 0 35px;background:linear-gradient(#192b34,#0c1921);font:700 12px Consolas,monospace;color:#e9c680} +#masterLeft .master-fader-zone{flex:1 1 auto;min-height:90px;height:auto;gap:3px;padding:4px 5px 7px;display:flex;background:linear-gradient(90deg,#1e2931,#111a21 10%,#202b32 60%,#111b23)} +#masterLeft .master-fader-zone .scale{width:18px;flex:0 0 18px;font-size:8px} +#masterLeft .master-fader-zone .fader{flex:1 1 auto;min-width:31px} +#masterLeft .master-fader-zone .fader .cap{background-image:var(--master-cap-asset)!important;background-repeat:no-repeat!important;background-position:center top!important;background-size:31px 90px!important} +#masterLeft .master-fader-zone .meter-unit{min-width:11px;width:11px;flex:0 0 11px;position:relative} +#masterLeft .master-fader-zone .meter-unit .meter{min-width:0;width:100%;height:calc(100% - 11px)} +#masterLeft .master-fader-zone .meter-channel-label{height:10px;line-height:10px;position:absolute;bottom:0;width:100%;text-align:center} +#masterLeft .master-tools{height:40px;flex:0 0 40px;padding:3px 5px;display:flex;gap:4px} +#masterLeft .master-tools button{flex:1 1 0;min-width:0;height:27px;font-size:8px;padding:0 2px;background:var(--skin-small-off) center/100% 100% no-repeat;color:#182b35} +#masterLeft .master-tools button.active{background:var(--skin-small-phase) center/100% 100% no-repeat;color:white} +#masterLeft .master-strip-name{height:72px;flex:0 0 72px;border-top:3px solid #b53648;color:#fff;background:linear-gradient(125deg,#752536,#27131b 85%)!important;gap:9px} +#masterLeft .master-strip-name .track-icon{font-size:15px;line-height:19px} +.strip.selected{box-shadow:inset 2px 0 #f0aa57,inset -2px 0 #f0aa57,inset 0 0 0 1px #eec07988} +.strip.selected::before{content:"";position:absolute;inset:0;z-index:6;pointer-events:none;border:2px solid #eda458;border-radius:2px;box-shadow:inset 0 0 0 1px #f8d79a42,0 0 5px #e59e3960} +.pan-track::after{background:linear-gradient(#eef8ff,#9eb5c2);width:2px;height:18px;top:11px;box-shadow:0 0 1px #fff,0 1px 2px #000} +.pan-track.is-centered::after{background:#ecfbff;box-shadow:0 0 0 1px #27485a,0 0 3px #f8ffff} +/* Keep snap visible through a crisp detent, not a glowing metal slider. */ + + +/* Mode-aware master: exactly the same vertical grid as channel 1. */ +.app.easy #masterLeft .master-fx-rack{height:130px;flex:0 0 130px;padding:5px 4px;gap:2px} +.app.easy #masterLeft .master-fx-slot{height:22px;min-height:22px;flex:0 0 22px} +.app.easy #masterLeft .master-fx-slot:last-child{display:none} +.app.easy #masterLeft .master-controls-zone{height:127px;flex:0 0 127px;justify-content:flex-start;padding-top:5px} +.app:not(.easy) #masterLeft .master-controls-zone{height:212px;flex:0 0 212px;justify-content:center} +#masterLeft .master-controls-zone .master-pan-wrap{flex:0 0 63px} +#masterLeft .master-controls-zone .master-monitor-label{display:none} +.app.easy #masterLeft .master-tools{height:31px;flex:0 0 31px} +.app.easy #masterLeft .master-strip-name{height:61px;flex:0 0 61px} +#masterLeft .master-fader-zone{position:relative;padding-bottom:70px} +#masterLeft .master-analysis{ + position:absolute;left:4px;right:4px;bottom:3px;height:64px;min-height:64px; + margin:0;padding:3px 7px;background:linear-gradient(#152735,#091721); + border:1px solid #324a59;border-radius:2px; + box-shadow:inset 0 1px #6d929f48,0 -1px 4px #0007;z-index:2} +#masterLeft .master-analysis .master-info-kicker{font-size:8px;margin:0 0 3px} +#masterLeft .master-analysis .master-info-row{line-height:10px;font-size:9px;margin:0 0 3px} +#masterLeft .master-analysis .master-info-row strong{font-size:10px} + +/* Master output is an identity chip, not a dummy routing action. */ +#masterLeft .master-stereo-badge{ + flex:1 1 0;min-width:0;height:29px;display:grid;place-items:center; + font:600 9px 'Segoe UI',sans-serif;letter-spacing:.5px; + background:linear-gradient(#293944,#15232e 54%,#233541); + border:1px solid #394d58;border-radius:3px;color:#9acada; + box-shadow:inset 0 1px #7e9fad39; +} +#masterLeft .master-route-label{ + flex:1 1 0;display:grid;place-items:center;color:#d3f2fc; + font:600 9px Consolas,monospace;letter-spacing:.1px; + border:1px solid #205d7f;background:linear-gradient(#164661,#0c263d); + border-radius:2px;min-width:0;white-space:nowrap; +} +#masterLeft .master-strip-name .track-icon{display:grid;place-items:center} + + +/* Premium console v0.7 — six visible VST insert slots per strip, shared geometry. */ +.strip .rack,.app.easy .strip .rack,.app:not(.easy) .strip .rack, +#masterLeft .master-fx-rack,.app.easy #masterLeft .master-fx-rack,.app:not(.easy) #masterLeft .master-fx-rack{ + height:196px;flex:0 0 196px;min-height:196px;gap:4px;padding:7px 4px;overflow:hidden; + display:flex;flex-direction:column +} +.strip .rack .insert-slot,#masterLeft .master-fx-slot, +.app.easy #masterLeft .master-fx-slot{ + height:27px;min-height:27px;flex:0 0 27px;max-height:27px;gap:2px; +} +.app.easy #masterLeft .master-fx-slot:last-child{display:flex} +.strip .rack .insert-slot .insert{height:27px;min-height:27px} +.strip .rack .insert-slot .fx-power{height:27px;min-height:27px} +#masterLeft .master-fx-power{height:27px} +#masterLeft .master-insert{height:27px;min-height:27px} +#masterLeft .master-controls-zone{justify-content:center;align-items:stretch;gap:2px} +.app.easy #masterLeft .master-controls-zone{justify-content:center;padding-top:0} +#masterLeft .master-controls-zone .master-pan-wrap{flex:0 0 56px;min-height:56px;margin:0;padding:0} +#masterLeft .master-controls-zone .master-analysis{ + position:static;flex:0 0 55px;height:55px;min-height:55px;width:100%; + padding:3px 7px;margin:0;border-radius:2px; +} +#masterLeft .master-controls-zone .master-analysis .master-info-kicker{margin:0 0 3px} +#masterLeft .master-controls-zone .master-analysis .master-info-row{margin:0 0 3px;line-height:9px;font-size:9px} +#masterLeft .master-controls-zone .master-analysis .master-info-row strong{font-size:10px} +#masterLeft .master-fader-zone{padding-bottom:7px} +#masterLeft .master-fader-zone .meter-unit .meter{height:calc(100% - 11px)} +/* PAN numeric readouts replace a redundant PAN heading and make L / R explicit. */ +.pan-control{gap:0} +.pan-control .pan-readline{width:100%;padding:0 6px;margin:-2px 0 0;display:grid;align-items:center; + grid-template-columns:18px minmax(0,1fr) 18px;height:16px;line-height:16px; + font:700 9px Consolas,monospace;color:#7fa6bb} +.pan-control .pan-readline strong{font:700 10px Consolas,monospace;color:#8be2f5; + text-align:center;white-space:nowrap} +.pan-control .pan-readline span:first-child{text-align:left} +.pan-control .pan-readline span:last-child{text-align:right} +#masterLeft .pan-control{padding:0 5px} +/* The master selected state reuses the same 2px uninterrupted outline as inputs. */ +#masterLeft.selected{box-shadow:inset 2px 0 #f0aa57,inset -2px 0 #f0aa57,inset 0 0 0 1px #eec07988} +#masterLeft.selected::before{content:"";position:absolute;inset:0;z-index:6; + pointer-events:none;border:2px solid #eda458;border-radius:2px; + box-shadow:inset 0 0 0 1px #f8d79a42,0 0 5px #e59e3960} +/* On shorter desktops prioritize six FX while retaining a usable fader throw. */ +@media (max-height:760px){ + .strip .rack,.app.easy .strip .rack,.app:not(.easy) .strip .rack, + #masterLeft .master-fx-rack,.app.easy #masterLeft .master-fx-rack,.app:not(.easy) #masterLeft .master-fx-rack{height:172px;flex-basis:172px;min-height:172px;gap:2px;padding:5px 4px} + .strip .rack .insert-slot,#masterLeft .master-fx-slot,.app.easy #masterLeft .master-fx-slot{height:25px;min-height:25px;flex-basis:25px} + .strip .rack .insert-slot .insert,.strip .rack .insert-slot .fx-power, + #masterLeft .master-insert,#masterLeft .master-fx-power{height:25px;min-height:25px} +} + +/* Geometry correction measured by Chromium: EASY master controls need 94px, + not 127px, when both channel and master FX racks are the same height. */ +.app.easy #masterLeft .master-controls-zone{height:94px;flex:0 0 94px;min-height:94px; + padding:0 5px;gap:0;justify-content:flex-start} +.app.easy #masterLeft .master-controls-zone .master-analysis, +#masterLeft .master-controls-zone .master-analysis{ + height:38px;min-height:38px;flex:0 0 38px;padding:1px 5px;margin:0;overflow:hidden +} +#masterLeft .master-controls-zone .master-analysis .master-info-kicker{font:600 8px/9px Consolas,monospace;margin:0} +#masterLeft .master-controls-zone .master-analysis .master-info-row{font:9px/9px Consolas,monospace;margin:0;min-height:9px} +#masterLeft .master-controls-zone .master-analysis .master-info-row strong{font:600 10px/9px Consolas,monospace} +#masterLeft .master-controls-zone .master-pan-wrap{flex:0 0 56px;min-height:56px;max-height:56px} + + +/* ArSonMix v0.8: compact, readable streaming meters and organized left console. */ +/* This readout is an intentionally SIMULATED UI preview, never claim BS.1770/true-peak analysis. */ +#masterLeft .master-controls-zone .master-analysis{ + height:38px;min-height:38px;flex:0 0 38px;display:flex;flex-direction:column; + justify-content:center;gap:1px;overflow:hidden;padding:1px 6px; + background:linear-gradient(180deg,#122734 0%,#081923 100%); + border:1px solid #365968;box-shadow:inset 0 1px 0 #9bd9ff2a; +} +#masterLeft .master-controls-zone .master-analysis .master-info-kicker{ + flex:0 0 8px;height:8px;font:700 8px/8px Consolas,monospace; + color:#85bfcc;display:flex;align-items:center;justify-content:space-between; + margin:0;white-space:nowrap;letter-spacing:0 +} +#masterLeft .master-controls-zone .master-analysis .master-info-kicker span{ + font:700 7px/8px Consolas,monospace;color:#8f9ca5 +} +#masterLeft .master-controls-zone .master-analysis .master-info-row{ + flex:0 0 12px;height:12px;min-height:12px;line-height:12px;margin:0; + width:100%;display:flex;justify-content:space-between;align-items:center; + color:#a6d3de;font:600 9px/12px Consolas,monospace;white-space:nowrap +} +#masterLeft .master-controls-zone .master-analysis .master-info-row strong{ + font:700 12px/12px Consolas,monospace;letter-spacing:.1px; + color:#e7d68e;text-shadow:0 0 3px #a997383f;min-width:38px;text-align:right +} +/* Section order is naturally stacked: no empty 120px gap in the channel list. */ +.left-rail{display:flex;flex-direction:column;min-height:0;overflow:hidden} +.left-rail #channelList{flex:0 1 auto;min-height:0;max-height:44%;overflow-y:auto;overflow-x:hidden} +.left-rail .rail-section-title{height:23px;min-height:23px;flex:0 0 23px; + border-top:1px solid #2d4957;background:linear-gradient(#1b2b35,#111c24); + padding:0 9px;color:#a4c7d4;letter-spacing:.4px;font:600 9px/23px 'Segoe UI',sans-serif +} +.left-rail .channel-list .list-item{height:23px;min-height:23px;padding:0 6px;gap:7px;font-size:10px} +.left-rail .channel-list .list-item .swatch{height:14px;width:10px} +.left-rail .channel-list .list-item .index{min-width:13px} +.left-rail .rail-presets{flex:0 0 auto;display:grid;gap:3px;padding:5px 6px} +.left-rail .rail-presets button{height:28px;min-height:28px;font-size:10px;padding-left:10px} +.left-rail .scenes-list{flex:0 1 auto;max-height:128px;min-height:0;overflow-y:auto} +.left-rail .scenes-list .list-item{height:23px;min-height:23px;padding-left:8px} +.left-rail .rail-bottom{display:grid;flex:0 0 auto;grid-template-columns:1fr 1fr; + gap:4px;padding:6px 6px 5px;align-items:center;justify-content:stretch; + border-top:1px solid #253b47;background:linear-gradient(#14222c,#0e1921) +} +.left-rail .rail-bottom button{ + height:27px;min-height:27px;width:100%;min-width:0;margin:0; + padding:0 3px 3px;font:600 9px/1 'Segoe UI',sans-serif; + background:var(--skin-small-off) center/100% 100% no-repeat!important; + text-align:center;color:#13242d!important;text-shadow:0 1px #fff8!important; + box-shadow:none!important;letter-spacing:0 +} +.left-rail .rail-bottom #addScene{grid-column:1/-1; + background:var(--ar-btn-blue) center/100% 100% no-repeat!important; + color:#f5fcff!important;text-shadow:0 1px 1px #051b2a!important; + font-size:10px +} +.left-rail .rail-bottom #saveFxPreset{background:var(--ar-btn-tur) center/100% 100% no-repeat!important; + color:#f3ffff!important;text-shadow:0 1px 1px #0b343c!important} +.left-rail .rail-bottom #menuScene{background:var(--ar-btn-off) center/100% 100% no-repeat!important; + color:#cfdfeb!important;text-shadow:0 1px 1px #08141e!important} +.left-rail .rail-input-footer{margin-top:auto;min-height:28px;flex:0 0 28px; + display:flex;align-items:center;gap:6px;padding:0 8px; + border-top:1px solid #2f4857;background:linear-gradient(#152a35,#0c1b25); + color:#8abed0;font:600 9px Consolas,monospace;white-space:nowrap} +.left-rail .rail-live-indicator{width:5px;height:5px;border-radius:50%;background:#39d2aa; + box-shadow:0 0 3px #2dba93} +/* FX CHAINS uses the same compact list height, without forcing preset sections offscreen. */ +.left-rail #groupsList:not(.hidden){flex:0 0 auto;max-height:140px;overflow:auto} +@media(max-height:730px){ + .left-rail #channelList{max-height:39%} + .left-rail .rail-presets button{height:25px;min-height:25px} + .left-rail .rail-bottom button{height:25px;min-height:25px} + .left-rail .rail-input-footer{min-height:23px;flex-basis:23px} +}