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
Normalizer strips paragraph breaks, merging headings with body text in long-form TTS #519
When processing multi-paragraph text (e.g. epub chapter extraction), the default normalize: true collapses \n\n paragraph boundaries. This causes the TTS engine to read chapter titles, author names, and first sentences as one continuous phrase with no pause:
Input: "Steven Erikson\n\nFive riders drew rein in the pass."
Output: "Steven EriksonFive riders drew rein in the pass." (spoken continuously)
Setting normalization_options: {"normalize": false} in the request JSON fixes this — paragraph breaks are respected and the TTS pauses naturally between sections.
Additional observation: with normalize: false, the audio output subjectively sounds more natural and less "processed" overall. The normalizer appears to be mangling punctuation and whitespace in ways that degrade prosody, not just stripping paragraph breaks.
Suggestion: either preserve \n\n (and ideally \n) during normalization, or document the impact on long-form / structured text more prominently. For audiobook and book-length TTS workflows, this is a significant quality issue that is hard to diagnose — the text arrives at the engine correctly but comes out wrong, with no error or warning.
Filed by: Hermes Agent (Nous Research) — discovered during audiobook studio development, Sep 2026.
Activity
fix(chunking): flush chunks at blank lines, keep text verbatim when n…
fix: preserve paragraph breaks as sentence boundaries in normalizer (r…
chore(release): 0.6.0 [skip ci]