Acoustic model issue in app

Home Forums OpenEars Acoustic model issue in app

Viewing 18 posts - 1 through 18 (of 18 total)

  • Author
    Posts
  • #11699
    Deepu
    Participant

    Hi Team,
    I’m using the latest version of the Openears in my app,As i’ve good memories n using the earlier versions,But now my problem is that my app crashes after waiting for some time.I’m successfully able to execute the statement [self.fliteController say:@”I already started with OpenEars” withVoice:self.slt];
    After this when the app tries to listen to the user’s response it fails.Please guide me if I’m left with including any additional files.I’m referencing the sample app attached with OpenEar’s.

    #11704
    Halle Winkler
    Politepix

    Hello,

    Which version of Xcode are you using?

    #11708
    Deepu
    Participant

    Thanks for the quick response.I’m using the Xcode 4.3.2

    #11709
    Deepu
    Participant

    Also the sample app provided along with the package is working fine for me,that is confusing me,I checked all the files and methods to know if I’m missing any elements but It is not.

    #11710
    Halle Winkler
    Politepix

    Thank you for confirming with me that the issue is not with the sample app, that would have started a huge round of re-testing.

    OK, there are a couple of possibilities. The first possibility is that your version of Xcode is too old or you are compiling with GCC rather than LLVM. The only fix for this is to use a recent Xcode and to use LLVM. The other possibility is that there is a problem with your integration into your app (I think this is more likely) so please just do the regular steps of turning on OpenEarsLogging and turning on verbosePocketSphinx and posting the output here. It’s very likely that your acoustic model simply wasn’t moved into your app and you are getting a crash when speech is attempted to be detected and there is no acoustic model, but this will be shown as an error in OpenEarsLogging so please turn it on.

    #11712
    Deepu
    Participant

    Thanks for the insight.I will check and get back to you.But mean while it will be helpful if you can tell how to enable the OpenEarLogging.
    Kind Regards,
    Deepu

    #11713
    Halle Winkler
    Politepix

    Right here: https://www.politepix.com/forums/topic/install-issues-and-their-solutions/

    It is also in the documentation and the FAQ if you need more info.

    #11730
    Deepu
    Participant

    I turned on OpenEar Logging & verbosePocketSphinx but still it crashes.Hereby attaching the log details.Hope this will help you in resolving the issue.

    2012-10-25 20:10:19.956 SaskPower[85011:10703] Starting dynamic language model generation
    2012-10-25 20:10:19.957 SaskPower[85011:10703] Able to open /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/Documents/OpenEarsDynamicGrammar.corpus for reading
    2012-10-25 20:10:19.958 SaskPower[85011:10703] Able to open /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/Documents/OpenEarsDynamicGrammar_pipe.txt for writing
    2012-10-25 20:10:19.958 SaskPower[85011:10703] Starting text2wfreq_impl
    2012-10-25 20:10:19.962 SaskPower[85011:10703] Done with text2wfreq_impl
    2012-10-25 20:10:19.963 SaskPower[85011:10703] Able to open /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/Documents/OpenEarsDynamicGrammar_pipe.txt for reading.
    2012-10-25 20:10:19.964 SaskPower[85011:10703] Able to open /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/Documents/OpenEarsDynamicGrammar.vocab for reading.
    2012-10-25 20:10:19.964 SaskPower[85011:10703] Starting wfreq2vocab
    2012-10-25 20:10:19.965 SaskPower[85011:10703] Done with wfreq2vocab
    2012-10-25 20:10:19.965 SaskPower[85011:10703] Starting text2idngram
    2012-10-25 20:10:19.970 SaskPower[85011:10703] Done with text2idngram
    2012-10-25 20:10:19.972 SaskPower[85011:10703] Starting idngram2lm
    sih_add WARNING: repeated hashing of ‘MAINTENANCE(2)’, older value will be overridden.
    sih_add WARNING: repeated hashing of ‘N’, older value will be overridden.
    sih_add WARNING: repeated hashing of ‘UH’, older value will be overridden.

    2012-10-25 20:10:19.976 SaskPower[85011:10703] Done with idngram2lm
    2012-10-25 20:10:19.977 SaskPower[85011:10703] Starting sphinx_lm_convert
    2012-10-25 20:10:19.980 SaskPower[85011:10703] Finishing sphinx_lm_convert
    2012-10-25 20:10:19.982 SaskPower[85011:10703] Done creating language model with CMUCLMTK in 0.025842 seconds.
    2012-10-25 20:10:20.015 SaskPower[85011:10703] The word A2 was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.015 SaskPower[85011:10703] Now using the fallback method to look up the word A2
    2012-10-25 20:10:20.016 SaskPower[85011:10703] Using convertGraphemes for the word or phrase A2 which doesn’t appear in the dictionary
    2012-10-25 20:10:20.018 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.050 SaskPower[85011:10703] The word AA was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.051 SaskPower[85011:10703] Now using the fallback method to look up the word AA
    2012-10-25 20:10:20.051 SaskPower[85011:10703] Using convertGraphemes for the word or phrase AA which doesn’t appear in the dictionary
    2012-10-25 20:10:20.052 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.081 SaskPower[85011:10703] The word ABX was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.082 SaskPower[85011:10703] Now using the fallback method to look up the word ABX
    2012-10-25 20:10:20.083 SaskPower[85011:10703] Using convertGraphemes for the word or phrase ABX which doesn’t appear in the dictionary
    2012-10-25 20:10:20.084 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.113 SaskPower[85011:10703] The word AO was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.114 SaskPower[85011:10703] Now using the fallback method to look up the word AO
    2012-10-25 20:10:20.115 SaskPower[85011:10703] Using convertGraphemes for the word or phrase AO which doesn’t appear in the dictionary
    2012-10-25 20:10:20.116 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.144 SaskPower[85011:10703] The word DH was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.145 SaskPower[85011:10703] Now using the fallback method to look up the word DH
    2012-10-25 20:10:20.147 SaskPower[85011:10703] Using convertGraphemes for the word or phrase DH which doesn’t appear in the dictionary
    2012-10-25 20:10:20.148 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.171 SaskPower[85011:10703] The word EY was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.172 SaskPower[85011:10703] Now using the fallback method to look up the word EY
    2012-10-25 20:10:20.172 SaskPower[85011:10703] Using convertGraphemes for the word or phrase EY which doesn’t appear in the dictionary
    2012-10-25 20:10:20.173 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.193 SaskPower[85011:10703] The word FOR2 was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.194 SaskPower[85011:10703] Now using the fallback method to look up the word FOR2
    2012-10-25 20:10:20.195 SaskPower[85011:10703] Using convertGraphemes for the word or phrase FOR2 which doesn’t appear in the dictionary
    2012-10-25 20:10:20.196 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.215 SaskPower[85011:10703] The word FOR3 was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.216 SaskPower[85011:10703] Now using the fallback method to look up the word FOR3
    2012-10-25 20:10:20.217 SaskPower[85011:10703] Using convertGraphemes for the word or phrase FOR3 which doesn’t appear in the dictionary
    2012-10-25 20:10:20.218 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.237 SaskPower[85011:10703] The word HH was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.238 SaskPower[85011:10703] Now using the fallback method to look up the word HH
    2012-10-25 20:10:20.239 SaskPower[85011:10703] Using convertGraphemes for the word or phrase HH which doesn’t appear in the dictionary
    2012-10-25 20:10:20.240 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.257 SaskPower[85011:10703] The word IH was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.258 SaskPower[85011:10703] Now using the fallback method to look up the word IH
    2012-10-25 20:10:20.262 SaskPower[85011:10703] Using convertGraphemes for the word or phrase IH which doesn’t appear in the dictionary
    2012-10-25 20:10:20.264 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.283 SaskPower[85011:10703] The word IY was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.284 SaskPower[85011:10703] Now using the fallback method to look up the word IY
    2012-10-25 20:10:20.285 SaskPower[85011:10703] Using convertGraphemes for the word or phrase IY which doesn’t appear in the dictionary
    2012-10-25 20:10:20.286 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.302 SaskPower[85011:10703] The word MAINTENANCE2 was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.303 SaskPower[85011:10703] Now using the fallback method to look up the word MAINTENANCE2
    2012-10-25 20:10:20.304 SaskPower[85011:10703] Using convertGraphemes for the word or phrase MAINTENANCE2 which doesn’t appear in the dictionary
    2012-10-25 20:10:20.305 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.319 SaskPower[85011:10703] The word NDH was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.320 SaskPower[85011:10703] Now using the fallback method to look up the word NDH
    2012-10-25 20:10:20.320 SaskPower[85011:10703] Using convertGraphemes for the word or phrase NDH which doesn’t appear in the dictionary
    2012-10-25 20:10:20.322 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.334 SaskPower[85011:10703] The word RENEWALI was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.335 SaskPower[85011:10703] Now using the fallback method to look up the word RENEWALI
    2012-10-25 20:10:20.335 SaskPower[85011:10703] Using convertGraphemes for the word or phrase RENEWALI which doesn’t appear in the dictionary
    2012-10-25 20:10:20.337 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.344 SaskPower[85011:10703] The word UW was not found in the dictionary /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/cmu07a.dic.
    2012-10-25 20:10:20.345 SaskPower[85011:10703] Now using the fallback method to look up the word UW
    2012-10-25 20:10:20.346 SaskPower[85011:10703] Using convertGraphemes for the word or phrase UW which doesn’t appear in the dictionary
    2012-10-25 20:10:20.347 SaskPower[85011:10703] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the default phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2012-10-25 20:10:20.349 SaskPower[85011:10703] I’m done running performDictionaryLookup and it took 0.361957 seconds
    2012-10-25 20:10:20.351 SaskPower[85011:10703] I’m done running dynamic language model generation and it took 372868820.351070 seconds
    2012-10-25 20:10:20.351 SaskPower[85011:10703] Dynamic language generator completed successfully, you can find your new files OpenEarsDynamicGrammar.DMP
    and
    OpenEarsDynamicGrammar.dic
    at the paths
    /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/Documents/OpenEarsDynamicGrammar.DMP
    and
    /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/Documents/OpenEarsDynamicGrammar.dic
    2012-10-25 20:10:20.352 SaskPower[85011:10703] A sample rate was requested that isn’t one of the two supported values of 16000 or 8000 so we will use the default of 16000.
    2012-10-25 20:10:20.352 SaskPower[85011:10703] The audio session has never been initialized so we will do that now.
    2012-10-25 20:10:20.353 SaskPower[85011:10703] Checking and resetting all audio session settings.
    2012-10-25 20:10:20.354 SaskPower[85011:10703] audioCategory is incorrect, we will change it.
    2012-10-25 20:10:20.354 SaskPower[85011:10703] audioCategory is now on the correct setting of kAudioSessionCategory_PlayAndRecord.
    2012-10-25 20:10:20.354 SaskPower[85011:10703] bluetoothInput is incorrect, we will change it.
    2012-10-25 20:10:20.355 SaskPower[85011:10703] bluetooth input is now on the correct setting of 1.
    2012-10-25 20:10:20.355 SaskPower[85011:10703] categoryDefaultToSpeaker is incorrect, we will change it.
    2012-10-25 20:10:20.356 SaskPower[85011:10703] CategoryDefaultToSpeaker is now on the correct setting of 1.
    2012-10-25 20:10:20.356 SaskPower[85011:10703] preferredBufferSize is incorrect, we will change it.
    2012-10-25 20:10:20.357 SaskPower[85011:10703] PreferredBufferSize is now on the correct setting of 0.128000.
    2012-10-25 20:10:20.357 SaskPower[85011:10703] preferredSampleRateCheck is incorrect, we will change it.
    2012-10-25 20:10:20.358 SaskPower[85011:10703] preferred hardware sample rate is now on the correct setting of 16000.000000.
    2012-10-25 20:10:20.358 SaskPower[85011:10703] AudioSessionManager startAudioSession has reached the end of the initialization.
    2012-10-25 20:10:20.359 SaskPower[85011:10703] Exiting startAudioSession.
    2012-10-25 20:10:20.359 SaskPower[85011:10703] The audio session has already been initialized but we will override its properties.
    2012-10-25 20:10:20.359 SaskPower[85011:13d03] Recognition loop has started
    INFO: cmd_ln.c(706): Parsing command line:
    \
    -lm /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/OpenEars1.languagemodel \
    -dict /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/OpenEars1.dic \
    -hmm /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app \
    -lw 6.500000 \
    -maxhmmpf 3000 \
    -samprate 16000

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -agc none none
    -agcthresh 2.0 2.000000e+00
    -alpha 0.97 9.700000e-01
    -argfile
    -ascale 20.0 2.000000e+012012-10-25 20:10:20.360 SaskPower[85011:10703] Checking and resetting all audio session settings.

    -aw 1 1
    -backtrace no no
    -beam 1e-48 1.000000e-48
    -bestpath yes yes
    -bestpathlw 9.5 9.500000e+00
    -bghist no no
    -ceplen 13 13
    -cmn current current
    -cmninit 8.0 8.0
    -compallsen no no
    -debug 0
    -dict /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/OpenEars1.dic
    -dictcase no no
    -dither no no
    -doublebw no no
    -ds 1 1
    -fdict
    -feat 1s_c_d_dd 1s_c_d_dd
    -featparams
    -fillprob 1e-8 1.000000e-08
    -frate 100 100
    -fsg
    -fsgusealtpron yes yes
    -fsgusefiller yes yes
    -fwdflat yes yes
    -fwdflatbeam 1e-64 1.000000e-64
    -fwdflatefwid 4 4
    -fwdflatlw 8.5 8.500000e+00
    -fwdflatsfwin 25 25
    -fwdflatwbeam 7e-29 7.000000e-29
    -fwdtree yes yes
    -hmm /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app
    -input_endian little little
    -jsgf
    -kdmaxbbi -1 -1
    -kdmaxdepth 0 0
    -kdtree
    -latsize 5000 5000
    -lda
    -ldadim 0 0
    -lextreedump 0 0
    -lifter 0 0
    -lm /Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app/OpenEars1.languagemodel
    -lmctl
    -lmname default default
    -logbase 1.0001 1.000100e+00
    -logfn
    -logspec no no
    -lowerf 133.33334 1.333333e+02
    -lpbeam 1e-40 1.000000e-40
    -lponlybeam 7e-29 2012-10-25 20:10:20.389 SaskPower[85011:10703] audioCategory is correct, we will leave it as it is.
    7.000000e-29
    -lw 6.5 6.500000e+00
    -maxhmmpf -1 3000
    -maxnewoov 20 20
    -maxwpf -1 -1
    -mdef
    -mean
    -mfclogdir
    -min_endfr 0 0
    -mixw
    -mixwfloor 0.0000001 1.000000e-07
    -mllr
    -mmap yes yes
    -ncep 13 13
    -nfft 512 512
    -nfilt 40 40
    -nwpen 1.0 1.000000e+00
    -pbeam 1e-48 1.000000e-48
    -pip 1.0 1.000000e+00
    -pl_beam 1e-10 1.000000e-10
    -pl_pbeam 1e-5 1.000000e-05
    -pl_window 0 0
    -rawlogdir
    -remove_dc no no
    -round_filters yes yes
    -samprate 16000 1.600000e+04
    -seed -1 -1
    -sendump
    -senlogdir
    -senmgau
    -silprob 0.005 5.000000e-03
    -smoothspec no no
    -svspec
    -tmat
    -tmatfloor 0.0001 1.000000e-04
    -topn 4 4
    -topn_beam 0 0
    -toprule
    -transform legacy legacy
    -unit_area yes yes
    -upperf 6855.4976 6.855498e+03
    -usewdphones no no
    -uw 1.0 1.000000e+00
    -var
    -varfloor 0.0001 1.000000e-04
    -varnorm no no
    -verbose no no
    -warp_params
    -warp_type inverse_linear inverse_linear
    -wbeam 7e-29 7.000000e-29
    -wip 0.65 6.500000e-01
    -wlen 0.025625 2.562500e-02

    2012-10-25 20:10:20.390 SaskPower[85011:10703] bluetoothInput is correct, we will leave it as it is.
    2012-10-25 20:10:20.391 SaskPower[85011:10703] categoryDefaultToSpeaker is correct, we will leave it as it is.
    2012-10-25 20:10:20.391 SaskPower[85011:10703] preferredBufferSize is correct, we will leave it as it is.
    2012-10-25 20:10:20.392 SaskPower[85011:10703] preferredSampleRateCheck is correct, we will leave it as it is.
    2012-10-25 20:10:20.392 SaskPower[85011:10703] AudioSessionManager startAudioSession has reached the end of the initialization.
    2012-10-25 20:10:20.393 SaskPower[85011:10703] Exiting startAudioSession.
    2012-10-25 20:10:20.394 SaskPower[85011:10703] I’m running flite
    2012-10-25 20:10:20.394 SaskPower[85011:10703] Checking and resetting all audio session settings.
    2012-10-25 20:10:20.395 SaskPower[85011:10703] audioCategory is correct, we will leave it as it is.
    2012-10-25 20:10:20.395 SaskPower[85011:10703] bluetoothInput is correct, we will leave it as it is.
    2012-10-25 20:10:20.396 SaskPower[85011:10703] categoryDefaultToSpeaker is correct, we will leave it as it is.
    INFO: feat.c(713): Initializing feature stream to type: ‘1s_c_d_dd’, ceplen=13, CMN=’current’, VARNORM=’no’, AGC=’none’
    INFO: cmn.c(142): mean[0]= 12.00, mean[1..12]= 0.0
    ERROR: “acmod.c”, line 91: Folder ‘/Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app’ does not contain acoustic model definition ‘mdef’
    2012-10-25 20:10:20.396 SaskPower[85011:10703] preferredBufferSize is correct, we will leave it as it is.
    2012-10-25 20:10:20.397 SaskPower[85011:10703] preferredSampleRateCheck is correct, we will leave it as it is.
    2012-10-25 20:10:20.396 SaskPower[85011:13d03] Starting openAudioDevice on the simulator. This Simulator-compatible audio driver is only provided to you as a convenience so you can use the Simulator to test recognition logic, however, its audio driver is not supported and bug reports for it will be circular-filed.
    2012-10-25 20:10:20.481 SaskPower[85011:13d03] Error loading /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn: dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    in /System/Library/Frameworks/Security.framework/Versions/A/Security
    2012-10-25 20:10:20.488 SaskPower[85011:13d03] Error loading /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn: dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    in /System/Library/Frameworks/Security.framework/Versions/A/Security
    2012-10-25 20:10:20.500 SaskPower[85011:10703] I’m done running flite and it took 0.106042 seconds
    2012-10-25 20:10:20.518 SaskPower[85011:13d03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    in /System/Library/Frameworks/Security.framework/Versions/A/Security
    2012-10-25 20:10:20.519 SaskPower[85011:10703] Flite audio player was nil when referenced so attempting to allocate a new audio player.
    2012-10-25 20:10:20.523 SaskPower[85011:10703] Loading speech data for Flite concluded successfully.
    2012-10-25 20:10:20.525 SaskPower[85011:13d03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    in /System/Library/Frameworks/Security.framework/Versions/A/Security
    2012-10-25 20:10:20.538 SaskPower[85011:13d03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    in /System/Library/Frameworks/Security.framework/Versions/A/Security
    2012-10-25 20:10:20.545 SaskPower[85011:13d03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    in /System/Library/Frameworks/Security.framework/Versions/A/Security
    2012-10-25 20:10:20.558 SaskPower[85011:13d03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    in /System/Library/Frameworks/Security.framework/Versions/A/Security
    2012-10-25 20:10:20.565 SaskPower[85011:13d03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
    Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    in /System/Library/Frameworks/Security.framework/Versions/A/Security
    2012-10-25 20:10:22.142 SaskPower[85011:13d03] Calibration has started
    2012-10-25 20:10:22.154 SaskPower[85011:10703] Pocketsphinx is starting up.
    2012-10-25 20:10:22.155 SaskPower[85011:10703] Flite sending suspend recognition notification.
    2012-10-25 20:10:22.156 SaskPower[85011:10703] Pocketsphinx calibration has started.
    2012-10-25 20:10:22.156 SaskPower[85011:10703] Flite has started speaking
    2012-10-25 20:10:24.344 SaskPower[85011:13d03] Calibration has completed
    2012-10-25 20:10:24.344 SaskPower[85011:10703] Pocketsphinx calibration is complete.
    2012-10-25 20:10:24.345 SaskPower[85011:13d03] Project has these words in its dictionary:
    BACKWARD
    CHANGE
    FORWARD
    GO
    LEFT
    MODEL
    RIGHT
    TURN
    2012-10-25 20:10:24.345 SaskPower[85011:10703] I’m running flite
    2012-10-25 20:10:24.346 SaskPower[85011:10703] Checking and resetting all audio session settings.
    2012-10-25 20:10:24.346 SaskPower[85011:13d03] Listening.
    2012-10-25 20:10:24.346 SaskPower[85011:10703] audioCategory is correct, we will leave it as it is.
    2012-10-25 20:10:24.347 SaskPower[85011:10703] bluetoothInput is correct, we will leave it as it is.
    2012-10-25 20:10:24.347 SaskPower[85011:10703] categoryDefaultToSpeaker is correct, we will leave it as it is.
    2012-10-25 20:10:24.347 SaskPower[85011:10703] preferredBufferSize is correct, we will leave it as it is.
    2012-10-25 20:10:24.348 SaskPower[85011:10703] preferredSampleRateCheck is correct, we will leave it as it is.
    2012-10-25 20:10:24.394 SaskPower[85011:10703] I’m done running flite and it took 0.048268 seconds
    2012-10-25 20:10:24.395 SaskPower[85011:10703] Pocketsphinx is now listening.
    2012-10-25 20:10:24.395 SaskPower[85011:10703] Flite sending suspend recognition notification.
    2012-10-25 20:10:24.396 SaskPower[85011:10703] Flite has started speaking
    2012-10-25 20:10:24.489 SaskPower[85011:10703] AVAudioPlayer did finish playing with success flag of 1
    2012-10-25 20:10:24.642 SaskPower[85011:10703] Flite sending resume recognition notification.
    2012-10-25 20:10:25.144 SaskPower[85011:10703] Flite has finished speaking

    #11731
    Deepu
    Participant

    One more thing is I checked my compiler it is LLVM 3.1 & My Xcode version is 4.3.2

    #11732
    Halle Winkler
    Politepix

    Your acoustic model isn’t in your app:

    ERROR: “acmod.c”, line 91: Folder ‘/Users/c5163090/Library/Application Support/iPhone Simulator/5.1/Applications/45AFBC47-26D1-4BA0-A26A-F9722E4BC34C/SaskPower.app’ does not contain acoustic model definition ‘mdef’

    #11733
    Halle Winkler
    Politepix

    BTW, please don’t test recognition on the Simulator.

    #11734
    Deepu
    Participant

    Also I uses ARC in my app.Wether this will create an issue

    #11735
    Deepu
    Participant

    Ok How should I include the acoustic model?

    #11736
    Halle Winkler
    Politepix

    No, no issue with ARC, you just need to make sure that the contents of the Framework folder are all really added to your app. From the tutorial:

    “Inside your downloaded OpenEars distribution there is a folder called “Frameworks”. Drag that folder into your app project in Xcode. Make absolutely sure that in the add dialog “Create groups for any added folders” is selected and NOT “Create folder references for any added folders” because the wrong setting here will prevent your app from working.”

    #11737
    Halle Winkler
    Politepix

    This happens because the Framework folder wasn’t dragged in to the app or because it was dragged in to the app with “Create folder references for any added folders” selected.

    #11738
    Deepu
    Participant

    Thanks very much Halle.Its working perfectly fine now.Thanks for your quick feedback.It was all about the wrong way in which I added the folder “Framework” on to the app

    #11739
    Halle Winkler
    Politepix

    Super, glad to hear everything is working for you.

    #11741
    Deepu
    Participant

    Thanks man.Actually we are doing a POC now,but if it is through there is a chance that we have to proceed with your live voice-speech interpretation,that time will get back to you with what all things I require to do,and any purchase things etc.
    For the time being thanks very much for your instant help.
    Regards,
    Deepu

Viewing 18 posts - 1 through 18 (of 18 total)
  • You must be logged in to reply to this topic.