Reply To: No speech detection after a while, and then crash

Home Forums OpenEars Audio driver issues in combination with AirPlay Reply To: No speech detection after a while, and then crash

#11585
Ferm
Participant

It’s the latest, downloaded it today. But I think the old version from august was cached. Here’s a new reproduced log.

2012-10-12 16:31:01.510 MyApp[3295:1703] __43-[SpeechRecognizer enableVoiceRecognition:]_block_invoke_0 ———————– Starting
2012-10-12 16:31:01.517 MyApp[3295:1703] Starting OpenEars logging for OpenEars version {{{{1.2.2}}}} on device: iPhone running iOS version: 6.000000
2012-10-12 16:31:01.518 MyApp[3295:1703] 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-12 16:31:01.521 MyApp[3295:1703] The audio session has never been initialized so we will do that now.
2012-10-12 16:31:01.524 MyApp[3295:1703] Checking and resetting all audio session settings.
2012-10-12 16:31:01.527 MyApp[3295:1703] audioCategory is incorrect, we will change it.
2012-10-12 16:31:01.531 MyApp[3295:1703] audioCategory is now on the correct setting of kAudioSessionCategory_PlayAndRecord.
2012-10-12 16:31:01.544 MyApp[3295:1703] bluetoothInput is incorrect, we will change it.
2012-10-12 16:31:01.563 MyApp[3295:1703] bluetooth input is now on the correct setting of 1.
2012-10-12 16:31:01.571 MyApp[3295:1703] categoryDefaultToSpeaker is incorrect, we will change it.
2012-10-12 16:31:01.581 MyApp[3295:1703] CategoryDefaultToSpeaker is now on the correct setting of 1.
2012-10-12 16:31:01.585 MyApp[3295:1703] preferredBufferSize is incorrect, we will change it.
2012-10-12 16:31:01.601 MyApp[3295:1703] PreferredBufferSize is now on the correct setting of 0.128000.
2012-10-12 16:31:01.604 MyApp[3295:1703] preferredSampleRateCheck is incorrect, we will change it.
2012-10-12 16:31:01.606 MyApp[3295:1703] preferred hardware sample rate is now on the correct setting of 16000.000000.
2012-10-12 16:31:01.682 MyApp[3295:1703] AudioSessionManager startAudioSession has reached the end of the initialization.
2012-10-12 16:31:01.685 MyApp[3295:1703] Exiting startAudioSession.
2012-10-12 16:31:01.688 MyApp[3295:611b] Recognition loop has started
2012-10-12 16:31:01.690 MyApp[3295:1703] __43-[SpeechRecognizer enableVoiceRecognition:]_block_invoke_0 ———————– Starting finished
INFO: cmd_ln.c(706): Parsing command line:
\
-lm /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.languagemodel \
-dict /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.dic \
-hmm /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.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+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/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.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/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.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 /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.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 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

