Skip to content
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 Prosody: Support duration attribute #190

Open
earboxer opened this issue Jan 31, 2020 · 0 comments
Open

SSML Prosody: Support duration attribute #190

earboxer opened this issue Jan 31, 2020 · 0 comments

Comments

@earboxer
Copy link
Contributor

https://www.w3.org/TR/speech-synthesis11/#edef_prosody

duration: a value in seconds or milliseconds for the desired time to take to read the contained text. Follows the time value format from the Cascading Style Sheet Level 2 Recommendation [CSS2], e.g. "250ms", "3s".

I believe this would take considerable work, as the SSML parser may not handle encapsulation properly.

I don't think our SSML parser supports unit-detection, so I would suggest using milliseconds as the default (presumed) unit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant