Reply To: ConvertInput error in pocketsphinxDidReceiveHypothesis

Home Forums OpenEars ConvertInput error in pocketsphinxDidReceiveHypothesis Reply To: ConvertInput error in pocketsphinxDidReceiveHypothesis

#11610
cgunn
Participant

OK, I’ve done what you suggested, but first, something didn’t paste correctly in my earlier message, because it got the angle brackets confused with html brackets. The line
@interface Speech : NSObject
should have shown as

@interface Speech : NSObject {OpenEarsEventsObserverDelegate, AVAudioPlayerDelegate}

(except replace the braces with angle brackets).

A search for AudioSession revealed the two methods: audioSessionInterruptionDidBegin and audioSessionInterruptionDidEnd, but commenting them out didn’t fix the problem. Here is the output:

2012-10-14 15:36:19.525 RR[66801:c07] VC Pocketsphinx calibration is complete.
2012-10-14 15:36:19.526 RR[66801:c07] Speech: Pocketsphinx calibration is complete.
2012-10-14 15:36:28.107 RR[66801:1f07] Speech detected…
2012-10-14 15:36:29.864 RR[66801:1f07] Processing speech, please wait…
2012-10-14 15:36:29.869 RR[66801:1f07] Pocketsphinx heard “START” with a score of (-1557) and an utterance ID of 000000000.
2012-10-14 15:36:29.870 RR[66801:c07] The received hypothesis is START with a score of -1557 and an ID of 000000000

— here i make a call to my dummy() function – (void) dummy { NSLog(@”dummy”);} —

2012-10-14 15:36:40.707 RR[66801:1f07] aq@0x9671000: ConvertInput using invalid anchor time
Error -66681: Unable to start the Audio Queue.
2012-10-14 15:36:40.708 RR[66801:1f07] Listening.
2012-10-14 15:36:40.708 RR[66801:c07] dummy