Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in thread “AWT-EventQueue-0” javax.speech.EngineStateError: Invalid EngineState  RSS feed

 
Subhiksh Kaa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I'm using VOCE library in my application as I need both speech synthesis and speech recognition.

Here is my speech recognition code


I call this from another java application called StartApplication and in this I continuously check whether the value of count has changed to 0 or 1 and if not main method is called agian.

However when I say login it is recognized and the value of count is changed to 1 but the following exception is generated


Following is the StartApplication code snippet,



Inorder to avoid this I removed this voce.SpeechInterface.destroy(); Now when I call this from some other application it throws the following exception



How to fix this?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!