INFO: cmd_ln.c(706): 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 100
-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: acmod.c(250): Parsed model-specific feature parameters from /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/feat.params
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
INFO: acmod.c(171): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(517): Reading model definition: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/mdef
INFO: mdef.c(528): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/mdef
INFO: bin_mdef.c(513): 50 CI-phone, 143047 CD-phone, 3 emitstate/phone, 150 CI-sen, 5150 Sen, 27135 Sen-Seq
INFO: tmat.c(205): Reading HMM transition probability matrices: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/transition_matrices
INFO: acmod.c(125): Attempting to use SCHMM computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/means
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/variances
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(354): 0 variance values floored
INFO: s2_semi_mgau.c(995): Loading senones from dump file /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/sendump
INFO: s2_semi_mgau.c(1019): BEGIN FILE FORMAT DESCRIPTION
INFO: s2_semi_mgau.c(1114): Using memory-mapped I/O for senones
INFO: s2_semi_mgau.c(1391): Maximum top-N: 4 Top-N beams: 0 0 0
INFO: dict.c(317): Allocating 4110 * 20 bytes (80 KiB) for word entries
INFO: dict.c(332): Reading main dictionary: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.dic
INFO: dict.c(211): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(335): 3 words read
INFO: dict.c(341): Reading filler dictionary: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/noisedict
INFO: dict.c(211): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(344): 11 words read
INFO: dict2pid.c(400): Building PID tables for dictionary
INFO: dict2pid.c(408): Allocating 50^3 * 2 bytes (244 KiB) for word-initial triphones
INFO: dict2pid.c(135): Allocated 30200 bytes (29 KiB) for word-final triphones
INFO: dict2pid.c(199): Allocated 30200 bytes (29 KiB) for single-phone word triphones
INFO: ngram_model_arpa.c(488): ngrams 1=4, 2=4, 3=2
INFO: ngram_model_arpa.c(143): Reading unigrams
INFO: ngram_model_arpa.c(528): 4 = #unigrams created
INFO: ngram_model_arpa.c(204): Reading bigrams
INFO: ngram_model_arpa.c(547): 4 = #bigrams created
INFO: ngram_model_arpa.c(548): 3 = #prob2 entries
INFO: ngram_model_arpa.c(558): 3 = #bo_wt2 entries
INFO: ngram_model_arpa.c(302): Reading trigrams
INFO: ngram_model_arpa.c(573): 2 = #trigrams created
INFO: ngram_model_arpa.c(574): 2 = #prob3 entries
INFO: ngram_search_fwdtree.c(99): 2 unique initial diphones
INFO: ngram_search_fwdtree.c(147): 0 root, 0 non-root channels, 12 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(191): before: 0 root, 0 non-root channels, 12 single-phone words
INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 132
INFO: ngram_search_fwdtree.c(338): after: 2 root, 4 non-root channels, 11 single-phone words
INFO: ngram_search_fwdflat.c(167): fwdflat: min_ef_width = 4, max_sf_win = 25
2012-10-12 16:31:01.866 MyApp[3295:611b] Starting openAudioDevice on the device.
2012-10-12 16:31:01.868 MyApp[3295:611b] Audio unit wrapper successfully created.
2012-10-12 16:31:01.881 MyApp[3295:611b] Set audio route to AirTunes
2012-10-12 16:31:01.883 MyApp[3295:611b] Checking and resetting all audio session settings.
2012-10-12 16:31:01.886 MyApp[3295:611b] audioCategory is correct, we will leave it as it is.
2012-10-12 16:31:01.888 MyApp[3295:611b] bluetoothInput is correct, we will leave it as it is.
2012-10-12 16:31:01.890 MyApp[3295:611b] categoryDefaultToSpeaker is correct, we will leave it as it is.
2012-10-12 16:31:01.893 MyApp[3295:611b] preferredBufferSize is correct, we will leave it as it is.
2012-10-12 16:31:01.895 MyApp[3295:611b] preferredSampleRateCheck is correct, we will leave it as it is.
2012-10-12 16:31:01.896 MyApp[3295:611b] Setting the variables for the device and starting it.
2012-10-12 16:31:01.899 MyApp[3295:611b] Looping through ringbuffer sections and pre-allocating them.
2012-10-12 16:31:02.641 MyApp[3295:611b] Started audio output unit.
2012-10-12 16:31:02.647 MyApp[3295:611b] Calibration has started
2012-10-12 16:31:02.648 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidStartCalibration] Pocketsphinx calibration has started.
2012-10-12 16:31:04.881 MyApp[3295:611b] Calibration has completed
2012-10-12 16:31:04.882 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidCompleteCalibration] Pocketsphinx calibration is complete.
2012-10-12 16:31:04.885 MyApp[3295:611b] Project has these words in its dictionary:
BACK
NEXT
NEXT(2)

