Synthesizes an audio record from text.
text_audio(text, userpwd, keep_data = "true", directory,
voice = "en-US_AllisonVoice", accept = "audio/ogg;codecs=opus")
Character vector containing strings to be processed.
Character scalar that contains 'username:password' string.
Character scalar specifying whether to share your data with Watson services for the purpose of training their models.
Character scalar specifying directory for storing audio files.
Character scalar setting language and voice model for the synthesized voice. Many models are available: de-DE_BirgitVoice, de-DE_DieterVoice, en-GB_KateVoice, en-US_LisaVoice, en-US_MichaelVoice, es-ES_EnriqueVoice, es-ES_LauraVoice, es-US_SofiaVoice, fr-FR_ReneeVoice, it-IT_FrancescaVoice, ja-JP_EmiVoice, pt-BR_IsabelaVoice.
Characte scalar specifying format for the audio. Alternatives are audio/wav ,audio/flac, audio/l16, audio/basic.
Audio file with selected format is saved into selected directory. The name is based on integer representation of UTF time and a number of characters of the processed text.
Logical scalar is returned invisibly.
Check http://www.ibm.com/watson/developercloud/text-to-speech.html for further documentation, and https://text-to-speech-demo.mybluemix.net/ for a web demo.