Reputation: 1063
Ok so I have an artificial intelligence system running on my Mac through terminal, on localhost with java. I want to make my ai speak without flash. There is an HTML tag that could be easily plugged into a tts script, but I don't want to output an mp3 file, I want to output an audio tag with autoplay and hidden so that it seems every time you get a response from the ai, it will speak too.
Upvotes: 2
Views: 758
Reputation: 121
Google translate TTS implemented as a servlet would solve this problem, I think. See this implementation. That is of course if you don't mind installing Tomcat or equivalent.
The problem is, until when will Google Translate TTS be free?
Upvotes: 2
Reputation: 81724
Do you know about the JavaSpeech API and, for example, the FreeTTS implementation?
Upvotes: 1