|
Arduino FLITE
|
Arduino API for Flite Text to Speach Engine. More...
#include <flite_arduino.h>
Public Member Functions | |
| Flite () | |
| Constructor - for text output to Serial. | |
| Flite (flite_callback cb) | |
| Constructor - for output to callback. | |
| Flite (Print &stream, bool as_text=false) | |
| Constructor - for output to a stream. | |
| Flite (FliteOutputBase *out) | |
| Constructor - for output with a FliteOutputBase class. | |
| Flite (i2s_port_t i2s_num) | |
| Constructor - for output to I2S. | |
| void | setVoice (cst_voice *voice) |
| Sets the voice. | |
| void | setVoice (const char *url) |
| Defines the voice from a file or http url. | |
| void | say (const char *text) |
| Process text input. | |
| void | sayPhones (const char *text) |
| Process Flite explicit phones. | |
| void | saySsml (const char *text) |
| Process Speech Synthesis Markup Language (SSML) input. | |
| cst_wave * | textToWave (const char *text) |
| convert text to WAV | |
| FliteOutputBase * | getOutput () |
| provides access to output information | |
| void | end () |
| Delete voice and cst_audio_streaming_info. | |
Protected Member Functions | |
| void | setup () |
| void | setOutput (FliteOutputBase *out) |
Protected Attributes | |
| cst_voice * | voice = nullptr |
| const char * | outtype = "play" |
| cst_audio_streaming_info * | asi =nullptr |
Arduino API for Flite Text to Speach Engine.