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.
Usage
ms_choose_voice(
api_key = NULL,
gender = c("Female", "Male"),
language = "en-US",
region = "westus"
)
Arguments
- 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