-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSML tags ignored when text is read from stdin #1918
Comments
Looks like there's a difference in the way line breaks are handled.
Example file test.txt contains:
First line
Second line
$ cat test.txt | espeak-ng -x
f'3:st l'aIn
***@***.*** l'aIn
$ espeak-ng -x -f test.txt
f'3:st l'aIn ***@***.*** l'aIn
SSML code heavily depends on line breaks, so that's the root cause of the missing tag. The code is very unrealiable and should be refactored. There are multiple SSML related issues tracked already, this is yet another.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Espeak-ng ignores SSML tags when the text is read from stdin (default). Consider
this text:
If read from a file:
espeak-ng -f test -w w.wav
, the break is inserted. Ifinstead the text is read from stdin, i.e.
espeak-ng -w w.wav < test
, no breakis inserted.
The text was updated successfully, but these errors were encountered: