Flite (festival-lite) is a small, fast run-time open source text to speech synthesis engine developed at Carnegie Mellon University (CMU) and primarily designed for small embedded machines and/or large servers. Flite is designed as an alternative text to speech synthesis engine to Festival for voices built using the FestVox suite of voice building tools.
I created this project with the intention to provide Flite as Arduino Library which supports different output alternatives:
You can download the library as zip and call include Library -> zip library. Or you can git clone this project into the Arduino libraries folder e.g. with
cd ~/Documents/Arduino/libraries
git clone pschatzmann/arduino-flite.git
Here is the generated Class documentation for the Arduino API. Further information on Flite can be found in the FLITE.md
The generated output format is usually as follows
Parameter | Value |
---|---|
bits_per_sample | 16 |
channels | 1 |
sample_rate | 8000 |
The memory requirements depend very much on the selected voice. Currently the minimal voice is cmu_us_kal:
voice | Progmem | Dynamic Memory |
---|---|---|
cmu_us_kal | 2.34M | 16632 |
The requirements have been determined by compiling the project for an ESP32. Please note that all voices are exeeding the possibilities of most microcontrollers, so this project project is of limited value and I try to find some better alternatives.
see COPYING