From 0a67e6ca674778319b7328e32cd31a0c59d5fe0a Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 25 Oct 2026 08:33:57 +0700 Subject: [PATCH 1/6] fix(rt): automatic live routing, deadline health counters, async diagnostic log; integrate latest ArSonMix GUI --- .github/workflows/p1-windows.yml | 6 +- CMakeLists.txt | 2 +- README.md | 10 ++ docs/P2_REALTIME_RELIABILITY.md | 40 ++++++++ src/DiagnosticsRecorder.h | 95 ++++++++++++++++++ src/LiveAudioEngine.h | 71 +++++++++++++- src/Main.cpp | 95 +++++++++++------- web/app.js | 60 +++++++++--- web/assets/buttons/SO-M-BTN-BLU.png | Bin 0 -> 921 bytes web/assets/buttons/SO-M-BTN-OFF.png | Bin 0 -> 1081 bytes web/assets/buttons/SO-M-BTN-PNK.png | Bin 0 -> 911 bytes web/assets/buttons/SO-M-BTN-RED.png | Bin 0 -> 905 bytes web/assets/buttons/SO-M-BTN-TUR.png | Bin 0 -> 1083 bytes web/assets/buttons/SO-M-GRE.png | Bin 0 -> 759 bytes web/assets/buttons/SO-M-RED.png | Bin 0 -> 713 bytes web/assets/buttons/SO-M-SLV.png | Bin 0 -> 963 bytes web/assets/fader-silver2.png | Bin 0 -> 2786 bytes web/assets/pan/PAN-SLIDER.png | Bin 0 -> 1486 bytes web/bridge.js | 6 +- web/index.html | 6 +- web/monitor.js | 19 +++- web/styles.css | 147 ++++++++++++++++++++++++++-- 22 files changed, 483 insertions(+), 74 deletions(-) create mode 100644 docs/P2_REALTIME_RELIABILITY.md create mode 100644 src/DiagnosticsRecorder.h create mode 100644 web/assets/buttons/SO-M-BTN-BLU.png create mode 100644 web/assets/buttons/SO-M-BTN-OFF.png create mode 100644 web/assets/buttons/SO-M-BTN-PNK.png create mode 100644 web/assets/buttons/SO-M-BTN-RED.png create mode 100644 web/assets/buttons/SO-M-BTN-TUR.png create mode 100644 web/assets/buttons/SO-M-GRE.png create mode 100644 web/assets/buttons/SO-M-RED.png create mode 100644 web/assets/buttons/SO-M-SLV.png create mode 100644 web/assets/fader-silver2.png create mode 100644 web/assets/pan/PAN-SLIDER.png diff --git a/.github/workflows/p1-windows.yml b/.github/workflows/p1-windows.yml index 10e6a436f..71670bec5 100644 --- a/.github/workflows/p1-windows.yml +++ b/.github/workflows/p1-windows.yml @@ -1,7 +1,7 @@ name: Windows Native VST3 Host on: push: - branches: [ main, feature/p1-first-sound-windows, feature/p2-native-vst-catalog-fx-rack, feature/p2-daw-workflow-progress, fix/p2-native-output-monitor-diagnostics ] + branches: [ main, feature/p1-first-sound-windows, feature/p2-native-vst-catalog-fx-rack, feature/p2-daw-workflow-progress, fix/p2-native-output-monitor-diagnostics, fix/p2-realtime-glitch-telemetry-latest-gui ] pull_request: workflow_dispatch: @@ -51,13 +51,13 @@ jobs: Where-Object { $_.Name -like "*AR*Mix*" -and $_.FullName -match 'Release' } | Select-Object -First 1 if (-not $exe) { throw "ARMixConsole EXE not found" } - Copy-Item $exe.FullName "dist/AR-MIX-Studio-P2-Output-Diagnostic.exe" + Copy-Item $exe.FullName "dist/ArSonMix-Realtime-Diagnostics.exe" Copy-Item README.md "dist/README.md" "P2 experimental: output muted until MONITOR ON; do not use during a public livestream without hardware tests." | Out-File -FilePath dist/FIRST_SOUND_README.txt -Encoding utf8 - uses: actions/upload-artifact@v4 with: - name: AR-MIX-Studio-P2-Output-Diagnostic-Windows-x64 + name: ArSonMix-RealTime-Diagnostics-Windows-x64 path: dist/ if-no-files-found: error retention-days: 14 diff --git a/CMakeLists.txt b/CMakeLists.txt index a77f62688..293176966 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ juce_add_gui_app(ARMixConsole juce_add_binary_data(ARMixAssets SOURCES web/index.html web/styles.css web/app.js web/bridge.js web/monitor.js) -target_sources(ARMixConsole PRIVATE src/Main.cpp src/LiveAudioEngine.h src/PluginCatalog.h) +target_sources(ARMixConsole PRIVATE src/Main.cpp src/LiveAudioEngine.h src/PluginCatalog.h src/DiagnosticsRecorder.h) target_compile_definitions(ARMixConsole PRIVATE JUCE_WEB_BROWSER=1 JUCE_USE_WIN_WEBVIEW2=1 diff --git a/README.md b/README.md index 6e73913da..631d4fe89 100644 --- a/README.md +++ b/README.md @@ -62,3 +62,13 @@ All remaining UI preview channels and factory vocal presets are still visual; do ## P2 DAW UX improvement Use MIX → Channel 1 ADD FX to select a real indexed VST3; PLUGINS opens Plugin Manager for scan/import only. Audio Setup now reports loading status and reuses the native selector window. Scan uses real candidate counters and indeterminate discovery stage. See [P2 DAW workflow guide](docs/P2_DAW_WORKFLOW.md). + +## P2.2 Realtime Reliability + latest ArSonMix GUI + +- The live signal is routed automatically on a valid JUCE device; no extra enable gate. Emergency output mute stays in SIGNAL CHECK. +- Real-time health counters: callback processing time, worst processing time, callbacks over 80% or 100% of buffer period, timing gaps, and worst VST3 processing time. +- Persistent bounded rotating log in user app data `AR-MIX-Studio/diagnostics/audio-diagnostics.log`, using a dedicated logger worker (never audio callback). +- Device XML saved upon device change, **not** on a repeating 3-second UI timer. +- Uses current `fix/fader-thumb-symmetry-polish` GUI (ArSonMix, metal controls, horizontal PAN sliders). Audio host code stays isolated. +- Press SIGNAL CHECK → OPEN DIAGNOSTIC LOG to inspect or share diagnostic evidence after reproducing audio stutter. +- Read [P2.2 reliability guide](docs/P2_REALTIME_RELIABILITY.md). diff --git a/docs/P2_REALTIME_RELIABILITY.md b/docs/P2_REALTIME_RELIABILITY.md new file mode 100644 index 000000000..922c3908d --- /dev/null +++ b/docs/P2_REALTIME_RELIABILITY.md @@ -0,0 +1,40 @@ +# ArSonMix P2.2 — Investigating recurring audio dropouts + +**Status:** Experimental Windows diagnostic build. Performance counters are evidence, not a concluded root cause. + +## Current evidence from the user's PC +- VST3 host produces audio when output is enabled, thus at least one valid input→VST→master→Windows Audio output path exists. +- Displayed device: Windows Audio, 48 kHz, 480-sample buffer = 10 ms nominal buffer period. +- The VST3 chain advertised 960 samples processing latency = 20 ms at 48 kHz. This is plugin latency **not** measured system round-trip latency. +- Reported audio pauses every few seconds. Source inspection found an old 3-second synchronous device XML state poll on the message thread. That was unnecessary and is now removed, but it is a candidate cause, **not a proven diagnosis**. +- Other candidates include WASAPI scheduling irregularity, slow VST3 processBlock, input/output endpoint contention, and device stop/restart events. + +## Implemented changes +1. **Auto-routing:** with a valid duplex device selected, the output is active without an extra arm button. A user-accessible emergency MUTE OUTPUT in SIGNAL CHECK remains available; use headphones at low volume to prevent feedback. +2. **Event-driven settings:** AudioDeviceManager ChangeListener marks device XML dirty. It is no longer repeatedly serialized and written on a 36-tick / 3-second timer. +3. **Realtime measurements:** atomic counters are updated inside the audio callback, with no file I/O, locks, heap allocations in host callback logic, or GUI calls. Measures callback duration, worst duration, processing beyond 80% of available callback period, over-budget callbacks, long callback scheduling gaps and slow plugin time. +4. **Background diagnostics:** a bounded 128-record SPSC UI→worker queue writes 1 Hz health snapshots and event markers to a rotating 2 MB log (plus previous). The plugin/audio callback only publishes numeric counters, not file records. +5. **Visual diagnostics:** SIGNAL CHECK shows live input/post-FX/output meters plus deadline timing; OPEN DIAGNOSTIC LOG reveals the local file. +6. **Current GUI:** imported current source (ArSonMix brand, metallic faders, horizontal PAN slider, tactile buttons) from GUI branch `fix/fader-thumb-symmetry-polish`. Maintains working native VST3 plugin picker/catalog. +7. **Live FX structural operations:** add/remove/reorder may still briefly detach callbacks. Do not perform them during a performance until graph hot swap is engineered. + +## Reproduction / engineering triage + +1. Choose the same selected input and headphone output. Start with 48 kHz / 480 samples to reproduce reported problem, keep output/headphone volume low. +2. In SIGNAL CHECK, note worst callback duration, over-budget count, callback-gap count and plugin time. Keep recording for at least 2–3 minutes through the intermittent symptom. +3. First test with **DRY TEST ON** (all VST3 skipped, same audio device). Observe and record if dropout remains. Then turn DRY TEST OFF and test each plugin in isolation. +4. Try ASIO on one full-duplex interface, initially 128–256 samples if supported; separately compare Windows Audio/WASAPI. Driver and endpoint selection must be changed through Audio Setup. +5. Use OPEN DIAGNOSTIC LOG. Copy the latest log around the timestamps of audible stutters, with device and plugin names sanitized if sharing publicly. +6. Interpret cautiously: + - Slow callback/over-budget jumps near a dropout suggest a DSP deadline miss (plugin processing or callback). + - Slow plugin increments suggest one or more VST3 calls are consuming most of the deadline. This release logs worst aggregate plugin call, not exact per-plugin identity. + - A callback scheduling gap jump with low process time suggests driver/OS scheduling or device discontinuity. + - Flat counters despite audible loss suggest an endpoint, physical device, external virtual cable, or a discontinuity not captured by this timing probe. +7. Success criterion: sustained uninterrupted mic→dry→master output and then mic→VST3→master output; no observed dropout on the actual physical interface. + +## Engineering limits / follow-up +- These are **timing indicators, not driver-confirmed xrun counts**. Device-specific ASIO/WASAPI dropout callback telemetry is still missing. +- Third-party VST3 plugin code may allocate or block; the host cannot enforce its RT safety. +- No complete plugin crash sandbox or seamless FX graph swap yet. +- Real output to streaming apps is separate from the output endpoint in the JUCE device selector. UI “Record/Streaming” output buttons remain previews until real routing is implemented. +- The log may contain local device/plugin names; treat it as diagnostic user data. diff --git a/src/DiagnosticsRecorder.h b/src/DiagnosticsRecorder.h new file mode 100644 index 000000000..89772415b --- /dev/null +++ b/src/DiagnosticsRecorder.h @@ -0,0 +1,95 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include +#include + +// Bounded UI-thread -> file-thread telemetry queue (SPSC). +// Audio callback NEVER interacts with this class. The UI samples atomics +// at 1 Hz and enqueues a compact record; file I/O occurs only on worker. +class DiagnosticsRecorder final : private juce::Thread +{ +public: + explicit DiagnosticsRecorder (const juce::File& directory) + : juce::Thread ("AR MIX Diagnostic Writer"), + folder_ (directory), logfile_ (directory.getChildFile ("audio-diagnostics.log")) + { + folder_.createDirectory(); + startThread(); + record ("SESSION", "started"); + } + + ~DiagnosticsRecorder() override + { + record ("SESSION", "closing"); + signalThreadShouldExit(); + notify(); + stopThread (5000); + } + + // Producer: JUCE message thread only; may allocate, never RT. + void record (const juce::String& kind, const juce::String& details) + { + const auto head = producer_.load (std::memory_order_relaxed); + const auto next = (head + 1) % capacity; + if (next == consumer_.load (std::memory_order_acquire)) + { + lost_.fetch_add (1, std::memory_order_relaxed); + return; + } + const auto timestamp = juce::Time::getCurrentTime().toISO8601 (true); + juce::String message = timestamp + " | " + kind + " | " + + details.replaceCharacters ("\r\n", " "); + const auto utf8 = message.toRawUTF8(); + auto& slot = queue_[head]; + const auto count = juce::jmin (static_cast (sizeof (slot.data) - 1), + std::strlen (utf8)); + std::memcpy (slot.data, utf8, count); + slot.data[count] = 0; + producer_.store (next, std::memory_order_release); + notify(); + } + + juce::File getLogFile() const { return logfile_; } + std::uint64_t lostRecords() const noexcept { return lost_.load(); } + +private: + static constexpr unsigned capacity = 128; + struct Record { char data[512] {}; }; + std::array queue_ {}; + std::atomic producer_ { 0 }, consumer_ { 0 }; + std::atomic lost_ { 0 }; + juce::File folder_, logfile_; + + void run() override + { + // One write per drain batch, never from the UI or audio callback. + for (;;) + { + juce::String batch; + unsigned tail = consumer_.load (std::memory_order_relaxed); + const auto head = producer_.load (std::memory_order_acquire); + while (tail != head) + { + batch += juce::String::fromUTF8 (queue_[tail].data); + batch += "\n"; + tail = (tail + 1) % capacity; + } + consumer_.store (tail, std::memory_order_release); + if (batch.isNotEmpty()) + { + if (logfile_.getSize() > 2 * 1024 * 1024) + { + auto rotated = folder_.getChildFile ("audio-diagnostics.previous.log"); + rotated.deleteFile(); + logfile_.moveFileTo (rotated); + } + logfile_.appendText (batch, false, false, "\n"); + } + if (threadShouldExit() && tail == producer_.load (std::memory_order_acquire)) + break; + wait (350); + } + } +}; diff --git a/src/LiveAudioEngine.h b/src/LiveAudioEngine.h index a2f8e11c2..cfe4deee9 100644 --- a/src/LiveAudioEngine.h +++ b/src/LiveAudioEngine.h @@ -5,6 +5,8 @@ #include #include #include +#include +#include #include // One live stereo input path and up to 8 actual VST3 processors. @@ -36,7 +38,10 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback juce::String start (const juce::XmlElement* savedSettings = nullptr) { - monitor_.store (false); + // A mixer behaves like a signal path: ready I/O flows automatically. + // The former MONITOR enable gate caused silent master/output confusion. + // Panic OUTPUT MUTE remains available at all times. + monitor_.store (true); const auto error = deviceManager_.initialise (1, 2, savedSettings, true); if (error.isNotEmpty()) return error; deviceManager_.addAudioCallback (this); @@ -58,6 +63,9 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback void setMonitorEnabled (bool value) noexcept { monitor_.store (value); } bool isMonitorEnabled() const noexcept { return monitor_.load(); } + // Emergency output mute, not a prerequisite for receiving audio. + void setOutputMuted (bool mute) noexcept { monitor_.store (!mute, std::memory_order_release); } + bool isOutputMuted() const noexcept { return !monitor_.load (std::memory_order_acquire); } void setDryTestEnabled (bool value) noexcept { dryTest_.store (value); } bool isDryTestEnabled() const noexcept { return dryTest_.load(); } void setMasterGainDb (float value) noexcept @@ -204,6 +212,17 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback o->setProperty ("callbackInputChannels", callbackInputs_.load()); o->setProperty ("callbackOutputChannels", callbackOutputs_.load()); o->setProperty ("callbackCount", static_cast (callbackCount_.load())); + o->setProperty ("callbackDurationUs", static_cast (lastCallbackUs_.load())); + o->setProperty ("worstCallbackUs", static_cast (worstCallbackUs_.load())); + o->setProperty ("slowCallbackCount", static_cast (slowCallbacks_.load())); + o->setProperty ("overBudgetCount", static_cast (overBudgetCallbacks_.load())); + o->setProperty ("callbackGapCount", static_cast (callbackGaps_.load())); + o->setProperty ("worstCallbackGapUs", static_cast (worstCallbackGapUs_.load())); + o->setProperty ("worstPluginUs", static_cast (worstPluginUs_.load())); + o->setProperty ("slowPluginCount", static_cast (slowPlugins_.load())); + o->setProperty ("periodUs", d && d->getCurrentSampleRate() > 0 + ? 1000000.0 * d->getCurrentBufferSizeSamples() / d->getCurrentSampleRate() : 0.0); + o->setProperty ("performanceNote", "Over-budget and callback-gap counts are timing indicators, not driver-confirmed xruns."); o->setProperty ("inputPeak", inputPeak_.load()); o->setProperty ("postFxPeak", postFxPeak_.load()); o->setProperty ("peak", outputPeak_.load()); @@ -227,6 +246,28 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback std::atomic inputPeak_ { 0.f }, postFxPeak_ { 0.f }, outputPeak_ { 0.f }; std::atomic callbackInputs_ { 0 }, callbackOutputs_ { 0 }; std::atomic callbackCount_ { 0 }; + // Audio-thread-only timestamp and cheap atomically published counters. + // No log writes, allocations, locks or WebView interactions in callback. + std::atomic lastCallbackUs_ {0}, worstCallbackUs_ {0}; + std::atomic slowCallbacks_ {0}, overBudgetCallbacks_ {0}; + std::atomic callbackGaps_ {0}, worstCallbackGapUs_ {0}; + std::atomic worstPluginUs_ {0}, slowPlugins_ {0}; + std::uint64_t previousCallbackStartUs_ = 0; + double sampleRateHz_ = 48000.0; + + static std::uint64_t clockMicros() noexcept + { + return static_cast ( + std::chrono::duration_cast ( + std::chrono::steady_clock::now().time_since_epoch()).count()); + } + + static void publishMax (std::atomic& dst, std::uint64_t value) noexcept + { + auto old = dst.load (std::memory_order_relaxed); + while (old < value && !dst.compare_exchange_weak ( + old, value, std::memory_order_relaxed)) {} + } std::atomic totalLatency_ { 0 }; void detach() @@ -248,6 +289,8 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback void audioDeviceAboutToStart (juce::AudioIODevice* d) override { + sampleRateHz_ = juce::jmax (1.0, d->getCurrentSampleRate()); + previousCallbackStartUs_ = 0; int latency = 0; for (int i = 0; i < count_; ++i) { @@ -277,6 +320,18 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback const float* const* inputs, int inputChannels, float* const* outputs, int outputChannels, int samples, const juce::AudioIODeviceCallbackContext&) override { + const std::uint64_t beginUs = clockMicros(); + const double periodUs = 1000000.0 * static_cast (samples) / sampleRateHz_; + // Scheduling gaps only suggest instability: pause/suspend and WASAPI + // callback scheduling can create false positives. Never label xruns. + if (previousCallbackStartUs_ != 0 && periodUs > 0) + { + const auto gap = beginUs - previousCallbackStartUs_; + publishMax (worstCallbackGapUs_, gap); + if (static_cast (gap) > periodUs * 2.3) + callbackGaps_.fetch_add (1, std::memory_order_relaxed); + } + previousCallbackStartUs_ = beginUs; callbackInputs_.store (inputChannels, std::memory_order_relaxed); callbackOutputs_.store (outputChannels, std::memory_order_relaxed); callbackCount_.fetch_add (1, std::memory_order_relaxed); @@ -311,7 +366,14 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback { auto& slot = slots_[fx]; if (slot.processor && ! bypassFlags_[fx].load (std::memory_order_relaxed)) + { + const auto pluginBeginUs = clockMicros(); slot.processor->processBlock (scratch_, midi); + const auto pluginUs = clockMicros() - pluginBeginUs; + publishMax (worstPluginUs_, pluginUs); + if (static_cast (pluginUs) > periodUs * 0.75) + slowPlugins_.fetch_add (1, std::memory_order_relaxed); + } midi.clear(); } } @@ -337,5 +399,12 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback inputPeak_.store (juce::jmin (1.f, inPeak), std::memory_order_relaxed); postFxPeak_.store (juce::jmin (1.f, postFxPeak), std::memory_order_relaxed); outputPeak_.store (juce::jmin (1.f, outPeak), std::memory_order_relaxed); + const auto elapsedUs = clockMicros() - beginUs; + lastCallbackUs_.store (elapsedUs, std::memory_order_relaxed); + publishMax (worstCallbackUs_, elapsedUs); + if (static_cast (elapsedUs) > periodUs * 0.80) + slowCallbacks_.fetch_add (1, std::memory_order_relaxed); + if (static_cast (elapsedUs) > periodUs) + overBudgetCallbacks_.fetch_add (1, std::memory_order_relaxed); } }; diff --git a/src/Main.cpp b/src/Main.cpp index 9906f81e2..ecd41ea5c 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -5,6 +5,7 @@ #include #include #include "LiveAudioEngine.h" +#include "DiagnosticsRecorder.h" #include "PluginCatalog.h" #include #include @@ -83,13 +84,14 @@ class AudioSetupWindow final : public juce::DocumentWindow void closeButtonPressed() override { setVisible (false); } }; -class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer +class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer, private juce::ChangeListener { public: ConsoleWindow() : DocumentWindow ("AR MIX Studio — Native VST3 FX Host", juce::Colour (0xff101921), allButtons), catalog_ (settingsDirectory()), + diagnostics_ (settingsDirectory().getChildFile ("diagnostics")), browser_ (juce::WebBrowserComponent::Options{} .withBackend (juce::WebBrowserComponent::Options::Backend::webview2) .withWinWebView2Options ( @@ -114,6 +116,8 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer auto saved = juce::XmlDocument::parse (settingsDirectory().getChildFile ("audio-devices.xml")); startupError_ = engine_.start (saved.get()); + engine_.devices().addChangeListener (this); + diagnostics_.record ("STARTUP", startupError_.isEmpty() ? "Audio device initialized" : startupError_); browser_.goToURL (juce::WebBrowserComponent::getResourceProviderRoot()); startTimerHz (12); // Defer initial scan until explicitly requested in Plugin Manager. @@ -126,6 +130,7 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer catalog_.onChanged = nullptr; editorWindow_.reset(); audioSetupWindow_.reset(); + engine_.devices().removeChangeListener (this); engine_.stop(); browser_.setVisible (false); } @@ -135,6 +140,7 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer private: LiveAudioEngine engine_; PluginCatalog catalog_; + DiagnosticsRecorder diagnostics_; Browser browser_; std::unique_ptr chooser_; std::unique_ptr editorWindow_; @@ -143,6 +149,7 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer bool initialStateSent_ = false; bool setupLaunching_ = false; unsigned int timerTicks_ = 0; + bool deviceSettingsDirty_ = false; void emitNotice (const juce::String& message, bool error = false) { @@ -198,6 +205,7 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer void showDeviceSetup() { + diagnostics_.record ("SETUP", "Open audio device setup"); if (setupLaunching_) return; // The native JUCE device list is cached after first construction: @@ -272,50 +280,48 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer const int slot = static_cast (args.getProperty ("slot", -1)); if (action == "audioSetup") showDeviceSetup(); + else if (action == "openDiagnostics") + { + const auto file = diagnostics_.getLogFile(); + if (file.existsAsFile()) file.revealToUser(); + else file.getParentDirectory().revealToUser(); + } else if (action == "scanVst3") { - if (engine_.isMonitorEnabled()) emitNotice ("Turn MONITOR OFF before scanning plugins.", true); - else catalog_.scanDefaults(); + diagnostics_.record ("PLUGIN_SCAN", "Scan standard VST3 folders"); + catalog_.scanDefaults(); } else if (action == "addScanFolder") { - if (engine_.isMonitorEnabled()) emitNotice ("Turn MONITOR OFF before scanning plugins.", true); - else chooseFolder(); + chooseFolder(); } else if (action == "importVst3") { - if (engine_.isMonitorEnabled()) emitNotice ("Turn MONITOR OFF before importing plugins.", true); - else chooseImport(); + chooseImport(); } else if (action == "addCatalog") { - if (engine_.isMonitorEnabled()) - return emitNotice ("Turn MONITOR OFF before editing the live FX chain.", true); const auto* plugin = catalog_.find (args.getProperty ("id", {}).toString()); if (!plugin) return emitNotice ("Plugin not found in catalog. Rescan your VST3 folders.", true); editorWindow_.reset(); const auto error = engine_.addVst3 (plugin->path, plugin->uid, plugin->key()); - if (error.isNotEmpty()) emitNotice (error, true); - else { emitChain(); emitNotice (plugin->name + " inserted into the LIVE FX chain."); } + if (error.isNotEmpty()) { diagnostics_.record ("FX_LOAD_FAIL", plugin->name + ": " + error); emitNotice (error, true); } + else { diagnostics_.record ("FX_LOAD", plugin->name + " (callback reattached)"); emitChain(); emitNotice (plugin->name + " inserted. Live chain changes may briefly interrupt audio."); } } else if (action == "fxRemove") { - if (engine_.isMonitorEnabled()) - return emitNotice ("Turn MONITOR OFF before removing a live FX.", true); editorWindow_.reset(); - if (engine_.removeAt (slot)) emitChain(); + if (engine_.removeAt (slot)) { diagnostics_.record ("FX_REMOVE", juce::String (slot)); emitChain(); } } else if (action == "fxMove") { - if (engine_.isMonitorEnabled()) - return emitNotice ("Turn MONITOR OFF before reordering live FX.", true); editorWindow_.reset(); - if (engine_.moveSlot (slot, slot + static_cast (value))) emitChain(); + if (engine_.moveSlot (slot, slot + static_cast (value))) { diagnostics_.record ("FX_MOVE", juce::String (slot)); emitChain(); } } else if (action == "fxBypass") { - if (value.isBool() && engine_.setBypass (slot, bool (value))) emitChain(); + if (value.isBool() && engine_.setBypass (slot, bool (value))) { diagnostics_.record ("FX_BYPASS", juce::String (slot) + (bool (value) ? " ON" : " OFF")); emitChain(); } } else if (action == "fxEditor") { @@ -331,9 +337,13 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer } else if (action == "monitor" && value.isBool()) { - if (bool (value) && catalog_.busy()) - emitNotice ("VST3 scan still active. Wait for the scan to finish before enabling monitoring.", true); - else engine_.setMonitorEnabled (bool (value)); + engine_.setMonitorEnabled (bool (value)); + diagnostics_.record ("OUTPUT_MUTE", bool (value) ? "OFF" : "ON"); + } + else if (action == "dryTest" && value.isBool()) + { + engine_.setDryTestEnabled (bool (value)); + diagnostics_.record ("DRY_TEST", bool (value) ? "ON" : "OFF"); } else if (action == "refreshState") { @@ -342,34 +352,47 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer } } + void changeListenerCallback (juce::ChangeBroadcaster*) override + { + // Save device state only after a real change, not on every 3-second tick. + deviceSettingsDirty_ = true; + diagnostics_.record ("DEVICE_CHANGE", "Device manager event"); + } + void timerCallback() override { - if (!browser_.loaded) return; + ++timerTicks_; + if (timerTicks_ % 12 == 0) + diagnostics_.record ("AUDIO_HEALTH", juce::JSON::toString (engine_.status(), false)); - if (!initialStateSent_) - { - initialStateSent_ = true; - emitCatalog(); - emitScanProgress(); - emitChain(); - } - if (catalog_.busy() && timerTicks_ % 3 == 0) - emitScanProgress(); - // Persist configuration off the callback; cap XML serialization to ~3 s. - if (++timerTicks_ % 36 == 0) + if (deviceSettingsDirty_) { + deviceSettingsDirty_ = false; if (auto xml = engine_.devices().createStateXml()) { const auto text = xml->toString(); if (text != lastAudioXml_) { lastAudioXml_ = text; - settingsDirectory().getChildFile ("audio-devices.xml").replaceWithText (text); + if (!settingsDirectory().getChildFile ("audio-devices.xml").replaceWithText (text)) + diagnostics_.record ("DEVICE_SAVE_FAIL", "Unable to persist device settings"); } } } + if (!browser_.loaded) return; + if (!initialStateSent_) + { + initialStateSent_ = true; + emitCatalog(); + emitScanProgress(); + emitChain(); + } + if (catalog_.busy() && timerTicks_ % 3 == 0) + emitScanProgress(); auto state = engine_.status(); - if (startupError_.isNotEmpty()) + state.getDynamicObject()->setProperty ("diagnosticsDropped", + static_cast (diagnostics_.lostRecords())); + if (startupError_.isNotEmpty() && !bool (state.getProperty ("connected", false))) state.getDynamicObject()->setProperty ("error", startupError_); browser_.emitEventIfBrowserIsVisible ("arMixStatus", state); } @@ -378,7 +401,7 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer class ConsoleApp final : public juce::JUCEApplication { public: - const juce::String getApplicationName() override { return "AR MIX Studio"; } + const juce::String getApplicationName() override { return "ArSonMix"; } const juce::String getApplicationVersion() override { return "0.5.0-native-catalog"; } void initialise (const juce::String&) override { window_ = std::make_unique(); } void shutdown() override { window_.reset(); } diff --git a/web/app.js b/web/app.js index e4045f80a..971e150e6 100644 --- a/web/app.js +++ b/web/app.js @@ -42,18 +42,20 @@ function createSide(){ $('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 panText(v){return v===0?'C':(v<0?'L':'R')+' '+Math.abs(v)} +function panMarkup(ch,i){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)}`}
+
TRIM
dB
${fmt(ch.trim)}
${knobMarkup('trim',i,ch.trim,'Trim')}
PAN
${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}
`} 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 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)}
`; } 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,10 +72,17 @@ 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-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 updatePan(idx,value){const c=channels[idx];c.pan=Math.round(clamp(value,-100,100)); + const el=document.querySelector(`[data-pan="${idx}"]`); + if(el){el.style.setProperty('--pan-frac',(c.pan+100)/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('pan',c.pan,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 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)} @@ -100,23 +109,46 @@ document.addEventListener('click',e=>{const b=e.target.closest('button,[data-cho 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'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';b.classList.toggle('active',masterMute);b.setAttribute('aria-pressed',String(masterMute));send('masterMute',masterMute,-1);break;case'dim':b.classList.toggle('active');b.setAttribute('aria-pressed',String(b.classList.contains('active')));flash('DIM is a UI preview — audio not connected');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));} }); +document.addEventListener('dblclick',e=>{const pan=e.target.closest('[data-pan]');if(pan){e.preventDefault();e.stopPropagation();updatePan(+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; + 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}; + // Grabbing the metallic thumb must never jump the level on pointer-down. + if(!fromCap){const r=f.getBoundingClientRect();const y=clamp((e.clientY-r.top)/r.height,0,1);updateFader(idx,10-y*70)}} + else if(p){const index=+p.dataset.pan,fromThumb=!!e.target.closest('.pan-thumb'); + drag={type:'pan',el:p,index,fromThumb,startX:e.clientX,startPan:channels[index].pan}; + if(!fromThumb){const r=p.getBoundingClientRect();updatePan(index,((e.clientX-r.left-9)/Math.max(1,r.width-18))*200-100)}} 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(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(); + if(drag.fromCap){const distance=Math.max(24,r.height-66); + updateFader(drag.index,drag.startDb+(drag.startY-e.clientY)*70/distance)} + else updateFader(drag.index,10-clamp((e.clientY-r.top)/r.height,0,1)*70)} + 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)} + 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))}); +document.addEventListener('wheel',e=>{const pan=e.target.closest('[data-pan]');if(pan){e.preventDefault();const idx=+pan.dataset.pan;updatePan(idx,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; + if(!['ArrowLeft','ArrowRight','PageUp','PageDown','Home','End'].includes(k))return; + e.preventDefault();const value=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)+'%')})} // v0.3: demo-only FX catalog. Items represent mock plugins, not installed VST3 binaries. @@ -181,4 +213,4 @@ let lastPersist=0;setInterval(()=>{if(Date.now()-lastPersist<2000)return;lastPer 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{} -if (!window.__JUCE__?.backend) requestAnimationFrame(meters); +requestAnimationFrame(meters); 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 0000000000000000000000000000000000000000..4fec38d67fbc544d068410efc474c75b88b438c7 GIT binary patch literal 921 zcmV;K17`e*P)|ynfX){j9F*CEz;n4RDgehu|4-8~DCjT3Wgx={w-) zoENo790gXKb7NaxUf!Ngr=M9h;`F7foH~D*Bgal)RfVf648u9YIfofIvtXU!49u+c zof*z08~dESqaDY^KI{3}Jkgqg5qt@Rf)#kFZ@usWNv-cCyiYdvdA*|@$HhMN{5X#n zjrVa5kD4iO{&~UE-|zDHr<pC@tDmwCO$P3 zga<(s8hPX!{%iisgf5@UfG}rBQPdK_ePRTM=#5b< zA4T_3Q!%n6ocG9q$&e9(waIgD5x7ql#V9o8gCA3^nRO{b-eUrpg&Z7)M1hOAvr#87 zkREHgY>?$(6nDb-=mi$U7KOt|8=Yb#XQFjE*!v)^qOe#A+KZmWigA$ z^GEkue^l4?&hGB+u|Fqwz~IE$RjTpv15V#hUe;uJ$rI7KR05TkSY^H$7TZ<)EH9-> zW77Ek_oex|x!bj1U5Qm&YL&{WQmK_fxv9iT{gSJ{{(i>x=6$w) z`w@V;u6Jy0ZSCjDWb#%1W@GkSj>2Im`@2CBtE;PbtI1^Ycw=MZ%+}V{=S|Zbfg@@xvkRv00000NkvXXu0mjfm-f4o literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..18917681d4f13c89af1c0ec7ded15958ee5388ce GIT binary patch literal 1081 zcmV-91jhS`P)D_;(XGdom`o-KfOi0X1yEqbQ{W!}zXNz1ODW%3Yu^AsmSrf*5=Bu! zDTOGCAf-ec$B3e6B@Tm9sufe>F=p|ys!7RDGDW1zM6 zF%M1CplKQyV|==4npQoPg>e|dds%DIG!5?V?r?p5jjF100B@v}3$eMmIn!EiWm$&3 zy*(sJ0;Lp^B!Mvo&N%>ploCP+2q6HV755eN{1jVj;hckW&c9e=jDOKW2wYrTU_PHC zj^q1SYrQ3eKv|Xm0IfBgb6zb%2p~$M1+So9*Tl_ng|8{`=U8#BvR)b;!u?|ff!=|V8u*?9e1Vsgf4OkWELpqWrP(4 zQv*tq5vO{p<8O?&?K46<%=5Gmpgq%V*5oQ0(Ty&0rIg+i z1Tcc{@9&YODHe;xio1v$c%!LkgCFIR<2X%I%w{v+Mr>?sI3WbGEW_^ZE~=`+VzKZS z(f<+tf{|zs;zudvz3xgWTwY#!p?U>ZRfVgoE9~s-AkXtJHVs_e{CJZ>`14BmLra)` zEFY%B`*ely+%`PF4P8F#(hude)|ky^xV^pg0tEn36h*aME;ooQrPQDf)xQ?&P8yr0 z@pWmMev0?^_dlGSo&5}aUOgJ|Q| z>l#3NCpZ88W9c0hJQEW9SJ+_0|H2%=M_%wRQwC)9_*RGk00000NkvXXu0mjfDz*6a literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..a2d9fcfce6250198a93c373b29d083be5b1c8a6c GIT binary patch literal 911 zcmV;A191F_P)gYs#{GCskD`z?nlQIJs|*LJY<~m=WWi4ga8-h^nHvFWRaXT9sNY zS0CQt@`GCdl;MK;UHh?W-Ngt7K~QIR8e7GQ>kiAYJqN!RcxI}HRRt`nf{H;z z5%oV!b(x$2C5THqi@ne@Q@uF01ecw4@DmY?2o~%7GGy=s9^`*UL+iaih#Raz#5q72 z1a$Ub5+T)jufJ2y-Zn9dY3!mA*jcTJG!{`?i;7d;5`5PSoBek@$wCLgF4SACBMR(R z!e&7e^1}AJIEzRYK1Ku<5$f7Pd?m}4@TY`KR@A)^1P=}atlH?@QQWNY?~z!< zlLhXWEO5tUfjh=bdIB4rn86>uthIJSGwbK$*UvGI8GQfs(}_%GBXaNMqZpS}RjsbA zt!=*cY!QI|j@@i7|1gt7Srfi2%5V3_ZGT@1^<7DoFUyLb#r{xoB_JbX)B79awz$;wTEb!mb>-ARq{r=sB zg@yB?ss(Tu*bA&@l@prnQ5iYRPtMIR+F$jJJJLBQNde9e4m&3PS>L!Z@5gBJ8F&ob lll=bME%`mTW3s><^9?BK|IXi~ydeMIa&&5kLfE49J*?O!mgW5CK+S(axn8J|X^& z)j_NW%wXnepXXp^aGp1tdv+$jt`FDMmxpm~sI3ADjc{s$|!2n}s#Buza zk|bdOc)q=jC!3o9FnL)3Bt8kzWJcbn^5;zhSIn8YAY&ohOH;fX3;+Pe8a>$9C_Kz4 zI_I-!Dajk&G!kc#%K#pCI!+(k!R;t=24o+gX?)s|b56zBZCWIkB9~d!`{V*sE`c+G ziO3Oa4KM$`gbnT{@!g2Kzm zq&Z|($!ubxs3hI*y#Qq9X#^KGIgwjrTDa=bxh%A3bz^1kk&@CTXQ7=IN;VBUIaJ|1 z8@Qi~0dJGD|3pZ_HTtBi=_dybi)?@ZiYY=f@Nr$DwhD^|Rf*tP@J|xg6^k$s&o^1l zaliyqfCDm0GzHE3f3rFQt-YS)66Xxo3Yk9OCO}guOHc03=CrLOVM< zpZfj&Bl$b;b^pzGSrl%6n9=L?K1Th1|JVNh{@pZ9?_^na0|*3P6zz8Vq}%O&-`(AP zMa&!lxDVhSfc6spp literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..81538a257a5edba14ba937674074c06b5518db87 GIT binary patch literal 1083 zcmV-B1jPG^P))zVmt z1!@s?PLBEI%g_1yV##DOc_4LNE5HZe-QmxdZXpOFxDuT09}c1&T13jl8x~Z3NnBJ{ z4-4#Vf~~xDe8f**dXyhlav&zit#ZxDA}qy zv1&;)iFWQe(g7F*w|8RU@I25A9-beEm~?MF!1o5fVbFMPC{!iVz`* z9K&JSk?B|!!mgO!m{6?GQi$kMb12t^mThv@#!W2T5JE*U_QrGWP33#jyLi>{vrFXx zS%?Ub(tAy!`C<$mR}z24c{#Ks=Z)T zaL-5-JW99^j0)}|$K7ebqI6;i8czxXOv$y2PQ{ zQ+~ViEtktBbzPs!{{H^2i^byo^vi|}^%F(UNYfTnmA$>apR2`UaqsZ(@a?0cqgR`z zc@9Q`pA@s%?0k23_xFQ?gRezZE8tz=9bon!#uM`Iq3LBFQ#TvRO>JFQItL~FWY&Gz z4*PL!T|TEBoLmBTfj?wO**O14j6XDb#z=6__y?};YQ~xz1F!%9002ovPDHLkV1jhO B{&xTX literal 0 HcmV?d00001 diff --git a/web/assets/buttons/SO-M-GRE.png b/web/assets/buttons/SO-M-GRE.png new file mode 100644 index 0000000000000000000000000000000000000000..8edc9abc0ab02230288ea0472a5cc123f7c1d995 GIT binary patch literal 759 zcmVpGt*Rcy78P9; z)ZA4A(a1!9!(@X+1^o{#gRdu&iKaZ2#Kk z%ge94d-RS!pXW`~52-_-JadQ}kFRs^_yL^vgy8YP<9#6bK;a64%Y7dRE>QR)kBdC6 z&j(jG?*m>u-Z{MUIB_IPXi_vK)D+c7Ou1>K%Hv9_Jg)LMpHJIFRiakJsKgjaQQ7*n z#q+x_m}j}rD6ZaKWp-qSB|}kCN=U4_N-asj>M~GQF4a{d8KEq=cxRPY_g@1&v6U+) zuw>n22WB8xEw@Z!X0@MD=bR;1uCBCUtypom$YKIw^#!EYmWdtrStIBV`ZgqV!E_aa zTFy!BC%yld0Bh1oy9FCsF;fFauTs)pVY#$=^ebitsXNt)nITCqvAvgHGak#beSQyV zE7izlx}}&HNEwDK-OV+`8q@ykIWwqOy9@zAx`|87K(0sFBXT%lpVF(?m}x8?H+BO5 zivME!jme4)KB=Ze?{PmZv&k;S$%=I^=rObS2TbpQ!#+qa?Hl;ym*4*{60q*di&)& p?4%aNHt3?}ljlY(@laXG5t1JKj002ovPDHLkV1lmfXubdd literal 0 HcmV?d00001 diff --git a/web/assets/buttons/SO-M-RED.png b/web/assets/buttons/SO-M-RED.png new file mode 100644 index 0000000000000000000000000000000000000000..16086ba8cba1f4ad031a94b0dacd58b0cd842dcb GIT binary patch literal 713 zcmV;)0yh1LP)uS)A`%6t-S$w4a@)?$e01IBsn($?v6&h*xcmN`Z}d^SP=w}WV;{*R22oHDo5V) zaW>=4!2y%Avz+!rQZ9E!Bi?RpacgZ2D}uEaXD!AUthHEcG1)rT%$@sd+@$XsW02&F z2&zhq5eLn`hCm2`=zV2FAb9^rJfwJtu^QgvV`O%5!PC7xrswAXxQzI0V}sH; zf@<~Ss(9}ascO}wiotxCKQ*@%hor$)Y_MR><)OpcjKi-k)d=ZPb!v0_o7LTlJ!rqzmAy=)nFtXAS?&V`%yf6m5yMh@#PD00000NkvXXu0mjf3)N7z literal 0 HcmV?d00001 diff --git a/web/assets/buttons/SO-M-SLV.png b/web/assets/buttons/SO-M-SLV.png new file mode 100644 index 0000000000000000000000000000000000000000..41f770a49a6358e95d39791a33a1cf77ab036b87 GIT binary patch literal 963 zcmV;!13dhRP)b!K zJ@{mkgOMMByg@J$hwujB1;TTXN8nD5+~E?W;0J(kB9a~QN7-;m;&_?q?&2_iylZyl zm9Vf!?57=7O;=6#_f7TAu4-g37~BEA1-4lL5m_{RXU*eX_3WjkI{Ru!?Tc>n$#PoDh7!-wB7dHuQ-{ZckI zHcUjgdGjXs?|;pWk8YsO<5f{t6I17KDyS&p6ct5Pkk+c=M4++K#GES5DIiV0U}ofO zfRR!r<&0UzvXRUnXObC~GdUY(wau2Xl*yJ!*~ra}$teD(CEMKo&=qTyfF&bJcvA z)$ot(*6z({@U6nZ#_$3X*B`^tsC(Gy1-Uh(yJzj`T<kc#HkeiHxy002ovPDHLkV1ndB*_{9Y literal 0 HcmV?d00001 diff --git a/web/assets/fader-silver2.png b/web/assets/fader-silver2.png new file mode 100644 index 0000000000000000000000000000000000000000..1e32ed934dab4a3022e7830347598786fb676a47 GIT binary patch literal 2786 zcmV<83LW){P)eS1&X7Ah7io8Pvf9POfFW!5Rfe5M zDacb019^+EA zhpKLpbKBJ}d4LAdZ1(xrId$$u>Gn40uCL$ETdhBR_||v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S%gW7>!0#UtfT)PJ%~gqm7>?{r>3UpG#ZscVYAr=gMrKCkjZ3VU@+)R zCIezJX;kXW%nXmqrPFC_7Hf8PmO}CI^@ZQRe-A-SA0ILdLoAlB(P*T9Oku(>?C;N? zpPvs93Lz%M;c$379*52Lg<%ed9UmVrkw^qWAy|WniHY&?ae+V(78VvB9xjziLqb9X z0{?-5f&Tt}v3ULJZiqwy3_4w5y@^AHHw`{S`Fs1ol5JFkk8gd`S}DKESc zC#JcTl!wadu=IneXn&APl5%G+}F8aK^X(sp({4mzRRTM~1>lyxWmHccZ} zj}Z0$_O1D)F|hBTc{&c$)G&`eC&!oBSdOFQ=g@e6i-)`5JrJD^(;$cj!@1DlYs=lC z`!Jm~+ef|PzwPJ8VfLx;1)gvJ^p1SSklZ+BsFM}@8!U-27apDpNK!&~95OC8t@mhF zT($OITtMQ|PR5)fHzl$;S0_n1dR|V6>-xhFli<7RY(e4l(y`N5aHED4cA_$gN4s`c zv*p(pT55k%?>zlW^{y-3TJ2@LzsT;GbwXY=s#HHoLSAex=k`~n_58R&KOZ)gVkdCw<<@Sx7J2skrNtTd zKU#`^Z>#wU>!f>e$$1CgVkax_`wWy-#BlI$f01_Z@3FSW-)3HJ%(|J=&{_97p<=sp zz;zv|fHTum+4TlH$-UQc&!si*NJUZNyVq6PrjE_3uZ_Js)w=Y;*%x1QZ5|)nF@R|A zg&!4~Rd0qV>Zw`nQX9eY_SpwTT?dwp%TJ!h^;TSe5M^=S@fwMpvPDu#%0ixQ?l3~pk) JZRqER{{tR*C#(Pf literal 0 HcmV?d00001 diff --git a/web/bridge.js b/web/bridge.js index fbef564bd..6db1fed37 100644 --- a/web/bridge.js +++ b/web/bridge.js @@ -70,7 +70,7 @@ if(footer) footer.innerHTML = `
- + LIVE AUDIO AUTO-ROUTED Starting native audio...
`; @@ -117,7 +117,7 @@
MASTER OUTPUT / STREAM
-

Bypass can change during monitoring. Stop monitoring before scanning, adding, removing or reordering effects.

+

Bypass can change without stopping the audio callback. Live chain edits briefly restart processing; avoid editing FX while performing. Bypass is real-time safe.

`; } function createDialog(id,title,small=false){ @@ -388,7 +388,7 @@ state.device=d; state.monitor=!!d.monitor; const b=document.querySelector('[data-native-action="monitor"]'); - if(b){b.textContent=state.monitor?"MONITOR ON":"MONITOR OFF";b.classList.toggle("on",state.monitor);} + if(b){b.textContent=state.monitor?"MUTE OUTPUT":"UNMUTE OUTPUT";b.classList.toggle("on",!state.monitor);} const text=d.error?"AUDIO ERROR: "+d.error: d.connected?`${d.driver} · ${Math.round(d.rate)} Hz / ${d.buffer} · ${state.chain.length} LIVE VST3 · ${d.latencySamples||0} samples FX latency` :"NO AUDIO DEVICE · SELECT AUDIO SETUP"; diff --git a/web/index.html b/web/index.html index 4c99da086..21d9462f4 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
@@ -32,7 +32,7 @@
-
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/monitor.js b/web/monitor.js index 0f0e1eeeb..d1456e97f 100644 --- a/web/monitor.js +++ b/web/monitor.js @@ -28,8 +28,10 @@ '
02 · POST FXVST3
' + '
03 · HARDWARE OUTPUTHeadphone
' + '
Reading native audio state...
' + - '
' + - '
' + + '
' + + '' + + '
' + + '
' + '
The legacy Main L/R, Record and Streaming buttons are UI previews, not hardware routing. Select output using AUDIO SETUP. Use headphones at low volume.
' + ''; document.body.appendChild(overlay); @@ -39,7 +41,7 @@ if (d.error) return "Audio driver error: "+d.error; if (!d.connected) return "No audio device connected. Open AUDIO SETUP."; if (!d.deviceOutputChannels) return "No active output channels. Select a headphone/speaker output in AUDIO SETUP."; - if (!d.monitor) return "OUTPUT DISARMED: the engine intentionally writes silence until ENABLE OUTPUT is clicked. This prevents microphone feedback."; + if (!d.monitor) return "OUTPUT MUTED by user. Audio routes automatically after a working input/output device is selected."; if (d.masterMute) return "MASTER MUTED: switch off the master MUTE button."; if (d.channelMute) return "CHANNEL 1 MUTED: switch off Lead Vocal MUTE."; if ((d.inputPeak||0)>.006 && (d.postFxPeak||0)<.0002) return "Mic input is detected but VST3 output is silent. Enable DRY TEST to bypass all plugins."; @@ -52,7 +54,7 @@ el("arSignalBadge").textContent = !d.monitor ? "OUTPUT MUTED" : d.masterMute ? "MASTER MUTED" : d.channelMute ? "CH1 MUTED" : "OUTPUT ARMED"; el("arSignalBadge").style.color = d.monitor && !d.masterMute && !d.channelMute ? "#71e9cc" : "#e9be7c"; const monitorButton=document.querySelector('[data-native-action="monitor"]'); - if (monitorButton) monitorButton.textContent=d.monitor?"DISARM OUTPUT":"ENABLE OUTPUT"; + if (monitorButton) monitorButton.textContent=d.monitor?"MUTE OUTPUT":"UNMUTE OUTPUT"; // The original UI shell had fixed 48 kHz / 64-sample demo badges. Show // the REAL negotiated driver parameters instead of misleading the user. const rateLabel=document.querySelector('.spec:not(.spec-device):not(.bpm) strong'); @@ -73,8 +75,14 @@ el("arFxBar").style.width=percent(d.postFxPeak)+"%"; el("arOutputBar").style.width=percent(d.peak)+"%"; el("arSignalReason").textContent=diagnosis(d); - el("arSignalMonitor").textContent=d.monitor?"DISARM OUTPUT":"ENABLE OUTPUT"; + el("arSignalMonitor").textContent=d.monitor?"MUTE OUTPUT":"UNMUTE OUTPUT"; el("arSignalDry").textContent=d.dryTest?"DRY TEST ON":"DRY TEST OFF"; + el("arHealthPanel").textContent="CALLBACK "+(d.callbackDurationUs||0)+" µs / period "+ + Math.round(d.periodUs||0)+" µs | Worst "+(d.worstCallbackUs||0)+ + " µs | Over-budget "+(d.overBudgetCount||0)+ + " | Long gaps "+(d.callbackGapCount||0)+ + " | Worst VST "+(d.worstPluginUs||0)+" µs"+ + " (timing indicators, NOT confirmed driver xruns)"; el("arSignalFooter").textContent=(d.driver||"Audio")+" · "+(d.rate||0)+" Hz / "+(d.buffer||0)+ " samples · "+(d.deviceInputChannels||0)+" active input / "+(d.deviceOutputChannels||0)+" active output channels · "+ (d.latencySamples||0)+" samples plugin latency. Choose hardware output using AUDIO SETUP; Main L/R and Streaming are UI previews."; @@ -84,6 +92,7 @@ el("arSignalClose").addEventListener("click",()=>overlay.classList.remove("open")); el("arSignalMonitor").addEventListener("click",()=>api.emitEvent("arMixAction",{action:"monitor",value:!state.monitor})); el("arSignalDry").addEventListener("click",()=>api.emitEvent("arMixAction",{action:"dryTest",value:!state.dryTest})); + el("arSignalLogs").addEventListener("click",()=>api.emitEvent("arMixAction",{action:"openDiagnostics"})); el("arSignalSetup").addEventListener("click",()=>{ overlay.classList.remove("open"); document.querySelector('[data-native-action="audioSetup"]')?.click(); diff --git a/web/styles.css b/web/styles.css index 5b4846793..d83e8b827 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+bNN40xXEUhBMqyZDqdEjQAYMSQ5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aCQiVa3tRu0hhIpojasEHwNVc9IwZ3CB6Ifx6Gf5pIl/aA5y5wxOgSkxAbzs2PUq0JrflDljbv6SlhZRLgnwKiphNg6Vc9VLk3NXRPE/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,143 @@ @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} + + +/* AR MIX: original switch-cap artwork by project author; real mechanical pixel shading. + Labels live in HTML for legibility and correct state semantics. */ +:root{ + --switch-silver:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAAlCAYAAAAJBxroAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2VJREFUeJztmc9uHEUQxn9V3T1a7zpc4j34ZJODkR+BvEEwEofwBuEFwnOQR+BOjtzhEqTgB4BwIpId8kfZcEnieJnp7uIwf7xrduWVsLBH7KcdVU1XTff3TfXOrmpkMBjcAb4FtlkA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bWFnZVJlYWR5ccllPAAAAmtJREFUeJztmL9uFDEQh7+xrXBikZYI0QDK5QkiJCh4E5oUkfjT8A68AKJJQYNo4GnoCFQpo7s0ILgkIiSKbA/F2rt7ByjNidtd5SdZM56b0/nbsa29AXgNzAAdyJgBryQ5NwHujka82Nzk0fo6pXNYEQSQZLsgBVQVBaIqR97zcTbjzcEBk7OznPZDUi53RiPebm1xa20NK4K1FmctxhistVhrMdk618yd+2vcpO8aY5DkiwiqSowRDYEYYzVCIIZACIHofWVDIHj/RzykeIixGt7jY2R2ccHTvT2m5+cAuIz4bGOD0jmCavXjqnjvEalq1aWKwXzVInDDWp6Px7zc3wdaYA/KkgAYVTQ9WYG50QXVhymDJT8CD8uyzqvBCmurBBFE03NJflegsjIcCSiDXjOmznHt5KCKoapOBHJaF8Gg2obQVE1bOTVYUMW0t2Dyobtg7S2Zz1tWDZap89Uu2uZv4Oaj/0/19b2gxTOX1YBlqA6eqcvUhsuaO2PaQ6isxWq6yxL6KnN5Sj81txWHpMFWbLBgzeWhw9qMw6/YsOo14IpdgfVNgwW7ujz6puGDnYawynUsRecx1n4N9vnkZCWLWaY+HR/Xfg32fjrlp/crWdAydBoCHw4P6/lcj+TeaMST8Zj7Zcn11K62IhhjcMl3qZ1tjcEZU9nW3KRYHkYESTaqojESVZsWdWpz++T7ECqbPw+hiqniU1s8qFat7hj5FSNfjo54N5kwbXr3/2z+9F5GRL6vehHLloh8M9vb27tFUfT/5kgqiuJkZ2dnV1T1MXAbWFv1opakC+Cr6MD+OWcN/81jaPoNFG2JtYii0WUAAAAASUVORK5CYII="); +} +.strip .channel-actions .candy, +.strip .utility-row button, +.strip .fader-tools button, +.master-controls button{ + appearance:none; + position:relative; + isolation:isolate; + flex-shrink:1; + border:0!important; + border-radius:0!important; + background-color:transparent!important; + background-image:var(--switch-silver)!important; + background-position:center!important; + background-repeat:no-repeat!important; + background-size:100% 100%!important; + box-shadow:none!important; + color:#182029; + text-shadow:0 1px 1px #ffffffb5; + font-size:10px; + font-weight:700; + letter-spacing:.15px; + padding:0 2px 4px; + transition:filter 85ms ease,transform 85ms ease; + transform:translateY(0); +} +.strip .channel-actions .candy{height:34px;min-width:0} +.strip .utility-row button{height:28px;min-width:0} +.strip .fader-tools button{height:30px;min-width:0} +.master-controls button{height:30px;min-height:30px;padding-left:0;text-align:center} +.strip .candy.mute.active, +.master-controls #masterMute.active{ + background-image:var(--switch-red)!important; + color:#fff; + text-shadow:0 1px 2px #520d0ddd; +} +.strip .candy.solo.active, +.strip .utility-row button.active, +.strip .fader-tools button.active, +.master-controls #dim.active{ + background-image:var(--switch-green)!important; + color:#0b2210; + text-shadow:0 1px 1px #c8ffbb99; +} +.strip .channel-actions button.active, +.strip .utility-row button.active, +.strip .fader-tools button.active, +.master-controls button.active{ + transform:translateY(1px); + filter:brightness(.96); +} +.strip .channel-actions button:hover, +.strip .utility-row button:hover, +.strip .fader-tools button:hover, +.master-controls button:hover{filter:brightness(1.11)} +.strip .channel-actions button:active, +.strip .utility-row button:active, +.strip .fader-tools button:active, +.master-controls button:active{transform:translateY(3px);filter:brightness(.84) contrast(1.04)} +.strip .channel-actions button:focus-visible, +.strip .utility-row button:focus-visible, +.strip .fader-tools button:focus-visible, +.master-controls button:focus-visible{ + outline:1px solid #56d8f6; + outline-offset:-2px; +} +@media (prefers-reduced-motion:reduce){ + .strip .channel-actions .candy,.strip .utility-row button,.strip .fader-tools button,.master-controls button{transition:none} +} + +/* ArSonMix: supplied 18x40 horizontal pan head and 88x36 tactile button art. */ +:root{ +--ar-pan:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAoCAMAAADE8VquAAACf1BMVEUAAAAgICAQEBANDQ0UFBQUFBQSEhIaGhoQEBAfHx8XFxcSEhIvLy8SEhIUFBQ2NjZiYmJdXV1aWlpbW1sVFRUmJiYWFhYaGhoaGhoeHh4TExMUFBQeHh4gICAbGxsTExMbGxsaGhodHR0dHR0aGhobGxsYGBgUFBQVFRUXFxcXFxcWFhY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wBABVl/RzqUXPiH+jtVBrAfMYOZpn+dgZnCeT2R5PmlWN6PN07PwnZ/5d32WuXXkzDgej/F5OMTbwQBjZsRx/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}} +:is(.nav button,.seg button,.right-button,.rail-presets button,.rail-bottom button,.chrome-icon,.mode-pill,.guide-chip,.action,.plugin-categories button,.rack .insert,.talk-btn){ +appearance:none;background-color:transparent!important;background-image:var(--ar-btn-off)!important; +background-size:100% 100%!important;background-repeat:no-repeat!important;background-position:center!important; +border:0!important;box-shadow:none!important;border-radius:3px!important; +color:#e1e7ea!important;text-shadow:0 1px 1px #000b!important;font-weight:550!important; +position:relative;isolation:isolate;transition:filter 100ms ease,transform 100ms ease} +:is(.nav button,.seg button,.right-button,.rail-presets button,.rail-bottom button,.chrome-icon,.mode-pill,.guide-chip,.action,.plugin-categories button,.rack .insert,.talk-btn):hover{filter:brightness(1.15)} +:is(.nav button,.seg button,.right-button,.rail-presets button,.rail-bottom button,.chrome-icon,.mode-pill,.guide-chip,.action,.plugin-categories button,.rack .insert,.talk-btn):active{transform:translateY(2px);filter:brightness(.90)} +:is(.nav button,.seg button,.right-button,.rail-presets button,.rail-bottom button,.chrome-icon,.mode-pill,.guide-chip,.action,.plugin-categories button,.rack .insert,.talk-btn):focus-visible{outline:2px solid #69dfff!important;outline-offset:0} +:is(.nav button.selected,.plugin-categories button.active,.mode-pill.active){background-image:var(--ar-btn-blue)!important;color:white!important} +:is(.seg button.selected,.right-button.selected,.rail-presets button.active,.guide-chip.active){background-image:var(--ar-btn-tur)!important;color:#f8ffff!important} +:is(.rail-bottom button#addScene,.rail-bottom button#saveFxPreset,.action){background-image:var(--ar-btn-blue)!important;color:white!important} +:is(.rail-bottom button#menuScene,.right-button#monitorSource){background-image:var(--ar-btn-off)!important} +:is(.right-button[data-output="Record"].selected){background-image:var(--ar-btn-red)!important} +:is(.right-button[data-output="Streaming"].selected,.talk-btn.selected){background-image:var(--ar-btn-pink)!important} +:is(.nav button.selected,.seg button.selected,.mode-pill.active)::before{content:none!important} +:is(.nav button.selected,.seg button.selected,.mode-pill.active){transform:translateY(1px)} +.nav button{padding:0 10px!important;min-width:61px;height:34px} +.seg button{font-size:10px!important;min-height:36px} +.right-button{height:30px;min-height:30px;text-align:left;padding:0 10px 3px!important;font-size:10px} +.rail-presets button{height:31px;font-size:10px} +.rail-bottom button{height:28px} +.chrome-icon{width:36px;min-width:36px;height:34px} +.mode-pill{min-width:88px;height:34px} +.rack .insert{min-height:25px;font-weight:500!important;padding:0 5px} +.rack .insert.empty{color:#8dd4ea!important} +.plugin-categories button{padding:5px 11px} +.talk-btn{height:46px!important;min-height:46px;font-size:20px} +.master-fader-label{background:var(--ar-btn-blue) center / 100% 100% no-repeat;border:0;color:#eefbff;padding-bottom:5px;font-weight:600} +@media(prefers-reduced-motion:reduce){.pan-thumb,:is(.nav button,.seg button,.right-button,.rail-presets button,.rail-bottom button,.chrome-icon,.mode-pill,.guide-chip,.action,.plugin-categories button,.rack .insert,.talk-btn){transition:none}} From 2096fde5e6bdd34d0e4f57027d1a7b8ee379a49c Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 25 Oct 2026 08:40:29 +0700 Subject: [PATCH 2/6] diag(rt): attribute VST3 callback costs per FX slot and detect audio device restarts --- src/LiveAudioEngine.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/LiveAudioEngine.h b/src/LiveAudioEngine.h index cfe4deee9..b05c2ca6a 100644 --- a/src/LiveAudioEngine.h +++ b/src/LiveAudioEngine.h @@ -219,6 +219,19 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback o->setProperty ("callbackGapCount", static_cast (callbackGaps_.load())); o->setProperty ("worstCallbackGapUs", static_cast (worstCallbackGapUs_.load())); o->setProperty ("worstPluginUs", static_cast (worstPluginUs_.load())); + o->setProperty ("deviceStartCount", static_cast (deviceStartCount_.load())); + o->setProperty ("deviceStopCount", static_cast (deviceStopCount_.load())); + juce::Array pluginTimings; + for (int i = 0; i < count_; ++i) + { + auto item = std::make_unique(); + item->setProperty ("slot", i + 1); + item->setProperty ("name", slots_[i].name); + item->setProperty ("lastUs", static_cast (lastPluginUsBySlot_[i].load())); + item->setProperty ("worstUs", static_cast (worstPluginUsBySlot_[i].load())); + pluginTimings.add (juce::var (item.release())); + } + o->setProperty ("pluginTimings", juce::var (pluginTimings)); o->setProperty ("slowPluginCount", static_cast (slowPlugins_.load())); o->setProperty ("periodUs", d && d->getCurrentSampleRate() > 0 ? 1000000.0 * d->getCurrentBufferSizeSamples() / d->getCurrentSampleRate() : 0.0); @@ -252,6 +265,9 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback std::atomic slowCallbacks_ {0}, overBudgetCallbacks_ {0}; std::atomic callbackGaps_ {0}, worstCallbackGapUs_ {0}; std::atomic worstPluginUs_ {0}, slowPlugins_ {0}; + std::atomic deviceStartCount_ {0}, deviceStopCount_ {0}; + std::array, maxFx> lastPluginUsBySlot_ {}; + std::array, maxFx> worstPluginUsBySlot_ {}; std::uint64_t previousCallbackStartUs_ = 0; double sampleRateHz_ = 48000.0; @@ -289,7 +305,13 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback void audioDeviceAboutToStart (juce::AudioIODevice* d) override { + deviceStartCount_.fetch_add (1, std::memory_order_relaxed); sampleRateHz_ = juce::jmax (1.0, d->getCurrentSampleRate()); + for (int i = 0; i < maxFx; ++i) + { + lastPluginUsBySlot_[i].store (0, std::memory_order_relaxed); + worstPluginUsBySlot_[i].store (0, std::memory_order_relaxed); + } previousCallbackStartUs_ = 0; int latency = 0; for (int i = 0; i < count_; ++i) @@ -312,6 +334,7 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback void audioDeviceStopped() override { + deviceStopCount_.fetch_add (1, std::memory_order_relaxed); inputPeak_.store (0.f); outputPeak_.store (0.f); } @@ -370,6 +393,8 @@ class LiveAudioEngine final : private juce::AudioIODeviceCallback const auto pluginBeginUs = clockMicros(); slot.processor->processBlock (scratch_, midi); const auto pluginUs = clockMicros() - pluginBeginUs; + lastPluginUsBySlot_[fx].store (pluginUs, std::memory_order_relaxed); + publishMax (worstPluginUsBySlot_[fx], pluginUs); publishMax (worstPluginUs_, pluginUs); if (static_cast (pluginUs) > periodUs * 0.75) slowPlugins_.fetch_add (1, std::memory_order_relaxed); From be75f3c80ef024c5c21e9e08a2c59dfbb7c79a7b Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 25 Oct 2026 08:40:51 +0700 Subject: [PATCH 3/6] feat(diag-ui): show per-plugin VST cost and device restart counts in Signal Check --- web/monitor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/monitor.js b/web/monitor.js index d1456e97f..4b24205ca 100644 --- a/web/monitor.js +++ b/web/monitor.js @@ -82,7 +82,11 @@ " µs | Over-budget "+(d.overBudgetCount||0)+ " | Long gaps "+(d.callbackGapCount||0)+ " | Worst VST "+(d.worstPluginUs||0)+" µs"+ + " | device starts/stops "+(d.deviceStartCount||0)+"/"+(d.deviceStopCount||0)+ " (timing indicators, NOT confirmed driver xruns)"; + const timing=Array.isArray(d.pluginTimings)?d.pluginTimings:[]; + const fxInfo=timing.map(x=>x.slot+". "+x.name+": "+x.lastUs+" µs now, worst "+x.worstUs+" µs").join(" | "); + if(fxInfo)el("arHealthPanel").textContent+=" | FX: "+fxInfo; el("arSignalFooter").textContent=(d.driver||"Audio")+" · "+(d.rate||0)+" Hz / "+(d.buffer||0)+ " samples · "+(d.deviceInputChannels||0)+" active input / "+(d.deviceOutputChannels||0)+" active output channels · "+ (d.latencySamples||0)+" samples plugin latency. Choose hardware output using AUDIO SETUP; Main L/R and Streaming are UI previews."; From 84aaa5654eef10ea153935842478784cfe4839e6 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 25 Oct 2026 08:41:06 +0700 Subject: [PATCH 4/6] docs(diag): explain per-slot VST timing and device start/stop evidence --- docs/P2_REALTIME_RELIABILITY.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/P2_REALTIME_RELIABILITY.md b/docs/P2_REALTIME_RELIABILITY.md index 922c3908d..cfe18d820 100644 --- a/docs/P2_REALTIME_RELIABILITY.md +++ b/docs/P2_REALTIME_RELIABILITY.md @@ -27,7 +27,7 @@ 5. Use OPEN DIAGNOSTIC LOG. Copy the latest log around the timestamps of audible stutters, with device and plugin names sanitized if sharing publicly. 6. Interpret cautiously: - Slow callback/over-budget jumps near a dropout suggest a DSP deadline miss (plugin processing or callback). - - Slow plugin increments suggest one or more VST3 calls are consuming most of the deadline. This release logs worst aggregate plugin call, not exact per-plugin identity. + - Slow plugin increments suggest one or more VST3 calls are consuming most of the deadline. This release logs each VST3 slot's last and worst processing time to help identify a slow insert. Compare slot timings and use DRY TEST to confirm causality. - A callback scheduling gap jump with low process time suggests driver/OS scheduling or device discontinuity. - Flat counters despite audible loss suggest an endpoint, physical device, external virtual cable, or a discontinuity not captured by this timing probe. 7. Success criterion: sustained uninterrupted mic→dry→master output and then mic→VST3→master output; no observed dropout on the actual physical interface. @@ -38,3 +38,6 @@ - No complete plugin crash sandbox or seamless FX graph swap yet. - Real output to streaming apps is separate from the output endpoint in the JUCE device selector. UI “Record/Streaming” output buttons remain previews until real routing is implemented. - The log may contain local device/plugin names; treat it as diagnostic user data. + +## Additional telemetry +Audio-device start and stop callback counts are recorded, together with per-VST3 slot last/worst process duration (microseconds). A rise in device stop/start around stutters indicates a device lifecycle event; a rise in one slot's processing duration indicates a potentially expensive effect. Time counters alone do not prove that a device underrun occurred. From 8fcf3d44e7800ce6d947be048c58b42e28daddf7 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 25 Oct 2026 08:42:08 +0700 Subject: [PATCH 5/6] fix(native): map zero-based mixer Channel 1 fader and mute to real DSP --- src/Main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Main.cpp b/src/Main.cpp index ecd41ea5c..67ae3f308 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -180,9 +180,10 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer, pr const auto valueNumber = static_cast (static_cast (value)); if (name == "masterGain" && (value.isDouble() || value.isInt())) engine_.setMasterGainDb (valueNumber); - else if (name == "faderDb" && channel == 1 && (value.isDouble() || value.isInt())) + // Web mixer channels are zero-based; strip 0 is native Vocal Input. + else if (name == "faderDb" && channel == 0 && (value.isDouble() || value.isInt())) engine_.setChannelGainDb (valueNumber); - else if (name == "mute" && channel == 1 && value.isBool()) + else if (name == "mute" && channel == 0 && value.isBool()) engine_.setChannelMuted (bool (value)); else if (name == "masterMute" && value.isBool()) engine_.setMasterMuted (bool (value)); From 6553b815d80c18384f5fdb12c86c9538f9fc62d9 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sun, 25 Oct 2026 08:42:29 +0700 Subject: [PATCH 6/6] fix(integration): preserve one-based native channel IDs emitted by GUI bridge --- src/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main.cpp b/src/Main.cpp index 67ae3f308..5e36d768c 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -180,10 +180,10 @@ class ConsoleWindow final : public juce::DocumentWindow, private juce::Timer, pr const auto valueNumber = static_cast (static_cast (value)); if (name == "masterGain" && (value.isDouble() || value.isInt())) engine_.setMasterGainDb (valueNumber); - // Web mixer channels are zero-based; strip 0 is native Vocal Input. - else if (name == "faderDb" && channel == 0 && (value.isDouble() || value.isInt())) + // The app.js bridge converts strip index 0 to channel ID 1. + else if (name == "faderDb" && channel == 1 && (value.isDouble() || value.isInt())) engine_.setChannelGainDb (valueNumber); - else if (name == "mute" && channel == 0 && value.isBool()) + else if (name == "mute" && channel == 1 && value.isBool()) engine_.setChannelMuted (bool (value)); else if (name == "masterMute" && value.isBool()) engine_.setMasterMuted (bool (value));