From 68f9d7342a52a21d8dc52e736caf3119f987b65d Mon Sep 17 00:00:00 2001 From: BenStullsBets Date: Fri, 26 Jun 2026 07:48:03 -0700 Subject: [PATCH] =?UTF-8?q?feat(audio):=20client=20=E2=80=94=20split=20Con?= =?UTF-8?q?tent=20into=20Visual+Audio=20controls=20+=20audio=20crossfade?= =?UTF-8?q?=20layer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - index.html: Content - - - - - - - + Visual + + + +
+ Audio +
diff --git a/simulator/static/style.css b/simulator/static/style.css index dc195a5..e615760 100644 --- a/simulator/static/style.css +++ b/simulator/static/style.css @@ -107,3 +107,13 @@ input[type=range], select { width: 100%; } .dev-anno .anno-key.measure { color: #ffd79a; } .dev-anno .anno-meta { color: #678; } .dev-anno .anno-empty { color: #567; font-style: italic; } + +/* One-time tap-to-start overlay — unlocks audio under the browser autoplay + policy (audio spec §8). Removed after the first gesture. */ +#start-gesture { + position: fixed; inset: 0; z-index: 10000; + display: flex; align-items: center; justify-content: center; + background: rgba(0, 0, 0, 0.82); color: #fff; + font: 600 28px/1.2 system-ui, sans-serif; letter-spacing: 0.02em; + cursor: pointer; user-select: none; +}