Description Usage Arguments Details Value Author(s) References See Also
Define a text-to-speech engine that can convert text into audio.
1 2 3 4 5 6 7 8 9 |
read |
A function that reads text from a |
speak |
A function that accepts the name of an |
... |
Other arguments passed to the TTS engine. |
voice |
The name of an Amazon Polly voice. |
engine |
The name of an Amazon Polly engine;
either |
format |
The format for the audio recording. |
sampleRate |
The sample rate for the audio recording. The default value depends on the choice of engine and format. |
language |
The language used for the audio recording (only some voices are multilingual). |
lexicons |
The lexicons (special pronunciations) used for the audio recording; a vector of filenames. |
docker |
A logical indicating whether to use Docker image for AWS CLI control of Polly (rather than local install of AWS CLI). |
The TTS
function is for defining new TTS engines for recording
the audio in a video. The espeakTTS
and pollyTTS
functions define TTS engines based on the espeak
and Amazon Polly text-to-speech systems.
The pollyTTS
engine assumes that the Amazon CLI has been
installed and configured.
An object of class DirectorTTS
.
Paul Murrell
espeak http://espeak.sourceforge.net/. Amazon Polly https://aws.amazon.com/polly/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.