From ea9c7a5687cdaf83c36a279c9f4ddc76ac7fb309 Mon Sep 17 00:00:00 2001 From: Daniel Saewitz Date: Thu, 7 May 2026 14:19:26 -0400 Subject: [PATCH 1/4] =?UTF-8?q?Add=20mid-stream=20HTML5=E2=86=92WebAudio?= =?UTF-8?q?=20crossover=20with=20sample-accurate=20crossfade?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the active track to Web Audio as soon as its buffer decodes, instead of staying on HTML5 until 'ended'. From that point on every gapless transition runs on a single shared clock (AudioContext.currentTime), so back-to-back tracks splice together sample-accurately rather than relying on an HTML5-clock end-time prediction. Routing changes (src/Track.ts): - Eagerly create a graph at ctx setup: