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

Use of SSML #34

Open
bebersb opened this issue Sep 3, 2021 · 1 comment
Open

Use of SSML #34

bebersb opened this issue Sep 3, 2021 · 1 comment

Comments

@bebersb
Copy link

bebersb commented Sep 3, 2021

I tried to use SSML when having my texts spoken by Amazon Polly.
Unfortunately, it does not work. See the example below - I tried both with and without .

Does anybody have an idea?

Thanks.

slides <- system.file("test", c("mab2.png", "mab1.png"),
                      package = "ari")
sentences <- c("Welcome to my very <s> interesting lecture.",
               "<speak>Here are some fantastic <s> equations I came up with.</speak>")
ari_spin(slides, sentences, voice = "Brian", output = "Videos/slides_test_test.mp4")
@muschellij2
Copy link
Contributor

You need to pass ari_spin(..., tts_args = list(ssml = TRUE))

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