examples/input_output/systemSpeakExample/README.md
This example demonstrates how to invoke a system level command on Windows or OS and in this particular example, to "say" the word.
In the code, pay attention to:
cmd = "say -v "+voice+" "+words[step]+" "; for OSX and string cmd = "data\\SayStatic.exe "+words[step]; for Windowssystem(cmd.c_str()); to invoke the commandofBufferFromFile("lyrics.txt").getText();When launching this app you will get a gray screen with:
When the key r is pressed:
Instructions for use:
r key to select a random voice.This Example uses no other classes.