From 2a048fe456c63014734665b2012c0fc970cefe76 Mon Sep 17 00:00:00 2001 From: byrongamatos Date: Sat, 11 Jul 2026 22:23:04 +0200 Subject: [PATCH] refactor(app): carve the JUCE/desktop audio shims out of app.js (R3a) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit static/js/juce-audio.js (994) — bodies VERBATIM. app.js 7,603 → 6,643. THE LARGEST SINGLE SLICE of the whole carve phase: 960 lines, ~13% of what was left. Three self-installing IIFEs: _installJuceEngineRoutingWatcher (444) routes a song to the JUCE engine or HTML5 as the desktop output enters/leaves exclusive/ASIO _installRendererBusFeeder (337) feeds the highway renderer bus from whichever transport is actually running _installJuceAudioElementShim (156) patches audio.play/pause so the rest of the app keeps talking to the