Home › Forums › OpenEars › Words not recognized › Reply To: Words not recognized
Thank you for your quick response.
Sorry About that. I turned on OELogging and turned verbose off for now. The log shows there seems to issue with audio routing through the bluetooth headset.
Finally it picket up the word ‘NO’ as default i guess. Please can help me out.
Thank you once again.
Record Permission Granted. Starting.
2016-06-29 17:08:03.875 app[4002:1552350] Creating shared instance of OEPocketsphinxController
2016-06-29 17:08:03.878 app[4002:1552350] Attempting to start listening session from startListeningWithLanguageModelAtPath:
2016-06-29 17:08:03.880 app[4002:1552350] User gave mic permission for this app.
2016-06-29 17:08:03.881 app[4002:1552350] setSecondsOfSilence wasn’t set, using default of 0.700000.
2016-06-29 17:08:03.884 app[4002:1552458] Starting listening.
2016-06-29 17:08:03.884 app[4002:1552458] About to set up audio session
2016-06-29 17:08:04.290 app[4002:1552458] Creating audio session with default settings.
2016-06-29 17:08:04.290 app[4002:1552458] Done setting audio session category.
2016-06-29 17:08:04.291 app[4002:1552458] Sample rate is already the preferred rate of 16000.000000 so not setting it.
2016-06-29 17:08:04.293 app[4002:1552458] number of channels is already the preferred number of 1 so not setting it.
2016-06-29 17:08:04.292 app[4002:1552439] Audio route has changed for the following reason:
2016-06-29 17:08:04.298 app[4002:1552458] Done setting session’s preferred I/O buffer duration to 0.128000 – now the actual buffer duration is 0.128000
2016-06-29 17:08:04.300 app[4002:1552458] Done setting up audio session
2016-06-29 17:08:04.298 app[4002:1552439] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2016-06-29 17:08:04.302 app[4002:1552458] About to set up audio IO unit in a session with a sample rate of 16000.000000, a channel number of 1 and a buffer duration of 0.128000.
2016-06-29 17:08:04.316 app[4002:1552439] This is not a case in which OpenEars notifies of a route change. At the close of this method, the new audio route will be <Input route or routes: “BluetoothHFP”. Output route or routes: “BluetoothHFP”>. The previous route before changing to this route was “<AVAudioSessionRouteDescription: 0x12dfa8c30,
inputs = (
“<AVAudioSessionPortDescription: 0x130543950, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = Front>”
);
outputs = (
“<AVAudioSessionPortDescription: 0x1302dee70, type = BluetoothA2DPOutput; name = Maven Co-Pilot; UID = 00:07:80:C3:A1:4C-tacl; selectedDataSource = (null)>”
)>”.
2016-06-29 17:08:04.320 app[4002:1552458] Done setting up audio unit
2016-06-29 17:08:04.321 app[4002:1552458] About to start audio IO unit
2016-06-29 17:08:04.321 app[4002:1552439] Audio route has changed for the following reason:
2016-06-29 17:08:04.766 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:04.893 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:05.021 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:05.150 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:05.278 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:05.406 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:05.533 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:05.662 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:05.789 app[4002:1552722] Audio Unit render error: kAudioUnitErr_CannotDoInCurrentContext
2016-06-29 17:08:05.797 app[4002:1552458] Done starting audio unit
2016-06-29 17:08:05.800 app[4002:1552439] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2016-06-29 17:08:05.833 app[4002:1552439] This is not a case in which OpenEars notifies of a route change. At the close of this method, the new audio route will be <Input route or routes: “BluetoothHFP”. Output route or routes: “BluetoothHFP”>. The previous route before changing to this route was “<AVAudioSessionRouteDescription: 0x12f2ec850,
inputs = (
“<AVAudioSessionPortDescription: 0x12df41640, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = Bottom>”
);
outputs = (
“<AVAudioSessionPortDescription: 0x12f231a00, type = Receiver; name = Receiver; UID = Built-In Receiver; selectedDataSource = (null)>”
)>”.
2016-06-29 17:08:05.918 app[4002:1552458] Restoring SmartCMN value of 31.968506
2016-06-29 17:08:05.918 app[4002:1552458] Listening.
2016-06-29 17:08:05.918 app[4002:1552458] Project has these words or phrases in its dictionary:
NO
OK
REPEAT
REPEAT(2)
REPLAY
YES
2016-06-29 17:08:05.919 app[4002:1552458] Recognition loop has started
2016-06-29 17:08:05.919 app[4002:1552350] Successfully started listening session from startListeningWithLanguageModelAtPath:
Pocketsphinx is now listening.
pocketsphinxRecognitionLoopDidStart
2016-06-29 17:08:08.877 app[4002:1552429] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:08:09.582 app[4002:1552604] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:08:09.599 app[4002:1552604] Pocketsphinx heard “” with a score of (0) and an utterance ID of 0.
2016-06-29 17:08:09.602 app[4002:1552604] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:08:14.417 app[4002:1552604] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:08:15.158 app[4002:1552604] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:08:15.172 app[4002:1552604] Pocketsphinx heard “” with a score of (-9021) and an utterance ID of 1.
2016-06-29 17:08:15.172 app[4002:1552604] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:08:16.638 app[4002:1552604] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:08:17.373 app[4002:1552604] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:08:17.391 app[4002:1552604] Pocketsphinx heard “” with a score of (-15018) and an utterance ID of 2.
2016-06-29 17:08:17.392 app[4002:1552604] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:08:25.405 app[4002:1552429] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:08:26.163 app[4002:1552604] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:08:26.166 app[4002:1552604] Pocketsphinx heard “” with a score of (-11047) and an utterance ID of 3.
2016-06-29 17:08:26.166 app[4002:1552604] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:08:26.442 app[4002:1552429] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:08:27.194 app[4002:1552429] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:08:27.208 app[4002:1552429] Pocketsphinx heard “” with a score of (-1) and an utterance ID of 4.
2016-06-29 17:08:27.208 app[4002:1552429] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:08:29.757 app[4002:1552604] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:08:30.562 app[4002:1552604] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:08:30.574 app[4002:1552604] Pocketsphinx heard “” with a score of (0) and an utterance ID of 5.
2016-06-29 17:08:30.575 app[4002:1552604] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:08:41.716 app[4002:1552429] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:08:42.431 app[4002:1552429] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:08:42.445 app[4002:1552429] Pocketsphinx heard “” with a score of (-1) and an utterance ID of 6.
2016-06-29 17:08:42.446 app[4002:1552429] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:09:12.181 app[4002:1552604] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:09:12.945 app[4002:1553034] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:09:12.949 app[4002:1553034] Pocketsphinx heard “” with a score of (-1) and an utterance ID of 7.
2016-06-29 17:09:12.949 app[4002:1553034] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:09:16.147 app[4002:1552873] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:09:16.912 app[4002:1552873] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:09:16.922 app[4002:1552873] Pocketsphinx heard “” with a score of (-1) and an utterance ID of 8.
2016-06-29 17:09:16.924 app[4002:1552873] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2016-06-29 17:09:23.559 app[4002:1552439] Audio route has changed for the following reason:
2016-06-29 17:09:23.566 app[4002:1552439] There was a route override.
2016-06-29 17:09:23.574 app[4002:1552439] This is not a case in which OpenEars notifies of a route change. At the close of this method, the new audio route will be <Input route or routes: “MicrophoneBuiltIn”. Output route or routes: “Receiver”>. The previous route before changing to this route was “<AVAudioSessionRouteDescription: 0x130500960,
inputs = (
“<AVAudioSessionPortDescription: 0x12f2c8be0, type = BluetoothHFP; name = Maven Co-Pilot; UID = 00:07:80:C3:A1:4C-tsco; selectedDataSource = (null)>”
);
outputs = (
“<AVAudioSessionPortDescription: 0x12f2e9460, type = BluetoothHFP; name = Maven Co-Pilot; UID = 00:07:80:C3:A1:4C-tsco; selectedDataSource = (null)>”
)>”.
2016-06-29 17:09:23.839 app[4002:1553016] Speech detected…
Pocketsphinx has detected speech.
2016-06-29 17:09:26.884 app[4002:1552873] End of speech detected…
Pocketsphinx has detected a period of silence, concluding an utterance.
2016-06-29 17:09:27.044 app[4002:1552873] Pocketsphinx heard “NO” with a score of (-229438) and an utterance ID of 9.
2016-06-29 17:09:27.046 app[4002:1552350] Stopping listening.
2016-06-29 17:09:27.472 app[4002:1552350] No longer listening.
recognizedSpeech
Heard: NO
Pocketsphinx has stopped listening.