Spaces:
Running
Running
Commit History
-
feat(tts): serve pre-generated Gemini Charon audio for Lao sutras
souliya_pps +1: Claude Opus 5.5Lao sutra chunks are generated once with Gemini TTS (Charon voice, Vientiane-accent style prompt) by scripts/generate-lao-library.php and published to the Space repo's tts-library branch. At play time the server reads that library first, so listening needs no API calls or quota; chunks not generated yet fall back to the Edge voice. The generator reproduces the sutra page's text extraction and 800-char chunking exactly (verified against Chrome for all 1,412 sutras, including UTF-16 handling of emoji), so library keys match what the browser sends. Lao no longer uses the device's speechSynthesis voice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>798f9fe