I am using freeTTS library for converting text to speech. I am able to program my code using this library where i can play the speech for a particular text using following code:
Voice voice = VoiceManager.getInstance().getVoice("kevin16");
if (voice != null) {
voice.allocate();
}
voice.speak("Hello world");
Is there a way using which i can get a callback when the tts lib has completed the speak process?