Reply To: [pocketsphinxController stopListening]error.

Home Forums OpenEars [pocketsphinxController stopListening]error. Reply To: [pocketsphinxController stopListening]error.

#1026325
sunnysuhappy
Participant

sorry,I devided it into two sections.this is the whole.this log is OpenEarsSampleApp’s Log,from a ‘Start Listening’ to ‘Stop Listening’.all I added is that opend the log switch.

2015-07-03 17:30:56.244 OpenEarsSampleApp[5196:1526295] Attempting to start listening session from startListeningWithLanguageModelAtPath:
2015-07-03 17:30:56.247 OpenEarsSampleApp[5196:1526295] User gave mic permission for this app.
2015-07-03 17:30:56.247 OpenEarsSampleApp[5196:1526295] setSecondsOfSilence wasn’t set, using default of 0.700000.
2015-07-03 17:30:56.248 OpenEarsSampleApp[5196:1526295] Successfully started listening session from startListeningWithLanguageModelAtPath:
2015-07-03 17:30:56.249 OpenEarsSampleApp[5196:1526309] Starting listening.
2015-07-03 17:30:56.249 OpenEarsSampleApp[5196:1526309] about to set up audio session
2015-07-03 17:30:56.251 OpenEarsSampleApp[5196:1526309] Creating audio session with default settings.
2015-07-03 17:30:56.292 OpenEarsSampleApp[5196:1526313] Audio route has changed for the following reason:
2015-07-03 17:30:56.294 OpenEarsSampleApp[5196:1526313] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2015-07-03 17:30:56.300 OpenEarsSampleApp[5196:1526313] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is —SpeakerMicrophoneBuiltIn—. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x17000c850,
inputs = (null);
outputs = (
“<AVAudioSessionPortDescription: 0x17000c750, type = Speaker; name = \U626c\U58f0\U5668; UID = Speaker; selectedDataSource = (null)>”
)>.
2015-07-03 17:30:56.523 OpenEarsSampleApp[5196:1526309] done starting audio unit
2015-07-03 17:30:56.558 OpenEarsSampleApp[5196:1526309] Restoring SmartCMN value of 41.135986
2015-07-03 17:30:56.558 OpenEarsSampleApp[5196:1526309] Listening.
2015-07-03 17:30:56.558 OpenEarsSampleApp[5196:1526309] Project has these words or phrases in its dictionary:
BACKWARD
CHANGE
FORWARD
GO
LEFT
MODEL
RIGHT
TURN
2015-07-03 17:30:56.559 OpenEarsSampleApp[5196:1526309] Recognition loop has started
2015-07-03 17:30:56.561 OpenEarsSampleApp[5196:1526295] Local callback: Pocketsphinx is now listening.
2015-07-03 17:30:56.562 OpenEarsSampleApp[5196:1526295] Local callback: Pocketsphinx started.
2015-07-03 17:30:57.475 OpenEarsSampleApp[5196:1526309] Speech detected…
2015-07-03 17:30:57.476 OpenEarsSampleApp[5196:1526295] Local callback: Pocketsphinx has detected speech.
2015-07-03 17:30:58.245 OpenEarsSampleApp[5196:1526295] Stopping listening.
2015-07-03 17:30:58.349 OpenEarsSampleApp[5196:1526295] Unable to stop listening because because an utterance is still in progress; trying again.
2015-07-03 17:30:58.368 OpenEarsSampleApp[5196:1526313] Audio route has changed for the following reason:
2015-07-03 17:30:58.372 OpenEarsSampleApp[5196:1526313] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2015-07-03 17:30:58.375 OpenEarsSampleApp[5196:1526313] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is —Speaker—. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x170201540,
inputs = (
“<AVAudioSessionPortDescription: 0x170201090, type = MicrophoneBuiltIn; name = iPhone \U9ea6\U514b\U98ce; UID = Built-In Microphone; selectedDataSource = \U4e0b>”
);
outputs = (
“<AVAudioSessionPortDescription: 0x17000c9b0, type = Speaker; name = \U626c\U58f0\U5668; UID = Speaker; selectedDataSource = (null)>”
)>.
2015-07-03 17:30:58.401 OpenEarsSampleApp[5196:1526295] Attempting to stop an unstopped utterance so listening can stop.
2015-07-03 17:30:58.418 OpenEarsSampleApp[5196:1526295] No longer listening.
2015-07-03 17:30:58.420 OpenEarsSampleApp[5196:1526295] Local callback: Pocketsphinx has stopped listening.