Home › Forums › OpenEars › OpenEars suspendRecognition not working in ViewDidAppear › Reply To: OpenEars suspendRecognition not working in ViewDidAppear
March 14, 2014 at 8:41 am
#1020521
vinay.chopra@tresbu.com
Participant
Basically i was trying to find a way that if the device is speaking then it should stop listening and once the speech of device is complete then it should start listening , Logic i applied in view did appear is:
[self.pocketsphinxController suspendRecognition];
[self.fliteController say:message withVoice:self.slt];
[self.pocketsphinxController resumeRecognition];
////
i want my app should say welcome to the user and then ask the user do you want to continue say YES or NO ?
and then it should resume listening .
kindly help me with this logic.