Reply To: [Resolved] No recognition

Home Forums OpenEars [Resolved] No recognition Reply To: [Resolved] No recognition

#1023998
davestrand
Participant

So, you are saying that we should no longer use suspend or resume? I looked in the sample app to see how those situations should be handled and I found [[OEPocketsphinxController sharedInstance] suspendRecognition]; and [[OEPocketsphinxController sharedInstance] resumeRecognition];

Still, I have since removed suspend and resume in my app in favor of startListeningWithLanguageModelAtPath and stopListening, however I do find there seemed to be quicker response time with the suspend and resume function. The start listening seems to take about a second to actually start the listening loop… which is pretty fast, but not as fast as it used to be..

My app does a lot of switching back and forth between playing audio and expecting voice commands.

Any suggestions?