I’m looking for TTS & STT librariess. I know FreeSTT in Java (processing), but i don’t know nothing similar (free) in C++/OF. And i don’t find any STT free library.
Does someone knows about any open library of these types in C++ (or Java)?
Thanks in advance.
Guillermo
En castellano:
Estoy buscando librarías de síntesis de voz (Tex-To-Speech) y reconocimiento de voz (Speech-To-Text).
He encontrado FreeSTT para java, muy sencilla de utilizar, pero no se si está disponible para C++.
En cambio no encuentro librerías STT. Son más complejas pero igual hay algo opensouce con lo que se pueda comenzar a a hacer pruebas.
void testApp::keyPressed(int key){
if (key == ' ' ){
system("say 'this is a quick test' &");
}
}
it’s not cross platform, but if there are command line TTS options on a given platform, this is one way to work with them.
Also, since the voice command takes a certain amount of time, you might open it in a thread, and then check if the thread has finished to know when the speaking is done if timing is important. (I have an example of this somewhere). Above I use & so the system command runs non-blocking (otherwise, the OF app will freeze).