Forum Replies Created
-
AuthorPosts
-
vinay.chopra@tresbu.comParticipant
In the current scenario i am creating another pocketsphinxController controller object in my details view controller and called a method startListening..
what is happening is its calling the pocketsphinxDidStartCalibration of my details view controller class and my main view controller class as well, i dont know why it’s happeningMarch 14, 2014 at 10:31 am in reply to: OpenEars suspendRecognition not working in ViewDidAppear #1020530vinay.chopra@tresbu.comParticipantYup this was the issue , thanks for your suggestion and time.
cheers
March 14, 2014 at 10:24 am in reply to: OpenEars suspendRecognition not working in ViewDidAppear #1020527vinay.chopra@tresbu.comParticipantThanks for the help ,
I need to use this function rather place voice data in in view did appear for the welcome speech:
– (void) pocketsphinxDidCompleteCalibration {
NSLog(@”Pocketsphinx calibration is complete.”);
[self instructUser:@”Do you want to read the NEWS , say YES or NO ?”];}
March 14, 2014 at 10:10 am in reply to: OpenEars suspendRecognition not working in ViewDidAppear #1020525vinay.chopra@tresbu.comParticipantHey still issue persist i have uploaded my source code which i am trying .
Check the logs once the view appear it ask the user for YES/NO and this is being processed as a speech text and taken as input.
Please check the source code on this link:
https://drive.google.com/file/d/0ByJ28nM_D2OgT25US2RUdE5jNDQ/edit?usp=sharing
March 14, 2014 at 9:46 am in reply to: OpenEars suspendRecognition not working in ViewDidAppear #1020523vinay.chopra@tresbu.comParticipantIn my case i have put a statement in view did appear that will ask a question to user in YES/NO
at this scenario the listening should be suspended but the logs says that device is listening something and it takes words as input from the text what it is speaking , so i want to separate the device speech and user’s speech .A snippet will be helpful :)
March 14, 2014 at 8:41 am in reply to: OpenEars suspendRecognition not working in ViewDidAppear #1020521vinay.chopra@tresbu.comParticipantBasically 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.
-
AuthorPosts