2012-10-12 16:31:04.886 MyApp[3295:611b] Listening.
2012-10-12 16:31:04.888 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidStartListening] Pocketsphinx is now listening.
2012-10-12 16:31:05.585 MyApp[3295:611b] Speech detected…
2012-10-12 16:31:05.587 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidDetectSpeech] Pocketsphinx has detected speech.
2012-10-12 16:31:07.103 MyApp[3295:611b] Stopping audio unit.
2012-10-12 16:31:07.103 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidDetectFinishedSpeech] Pocketsphinx has detected a second of silence, concluding an utterance.
2012-10-12 16:31:07.197 MyApp[3295:611b] Audio Output Unit stopped, cleaning up variable states.
2012-10-12 16:31:07.198 MyApp[3295:611b] Processing speech, please wait…
INFO: cmn_prior.c(121): cmn_prior_update: from
INFO: cmn_prior.c(139): cmn_prior_update: to
INFO: ngram_search_fwdtree.c(1549): 655 words recognized (8/fr)
INFO: ngram_search_fwdtree.c(1551): 4811 senones evaluated (62/fr)
INFO: ngram_search_fwdtree.c(1553): 1923 channels searched (24/fr), 148 1st, 1552 last
INFO: ngram_search_fwdtree.c(1557): 824 words for which last channels evaluated (10/fr)
INFO: ngram_search_fwdtree.c(1560): 72 candidate words for entering last phone (0/fr)
INFO: ngram_search_fwdtree.c(1562): fwdtree 0.08 CPU 0.108 xRT
INFO: ngram_search_fwdtree.c(1565): fwdtree 1.66 wall 2.132 xRT
INFO: ngram_search_fwdflat.c(316): Utterance vocabulary contains 3 words
INFO: ngram_search_fwdflat.c(951): 161 words recognized (2/fr)
INFO: ngram_search_fwdflat.c(953): 3444 senones evaluated (44/fr)
INFO: ngram_search_fwdflat.c(955): 1918 channels searched (24/fr)
INFO: ngram_search_fwdflat.c(957): 259 words searched (3/fr)
INFO: ngram_search_fwdflat.c(959): 125 word transitions (1/fr)
INFO: ngram_search_fwdflat.c(962): fwdflat 0.00 CPU 0.004 xRT
INFO: ngram_search_fwdflat.c(965): fwdflat 0.01 wall 0.007 xRT
INFO: ngram_search.c(1269): lattice start node .0 end node .61
INFO: ngram_search.c(1297): Eliminated 0 nodes before end node
INFO: ngram_search.c(1402): Lattice has 27 nodes, 24 links
INFO: ps_lattice.c(1367): Normalizer P(O) = alpha(:61:76) = -481875
INFO: ps_lattice.c(1405): Joint P(O,S) = -482050 P(S|O) = -175
INFO: ngram_search.c(891): bestpath 0.00 CPU 0.000 xRT
INFO: ngram_search.c(894): bestpath 0.00 wall 0.000 xRT
2012-10-12 16:31:07.208 MyApp[3295:611b] Pocketsphinx heard “BACK” with a score of (-175) and an utterance ID of 000000000.
The unpacked ternary operator evaluates as true in the HLW version of the nbest path->score assignment. If you are seeing this message at a time in which something buggy is happening, you might want to try opening ps_lattice.c and commenting out the HLW version of the math and replacing it with either one of the two commented-out versions that precede it.
2012-10-12 16:31:07.212 MyApp[3295:611b] Checking and resetting all audio session settings.
2012-10-12 16:31:07.212 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidReceiveNBestHypothesisArray:] hypothesisArray is (
{
Hypothesis = BACK;
Score = “-7318”;
}
)
2012-10-12 16:31:07.216 MyApp[3295:611b] audioCategory is correct, we will leave it as it is.
2012-10-12 16:31:07.218 MyApp[3295:611b] bluetoothInput is correct, we will leave it as it is.
2012-10-12 16:31:07.219 MyApp[3295:611b] categoryDefaultToSpeaker is correct, we will leave it as it is.
2012-10-12 16:31:07.220 MyApp[3295:611b] preferredBufferSize is correct, we will leave it as it is.
2012-10-12 16:31:07.222 MyApp[3295:611b] preferredSampleRateCheck is correct, we will leave it as it is.
2012-10-12 16:31:07.223 MyApp[3295:611b] Setting the variables for the device and starting it.
2012-10-12 16:31:07.224 MyApp[3295:611b] Looping through ringbuffer sections and pre-allocating them.
2012-10-12 16:31:07.379 MyApp[3295:611b] Started audio output unit.
2012-10-12 16:31:07.382 MyApp[3295:611b] Listening.
2012-10-12 16:31:07.383 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidStartListening] Pocketsphinx is now listening.

