Learn R Programming

mscstts (version 0.6.3)

ms_list_voices: List Voices

Description

List Voices

Usage

ms_list_voices(token = NULL, api_key = NULL, region = NULL, ...)

Arguments

token

An authentication token, base-64 encoded usually from ms_get_tts_token. If not provided, will be created from ms_get_tts_token

api_key

Microsoft Cognitive Services API key, if token is not provided.

...

Additional arguments to send to GET

Value

A data.frame of the names and their long names.

Examples

Run this code
# NOT RUN {
if (ms_have_tts_key()) {
res = ms_list_voices()
}

# }
# NOT RUN {
# }
# NOT RUN {
res = ms_list_voices(region = "eastus")
# }

Run the code above in your browser using DataLab