Tagged: bluetooth IOS10
- This topic has 3 replies, 2 voices, and was last updated 7 years, 6 months ago by Halle Winkler.
-
AuthorPosts
-
October 3, 2016 at 8:13 am #1031049BergeracMattParticipant
Hi Halle,
I’m using a desktop bluetooth speaker/mic and it has been working well with both my iPhone and iPad – until I upgraded the iPad to IOS 10. Since then, the bluetooth speaker plays and records nothing when connected to the IOS10 iPad. It acts like the speaker and mic are both muted (they’re not)
The same Xcode project, installed to the IOS9 iPhone, the bluetooth works fine. I’ll include startup logs from both the IOS10 iPad and IOS9 iPhone.I have a separate part of the app which records and plays audio through the same bluetooth speaker – that works fine with both IOS9 and 10.
It would take me about 15 minutes to change the project code and capture logs again with the standard acoustic model if you think that my custom dynamic model is somehow playing a part.Thanks
Matt.First the failing IOS10 iPad (then the IOS9 iPhone later)
[spoiler]
`2016-10-03 16:51:43.914507 AppName[1477:331860] [Accessibility] ****************** Loading GAX Client Bundle ****************
application loaded in AppDelegate.swift
0:00.012 Set AVAudioSession category to PlayAndRecord
***** Available Inputs
0:00.018 portName=iPad Microphone portType=MicrophoneBuiltIn
0:00.018 portName=BTS200 portType=BluetoothHFP
0:00.018 Set Input to BluetoothHFP
input set to BluetoothHFP
0:00.020 inputGain is NOT setttable
0:00.576 MainMenu Loaded
2016-10-03 16:51:47.178504 AppName[1477:331860] Starting OpenEars logging for OpenEars version 2.501 on 64-bit device (or build): iPad running iOS version: 10.000000
2016-10-03 16:51:47.199634 AppName[1477:331860] This is Rejecto version 2.500000
2016-10-03 16:51:47.217151 AppName[1477:331860] Since there is no cached version, loading the language model lookup list for the acoustic model called AcousticModelEnglish
2016-10-03 16:51:47.232035 AppName[1477:331860] Returning a cached version of LanguageModelGeneratorLookupList.text
2016-10-03 16:51:47.276440 AppName[1477:331860] I’m done running performDictionaryLookup and it took 0.044250 seconds
2016-10-03 16:51:47.277014 AppName[1477:331860] I’m done running performDictionaryLookup and it took 0.045461 seconds
2016-10-03 16:51:47.284056 AppName[1477:331860] Starting dynamic language model generationINFO: ngram_model_arpa_legacy.c(504): ngrams 1=52, 2=100, 3=50
INFO: ngram_model_arpa_legacy.c(136): Reading unigrams
INFO: ngram_model_arpa_legacy.c(543): 52 = #unigrams created
INFO: ngram_model_arpa_legacy.c(196): Reading bigrams
INFO: ngram_model_arpa_legacy.c(561): 100 = #bigrams created
INFO: ngram_model_arpa_legacy.c(562): 3 = #prob2 entries
INFO: ngram_model_arpa_legacy.c(570): 3 = #bo_wt2 entries
INFO: ngram_model_arpa_legacy.c(293): Reading trigrams
INFO: ngram_model_arpa_legacy.c(583): 50 = #trigrams created
INFO: ngram_model_arpa_legacy.c(584): 2 = #prob3 entries
INFO: ngram_model_dmp_legacy.c(521): Building DMP model…
INFO: ngram_model_dmp_legacy.c(551): 52 = #unigrams created
INFO: ngram_model_dmp_legacy.c(652): 100 = #bigrams created
INFO: ngram_model_dmp_legacy.c(653): 3 = #prob2 entries
INFO: ngram_model_dmp_legacy.c(660): 3 = #bo_wt2 entries
INFO: ngram_model_dmp_legacy.c(664): 50 = #trigrams created
INFO: ngram_model_dmp_legacy.c(665): 2 = #prob3 entries
2016-10-03 16:51:47.361383 AppName[1477:331860] Done creating language model with CMUCLMTK in 0.077217 seconds.
INFO: ngram_model_arpa_legacy.c(504): ngrams 1=52, 2=100, 3=50
INFO: ngram_model_arpa_legacy.c(136): Reading unigrams
INFO: ngram_model_arpa_legacy.c(543): 52 = #unigrams created
INFO: ngram_model_arpa_legacy.c(196): Reading bigrams
INFO: ngram_model_arpa_legacy.c(561): 100 = #bigrams created
INFO: ngram_model_arpa_legacy.c(562): 5 = #prob2 entries
INFO: ngram_model_arpa_legacy.c(570): 3 = #bo_wt2 entries
INFO: ngram_model_arpa_legacy.c(293): Reading trigrams
INFO: ngram_model_arpa_legacy.c(583): 50 = #trigrams created
INFO: ngram_model_arpa_legacy.c(584): 3 = #prob3 entries
INFO: ngram_model_dmp_legacy.c(521): Building DMP model…
INFO: ngram_model_dmp_legacy.c(551): 52 = #unigrams created
INFO: ngram_model_dmp_legacy.c(652): 100 = #bigrams created
INFO: ngram_model_dmp_legacy.c(653): 5 = #prob2 entries
INFO: ngram_model_dmp_legacy.c(660): 3 = #bo_wt2 entries
INFO: ngram_model_dmp_legacy.c(664): 50 = #trigrams created
INFO: ngram_model_dmp_legacy.c(665): 3 = #prob3 entries
2016-10-03 16:51:47.398330 AppName[1477:331860] I’m done running dynamic language model generation and it took 0.197471 seconds
0:03.262 loadOpenEarsWithRejecto finished in 219 milliseconds
2016-10-03 16:51:47.967221 AppName[1477:331860] Attempting to start listening session from startListeningWithLanguageModelAtPath:
2016-10-03 16:51:47.981502 AppName[1477:331860] User gave mic permission for this app.
2016-10-03 16:51:47.981937 AppName[1477:331860] Valid setSecondsOfSilence value of 0.400000 will be used.
2016-10-03 16:51:47.982233 AppName[1477:331860] Successfully started listening session from startListeningWithLanguageModelAtPath:
2016-10-03 16:51:47.983170 AppName[1477:331893] Starting listening.
2016-10-03 16:51:47.983368 AppName[1477:331893] about to set up audio session
2016-10-03 16:51:47.985460 AppName[1477:331893] Creating audio session with default settings.
2016-10-03 16:51:48.060909 AppName[1477:331909] Audio route has changed for the following reason:
2016-10-03 16:51:49.258029 AppName[1477:331946] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:51:49.258339 AppName[1477:331946] Error in render callback: -1
2016-10-03 16:51:49.769546 AppName[1477:331946] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:51:49.769777 AppName[1477:331946] Error in render callback: -1
2016-10-03 16:51:49.793524 AppName[1477:331893] done starting audio unit
INFO: pocketsphinx.c(145): Parsed model-specific feature parameters from /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//feat.params
Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-01
-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
-ceplen 13 13
-cmn current current
-cmninit 8.0 40,3,-1
-compallsen no no
-debug 0
-dict /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Library/Caches/LanguageModelFileAppNameCustom.dic
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//noisedict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//feat.params
-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/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle/
-input_endian little little
-jsgf
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1 1.000000e+00
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 22
-lm /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Library/Caches/LanguageModelFileAppNameCustom.DMP
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.300000e+02
-lpbeam 1e-40 1.000000e-40
-lponlybeam 7e-29 7.000000e-29
-lw 6.5 6.500000e+00
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//mdef
-mean /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//means
-mfclogdir
-min_endfr 0 0
-mixw /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//mixture_weights
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 20
-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-10 1.000000e-10
-pl_pip 1.0 1.000000e+00
-pl_weight 3.0 3.000000e+00
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-sendump /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-03
-smoothspec no no
-svspec 0-12/13-25/26-38
-tmat /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//transition_matrices
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 3.700000e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 40
-vad_prespeech 20 10
-vad_startspeech 10 10
-vad_threshold 2.0 3.000000e+00
-var /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//variances
-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-02INFO: feat.c(715): Initializing feature stream to type: ‘1s_c_d_dd’, ceplen=13, CMN=’current’, VARNORM=’no’, AGC=’none’
INFO: cmn.c(143): mean[0]= 12.00, mean[1..12]= 0.0
INFO: acmod.c(164): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//mdef
2016-10-03 16:51:49.809614 AppName[1477:331909] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2016-10-03 16:51:49.907503 AppName[1477:331909] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is —BluetoothHFPBluetoothHFP—. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x17401b400,
inputs = (null);
outputs = (
“<AVAudioSessionPortDescription: 0x17401b350, type = BluetoothA2DPOutput; name = BTS200; UID = 00:E0:11:10:2B:62-tacl; selectedDataSource = (null)>”
)>.
INFO: bin_mdef.c(181): Allocating 142108 * 8 bytes (1110 KiB) for CD tree
INFO: tmat.c(206): Reading HMM transition probability matrices: /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//transition_matrices
INFO: acmod.c(117): Attempting to use PTM computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//means
INFO: ms_gauden.c(292): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//variances
INFO: ms_gauden.c(292): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(354): 98 variance values floored
INFO: ptm_mgau.c(476): Loading senones from dump file /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//sendump
INFO: ptm_mgau.c(500): BEGIN FILE FORMAT DESCRIPTION
INFO: ptm_mgau.c(563): Rows: 128, Columns: 5126
INFO: ptm_mgau.c(595): Using memory-mapped I/O for senones
INFO: ptm_mgau.c(835): Maximum top-N: 4
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: dict.c(320): Allocating 4160 * 32 bytes (130 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Library/Caches/LanguageModelFileAppNameCustom.dic
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(336): 59 words read
INFO: dict.c(358): Reading filler dictionary: /var/mobile/Containers/Data/Application/A68EC803-FA71-4392-B570-F432E06709DD/Documents/AcousticModelEnglish.bundle//noisedict
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 5 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 42672 bytes (41 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 42672 bytes (41 KiB) for single-phone word triphones
INFO: ngram_model_trie.c(424): Trying to read LM in bin format
INFO: ngram_model_trie.c(457): Header doesn’t match
INFO: ngram_model_trie.c(180): Trying to read LM in arpa format
INFO: ngram_model_trie.c(71): No \data\ mark in LM file
INFO: ngram_model_trie.c(537): Trying to read LM in DMP format
INFO: ngram_model_trie.c(632): ngrams 1=52, 2=100, 3=50
INFO: lm_trie.c(317): Training quantizer
INFO: lm_trie.c(323): Building LM trie
INFO: ngram_search_fwdtree.c(99): 18 unique initial diphones
INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 161
INFO: ngram_search_fwdtree.c(339): after: 18 root, 33 non-root channels, 44 single-phone words
INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
2016-10-03 16:51:50.560233 AppName[1477:331893] There is no CMN plist so we are using the fresh CMN value 40.000000.
2016-10-03 16:51:50.560852 AppName[1477:331893] Listening.
2016-10-03 16:51:50.561866 AppName[1477:331893] Project has these words or phrases in its dictionary:
___REJ_ZH
___REJ_Z
___REJ_Y
___REJ_W
___REJ_V
___REJ_UW
___REJ_UH
___REJ_TH
___REJ_T
___REJ_SH
___REJ_S
___REJ_R
___REJ_P
___REJ_OY
___REJ_OW
___REJ_NG
___REJ_N
___REJ_M
___REJ_L
___REJ_K
___REJ_JH
___REJ_IY
___REJ_IH
___REJ_HH
___REJ_G
___REJ_F
___REJ_EY
___REJ_ER
___REJ_EH
___REJ_DH
___REJ_D
…and 29 more.
2016-10-03 16:51:50.561962 AppName[1477:331893] Recognition loop has started
0:06.427 pocketsphinxDidStartListening
0:06.428 pocketsphinx took 3385 milliseconds to start itself up.——————————————————————————————————————————
[/spoiler]And the IOS9 iPhone – which works (despite the ‘render’ errors)
[spoiler]
application loaded in AppDelegate.swift
0:00.001 Set AVAudioSession category to PlayAndRecord
***** Available Inputs
0:00.006 portName=iPhone Microphone portType=MicrophoneBuiltIn
0:00.006 portName=BTS200 portType=BluetoothHFP
0:00.006 Set Input to BluetoothHFP
input set to BluetoothHFP
0:00.007 inputGain is NOT setttable
0:00.959 MainMenu Loaded
2016-10-03 16:58:24.364 AppName[10499:6579648] Starting OpenEars logging for OpenEars version 2.501 on 64-bit device (or build): iPhone running iOS version: 9.300000
2016-10-03 16:58:24.381 AppName[10499:6579648] This is Rejecto version 2.500000
2016-10-03 16:58:24.392 AppName[10499:6579648] Since there is no cached version, loading the language model lookup list for the acoustic model called AcousticModelEnglish
2016-10-03 16:58:24.400 AppName[10499:6579648] Returning a cached version of LanguageModelGeneratorLookupList.text
2016-10-03 16:58:24.445 AppName[10499:6579648] I’m done running performDictionaryLookup and it took 0.043814 seconds
2016-10-03 16:58:24.445 AppName[10499:6579648] I’m done running performDictionaryLookup and it took 0.044971 seconds
2016-10-03 16:58:24.450 AppName[10499:6579648] Starting dynamic language model generationINFO: ngram_model_arpa_legacy.c(504): ngrams 1=52, 2=100, 3=50
INFO: ngram_model_arpa_legacy.c(136): Reading unigrams
INFO: ngram_model_arpa_legacy.c(543): 52 = #unigrams created
INFO: ngram_model_arpa_legacy.c(196): Reading bigrams
INFO: ngram_model_arpa_legacy.c(561): 100 = #bigrams created
INFO: ngram_model_arpa_legacy.c(562): 3 = #prob2 entries
INFO: ngram_model_arpa_legacy.c(570): 3 = #bo_wt2 entries
INFO: ngram_model_arpa_legacy.c(293): Reading trigrams
INFO: ngram_model_arpa_legacy.c(583): 50 = #trigrams created
INFO: ngram_model_arpa_legacy.c(584): 2 = #prob3 entries
INFO: ngram_model_dmp_legacy.c(521): Building DMP model…
INFO: ngram_model_dmp_legacy.c(551): 52 = #unigrams created
INFO: ngram_model_dmp_legacy.c(652): 100 = #bigrams created
INFO: ngram_model_dmp_legacy.c(653): 3 = #prob2 entries
INFO: ngram_model_dmp_legacy.c(660): 3 = #bo_wt2 entries
INFO: ngram_model_dmp_legacy.c(664): 50 = #trigrams created
INFO: ngram_model_dmp_legacy.c(665): 2 = #prob3 entries
2016-10-03 16:58:24.475 AppName[10499:6579648] Done creating language model with CMUCLMTK in 0.025370 seconds.
INFO: ngram_model_arpa_legacy.c(504): ngrams 1=52, 2=100, 3=50
INFO: ngram_model_arpa_legacy.c(136): Reading unigrams
INFO: ngram_model_arpa_legacy.c(543): 52 = #unigrams created
INFO: ngram_model_arpa_legacy.c(196): Reading bigrams
INFO: ngram_model_arpa_legacy.c(561): 100 = #bigrams created
INFO: ngram_model_arpa_legacy.c(562): 5 = #prob2 entries
INFO: ngram_model_arpa_legacy.c(570): 3 = #bo_wt2 entries
INFO: ngram_model_arpa_legacy.c(293): Reading trigrams
INFO: ngram_model_arpa_legacy.c(583): 50 = #trigrams created
INFO: ngram_model_arpa_legacy.c(584): 3 = #prob3 entries
INFO: ngram_model_dmp_legacy.c(521): Building DMP model…
INFO: ngram_model_dmp_legacy.c(551): 52 = #unigrams created
INFO: ngram_model_dmp_legacy.c(652): 100 = #bigrams created
INFO: ngram_model_dmp_legacy.c(653): 5 = #prob2 entries
INFO: ngram_model_dmp_legacy.c(660): 3 = #bo_wt2 entries
INFO: ngram_model_dmp_legacy.c(664): 50 = #trigrams created
INFO: ngram_model_dmp_legacy.c(665): 3 = #prob3 entries
2016-10-03 16:58:24.494 AppName[10499:6579648] I’m done running dynamic language model generation and it took 0.111394 seconds
2016-10-03 16:58:25.026 AppName[10499:6579648] Attempting to start listening session from startListeningWithLanguageModelAtPath:
2016-10-03 16:58:25.040 AppName[10499:6579648] User gave mic permission for this app.
2016-10-03 16:58:25.040 AppName[10499:6579648] Valid setSecondsOfSilence value of 0.400000 will be used.
2016-10-03 16:58:25.041 AppName[10499:6579648] Successfully started listening session from startListeningWithLanguageModelAtPath:
2016-10-03 16:58:25.042 AppName[10499:6579692] Starting listening.
2016-10-03 16:58:25.042 AppName[10499:6579692] about to set up audio session
2016-10-03 16:58:25.043 AppName[10499:6579692] Creating audio session with default settings.
2016-10-03 16:58:25.105 AppName[10499:6579701] Audio route has changed for the following reason:
2016-10-03 16:58:25.562 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:25.562 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:25.690 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:25.690 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:25.818 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:25.818 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:25.946 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:25.946 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:26.074 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:26.074 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:26.202 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:26.202 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:26.330 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:26.330 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:26.458 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:26.458 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:26.586 AppName[10499:6579731] Error: Error Domain=NSOSStatusErrorDomain Code=-1 “(null)”
2016-10-03 16:58:26.586 AppName[10499:6579731] Error in render callback: -1
2016-10-03 16:58:26.596 AppName[10499:6579692] done starting audio unit
2016-10-03 16:58:26.601 AppName[10499:6579701] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2016-10-03 16:58:26.606 AppName[10499:6579701] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is —BluetoothHFPBluetoothHFP—. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x15e125450,
inputs = (
“<AVAudioSessionPortDescription: 0x15e10c700, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = Front>”
);
outputs = (
“<AVAudioSessionPortDescription: 0x15cfe1fc0, type = BluetoothA2DPOutput; name = BTS200; UID = 00:E0:11:10:2B:62-tacl; selectedDataSINFO: pocketsphinx.c(145): Parsed model-specific feature parameters from /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//feat.params
Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-01
-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
-ceplen 13 13
-cmn current current
-cmninit 8.0 40,3,-1
-compallsen no no
-debug 0
-dict /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Library/Caches/LanguageModelFileAppNameCustom.dic
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//noisedict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//feat.params
-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/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle/
-input_endian little little
-jsgf
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1 1.000000e+00
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 22
-lm /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Library/Caches/LanguageModelFileAppNameCustom.DMP
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.300000e+02
-lpbeam 1e-40 1.000000e-40
-lponlybeam 7e-29 7.000000e-29
-lw 6.5 6.500000e+00
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//mdef
-mean /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//means
-mfclogdir
-min_endfr 0 0
-mixw /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//mixture_weights
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 20
-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-10 1.000000e-10
-pl_pip 1.0 1.000000e+00
-pl_weight 3.0 3.000000e+00
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes-samprate 16000 1.600000e+04
-seed -1 -1
-sendump /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-03
-smoothspec no no
-svspec 0-12/13-25/26-38
-tmat /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//transition_matrices
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 3.700000e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 40
-vad_prespeech 20 10
-vad_startspeech 10 10
-vad_threshold 2.0 3.000000e+00
-var /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//variances
-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-02INFO: feat.c(715): Initializing feature stream to type: ‘1s_c_d_dd’, ceplen=13, CMN=’current’, VARNORM=’no’, AGC=’none’
INFO: cmn.c(143): mean[0]= 12.00, mean[1..12]= 0.0
INFO: acmod.c(164): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//mdef
ource = (null)>”
)>.
INFO: bin_mdef.c(181): Allocating 142108 * 8 bytes (1110 KiB) for CD tree
INFO: tmat.c(206): Reading HMM transition probability matrices: /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//transition_matrices
INFO: acmod.c(117): Attempting to use PTM computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//means
INFO: ms_gauden.c(292): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//variances
INFO: ms_gauden.c(292): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(294): 128×13
INFO: ms_gauden.c(354): 98 variance values floored
INFO: ptm_mgau.c(476): Loading senones from dump file /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//sendump
INFO: ptm_mgau.c(500): BEGIN FILE FORMAT DESCRIPTION
INFO: ptm_mgau.c(563): Rows: 128, Columns: 5126
INFO: ptm_mgau.c(595): Using memory-mapped I/O for senones
INFO: ptm_mgau.c(835): Maximum top-N: 4
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: dict.c(320): Allocating 4160 * 32 bytes (130 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Library/Caches/LanguageModelFileAppNameCustom.dic
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(336): 59 words read
INFO: dict.c(358): Reading filler dictionary: /var/mobile/Containers/Data/Application/6A210953-634C-4135-AC1F-9D01E501A329/Documents/AcousticModelEnglish.bundle//noisedict
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 5 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 42672 bytes (41 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 42672 bytes (41 KiB) for single-phone word triphones
INFO: ngram_model_trie.c(424): Trying to read LM in bin format
INFO: ngram_model_trie.c(457): Header doesn’t match
INFO: ngram_model_trie.c(180): Trying to read LM in arpa format
INFO: ngram_model_trie.c(71): No \data\ mark in LM file
INFO: ngram_model_trie.c(537): Trying to read LM in DMP format
INFO: ngram_model_trie.c(632): ngrams 1=52, 2=100, 3=50
INFO: lm_trie.c(317): Training quantizer
INFO: lm_trie.c(323): Building LM trie
INFO: ngram_search_fwdtree.c(99): 18 unique initial diphones
INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 161
INFO: ngram_search_fwdtree.c(339): after: 18 root, 33 non-root channels, 44 single-phone words
INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
2016-10-03 16:58:26.969 AppName[10499:6579692] There was no previous CMN value in the plist so we are using the fresh CMN value 40.000000.
2016-10-03 16:58:26.969 AppName[10499:6579692] Listening.
2016-10-03 16:58:26.969 AppName[10499:6579692] Project has these words or phrases in its dictionary:
___REJ_ZH
___REJ_Z
___REJ_Y
___REJ_W
___REJ_V
___REJ_UW
___REJ_UH
___REJ_TH
___REJ_T
___REJ_SH
___REJ_S
___REJ_R
___REJ_P
___REJ_OY
___REJ_OW
___REJ_NG
___REJ_N
___REJ_M
___REJ_L
___REJ_K
___REJ_JH
___REJ_IY
___REJ_IH
___REJ_HH
___REJ_G
___REJ_F
___REJ_EY
___REJ_ER
___REJ_EH
___REJ_DH
___REJ_D
…and 29 more.
2016-10-03 16:58:26.969 AppName[10499:6579692] Recognition loop has started
0:05.251 pocketsphinxDidStartListening
0:05.251 pocketsphinx took 2606 milliseconds to start itself up.
[/spoiler]October 3, 2016 at 10:03 am #1031051Halle WinklerPolitepixHi Matt,
Check out the recent bluetooth discussions here in the forums and the FAQ entries on BT compatibility methods and support in order to get a headstart troubleshooting this, thanks!
October 3, 2016 at 11:10 am #1031055BergeracMattParticipantThanks once more for the quick response. I had come across those compatibility options but hadn’t tried them because the hardware was working.
In my case, setting disablePreferredBufferSize got it working. I’ll add some info into the “bluetooth device results” thread shortly.
BTW – I had framework version 2.5.01 and it doesn’t have any of those compatibility properties even though the docs suggest 2.5.x does. I upgraded to 2.5.03 and I was able to set them.In terms or releasing an app to support as wide a range of hardware as possible, do you think I/we should set all 3 compatibility properties to true? or give users some way of selecting all 6 combinations?
That might be impossible for you to answer – maybe a better question would be – what is the downside of setting all 3 options to true?October 3, 2016 at 11:32 am #1031058Halle WinklerPolitepixHi,
Glad that helped. I am going to take in the data on this for a little while but my current suspicion is that the majority of cases will be fixed by disablePreferredBufferSize and that maybe a minority will also benefit from disablePreferredSampleRate, and so far I haven’t heard of any that needed the channel override to be functional. On the assumption that it will help the most users while making the least changes, my recommendation would be to start by using disablePreferredBufferSize, pay attention for reports of issues with BT devices that might confirm that the other setting is also needed, do your own tests of performance (the interesting performance question is CPU usage when there is absolutely no speech or anything perceived as speech) and let me know about them in the general BT thread, and always start your troubleshooting process by upgrading to all current versions. It isn’t humane UX to give users multiple choices for managing their own device compatibility – I would either have one “Bluetooth compatibility mode” switch that turns on as many of the settings as your testing has demonstrated it’s reasonable to ship with, or simply set them on with no switch and carefully test whether there is any negative impact on your use case when Bluetooth isn’t being used.
-
AuthorPosts
- You must be logged in to reply to this topic.