Skip to contents

Verify whether given voice is compatible with specific region. If it is, provide the gender, full voice name, and language associated with given voice.

Usage

ms_use_voice(voice, api_key = NULL, region = "westus")

Arguments

voice

Full voice name ("Microsoft Server Speech Text to Speech Voice (XX, YY)")

api_key

Microsoft Azure Cognitive Services API key

region

Subscription region for API key. For more info, see https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/regions

Value

List of gender, language, and full voice name

Examples

if (FALSE) { # \dontrun{
# Retrieve gender, full name, and language
ms_use_voice(voice = "Microsoft Server Speech Text to Speech Voice (en-US, JacobNeural)",
              region = "westus")
} # }