Reply To: [pocketsphinxController stopListening]error.

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

#1026308
sunnysuhappy
Participant

This is start Log

2015-07-03 15:25:12.188 OpenEarsSampleApp[5125:1504786] Attempting to start listening session from startListeningWithLanguageModelAtPath:
2015-07-03 15:25:12.189 OpenEarsSampleApp[5125:1504786] User gave mic permission for this app.
2015-07-03 15:25:12.190 OpenEarsSampleApp[5125:1504786] setSecondsOfSilence wasn’t set, using default of 0.700000.
2015-07-03 15:25:12.191 OpenEarsSampleApp[5125:1504786] Successfully started listening session from startListeningWithLanguageModelAtPath:
2015-07-03 15:25:12.191 OpenEarsSampleApp[5125:1504806] Starting listening.
2015-07-03 15:25:12.192 OpenEarsSampleApp[5125:1504806] about to set up audio session
2015-07-03 15:25:12.194 OpenEarsSampleApp[5125:1504806] Creating audio session with default settings.
2015-07-03 15:25:12.238 OpenEarsSampleApp[5125:1504807] Audio route has changed for the following reason:
2015-07-03 15:25:12.242 OpenEarsSampleApp[5125:1504807] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2015-07-03 15:25:12.467 OpenEarsSampleApp[5125:1504806] done starting audio unit
2015-07-03 15:25:12.477 OpenEarsSampleApp[5125:1504807] 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: 0x170214830,
inputs = (null);
outputs = (
“<AVAudioSessionPortDescription: 0x170214920, type = Speaker; name = \U626c\U58f0\U5668; UID = Speaker; selectedDataSource = (null)>”
)>.
2015-07-03 15:25:12.496 OpenEarsSampleApp[5125:1504806] Restoring SmartCMN value of 45.180664
2015-07-03 15:25:12.496 OpenEarsSampleApp[5125:1504806] Listening.
2015-07-03 15:25:12.497 OpenEarsSampleApp[5125:1504806] Project has these words or phrases in its dictionary:
BACKWARD
CHANGE
FORWARD
GO
LEFT
MODEL
RIGHT
TURN
2015-07-03 15:25:12.497 OpenEarsSampleApp[5125:1504806] Recognition loop has started
2015-07-03 15:25:12.498 OpenEarsSampleApp[5125:1504786] Local callback: Pocketsphinx is now listening.
2015-07-03 15:25:12.499 OpenEarsSampleApp[5125:1504786] Local callback: Pocketsphinx started.
2015-07-03 15:25:13.671 OpenEarsSampleApp[5125:1504806] Speech detected…
2015-07-03 15:25:13.672 OpenEarsSampleApp[5125:1504786] Local callback: Pocketsphinx has detected speech.

This is Stop Log:

2015-07-03 15:25:13.871 OpenEarsSampleApp[5125:1504786] Stopping listening.
2015-07-03 15:25:14.020 OpenEarsSampleApp[5125:1504786] Unable to stop listening because because an utterance is still in progress; trying again.
2015-07-03 15:25:14.041 OpenEarsSampleApp[5125:1504807] Audio route has changed for the following reason:
2015-07-03 15:25:14.044 OpenEarsSampleApp[5125:1504807] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2015-07-03 15:25:14.046 OpenEarsSampleApp[5125:1504807] 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: 0x174018040,
inputs = (
“<AVAudioSessionPortDescription: 0x1740165b0, type = MicrophoneBuiltIn; name = iPhone \U9ea6\U514b\U98ce; UID = Built-In Microphone; selectedDataSource = \U4e0b>”
);
outputs = (
“<AVAudioSessionPortDescription: 0x174018d20, type = Speaker; name = \U626c\U58f0\U5668; UID = Speaker; selectedDataSource = (null)>”
)>.
2015-07-03 15:25:14.071 OpenEarsSampleApp[5125:1504786] Attempting to stop an unstopped utterance so listening can stop.
2015-07-03 15:25:14.079 OpenEarsSampleApp[5125:1504786] No longer listening.
2015-07-03 15:25:14.081 OpenEarsSampleApp[5125:1504786] Local callback: Pocketsphinx has stopped listening.