TTS - Speech Synthesis

Hi there,

Does anyone have experience with Speech Synthesis? I would like to include some in an upcoming project but not sure where to proceed. I’ve tried a few lib and comparatively the system command “say” (OSX) produce better results. It also seems that there are a lot of potential to tweak the speakers voice ( http://apple.co/2gfzX4o ) but I’m not sure how to use this command and control all parameters within OF other than:

system("say 'this is a quick test' &");

As mentioned in this post: Text-To-Speech & Speech-To-Text Libraries

Thanks in advance,

Guillaume

check this:

try to replace this:

log.start("/usr/bin/espeak");

with this:

log.start("say");

Cool, it’s working very well! Thanks a lot for the quick help :slight_smile:

I had a look at ofxSpeech in between and it seems that it’s not working anymore, it gives a weird syntax errors “…/addons/ofxSpeech/src/ofxSpeechRecognizer.cpp:180:62: Use of undeclared identifier ‘typeShortInteger’; did you mean ‘cShortInteger’?” a lot of the functions in Carbon/Carbon.h seems to be deprecated, does it matter?

I wish I could modify the ofxSpeech addon in order to make it work but I’m pretty new to OF / C++ and it might be a bit too complicated for me. Or maybe I try to start writing a simple one…