This is a small example using the Mimic1 libraries.
This assumes mimic1 has been installed on your system, for full instructions see the Mimic1-repo, but in short it should be
git clone https://github.com/MycroftAI/mimic1
cd mimic1
./dependencies.sh
./autogen.sh
mkdir build && cd build
../configure
make
make install
To build the mimic_example
application run
mkdir build && cd build
cmake ..
make
The application takes two arguments, the sentence and the voice file to use:
Example:
./mimic_example "This is using the mimic libraries" /PATH/TO/mimic/voicescmu_us_slt.flitevox