TTS
The current reader frontend has no UI for this feature. The backend API described here still exists.
dAstIll uses Google Cloud Text-to-Speech to synthesize summary audio.
Configuration keys live in backend/.env.example.
| Setting | Purpose |
|---|---|
| Enabled flag | Enables TTS |
| Voice | Google TTS voice name |
| Language | Google TTS language |
| Output format | Audio output format |
| Sample rate | Sample rate in Hz |
Pipeline:
- Summary markdown is sanitized.
- SSML pause markers are inserted after headings and list items.
- Long text is split under 2500 characters while preserving SSML tag boundaries.
- Chunks are sent to Google Cloud Text-to-Speech.
- Returned PCM audio is concatenated.
- PCM is wrapped as WAV for browser playback.
Generated audio cache ownership and tts_stats storage live in Data Model.