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 doesn't work (for me?) #26

Open
pfmd86 opened this issue Jun 1, 2022 · 1 comment
Open

SSML doesn't work (for me?) #26

pfmd86 opened this issue Jun 1, 2022 · 1 comment

Comments

@pfmd86
Copy link

pfmd86 commented Jun 1, 2022

Hi,

I might do it wrong, but I try to use SSML to add breaks to my text. So I activated the checkbox SSML and wrapped everything in the tag. Then I added the to my transcript. It gets totally ignored. Am I missing anything here?

image

@fishscene
Copy link

fishscene commented Jun 30, 2023

https://cloud.google.com/text-to-speech/docs/ssml

I don't know that you did anything "wrong", but there seems to be some quirks with the implementation of SSML and you may have run in to one.

I've found it works if you place a period immediately before <break time="500ms"/>

Formatting it like this works perfectly:

<speak>
  Other pre-set filters allow changing the job list view to "today", "current job".
  <break time="500ms"/> "last four days", "next 7 days pending", and "all"
</speak>

Hope this helps!

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

2 participants