Forum Replies Created
-
AuthorPosts
-
zhouseanParticipant
Yes, I installed using the tutorial instructions.
Actually the issue is resolved. The linker errors are in the tests build target in the sample app. After deleting the tests target, the sample app builds fine with SaveThatWaveDemo.
zhouseanParticipantJust followed the instructions on the web site,
https://www.politepix.com/savethatwave/1. Open up the OpenEars™ Sample App in Xcode. Drag your downloaded SaveThatWaveDemo.framework into the OpenEars™ sample app project file navigator.
2. Open up the Build Settings tab of your app or OpenEarsSampleApp and find the entry “Other Linker Flags” and add the linker flag “-ObjC”. Do this for debug and release builds.zhouseanParticipantNo, I haven’t tried the VoiceChat audio mode. I actually don’t know anything about this mode. Could you give a bit more details about it?
zhouseanParticipantThanks Halle.
It we cannot use score, is there anyway to dynamically recalibrate OpenEars to the changing background?
zhouseanParticipantMy main goal is to improve the recognition accuracy in a noisy environment. Between Rejecto or RuleORama, which one is your recommendation?
zhouseanParticipantMy tests show that the Slt goes to the car audio if it was set to speak via the phone earpiece and the phone is connected to car bluetooth. The Slt doesn’t go to the car audio if it was set to speak via the phone’s loud speaker.
I have another framework in my app which has a delegate method to set the loud speaker status.
zhouseanParticipantOK, I think I found where these settings are.
[[OEPocketsphinxController sharedInstance] setVadThreshold:0.5];
[[OEPocketsphinxController sharedInstance] setLatencyTuning: 1];And this is what I see at the header file.
/**Speech/Silence threshhold setting. You may not need to make any changes to this, however, if you are experiencing quiet background noises triggering speech recognition, you can raise this to a value from 2-5 to 3.5 for the English acoustic model, and between 3.0 and 4.5 for the Spanish acoustic model. If you are experiencing too many words being ignored you can reduce this. The maximum value is 5.0 and the minimum is .5. For the English model, values less than 1.5 or more than 3.5 are likely to lead to poor results. For the Spanish model, higher values can be used. Please test any changes here carefully to see what effect they have on your user experience.*/
@property (nonatomic, assign) float vadThreshold;I guess I will try to set it to 3.5?
zhouseanParticipantActually, I was not able to find vadThreshold. And how to set setLatencyTunning? Do you have a document about the parameters?
zhouseanParticipantHalle, I meant 40% of battery used by all apps. With my app running, the battery will not last 24 hours. It is almost completely drained in the late afternoon.
I will try to tune vadThreshold.
January 20, 2015 at 4:18 am in reply to: After installing RapidEars, words in the vocabulary are not recognized any more #1024439zhouseanParticipantAfter upgrading to OpenEars 2.03, the problem disappeared. Thanks Halle!
January 19, 2015 at 2:36 am in reply to: After installing RapidEars, words in the vocabulary are not recognized any more #1024408zhouseanParticipantHere is a more complete log file. I didn’t see any RapidEars settings. Delegate methods I used the following two:
– (void) rapidEarsDidReceiveLiveSpeechHypothesis:(NSString *)hypothesis recognitionScore:(NSString *)recognitionScore {
NSLog(@”rapidEarsDidReceiveLiveSpeechHypothesis: %@”,hypothesis);
}– (void) rapidEarsDidReceiveFinishedSpeechHypothesis:(NSString *)hypothesis recognitionScore:(NSString *)recognitionScore {
NSLog(@”rapidEarsDidReceiveFinishedSpeechHypothesis: %@”,hypothesis);
}============== log starts here =================
Jan 18 20:32:53 Salsa6 MaydayApp[8876] <Notice>: Debugger is attached. Unhandled Crash Reporting is disabled!
2015-01-18 20:32:53.136 MaydayApp[8876:3610405] Starting OpenEars logging for OpenEars version 2.0 on 64-bit device (or build): iPhone running iOS version: 8.100000
2015-01-18 20:32:53.228 MaydayApp[8876:3610405] I’m done running performDictionaryLookup and it took 0.044007 seconds
2015-01-18 20:32:53.238 MaydayApp[8876:3610405] Starting dynamic language model generation2015-01-18 20:32:53.306 MaydayApp[8876:3610405] Done creating language model with CMUCLMTK in 0.067565 seconds.
2015-01-18 20:32:53.310 MaydayApp[8876:3610405] I’m done running dynamic language model generation and it took 0.169273 seconds
2015-01-18 20:32:53.311 MaydayApp[8876:3610405] Creating shared instance of OEPocketsphinxController
2015-01-18 20:32:53.335 MaydayApp[8876:3610405] Attempting to start listening session from startRealtimeListeningWithLanguageModelAtPath:
2015-01-18 20:32:53.349 MaydayApp[8876:3610405] User gave mic permission for this app.
2015-01-18 20:32:53.350 MaydayApp[8876:3610405] setSecondsOfSilence wasn’t set, using default of 0.700000.
2015-01-18 20:32:53.351 MaydayApp[8876:3610405] Successfully started listening session from startRealtimeListeningWithLanguageModelAtPath:
2015-01-18 20:32:53.352 MaydayApp[8876:3610515] Starting listening.
2015-01-18 20:32:53.352 MaydayApp[8876:3610515] about to set up audio session
2015-01-18 20:32:53.710 MaydayApp[8876:3610519] Audio route has changed for the following reason:
2015-01-18 20:32:53.714 MaydayApp[8876:3610519] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2015-01-18 20:32:53.955 MaydayApp[8876:3610515] done starting audio unit
2015-01-18 20:32:53.959 MaydayApp[8876:3610519] 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: 0x170217b10,
inputs = (null);
outputs = (
“<AVAudioSessionPortDescription: 0x170217970, type = Speaker; name = Speaker; UID = Speaker; selectedDataSource = (null)>”
)>.
2015-01-18 20:32:54.069 MaydayApp[8876:3610515] There was no previous CMN value in the plist so we are using the fresh CMN value 42.000000.
2015-01-18 20:32:54.069 MaydayApp[8876:3610515] Listening.
2015-01-18 20:32:54.070 MaydayApp[8876:3610515] Project has these words or phrases in its dictionary:
___REJ_AA
___REJ_AE
___REJ_AH
___REJ_AO
___REJ_AW
___REJ_AY
___REJ_B
___REJ_CH
___REJ_D
___REJ_DH
___REJ_EH
___REJ_ER
___REJ_EY
___REJ_F
___REJ_G
___REJ_HH
___REJ_IH
___REJ_IY
___REJ_JH
___REJ_K
___REJ_L
___REJ_M
___REJ_N
___REJ_NG
___REJ_OW
___REJ_OY
___REJ_P
___REJ_R
___REJ_S
___REJ_SH
___REJ_T
…and 16 more.
2015-01-18 20:32:54.071 MaydayApp[8876:3610515] Recognition loop has started
2015-01-18 20:32:54.326 MaydayApp[8876:3610405] Pocketsphinx is now listening.
2015-01-18 20:32:54.346 MaydayApp[8876:3610509] Entering Open
2015-01-18 20:32:54.348 MaydayApp[8876:3610509] [ENTRY] -[ELM327 initScanTool] (97)
2015-01-18 20:32:54.349 MaydayApp[8876:3610509] [INFO] -[ELM327 initScanTool] (99): Initializing ELM327
2015-01-18 20:32:54.351 MaydayApp[8876:3610509] [DEBUG] -[ELM327 initScanTool] (108): _inputStream status = 00000001
2015-01-18 20:32:54.352 MaydayApp[8876:3610509] [DEBUG] -[ELM327 initScanTool] (109): _outputStream status = 00000001
2015-01-18 20:32:54.484 MaydayApp[8876:3610405] [INFO] -[FirstViewController scanDidStart:] (365): STARTED SCAN
2015-01-18 20:32:57.953 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:32:57.953 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:32:57.953 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:32:57.953 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:32:57.954 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:32:57.955 MaydayApp[8876:3610478] Pocketsphinx heard ” ” with a score of (-2151) and an utterance ID of 0.
2015-01-18 20:32:57.955 MaydayApp[8876:3610478] 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.
2015-01-18 20:32:57.968 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-2601) and an utterance ID of 1.
2015-01-18 20:32:57.968 MaydayApp[8876:3610515] 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.
2015-01-18 20:32:58.248 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:32:58.251 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:32:58.252 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-4130) and an utterance ID of 2.
2015-01-18 20:32:58.252 MaydayApp[8876:3610497] 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.
2015-01-18 20:32:58.253 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:32:58.253 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:32:58.254 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:32:58.269 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-4753) and an utterance ID of 3.
2015-01-18 20:32:58.270 MaydayApp[8876:3610515] 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.
2015-01-18 20:32:58.413 MaydayApp[8876:3610497] Speech detected…
2015-01-18 20:32:58.414 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:32:58.414 MaydayApp[8876:3610497] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:32:58.414 MaydayApp[8876:3610497] End of speech detected…
2015-01-18 20:32:58.414 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:32:58.414 MaydayApp[8876:3610478] Pocketsphinx heard ” ” with a score of (-2502) and an utterance ID of 4.
2015-01-18 20:32:58.415 MaydayApp[8876:3610478] 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.
2015-01-18 20:32:58.420 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-3210) and an utterance ID of 5.
2015-01-18 20:32:58.420 MaydayApp[8876:3610497] 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.
2015-01-18 20:33:00.739 MaydayApp[8876:3610497] Speech detected…
2015-01-18 20:33:00.739 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:00.739 MaydayApp[8876:3610497] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:00.740 MaydayApp[8876:3610497] End of speech detected…
2015-01-18 20:33:00.740 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:00.742 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-2353) and an utterance ID of 6.
2015-01-18 20:33:00.744 MaydayApp[8876:3610515] 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.
2015-01-18 20:33:00.751 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-2973) and an utterance ID of 7.
2015-01-18 20:33:00.751 MaydayApp[8876:3610497] 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.
2015-01-18 20:33:00.982 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:00.982 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:00.982 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:00.982 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:00.983 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:00.983 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-1715) and an utterance ID of 8.
2015-01-18 20:33:00.983 MaydayApp[8876:3610497] 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.
2015-01-18 20:33:00.991 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-2474) and an utterance ID of 9.
2015-01-18 20:33:00.992 MaydayApp[8876:3610515] 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.
2015-01-18 20:33:01.238 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:01.239 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:01.239 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:01.240 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:01.241 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:01.242 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-2075) and an utterance ID of 10.
2015-01-18 20:33:01.242 MaydayApp[8876:3610497] 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.
2015-01-18 20:33:01.249 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-2515) and an utterance ID of 11.
2015-01-18 20:33:01.249 MaydayApp[8876:3610515] 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.
2015-01-18 20:33:01.506 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:01.506 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:01.507 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:01.507 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:01.507 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:01.509 MaydayApp[8876:3610478] Pocketsphinx heard ” ” with a score of (-3662) and an utterance ID of 12.
2015-01-18 20:33:01.514 MaydayApp[8876:3610478] 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.
2015-01-18 20:33:01.526 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-5026) and an utterance ID of 13.
2015-01-18 20:33:01.527 MaydayApp[8876:3610515] 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.
2015-01-18 20:33:02.918 MaydayApp[8876:3610497] Speech detected…
2015-01-18 20:33:02.921 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:02.926 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-1907) and an utterance ID of 14.
2015-01-18 20:33:02.926 MaydayApp[8876:3610515] 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.
2015-01-18 20:33:02.931 MaydayApp[8876:3610497] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:02.936 MaydayApp[8876:3610497] End of speech detected…
2015-01-18 20:33:02.938 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:02.957 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-2471) and an utterance ID of 15.
2015-01-18 20:33:02.965 MaydayApp[8876:3610497] 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.
2015-01-18 20:33:03.166 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:03.166 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:03.167 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:03.167 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:03.167 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:03.168 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-1430) and an utterance ID of 16.
2015-01-18 20:33:03.168 MaydayApp[8876:3610497] 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.
2015-01-18 20:33:03.176 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-1780) and an utterance ID of 17.
2015-01-18 20:33:03.176 MaydayApp[8876:3610515] 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.
2015-01-18 20:33:03.410 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:03.411 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:03.411 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:03.411 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:03.411 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:03.416 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-1808) and an utterance ID of 18.
2015-01-18 20:33:03.416 MaydayApp[8876:3610515] 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.
2015-01-18 20:33:03.417 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (0) and an utterance ID of 19.
2015-01-18 20:33:03.417 MaydayApp[8876:3610497] 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. -
AuthorPosts