# PLAN: Piecewise `/quant/` Guided Tour Spoken Voice Narration, Explicit Per-Scene UI Element Indicators & Automatic Closeup Re-Rendering (`Audit Points 1–4`, `Rule C` Piecewise Specification) **Document ID:** `PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS` **Status:** `PENDING AUDIT PIECEWISE (0/4 AUDIT POINTS AFFIRMED — READY FOR STEPWISE REVIEW)` **Target Ecosystem Version:** `v2.11.0` **Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph` **Author:** m00t & Hermes Agent **Date:** 2026-11-30 --- ## 1. Ground-Truth Audit: Why `Voice: ON` Only Played Chimes & Why `Ep 04` Failed to Indicate `#lensSelect` (`Rule C.1`) Per `Rule C` of `hyperstitionstudio-roadmap-and-release`, we audited `/workspace/hyperstitionstudio-core/site/quant/quant-tutorials.js`, `site/quant/quant-app.js`, and `src/hyperstitionstud_io/publishing/closeups_sync.py` to pinpoint the exact root causes of the issues reported by the user: | Audit Point & Surface | Root Cause Discovered in Live Code (`v2.10.0`) | What Must Change to Fix It | | :--- | :--- | :--- | | **Audit Point 1**
*Spoken Voice Narration (`#tutSpeechBtn` `"Voice: ON"` in `site/quant/quant-tutorials.js`)* | **1. Silent Abort When `speechSynthesis.getVoices()` Is Empty (lines 406–410):**
`speakSubtitle()` calls `playWebAudioTelemetryChime(curStepIdx)` and then immediately checks:
`if (typeof window.speechSynthesis === "undefined" || cachedVoices.length === 0) return;`
• On Linux/Firefox/Chromium without `speech-dispatcher` voices installed (or before async `onvoiceschanged` fires), `getVoices()` returns `[]`, so `speakSubtitle()` **plays the 3-note chime and exits without speaking a single word!**
**2. `cancel()` + `setTimeout(..., 60)` Loses User-Gesture Activation:**
Calling `speechSynthesis.speak(u)` inside a `60ms` `setTimeout` after `cancel()` drops the browser's user-gesture token (`not-allowed`). | **1. Pre-Synthesized Offline Neural TTS Audio Clips (`site/quant/audio/ep01-s1.mp3 .. ep05-s5.mp3`) + Direct Synchronous `speechSynthesis.speak()`:**
• Generate real, human-clear spoken neural TTS audio files for all 25 scenes (`text_to_speech` tool -> `site/quant/audio/ep0{1..5}-s{1..5}.mp3`) and play them via standard `