NO DETECTION HERE

2012-10-12 16:31:42.355 MyApp[3295:174f] __43-[SpeechRecognizer enableVoiceRecognition:]_block_invoke_046 ———————– Stopping
2012-10-12 16:31:42.385 MyApp[3295:611b] Stopping audio unit.
2012-10-12 16:31:42.493 MyApp[3295:611b] Audio Output Unit stopped, cleaning up variable states.
INFO: ngram_search_fwdtree.c(430): TOTAL fwdtree 0.08 CPU 0.109 xRT
INFO: ngram_search_fwdtree.c(433): TOTAL fwdtree 1.66 wall 2.159 xRT
INFO: ngram_search_fwdflat.c(185): TOTAL fwdflat 0.00 CPU 0.005 xRT
INFO: ngram_search_fwdflat.c(188): TOTAL fwdflat 0.01 wall 0.008 xRT
INFO: ngram_search.c(320): TOTAL bestpath 0.00 CPU 0.000 xRT
INFO: ngram_search.c(323): TOTAL bestpath 0.00 wall 0.000 xRT
2012-10-12 16:31:42.497 MyApp[3295:611b] This device is not recording, so first we will set its recording status to 0
2012-10-12 16:31:42.498 MyApp[3295:611b] The audio unit is running so we are going to dispose of its instance
2012-10-12 16:31:42.500 MyApp[3295:611b] No longer listening.
2012-10-12 16:31:42.502 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidStopListening] Pocketsphinx has stopped listening.
2012-10-12 16:31:42.572 MyApp[3295:174f] __43-[SpeechRecognizer enableVoiceRecognition:]_block_invoke_046 ———————– Stopping finished
2012-10-12 16:31:44.490 MyApp[3295:907] -[PDFPresentationView dealloc]: <PDFPresentationView: 0x20830d40; frame = (0 0; 320 568); autoresize = W+H; gestureRecognizers = ; layer = >
2012-10-12 16:31:44.492 MyApp[3295:907] -[PresentationBaseView dealloc]0
2012-10-12 16:31:44.497 MyApp[3295:907] -[PDFPresentationView dealloc]: <PDFPresentationView: 0x1f566950; frame = (0 0; 1280 720); clipsToBounds = YES; alpha = 0; autoresize = W+H; layer = >
2012-10-12 16:31:44.498 MyApp[3295:907] -[PresentationBaseView dealloc]1
2012-10-12 16:31:51.204 MyApp[3295:907] +[DocumentHelper documentTypeFromUrl:] pathExtension: pdf
2012-10-12 16:31:51.208 MyApp[3295:907] -[PresentationBaseView ensureExternalPresentationView]0 <ExternalScreenWindow: 0x1f538640; baseClass = UIWindow; frame = (0 0; 1280 720); layer = >
2012-10-12 16:31:51.217 MyApp[3295:907] -[PDFPresentationView configurePage:forIndex:]0 page index: 0, current 0
2012-10-12 16:31:51.221 MyApp[3295:907] -[PageScrollView setView:size:] Starting at zoomScale: 0.31, minimumZoomScale: 0.31
2012-10-12 16:31:51.271 MyApp[3295:907] -[PageScrollView setView:size:] Starting at zoomScale: 0.94, minimumZoomScale: 0.94
2012-10-12 16:31:51.722 MyApp[3295:1753] __43-[SpeechRecognizer enableVoiceRecognition:]_block_invoke_0 ———————– Starting
2012-10-12 16:31:51.725 MyApp[3295:1753] Starting OpenEars logging for OpenEars version {{{{1.2.2}}}} on device: iPhone running iOS version: 6.000000
2012-10-12 16:31:51.726 MyApp[3295:1753] 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-12 16:31:51.727 MyApp[3295:1753] The audio session has already been initialized but we will override its properties.
2012-10-12 16:31:51.727 MyApp[3295:1753] Checking and resetting all audio session settings.
2012-10-12 16:31:51.729 MyApp[3295:1753] audioCategory is correct, we will leave it as it is.
2012-10-12 16:31:51.730 MyApp[3295:1753] bluetoothInput is correct, we will leave it as it is.
2012-10-12 16:31:51.730 MyApp[3295:1753] categoryDefaultToSpeaker is correct, we will leave it as it is.
2012-10-12 16:31:51.732 MyApp[3295:1753] preferredBufferSize is correct, we will leave it as it is.
2012-10-12 16:31:51.733 MyApp[3295:1753] preferredSampleRateCheck is correct, we will leave it as it is.
2012-10-12 16:31:51.734 MyApp[3295:1753] AudioSessionManager startAudioSession has reached the end of the initialization.
2012-10-12 16:31:51.735 MyApp[3295:1753] Exiting startAudioSession.
2012-10-12 16:31:51.737 MyApp[3295:740b] Recognition loop has started
2012-10-12 16:31:51.737 MyApp[3295:1753] __43-[SpeechRecognizer enableVoiceRecognition:]_block_invoke_0 ———————– Starting finished
INFO: cmd_ln.c(706): Parsing command line:
\
-lm /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.languagemodel \
-dict /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.dic \
-hmm /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.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+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/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.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/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.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 /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.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 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

