Reply To: OpenEars doesn't stop recognition loop immediately on iPhone 4

Home Forums OpenEars OpenEars doesn't stop recognition loop immediately on iPhone 4 Reply To: OpenEars doesn't stop recognition loop immediately on iPhone 4

#1021141
Harz
Participant

2014-05-06 21:07:08.962 MyApp[4651:60b] otherApps (
“com.apple.mobilesafari”,
“com.youmi.FileMasterEN”
)
2014-05-06 21:07:17.950 MyApp[4651:60b] ‘Open Ears’ has been Initialized
2014-05-06 21:07:17.952 MyApp[4651:60b] Starting OpenEars logging for OpenEars version 1.7 on 32-bit device: iPhone running iOS version: 7.000000
2014-05-06 21:07:37.318 MyApp[4651:60b] Bundle Name : Model
2014-05-06 21:07:37.320 MyApp[4651:60b] OE Ext : Model Path is /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle
2014-05-06 21:07:37.321 MyApp[4651:60b] OE Ext : Model Path is /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle
2014-05-06 21:07:37.325 MyApp[4651:60b] Accuracy set to 20.
2014-05-06 21:07:37.327 MyApp[4651:60b] OE Ext : Model Path is /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle
2014-05-06 21:07:37.336 MyApp[4651:60b] User gave mic permission for this app.
2014-05-06 21:07:37.338 MyApp[4651:60b] setting sample rate to 16000
2014-05-06 21:07:37.339 MyApp[4651:60b] The audio session has never been initialized so we will do that now.
2014-05-06 21:07:37.339 MyApp[4651:60b] Checking and resetting all audio session settings.
2014-05-06 21:07:37.340 MyApp[4651:60b] audioCategory is incorrect, we will change it.
2014-05-06 21:07:37.341 MyApp[4651:60b] audioCategory is now on the correct setting of kAudioSessionCategory_PlayAndRecord.
2014-05-06 21:07:37.342 MyApp[4651:60b] bluetoothInput is incorrect, we will change it.
2014-05-06 21:07:37.343 MyApp[4651:60b] bluetooth input is now on the correct setting of 1.
2014-05-06 21:07:37.344 MyApp[4651:60b] Output Device: ReceiverAndMicrophone.
2014-05-06 21:07:37.345 MyApp[4651:60b] categoryDefaultToSpeaker is incorrect, we will change it.
2014-05-06 21:07:37.346 MyApp[4651:60b] CategoryDefaultToSpeaker is now on the correct setting of 1.
2014-05-06 21:07:37.347 MyApp[4651:60b] preferredBufferSize is incorrect, we will change it.
2014-05-06 21:07:37.348 MyApp[4651:60b] PreferredBufferSize is now on the correct setting of 0.128000.
2014-05-06 21:07:37.349 MyApp[4651:60b] preferredSampleRateCheck is incorrect, we will change it.
2014-05-06 21:07:37.350 MyApp[4651:60b] preferred hardware sample rate is now on the correct setting of 16000.000000.
2014-05-06 21:07:37.385 MyApp[4651:60b] AudioSessionManager startAudioSession has reached the end of the initialization.
2014-05-06 21:07:37.386 MyApp[4651:60b] Exiting startAudioSession.
2014-05-06 21:07:37.394 MyApp[4651:650b] setSecondsOfSilence value of 0.000000 was too large or too small or was NULL, using default of 0.700000.
2014-05-06 21:07:37.400 MyApp[4651:600f] Audio route has changed for the following reason:
2014-05-06 21:07:37.401 MyApp[4651:600f] There has been a change of category
2014-05-06 21:07:37.402 MyApp[4651:600f] The previous audio route was Speaker
2014-05-06 21:07:37.403 MyApp[4651:600f] This is not a case in which OpenEars performs a route change voluntarily. At the close of this function, the audio route is SpeakerAndMicrophone
2014-05-06 21:07:37.409 MyApp[4651:650b] Project has these words or phrases in its dictionary:
[deleted]
2014-05-06 21:07:37.411 MyApp[4651:650b] Recognition loop has started
INFO: file_omitted(0): Parsing command line:
\
-lm /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle/base.lm.dmp \
-dict /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle/base.dic \
-hmm /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle \
-lw 6.5 \
-samprate 16000 \
-rawlogdir /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Library/Caches

Current configuration:
[NAME] [DEFLT] [VALUE]
-adchdr 0 0
-adcin no no
-agc none none
-agcthresh 2.0 2.000000e+00
-align
-alpha 0.97 9.700000e-01
-arcdumpdir
-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
-cepdir
-cepext .mfc .mfc
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-ctl
-ctlcount -1 -1
-ctlincr 1 1
-ctloffset 0 0
-debug 0
-dict /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle/base.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
-fwdflatlw 8.5 8.500000e+00
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-29
-fwdtree yes yes
-fwdtreelm
-hmm /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle
-hyp
-hypprefix
-input_endian little little
-jsgf
-kdmaxbbi -1 -1
-kdmaxdepth 0 0
-kdtree
-latsize 512 512
-lda
-ldadim 0 0
-lextreedump 0 0
-lifter 0 0
-lm /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle/base.lm.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
-maxsilfr -1 -1
-maxwpf 50 50
-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 /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Library/Caches
-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
-vm
-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: file_omitted(0): Parsing command line:
\
-nfilt 40 \
-lowerf 133.3334 \
-upperf 6855.4976 \
-feat s2_4x \
-agc none \
-cmn current \
-varnorm no \
-fwdflat yes

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 8.0
-dither no no
-doublebw no no
-feat 1s_c_d_dd s2_4x
-frate 100 100
-input_endian little little
-lda
-ldadim 0 0
-lifter 0 0
-logspec no no
-lowerf 133.33334 1.333334e+02
-ncep 13 13
-nfft 512 512
-nfilt 40 40
-remove_dc no no
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-smoothspec no no
-svspec
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+03
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wlen 0.025625 2.562500e-02

