Skip to content
Discussion options

You must be logged in to vote

Not with markup, unfortunately. edge-tts escapes the text you give it (escape(...) in communicate.py) and wraps it in a single <prosody> tag, so a <break time="1s"/> would just be read out. The README explains why: Microsoft only accepts the SSML Edge itself generates, so custom SSML support was removed.

Punctuation helps a little but isn't controllable. With BrianNeural I measured about 0.45 s after a plain . (blank lines change nothing), 0.65 s with . ... and 1.3 s with . ... ... ... , but adding even more dots made the pause shorter again.

What works reliably is what rany2 suggested in #83: synthesize one paragraph at a time and put real silence in between. A small script for that (n…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AeGhBrA
Comment options

Answer selected by AeGhBrA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants