ms_create_ssml | R Documentation |
Create SSML for Passing to Synthesize
ms_create_ssml( script, voice = NULL, gender = c("Female", "Male"), language = "en-US", escape = FALSE ) ms_voice_info(voice, token = NULL, api_key = NULL, region = NULL)
script |
A character vector of lines to be spoken |
voice |
full voice name, usually from
|
gender |
Sex of the Speaker |
language |
Language to be spoken,
must be from |
escape |
Should non-standard characters be substituted? Should not
be used if |
token |
An authentication token, base-64 encoded usually from
|
api_key |
Microsoft Cognitive Services API key, if token is not provided. |
region |
Subscription region for your key. See https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/overview |
A character string of the text and SSML markup
ms_create_ssml("hey I really like things & dogs", escape = TRUE) ms_create_ssml("hey I really like things") ms_create_ssml('hey I <emphasis level="strong">really like</emphasis> things') ms_create_ssml('hey I <emphasis level="strong">really like</emphasis> things', escape = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.