You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
narrate: offline text-to-speech voiceover placed on the timeline #175
What / who: Given a script of { at, text } lines (often written by the agent from markers or the event log), synthesize speech with the built-in Windows voices, place each line at its timestamp, and duck any music_bed under it. For people who want a narrated demo without recording their own voice.
Why: Agents can already plan, cut, caption, and score a video here, but they can't voice it. Clipchamp (Microsoft's own suggested PSR replacement) ships TTS voiceover, and Descript/Synthesia sell AI voices. Windows includes Windows.Media.SpeechSynthesis / SAPI with no download or API key (Microsoft Learn), which matches the project's offline, Windows-native approach (like find_text's Windows.Media.Ocr).
Approach: Use a PowerShell/WinRT shim (same pattern as OCR) → WAV per line → adelay + amix with normalize=0. Warn if a line runs past the next one or past the end. Optionally use a pluggable engine (e.g. Piper) later. Emit matching SRT so captions come free. Done:narrate works with zero extra installs on Windows 10/11, lists available voices, works as a pipeline stage, and has a demo on the docs site.
Activity