Learn R Programming

text2speech (version 0.2.13)

tts_voices: Text to Speech Voices

Description

Text to Speech Voices

Usage

tts_voices(service = c("amazon", "google", "microsoft"), ...)

tts_amazon_voices(...)

tts_microsoft_voices(...)

tts_google_voices(...)

Value

A data.frame of language codes, voices, genders, and language names

Arguments

service

service to use

...

Additional arguments to service voice listings.

Examples

Run this code
if (tts_microsoft_auth()) {
tts_voices(service = "microsoft")
}
if (tts_google_auth()) {
tts_voices(service = "google")
}
if (requireNamespace("aws.polly", quietly = TRUE)) {
if (tts_amazon_auth()) {
tts_voices(service = "amazon")
}
}

Run the code above in your browser using DataLab