Call via shiny::callModule(gl_talk_shiny, "your_id")
gl_talk_shiny(input, output, session, transcript, ..., autoplay = TRUE,
controls = TRUE, loop = FALSE, keep_wav = FALSE)shiny input
shiny output
shiny session
The (reactive) text to talk
Arguments passed on to gl_talk
The text to turn into speech
Where to save the speech audio file
The language of the voice as a BCP-47 language code
Name of the voice, see list via gl_talk_languages for supported voices. Set to NULL to make the service choose a voice based on languageCode and gender.
The gender of the voice, if available
Format of the requested audio stream
Speaking rate/speed between 0.25 and 4.0
Speaking pitch between -20.0 and 20.0 in semitones.
Volumne gain in dB
Sample rate for returned audio
passed to the HTML audio player - default TRUE plays on load
passed to the HTML audio player - default TRUE shows controls
passed to the HTML audio player - default FALSE does not loop
keep the generated wav files if TRUE.