ms_choose_voice | R Documentation |
If 'voice' argument is not supplied to ms_synthesize()
, obtain full list of voices for
a specified region and by default, use the first voice in that list.
ms_choose_voice(
api_key = NULL,
gender = c("Female", "Male"),
language = "en-US",
region = "westus"
)
api_key |
Microsoft Azure Cognitive Services API key |
gender |
Sex of speaker |
language |
Language to be spoken |
region |
Subscription region for API key. For more info, see https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/regions |
List of gender, language, and full voice name
## Not run:
# Default voice whose gender is Female, language is English, and region is 'westus'
ms_choose_voice(gender = "Female", language = "en-US", region = "westus")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.