aiti-ai-speek
About 1 min
aiti-ai-speek
The pi-web "follow-read mode" extension: reads AI output text aloud with speech.
- Dual engines: browser Web Speech by default (zero dependencies); optional edge-tts server-side synthesis (more natural voices).
- Playback controls: pause/resume/skip/stop; reading progress anchored to messages.
- Polyphone disambiguation: narration text is pre-processed with @aiti-ai/tts-polyphone — error-prone polyphones are rewritten to same-sound stand-ins (
一行代码reads háng, not xíng) while the on-screen text keeps the original wording; a settings toggle (on by default) turns it off for comparison. The "Polyphone mappings" manager (settings) shows the 22 built-in rules and edits custom mappings (incl. regex mode) in a shared config file used by both tts-polyphone and Video Studio. - ASR hotword integration: hotword extraction goes through the
session-manager.hotwordsservice (consuming the session-manager outlet).
Recent Changes (2026-12)
- Polyphone disambiguation via the new tts-polyphone library (0.2.6): narration is auto-rewritten by the curated default table + custom user mappings (on-screen text untouched); new "Polyphone mappings" manager dialog (read-only built-ins + user mapping CRUD with regex support) stored in a shared config file shared with Video Studio; TTS cache sharded into 256 buckets by key prefix.
Recent Changes (2026-09)
- Dual-SSE dual-push merge (Plan A): the text-stream and playback-progress SSE channels merged into a single channel with dual pushes, eliminating out-of-order/duplicate frames; extman pre-materializes lazy extensions (opening the panel spins up the client).
- The extension is lazy-loaded (
clientImmediately:false).