INFO: file_omitted(0): Parsed model-specific feature parameters from /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle/feat.params
INFO: file_omitted(0): Reading HMM transition probability matrices: /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle/transition_matrices
INFO: file_omitted(0): Loading senones from dump file /var/mobile/Applications/E43C3D68-1E23-4C8A-96FD-917CCE0F8B8E/Documents/Model.bundle/sendump
INFO: file_omitted(0): BEGIN FILE FORMAT DESCRIPTION
INFO: file_omitted(0): Rows: 64, Columns: 6147
INFO: file_omitted(0): Using memory-mapped I/O for senones
INFO: file_omitted(0): Building PID tables for dictionary
INFO: file_omitted(0): Allocating 49^3 * 2 bytes (229 KiB) for word-initial triphones
INFO: file_omitted(0): Allocated 29008 bytes (28 KiB) for word-final triphones
INFO: file_omitted(0): Allocated 29008 bytes (28 KiB) for single-phone word triphones
INFO: file_omitted(0): No \data\ mark in LM file
INFO: file_omitted(0): Number of word mappings: 2522
INFO: file_omitted(0): Number of word mappings: 2522
INFO: file_omitted(0): Initialized arc buffer ‘fwdtree’, each arc occupies 12 bytes
2014-05-06 21:07:38.845 MyApp[4651:650b] Starting openAudioDevice on the device.
2014-05-06 21:07:38.846 MyApp[4651:650b] Audio unit wrapper successfully created.
2014-05-06 21:07:38.854 MyApp[4651:650b] Set audio route to SpeakerAndMicrophone
2014-05-06 21:07:38.855 MyApp[4651:650b] Restoring SmartCMN value of 11.306060
2014-05-06 21:07:38.856 MyApp[4651:650b] Checking and resetting all audio session settings.
2014-05-06 21:07:38.858 MyApp[4651:650b] audioCategory is correct, we will leave it as it is.
2014-05-06 21:07:38.858 MyApp[4651:650b] bluetoothInput is correct, we will leave it as it is.
2014-05-06 21:07:38.859 MyApp[4651:650b] Output Device: SpeakerAndMicrophone.
2014-05-06 21:07:38.860 MyApp[4651:650b] categoryDefaultToSpeaker is correct, we will leave it as it is.
2014-05-06 21:07:38.861 MyApp[4651:650b] preferredBufferSize is correct, we will leave it as it is.
2014-05-06 21:07:38.862 MyApp[4651:650b] preferredSampleRateCheck is correct, we will leave it as it is.
2014-05-06 21:07:38.863 MyApp[4651:650b] Setting the variables for the device and starting it.
2014-05-06 21:07:38.863 MyApp[4651:650b] Looping through ringbuffer sections and pre-allocating them.
2014-05-06 21:07:39.359 MyApp[4651:650b] Started audio output unit.
2014-05-06 21:07:39.361 MyApp[4651:650b] Calibration has started
2014-05-06 21:07:41.566 MyApp[4651:650b] Calibration has completed
2014-05-06 21:07:41.568 MyApp[4651:650b] Listening.
2014-05-06 21:07:49.319 MyApp[4651:650b] Speech detected…
INFO: file_omitted(0): arc_buffer_producer_start_utt
time delta 1399399669.323025 start 0000000
INFO: file_omitted(0): arc_buffer_consumer_start_utt
time delta 1399399669.324462 start 0000000
time delta 1399399669.324843 partial result fwdtree
partial: <s>:(0000000)
time delta 1399399669.341870 partial result fwdtree

_[deleted partial recognized results]_

2014-05-06 21:08:04.284 MyApp[4651:60b] In ContinuousAudioUnit
INFO: file_omitted(0): cmn_prior_update: from < 10.43 -1.69 -0.17 0.14 -0.38 -0.18 0.06 -0.16 -0.21 -0.02 -0.05 -0.10 -0.06 >
INFO: file_omitted(0): cmn_prior_update: to < 10.42 -1.69 -0.17 0.14 -0.38 -0.18 0.06 -0.16 -0.21 -0.02 -0.05 -0.10 -0.06 >
INFO: file_omitted(0): idx 1404 is final (1404)
INFO: file_omitted(0): fwdtree: marking arc buffer final
INFO: file_omitted(0): fwdtree: allocated 4096 arcs (48 KiB)
INFO: file_omitted(0): fwdtree: allocated 512 start frame entries (2 KiB)
INFO: file_omitted(0): Waiting for 1 consumers to finish
INFO: file_omitted(0): idx 1404 is final (1404)
2014-05-06 21:08:04.959 MyApp[4651:650b] Stopping audio unit.
2014-05-06 21:08:05.091 MyApp[4651:650b] Audio Output Unit stopped, cleaning up variable states.
2014-05-06 21:08:05.092 MyApp[4651:650b] This device is not recording, so first we will set its recording status to 0
2014-05-06 21:08:05.093 MyApp[4651:650b] The audio unit is running so we are going to dispose of its instance
INFO: file_omitted(0): fwdtree canceled
INFO: file_omitted(0): TOTAL fwdtree 6.994 wall 0.498 xRT
INFO: file_omitted(0): fwdflat canceled
INFO: file_omitted(0): TOTAL fwdflat 27.945 wall 1.990 xRT
2014-05-06 21:08:05.108 MyApp[4651:650b] No longer listening.