Home › Forums › OpenEars › Wake-up word › Reply To: Wake-up word
And this is the crash log with more words in the dictionary. Sorry :)
2014-01-30 21:53:55.154 openEarsTest[1800:60b] Starting OpenEars logging for OpenEars version 1.65 on 32-bit device: iPad running iOS version: 7.000000
2014-01-30 21:53:55.160 openEarsTest[1800:60b] Normalized array contains the following entries:
(
OKDEAR,
OKRAINDEER,
OKJOE,
OKCRASH
)
2014-01-30 21:53:55.206 openEarsTest[1800:60b] Starting dynamic language model generation
2014-01-30 21:53:55.211 openEarsTest[1800:60b] Able to open /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles.corpus for reading
2014-01-30 21:53:55.214 openEarsTest[1800:60b] Able to open /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles_pipe.txt for writing
2014-01-30 21:53:55.215 openEarsTest[1800:60b] Starting text2wfreq_impl
2014-01-30 21:53:55.228 openEarsTest[1800:60b] Done with text2wfreq_impl
2014-01-30 21:53:55.230 openEarsTest[1800:60b] Able to open /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles_pipe.txt for reading.
2014-01-30 21:53:55.232 openEarsTest[1800:60b] Able to open /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles.vocab for reading.
2014-01-30 21:53:55.233 openEarsTest[1800:60b] Starting wfreq2vocab
2014-01-30 21:53:55.235 openEarsTest[1800:60b] Done with wfreq2vocab
2014-01-30 21:53:55.236 openEarsTest[1800:60b] Starting text2idngram
2014-01-30 21:53:55.253 openEarsTest[1800:60b] Done with text2idngram
2014-01-30 21:53:55.257 openEarsTest[1800:60b] Starting idngram2lm
2014-01-30 21:53:55.265 openEarsTest[1800:60b] Done with idngram2lm
2014-01-30 21:53:55.266 openEarsTest[1800:60b] Starting sphinx_lm_convert
2014-01-30 21:53:55.273 openEarsTest[1800:60b] Finishing sphinx_lm_convert
2014-01-30 21:53:55.279 openEarsTest[1800:60b] Done creating language model with CMUCLMTK in 0.071863 seconds.
2014-01-30 21:53:55.373 openEarsTest[1800:60b] The word OKCRASH was not found in the dictionary /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/LanguageModelGeneratorLookupList.text/LanguageModelGeneratorLookupList.text.
2014-01-30 21:53:55.374 openEarsTest[1800:60b] Now using the fallback method to look up the word OKCRASH
2014-01-30 21:53:55.375 openEarsTest[1800:60b] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the English 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.
2014-01-30 21:53:55.380 openEarsTest[1800:60b] Using convertGraphemes for the word or phrase OKCRASH which doesn’t appear in the dictionary
2014-01-30 21:53:55.481 openEarsTest[1800:60b] The word OKDEAR was not found in the dictionary /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/LanguageModelGeneratorLookupList.text/LanguageModelGeneratorLookupList.text.
2014-01-30 21:53:55.482 openEarsTest[1800:60b] Now using the fallback method to look up the word OKDEAR
2014-01-30 21:53:55.483 openEarsTest[1800:60b] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the English 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.
2014-01-30 21:53:55.484 openEarsTest[1800:60b] Using convertGraphemes for the word or phrase OKDEAR which doesn’t appear in the dictionary
2014-01-30 21:53:55.569 openEarsTest[1800:60b] The word OKJOE was not found in the dictionary /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/LanguageModelGeneratorLookupList.text/LanguageModelGeneratorLookupList.text.
2014-01-30 21:53:55.570 openEarsTest[1800:60b] Now using the fallback method to look up the word OKJOE
2014-01-30 21:53:55.571 openEarsTest[1800:60b] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the English 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.
2014-01-30 21:53:55.573 openEarsTest[1800:60b] Using convertGraphemes for the word or phrase OKJOE which doesn’t appear in the dictionary
2014-01-30 21:53:55.649 openEarsTest[1800:60b] The word OKRAINDEER was not found in the dictionary /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/LanguageModelGeneratorLookupList.text/LanguageModelGeneratorLookupList.text.
2014-01-30 21:53:55.650 openEarsTest[1800:60b] Now using the fallback method to look up the word OKRAINDEER
2014-01-30 21:53:55.651 openEarsTest[1800:60b] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the English 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.
2014-01-30 21:53:55.652 openEarsTest[1800:60b] Using convertGraphemes for the word or phrase OKRAINDEER which doesn’t appear in the dictionary
2014-01-30 21:53:55.662 openEarsTest[1800:60b] I’m done running performDictionaryLookup and it took 0.359341 seconds
2014-01-30 21:53:55.667 openEarsTest[1800:60b] I’m done running dynamic language model generation and it took 0.507939 seconds
2014-01-30 21:53:55.670 openEarsTest[1800:60b] Leaving sample rate at the default of 16000.
2014-01-30 21:53:55.672 openEarsTest[1800:60b] The audio session has never been initialized so we will do that now.
2014-01-30 21:53:55.673 openEarsTest[1800:60b] Checking and resetting all audio session settings.
2014-01-30 21:53:55.675 openEarsTest[1800:60b] audioCategory is incorrect, we will change it.
2014-01-30 21:53:55.679 openEarsTest[1800:60b] audioCategory is now on the correct setting of kAudioSessionCategory_PlayAndRecord.
2014-01-30 21:53:55.680 openEarsTest[1800:60b] bluetoothInput is incorrect, we will change it.
2014-01-30 21:53:55.681 openEarsTest[1800:60b] bluetooth input is now on the correct setting of 1.
2014-01-30 21:53:55.683 openEarsTest[1800:60b] Output Device: SpeakerAndMicrophone.
2014-01-30 21:53:55.684 openEarsTest[1800:60b] categoryDefaultToSpeaker is incorrect, we will change it.
2014-01-30 21:53:55.685 openEarsTest[1800:60b] CategoryDefaultToSpeaker is now on the correct setting of 1.
2014-01-30 21:53:55.687 openEarsTest[1800:60b] preferredBufferSize is incorrect, we will change it.
2014-01-30 21:53:55.688 openEarsTest[1800:60b] PreferredBufferSize is now on the correct setting of 0.128000.
2014-01-30 21:53:55.689 openEarsTest[1800:60b] preferredSampleRateCheck is incorrect, we will change it.
2014-01-30 21:53:55.690 openEarsTest[1800:60b] preferred hardware sample rate is now on the correct setting of 16000.000000.
2014-01-30 21:53:55.717 openEarsTest[1800:60b] AudioSessionManager startAudioSession has reached the end of the initialization.
2014-01-30 21:53:55.719 openEarsTest[1800:60b] Exiting startAudioSession.
2014-01-30 21:53:55.723 openEarsTest[1800:4107] setSecondsOfSilence value of 0.000000 was too large or too small or was NULL, using default of 0.700000.
2014-01-30 21:53:55.731 openEarsTest[1800:4107] Project has these words or phrases in its dictionary:
OKCRASH
OKDEAR
OKJOE
OKRAINDEER
2014-01-30 21:53:55.734 openEarsTest[1800:4107] Recognition loop has started
INFO: file_omitted(0): Parsing command line:
\
-lm /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles.DMP \
-dict /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles.dic \
-hmm /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle \
-lw 6.500000 \
-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+01
-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 /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles.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 /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle
-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 /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles.DMP
-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 7.000000e-29
-lw 6.5 6.500000e+00
-maxhmmpf -1 -1
-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
2014-01-30 21:53:55.737 openEarsTest[1800:60b] Audio route has changed for the following reason:
2014-01-30 21:53:55.753 openEarsTest[1800:60b] There has been a change of category
2014-01-30 21:53:55.756 openEarsTest[1800:60b] The previous audio route was Speaker
INFO: file_omitted(0): Parsing command line:
\
-nfilt 20 \
-lowerf 1 \
-upperf 4000 \
-wlen 0.025 \
-transform dct \
-round_filters no \
-remove_dc yes \
-svspec 0-12/13-25/26-38 \
-feat 1s_c_d_dd \
-agc none \
-cmn current \
-cmninit 47 \
-varnorm no
Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-alpha 0.97 9.700000e-01
-ceplen 13 13
-cmn current current
-cmninit 8.0 47
-dither no no
-doublebw no no
-feat 1s_c_d_dd 1s_c_d_dd
-frate 100 1002014-01-30 21:53:55.771 openEarsTest[1800:60b] This is not a case in which OpenEars performs a route change voluntarily. At the close of this function, the audio route is SpeakerAndMicrophone
-input_endian little little
-lda
-ldadim 0 0
-lifter 0 0
-logspec no no
-lowerf 133.33334 1.000000e+00
-ncep 13 13
-nfft 512 512
-nfilt 40 20
-remove_dc no yes
-round_filters yes no
-samprate 16000 1.600000e+04
-seed -1 -1
-smoothspec no no
-svspec 0-12/13-25/26-38
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 4.000000e+03
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wlen 0.025625 2.500000e-02
INFO: file_omitted(0): Parsed model-specific feature parameters from /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/feat.params
INFO: file_omitted(0): Initializing feature stream to type: ‘1s_c_d_dd’, ceplen=13, CMN=’current’, VARNORM=’no’, AGC=’none’
INFO: file_omitted(0): mean[0]= 12.00, mean[1..12]= 0.0
INFO: file_omitted(0): Using subvector specification 0-12/13-25/26-38
INFO: file_omitted(0): Reading model definition: /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/mdef
INFO: file_omitted(0): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: file_omitted(0): Reading binary model definition: /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/mdef
INFO: file_omitted(0): 50 CI-phone, 143047 CD-phone, 3 emitstate/phone, 150 CI-sen, 5150 Sen, 27135 Sen-Seq
INFO: file_omitted(0): Reading HMM transition probability matrices: /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/transition_matrices
INFO: file_omitted(0): Attempting to use SCHMM computation module
INFO: file_omitted(0): Reading mixture gaussian parameter: /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/means
INFO: file_omitted(0): 1 codebook, 3 feature, size:
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): Reading mixture gaussian parameter: /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/variances
INFO: file_omitted(0): 1 codebook, 3 feature, size:
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 0 variance values floored
INFO: file_omitted(0): Loading senones from dump file /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/sendump
INFO: file_omitted(0): BEGIN FILE FORMAT DESCRIPTION
INFO: file_omitted(0): Using memory-mapped I/O for senones
INFO: file_omitted(0): Maximum top-N: 4 Top-N beams: 0 0 0
INFO: file_omitted(0): Allocating 4111 * 20 bytes (80 KiB) for word entries
INFO: file_omitted(0): Reading main dictionary: /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/Library/Caches/NameIWantForMyLanguageModelFiles.dic
INFO: file_omitted(0): Allocated 0 KiB for strings, 0 KiB for phones
INFO: file_omitted(0): 4 words read
INFO: file_omitted(0): Reading filler dictionary: /var/mobile/Applications/13E4E949-1A48-411D-8F43-502908075A59/openEarsTest.app/AcousticModelEnglish.bundle/noisedict
INFO: file_omitted(0): Allocated 0 KiB for strings, 0 KiB for phones
INFO: file_omitted(0): 11 words read
INFO: file_omitted(0): Building PID tables for dictionary
INFO: file_omitted(0): Allocating 50^3 * 2 bytes (244 KiB) for word-initial triphones
INFO: file_omitted(0): Allocated 30200 bytes (29 KiB) for word-final triphones
INFO: file_omitted(0): Allocated 30200 bytes (29 KiB) for single-phone word triphones
INFO: file_omitted(0): No \data\ mark in LM file
INFO: file_omitted(0): Will use memory-mapped I/O for LM file
INFO: file_omitted(0): ngrams 1=6, 2=8, 3=4
INFO: file_omitted(0): 6 = LM.unigrams(+trailer) read
INFO: file_omitted(0): 8 = LM.bigrams(+trailer) read
INFO: file_omitted(0): 4 = LM.trigrams read
INFO: file_omitted(0): 3 = LM.prob2 entries read
INFO: file_omitted(0): 3 = LM.bo_wt2 entries read
INFO: file_omitted(0): 2 = LM.prob3 entries read
INFO: file_omitted(0): 1 = LM.tseg_base entries read
INFO: file_omitted(0): 6 = ascii word strings read
INFO: file_omitted(0): 2 unique initial diphones
INFO: file_omitted(0): 0 root, 0 non-root channels, 12 single-phone words
INFO: file_omitted(0): Creating search tree
INFO: file_omitted(0): before: 0 root, 0 non-root channels, 12 single-phone words
INFO: file_omitted(0): after: max nonroot chan increased to 141
INFO: file_omitted(0): after: 2 root, 13 non-root channels, 11 single-phone words
INFO: file_omitted(0): fwdflat: min_ef_width = 4, max_sf_win = 25
2014-01-30 21:53:55.906 openEarsTest[1800:4107] Starting openAudioDevice on the device.
2014-01-30 21:53:55.907 openEarsTest[1800:4107] Audio unit wrapper successfully created.
2014-01-30 21:53:55.915 openEarsTest[1800:4107] Set audio route to SpeakerAndMicrophone
2014-01-30 21:53:55.917 openEarsTest[1800:4107] There is no CMN plist so we are using the fresh CMN value 47.000000.
2014-01-30 21:53:55.918 openEarsTest[1800:4107] Checking and resetting all audio session settings.
2014-01-30 21:53:55.919 openEarsTest[1800:4107] audioCategory is correct, we will leave it as it is.
2014-01-30 21:53:55.921 openEarsTest[1800:4107] bluetoothInput is correct, we will leave it as it is.
2014-01-30 21:53:55.922 openEarsTest[1800:4107] Output Device: SpeakerAndMicrophone.
2014-01-30 21:53:55.923 openEarsTest[1800:4107] categoryDefaultToSpeaker is correct, we will leave it as it is.
2014-01-30 21:53:55.924 openEarsTest[1800:4107] preferredBufferSize is correct, we will leave it as it is.
2014-01-30 21:53:55.926 openEarsTest[1800:4107] preferredSampleRateCheck is correct, we will leave it as it is.
2014-01-30 21:53:55.927 openEarsTest[1800:4107] Setting the variables for the device and starting it.
2014-01-30 21:53:55.928 openEarsTest[1800:4107] Looping through ringbuffer sections and pre-allocating them.
2014-01-30 21:53:56.408 openEarsTest[1800:4107] Started audio output unit.
2014-01-30 21:53:56.410 openEarsTest[1800:4107] Calibration has started
2014-01-30 21:53:56.410 openEarsTest[1800:60b] Pocketsphinx calibration has started.
2014-01-30 21:53:58.615 openEarsTest[1800:4107] Calibration has completed
2014-01-30 21:53:58.615 openEarsTest[1800:60b] Pocketsphinx calibration is complete.
2014-01-30 21:53:58.617 openEarsTest[1800:4107] Listening.
2014-01-30 21:53:58.619 openEarsTest[1800:60b] Pocketsphinx is now listening.
(lldb) bt
* thread #5: tid = 0x55a56, 0x00127d18 openEarsTest`readBufferContents, stop reason = EXC_BAD_ACCESS (code=2, address=0x2a73fec)
frame #0: 0x00127d18 openEarsTest`readBufferContents
frame #1: 0x0012513c openEarsTest`cont_ad_read_internal + 184
frame #2: 0x00124cb0 openEarsTest`cont_ad_read + 200
frame #3: 0x0012b646 openEarsTest`-[ContinuousModel listeningForSpeechWithSleepTime:withSpeechData:andBuffer:] + 482
[….] identical frames 4-3470 removed.
frame #3471: 0x0012b702 openEarsTest`-[ContinuousModel listeningForSpeechWithSleepTime:withSpeechData:andBuffer:] + 670
frame #3472: 0x0012d880 openEarsTest`-[ContinuousModel listeningLoopWithLanguageModelAtPath:dictionaryAtPath:acousticModelAtPath:languageModelIsJSGF:] + 1196
frame #3473: 0x0013754c openEarsTest`-[PocketsphinxController startVoiceRecognitionThreadAutoreleasePoolWithArray:] + 1484
frame #3474: 0x30d01c36 Foundation`__NSThread__main__ + 1062
frame #3475: 0x3b0e8c5c libsystem_pthread.dylib`_pthread_body + 140
frame #3476: 0x3b0e8bce libsystem_pthread.dylib`_pthread_start + 102
(lldb)