INFO: cmd_ln.c(706): 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 100
-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: acmod.c(250): Parsed model-specific feature parameters from /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/feat.params
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
INFO: acmod.c(171): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(517): Reading model definition: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/mdef
INFO: mdef.c(528): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/mdef
INFO: bin_mdef.c(513): 50 CI-phone, 143047 CD-phone, 3 emitstate/phone, 150 CI-sen, 5150 Sen, 27135 Sen-Seq
INFO: tmat.c(205): Reading HMM transition probability matrices: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/transition_matrices
INFO: acmod.c(125): Attempting to use SCHMM computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/means
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/variances
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(294): 256×13
INFO: ms_gauden.c(354): 0 variance values floored
INFO: s2_semi_mgau.c(995): Loading senones from dump file /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/sendump
INFO: s2_semi_mgau.c(1019): BEGIN FILE FORMAT DESCRIPTION
INFO: s2_semi_mgau.c(1114): Using memory-mapped I/O for senones
INFO: s2_semi_mgau.c(1391): Maximum top-N: 4 Top-N beams: 0 0 0
INFO: dict.c(317): Allocating 4110 * 20 bytes (80 KiB) for word entries
INFO: dict.c(332): Reading main dictionary: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/OpenEars-NextBack.dic
INFO: dict.c(211): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(335): 3 words read
INFO: dict.c(341): Reading filler dictionary: /var/mobile/Applications/A9B131F0-B601-4B62-A5EE-F0CBA6A9182E/MyApp.app/noisedict
INFO: dict.c(211): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(344): 11 words read
INFO: dict2pid.c(400): Building PID tables for dictionary
INFO: dict2pid.c(408): Allocating 50^3 * 2 bytes (244 KiB) for word-initial triphones
INFO: dict2pid.c(135): Allocated 30200 bytes (29 KiB) for word-final triphones
INFO: dict2pid.c(199): Allocated 30200 bytes (29 KiB) for single-phone word triphones
INFO: ngram_model_arpa.c(488): ngrams 1=4, 2=4, 3=2
INFO: ngram_model_arpa.c(143): Reading unigrams
INFO: ngram_model_arpa.c(528): 4 = #unigrams created
INFO: ngram_model_arpa.c(204): Reading bigrams
INFO: ngram_model_arpa.c(547): 4 = #bigrams created
INFO: ngram_model_arpa.c(548): 3 = #prob2 entries
INFO: ngram_model_arpa.c(558): 3 = #bo_wt2 entries
INFO: ngram_model_arpa.c(302): Reading trigrams
INFO: ngram_model_arpa.c(573): 2 = #trigrams created
INFO: ngram_model_arpa.c(574): 2 = #prob3 entries
INFO: ngram_search_fwdtree.c(99): 2 unique initial diphones
INFO: ngram_search_fwdtree.c(147): 0 root, 0 non-root channels, 12 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(191): before: 0 root, 0 non-root channels, 12 single-phone words
INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 132
INFO: ngram_search_fwdtree.c(338): after: 2 root, 4 non-root channels, 11 single-phone words
INFO: ngram_search_fwdflat.c(167): fwdflat: min_ef_width = 4, max_sf_win = 25
2012-10-12 16:31:51.845 MyApp[3295:740b] Starting openAudioDevice on the device.
2012-10-12 16:31:51.847 MyApp[3295:740b] Audio unit wrapper successfully created.
2012-10-12 16:31:51.854 MyApp[3295:740b] Set audio route to AirTunes
2012-10-12 16:31:51.855 MyApp[3295:740b] Checking and resetting all audio session settings.
2012-10-12 16:31:51.857 MyApp[3295:740b] audioCategory is correct, we will leave it as it is.
2012-10-12 16:31:51.858 MyApp[3295:740b] bluetoothInput is correct, we will leave it as it is.
2012-10-12 16:31:51.859 MyApp[3295:740b] categoryDefaultToSpeaker is correct, we will leave it as it is.
2012-10-12 16:31:51.862 MyApp[3295:740b] preferredBufferSize is correct, we will leave it as it is.
2012-10-12 16:31:51.863 MyApp[3295:740b] preferredSampleRateCheck is correct, we will leave it as it is.
2012-10-12 16:31:51.864 MyApp[3295:740b] Setting the variables for the device and starting it.
2012-10-12 16:31:51.865 MyApp[3295:740b] Looping through ringbuffer sections and pre-allocating them.
2012-10-12 16:31:57.485 MyApp[3295:740b] 16:31:57.485 AUIOClient_StartIO failed (2003329396)
2012-10-12 16:31:57.486 MyApp[3295:740b] Couldn’t start audio unit output: 2003329396
2012-10-12 16:31:57.486 MyApp[3295:740b] startRecording failed
2012-10-12 16:31:57.487 MyApp[3295:740b] Calibration has started
2012-10-12 16:31:57.487 MyApp[3295:907] -[SpeechRecognizer pocketSphinxContinuousSetupDidFail] Setting up the continuous recognition loop has failed for some reason, please turn on OPENEARSLOGGING in OpenEarsConfig.h to learn more.
2012-10-12 16:31:57.489 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidStartCalibration] Pocketsphinx calibration has started.
2012-10-12 16:31:59.723 MyApp[3295:740b] cont_ad_calib failed
2012-10-12 16:31:59.725 MyApp[3295:740b] Calibration has completed
2012-10-12 16:31:59.725 MyApp[3295:907] -[SpeechRecognizer pocketSphinxContinuousSetupDidFail] Setting up the continuous recognition loop has failed for some reason, please turn on OPENEARSLOGGING in OpenEarsConfig.h to learn more.
2012-10-12 16:31:59.727 MyApp[3295:740b] Project has these words in its dictionary:
BACK
NEXT
NEXT(2)

2012-10-12 16:31:59.727 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidCompleteCalibration] Pocketsphinx calibration is complete.
2012-10-12 16:31:59.729 MyApp[3295:740b] Listening.
2012-10-12 16:31:59.729 MyApp[3295:740b] cont_ad_read failed
2012-10-12 16:31:59.729 MyApp[3295:907] -[SpeechRecognizer pocketsphinxDidStartListening] Pocketsphinx is now listening.
2012-10-12 16:31:59.730 MyApp[3295:907] -[SpeechRecognizer pocketSphinxContinuousSetupDidFail] Setting up the continuous recognition loop has failed for some reason, please turn on OPENEARSLOGGING in OpenEarsConfig.h to learn more.
(lldb)