diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-03 20:16:17 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-03 20:16:17 +0300 |
| commit | 893489d63d9f2c803b49f3cb460e93bd3bb34e87 (patch) | |
| tree | 743b46b0095452722f29874cf730847297cde5c1 /internal/cli | |
| parent | dff22c99773cb3b5eeffcedc354dc691d0f563f1 (diff) | |
fix: split long story narration into chunks to preserve voice quality
Gemini TTS voice quality degrades noticeably over long single-call texts.
Split the story into ~200-word paragraph-aligned chunks, narrate each
separately, then concatenate with ffmpeg's concat demuxer (copy codec,
no re-encoding). Short stories (single chunk) still use one call.
Temp files are written to a OS temp dir and cleaned up automatically.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/cli')
0 files changed, 0 insertions, 0 deletions
