Proper way to start/stop OE?

Home Forums OpenEars Proper way to start/stop OE?

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

  • Author
    Posts
  • #1026959
    warpling
    Participant

    Hey Halle,

    Long time, no issue ;)

    A tester of mine recently reported some strange behavior where locking the phone while OE is running causes the phone to hang from 5-30 seconds after the phone is unlocked again (there’s even some noticeable lag on the lock screen). I’ve replicated it in my app and don’t see it in the sample app (at least not as drastically) so I am wondering if I’m doing too much to help OE pause/stop/start etc, and if I should let it manage that itself more?

    I’m currently testing using 2.041 on an iPhone 6s, but have replicated the issue with 2.041 on an iPhone 5s.

    Upon receiving applicationWillResignActive I send suspendRecognition and then stopListening to OEPocketsphinxController‘s sharedInstance. stopListening appears to block for a long time. Let me know if I can clean-up this log further to help you read it (I added some of my own logging around my calls to OE’s methods to see which ones were blocking).

    As always, thank you ?

    
    2015-10-06 15:31:43.714 Blackbox[4323:1182048] Starting OpenEars logging for OpenEars version 2.041 on 64-bit device (or build): iPhone running iOS version: 9.000000
    2015-10-06 15:31:43.714 Blackbox[4323:1182048] Attempting to start listening session from startListeningWithLanguageModelAtPath:
    2015-10-06 15:31:43.714 Blackbox[4323:1182048] User gave mic permission for this app.
    2015-10-06 15:31:43.715 Blackbox[4323:1182048] Valid setSecondsOfSilence value of 0.400000 will be used.
    2015-10-06 15:31:43.715 Blackbox[4323:1182048] Successfully started listening session from startListeningWithLanguageModelAtPath:
    2015-10-06 15:31:43.715 Blackbox[4323:1182166] Starting listening.
    2015-10-06 15:31:43.715 Blackbox[4323:1182166] about to set up audio session
    2015-10-06 15:31:43.715 Blackbox[4323:1182166] Creating audio session with default settings.
    2015-10-06 15:31:43.968 Blackbox[4323:1182166] done starting audio unit
    2015-10-06 15:31:43.974 Blackbox[4323:1182167] Audio route has changed for the following reason:
    2015-10-06 15:31:43.976 Blackbox[4323:1182167] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
    2015-10-06 15:31:43.980 Blackbox[4323:1182167] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is ---SpeakerMicrophoneBuiltIn---. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x13fe6abc0, 
    inputs = (
        "<AVAudioSessionPortDescription: 0x13ff63160, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = Front>"
    ); 
    outputs = (
        "<AVAudioSessionPortDescription: 0x13ff752d0, type = Speaker; name = Speaker; UID = Speaker; selectedDataSource = (null)>"
    )>.
    2015-10-06 15:31:44.016 Blackbox[4323:1182166] Restoring SmartCMN value of 39.168701
    2015-10-06 15:31:44.016 Blackbox[4323:1182166] Listening.
    2015-10-06 15:31:44.016 Blackbox[4323:1182166] Project has these words or phrases in its dictionary:
    BLACK
    BLACKBOX
    BOX
    
    2015-10-06 15:31:44.016 Blackbox[4323:1182166] Recognition loop has started
    2015-10-06 15:31:44:023 Blackbox[4323:1182048] ? SpeechChallengeManager: Managing Started
    2015-10-06 15:31:44:054 Blackbox[4323:1182048] ?? Pocketsphinx is now listening.
    2015-10-06 15:31:45:090 Blackbox[4323:1182048]  ? Remembrall: challengeAttempts โžก๏ธ progress recalculation
    2015-10-06 15:31:45:090 Blackbox[4323:1182048] โ„น๏ธ Recalculating progress 
    2015-10-06 15:31:45:096 Blackbox[4323:1182048] GameModel saved.
    2015-10-06 15:31:45:096 Blackbox[4323:1182048] ? SpeechChallengeManager: Recording Started
    2015-10-06 15:31:47.727 Blackbox[4323:1182157] Speech detected...
    2015-10-06 15:31:47:727 Blackbox[4323:1182048] ?? Pocketsphinx has detected speech.
    
    2015-10-06 15:31:48.591 Blackbox[4323:1182162] End of speech detected...
    2015-10-06 15:31:48:591 Blackbox[4323:1182048] ?? Pocketsphinx has detected a period of silence, concluding an utterance.
    2015-10-06 15:31:48.607 Blackbox[4323:1182162] Pocketsphinx heard "BOX" with a score of (-100480) and an utterance ID of 0.
    2015-10-06 15:31:48:608 Blackbox[4323:1182048] The received hypothesis is ON with a score of -100480 and an ID of 0
    2015-10-06 15:31:50.689 Blackbox[4323:1182048]  ** -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ** unhandled action -> <FBSSceneSnapshotAction: 0x13feddee0> {
        handler = remote;
        info = <BSSettings: 0x14121fc60> {
            (1) = 5;
        };
    }
    2015-10-06 15:31:50:761 Blackbox[4323:1182048] โคต๏ธ Application will resign active
    2015-10-06 15:31:50.775 Blackbox[4323:1182048] Attempting to stop
    2015-10-06 15:31:50.775 Blackbox[4323:1182048] Suspending recognition
    2015-10-06 15:31:50.776 Blackbox[4323:1182048] Finished suspending recognition
    2015-10-06 15:31:50.776 Blackbox[4323:1182048] Stopping listening.
    2015-10-06 15:31:52.322 Blackbox[4323:1182167] Audio route has changed for the following reason:
    2015-10-06 15:31:52.330 Blackbox[4323:1182167] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
    2015-10-06 15:31:52.331 Blackbox[4323:1182167] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is ---SpeakerMicrophoneBuiltIn---. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x1410abf50, 
    inputs = (
        "<AVAudioSessionPortDescription: 0x141080c00, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = Bottom>"
    ); 
    outputs = (
        "<AVAudioSessionPortDescription: 0x13fee42d0, type = Speaker; name = Speaker; UID = Speaker; selectedDataSource = (null)>"
    )>.
    2015-10-06 15:31:54.198 Blackbox[4323:1182167] Audio route has changed for the following reason:
    2015-10-06 15:31:54.204 Blackbox[4323:1182167] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
    2015-10-06 15:31:54.212 Blackbox[4323:1182167] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is ---SpeakerMicrophoneBuiltIn---. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x13ff4a230, 
    inputs = (
        "<AVAudioSessionPortDescription: 0x13ff05660, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = Front>"
    ); 
    outputs = (
        "<AVAudioSessionPortDescription: 0x13ffcb090, type = Speaker; name = Speaker; UID = Speaker; selectedDataSource = (null)>"
    )>.
    2015-10-06 15:32:22.267 Blackbox[4323:1182048] 15:32:22.267 WARNING:  [0x19f6f2000] 1251: AURemoteIO::Stop: error 0x10000004 calling TerminateOwnIOThread
    2015-10-06 15:32:22.268 Blackbox[4323:1182229] 15:32:22.268 ERROR:    [AURemoteIO::IOThread] >aurioc> 1503: AURemoteIO@0x140874040: IOThread exiting with error 0x10004002
    2015-10-06 15:32:23.793 Blackbox[4323:1182048] 15:32:23.793 ERROR:    [0x19f6f2000] AVAudioSession.mm:697: -[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has running I/O. All I/O should be stopped or paused prior to deactivating the audio session.
    2015-10-06 15:32:23.796 Blackbox[4323:1182048] Error: couldn't set session inactive.: '!act'
    2015-10-06 15:32:23.796 Blackbox[4323:1182048] Error: there was a problem tearing down the audio session: Error Domain=NSOSStatusErrorDomain Code=560030580 "(null)".
    2015-10-06 15:32:23.796 Blackbox[4323:1182048] Unable to stop listening because because an utterance is still in progress; trying again.
    2015-10-06 15:32:23.814 Blackbox[4323:1182167] Audio route has changed for the following reason:
    2015-10-06 15:32:23.815 Blackbox[4323:1182167] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
    2015-10-06 15:32:23.816 Blackbox[4323:1182167] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is ---SpeakerMicrophoneBuiltIn---. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x141035940, 
    inputs = (
        "<AVAudioSessionPortDescription: 0x141087200, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = Bottom>"
    ); 
    outputs = (
        "<AVAudioSessionPortDescription: 0x141271270, type = Speaker; name = Speaker; UID = Speaker; selectedDataSource = (null)>"
    )>.
    2015-10-06 15:32:23.848 Blackbox[4323:1182048] Attempting to stop an unstopped utterance so listening can stop.
    2015-10-06 15:32:23.849 Blackbox[4323:1182048] No longer listening.
    2015-10-06 15:32:23.849 Blackbox[4323:1182048] Finished stopping listening
    2015-10-06 15:32:23:849 Blackbox[4323:1182048] ? SpeechChallengeManager: Recording Stopped
    2015-10-06 15:32:23:849 Blackbox[4323:1182048] ? Application did enter background
    2015-10-06 15:32:23.868 Blackbox[4323:1182048] Setting OEPocketsphinxController inactive
    2015-10-06 15:32:23.868 Blackbox[4323:1182048] Finished setting OEPocketsphinxController inactive
    2015-10-06 15:32:24:063 Blackbox[4323:1182048] ? SpeechChallengeManager: Managing Stopped
    
    #1026965
    Halle Winkler
    Politepix

    Hiya,

    Always enjoyable to see the emoji ear logging technique. The main thing that pops out at me is the suspend before stop โ€“ I think it would be preferable to stop as early as possible in case there is anything difficult in the buffer, without the suspend which doesn’t seem like it gets you anything. Does it work better without suspending first?

    #1027468
    warpling
    Participant

    Sorry Halle, I lost track of our thread!

    Removing suspendRecognition doesn’t seem to have a noticeable impact.

    It must be related to these errors though:

    2015-12-02 15:34:36.662 Blackbox[833:188408] 15:34:36.662 WARNING:  [0x19df2c000] 1251: AURemoteIO::Stop: error 0x10000004 calling TerminateOwnIOThread
    2015-12-02 15:34:36.663 Blackbox[833:188561] 15:34:36.663 ERROR:    [AURemoteIO::IOThread] >aurioc> 1503: AURemoteIO@0x16092c840: IOThread exiting with error 0x10004002
    2015-12-02 15:34:42.218 Blackbox[833:188408] 15:34:42.217 ERROR:    [0x19df2c000] AVAudioSession.mm:697: -[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has running I/O. All I/O should be stopped or paused prior to deactivating the audio session.
    

    On my 5s I see these errors around 30s after I lock the phone while OE is running (triggering stopListening). During this time the lock screen is not responsive (can’t slide to unlock but the “slide to unlock” glimmer animation runs). stopListening is being triggered from the main thread if that’s pertinent. What could I try troubleshooting next?

    #1027469
    Halle Winkler
    Politepix

    That error means that at the time that the audio unit is being stopped, something else is doing audio i/o and using the session, so finding out what that is and stopping it first is the troubleshooting issue.

    #1027713
    warpling
    Participant

    I was hoping TAAE was to blame here (maybe it still is) and the fix in 1.5.5 would solve this, but still no diceโ€ฆ

    #1033106
    ming
    Participant

    Hi Halle,

    I have a related question or issue also. The issue that I am encountering is when the app is resuming (after it was interrupted with a phone call), which it will try to start the RapidEars controller (during the OnActivate(UIApplication) for iOS), but then I will get the following error and IsListening == False:

    2020-03-10 15:07:48.437 KiioMobileiOS[25951:5081298] couldn’t initialize AURemoteIO instance: ‘!pri’

    Any help or suggestion is greatly appreciated! Thanks a lot!

    The full log is copied below (please note that the last four lines of the log is where the issue occurred):

    ——-Rapid Ears Before Calling Start Recognition – isListening = False, 03:07:24.470
    INFO: pocketsphinx.c(145): Parsed model-specific feature parameters from /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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 8.0
    -compallsen no no
    -debug 0
    -dict /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-2039687996.dic
    -dictcase no no
    -dither no no
    -doublebw no no
    -ds 1 1
    -fdict /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/noisedict
    -feat 1s_c_d_dd 1s_c_d_dd
    -featparams /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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 /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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 /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/feature_transform
    -ldadim 0 0
    -lifter 0 22
    -lm /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-2039687996.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 /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/mdef
    -mean /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/means
    -mfclogdir
    -min_endfr 0 0
    -mixw /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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
    -senlogdir
    -senmgau
    -silprob 0.005 5.000000e-03
    -smoothspec no no
    -svspec
    -tmat /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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 69
    -vad_prespeech 20 10
    -vad_startspeech 10 10
    -vad_threshold 2.0 2.300000e+00
    -var /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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-02

    INFO: 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(154): Reading linear feature transformation from /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/feature_transform
    INFO: mdef.c(518): Reading model definition: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/mdef
    INFO: bin_mdef.c(181): Allocating 142108 * 8 bytes (1110 KiB) for CD tree
    INFO: tmat.c(206): Reading HMM transition probability matrices: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/transition_matrices
    INFO: acmod.c(117): Attempting to use PTM computation module
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/means
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/variances
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(354): 0 variance values floored
    INFO: ptm_mgau.c(801): Number of codebooks exceeds 256: 5126
    INFO: acmod.c(119): Attempting to use semi-continuous computation module
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/means
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/variances
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(354): 0 variance values floored
    INFO: acmod.c(121): Falling back to general multi-stream GMM computation
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/means
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/variances
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(354): 0 variance values floored
    INFO: ms_senone.c(149): Reading senone mixture weights: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/mixture_weights
    INFO: ms_senone.c(200): Truncating senone logs3(pdf) values by 10 bits
    INFO: ms_senone.c(207): Not transposing mixture weights in memory
    INFO: ms_senone.c(268): Read mixture weights for 5126 senones: 1 features x 32 codewords
    INFO: ms_senone.c(320): Mapping senones to individual codebooks
    INFO: ms_mgau.c(141): The value of topn: 4
    INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
    INFO: dict.c(320): Allocating 4144 * 32 bytes (129 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-2039687996.dic
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(336): 43 words read
    INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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=45, 2=86, 3=43
    INFO: lm_trie.c(317): Training quantizer
    INFO: lm_trie.c(323): Building LM trie
    INFO: ngram_search_fwdtree.c(99): 1 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 135
    INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    ——-STARTED LISTENING 03:07:25:6387
    ——-Rapid Ears After Calling Start Recognition – isListening = True, 03:07:25.640
    ——-SPEECH DETECTED
    INFO: ngram_search.c(465): Resized backpointer table to 10000 entries
    INFO: cmn_prior.c(131): cmn_prior_update: from < 37.11 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 SPEECH NO LONGER DETECTED
    0.00 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 31.79 -0.57 4.34 7.46 4.74 5.69 4.18 3.89 -0.09 2.33 1.46 -1.27 0.22 >
    INFO: ngram_search_fwdtree.c(1553): 6970 words recognized (37/fr)
    INFO: ngram_search_fwdtree.c(1555): 26214 senones evaluated (140/fr)
    INFO: ngram_search_fwdtree.c(1559): 8964 channels searched (47/fr), 183 1st, 7948 last
    INFO: ngram_search_fwdtree.c(1562): 7948 words for which last channels evaluated (42/fr)
    INFO: ngram_search_fwdtree.c(1564): 8 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 0.42 CPU 0.223 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 1.94 wall 1.037 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 38 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
    ——-SPEECH DETECTED
    ——-PARTIAL RESULT: (HEY_KIIO); Score: (-1395)
    ——-Rapid Ears Before Calling Suspend Recognition IsSuspended = False – on thread 1
    ——-Rapid Ears After Calling Suspend Recognition IsSuspended = True – on thread 1
    ——-FINAL RESULT: HEY KIIO
    ——-SUSPEND LISTENING 03:07:28:5235
    ——-Rapid Ears Before Calling Resumed Recognition – IsListening = True, 03:07:28.562.
    ——-Rapid Ears After Calling Resumed Recognition – IsListening = True, 03:07:28.564.
    ——-RESUME LISTENING 03:07:28:5661
    INFO: cmn_prior.c(131): cmn_prior_update: from < 31.79 -0.57 4.34 7.46 4.74 5.69 4.18 3.89 -0.09 2.33 1.46 -1.27 0.22 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 36.94 -0.42 6.28 7.58 2.38 3.33 2.66 2.16 0.09 2.01 0.38 -1.58 0.82 >
    INFO: ngram_search_fwdtree.c(1553): 960 words recognized (16/fr)
    INFO: ngram_search_fwdtree.c(1555): 6316 senones evaluated (107/fr)
    INFO: ngram_search_fwdtree.c(1559): 3408 channels searched (57/fr), 38 1st, 3183 last
    INFO: ngram_search_fwdtree.c(1562): 1603 words for which last channels evaluated (27/fr)
    INFO: ngram_search_fwdtree.c(1564): 54 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 0.24 CPU 0.401 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 1.06 wall 1.791 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 32 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
    INFO: dict.c(320): Allocating 4154 * 32 bytes (129 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-1913019128.dic
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(336): 53 words read
    INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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_search_fwdtree.c(99): 9 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
    ERROR: “ngram_search_fwdtree.c”, line 336: No word from the language model has pronunciation in the dictionary
    INFO: ngram_search_fwdtree.c(339): after: 0 root, 0 non-root channels, 44 single-phone words
    INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
    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=49, 2=94, 3=47
    INFO: lm_trie.c(317): Training quantizer
    INFO: lm_trie.c(323): Building LM trie
    INFO: ngram_search_fwdtree.c(99): 9 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 151
    INFO: ngram_search_fwdtree.c(339): after: 9 root, 23 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    INFO: cmn_prior.c(131): cmn_prior_update: from < 36.94 -0.42 6.28 7.58 2.38 3.33 2.66 2.16 0.09 2.01 0.38 -1.58 0.82 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 36.94 -0.42 6.28 7.58 2.38 3.33 2.66 2.16 0.09 2.01 0.38 -1.58 0.82 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    ——-SPEECH DETECTED
    ——-SPEECH NO LONGER DETECTED
    INFO: cmn_prior.c(131): cmn_prior_update: from < 36.94 -0.42 6.28 7.58 2.38 3.33 2.66 2.16 0.09 2.01
    0.38 -1.58 0.82 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 38.11 -3.27 -0.11 1.11 11.64 12.66 -6.00 -4.04 -1.43 17.44 -2.37 -7.84 -3.30 >
    INFO: ngram_search_fwdtree.c(1553): 459 words recognized (6/fr)
    INFO: ngram_search_fwdtree.c(1555): 10852 senones evaluated (136/fr)
    INFO: ngram_search_fwdtree.c(1559): 3882 channels searched (48/fr), 684 1st, 2866 last
    INFO: ngram_search_fwdtree.c(1562): 2866 words for which last channels evaluated (35/fr)
    INFO: ngram_search_fwdtree.c(1564): 0 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 0.22 CPU 0.273 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 1.01 wall 1.265 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 10 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
    ——-SPEECH DETECTED
    ——-PARTIAL RESULT: (CANCEL); Score: (-2496)
    ——-SPEECH NO LONGER DETECTED
    INFO: cmn_prior.c(131): cmn_prior_update: from < 38.11 -3.27 -0.11 1.11 11.64 12.66 -6.00 -4.04 -1.43 17.44 -2.37 -7.84 -3.30 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
    INFO: ngram_search_fwdtree.c(1553): 3619 words recognized (35/fr)
    INFO: ngram_search_fwdtree.c(1555): 23937 senones evaluated (230/fr)
    INFO: ngram_search_fwdtree.c(1559): 10534 channels searched (101/fr), 898 1st, 7620 last
    INFO: ngram_search_fwdtree.c(1562): 4373 words for which last channels evaluated (42/fr)
    INFO: ngram_search_fwdtree.c(1564): 640 candidate words for entering last phone (6/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 0.61 CPU 0.584 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 2.52 wall 2.423 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 41 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.005 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.001 xRT
    ——-Rapid Ears Before Calling Suspend Recognition IsSuspended = False – on thread 13
    ——-Rapid Ears After Calling Suspend Recognition IsSuspended = True – on thread 13
    ——-SUSPEND LISTENING 03:07:32:3223
    ——-FINAL RESULT: CANCEL
    ——-Rapid Ears Before Calling Resumed Recognition – IsListening = True, 03:07:32.367.
    ——-Rapid Ears After Calling Resumed Recognition – IsListening = True, 03:07:32.368.
    ——-RESUME LISTENING 03:07:32:3690
    INFO: cmn_prior.c(131): cmn_prior_update: from < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    INFO: dict.c(320): Allocating 4144 * 32 bytes (129 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-2039687996.dic
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(336): 43 words read
    INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/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_search_fwdtree.c(99): 1 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(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdtree.c(99): 1 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
    ERROR: “ngram_search_fwdtree.c”, line 336: No word from the language model has pronunciation in the dictionary
    INFO: ngram_search_fwdtree.c(339): after: 0 root, 0 non-root channels, 44 single-phone words
    INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
    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=45, 2=86, 3=43
    INFO: lm_trie.c(317): Training quantizer
    INFO: lm_trie.c(323): Building LM trie
    INFO: ngram_search_fwdtree.c(99): 1 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 135
    INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    INFO: cmn_prior.c(131): cmn_prior_update: from < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    ——-SPEECH DETECTED
    INFO: ngram_search.c(465): Resized backpointer table to 10000 entries
    INFO: ngram_search.c(465): Resized backpointer table to 20000 entries
    INFO: cmn_prior.c(99): cmn_prior_update: from < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
    INFO: cmn_prior.c(116): cmn_prior_update: to < 36.92 -3.28 1.57 3.80 7.53 8.36 1.49 2.78 1.60 9.70 -0.48 -3.97 -1.50 >
    ——-SPEECH NO LONGER DETECTED
    INFO: cmn_prior.c(131): cmn_prior_update: from < 36.92 -3.28 1.57 3.80 7.53 8.36 1.49 2.78 1.60 9.70 -0.48 -3.97 -1.50 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 35.66 -3.16 1.86 3.91 7.15 7.60 2.01 2.97 1.75 8.87 -0.13 -3.27 -1.42 >
    INFO: ngram_search_fwdtree.c(1553): 17315 words recognized (39/fr)
    INFO: ngram_search_fwdtree.c(1555): 64095 senones evaluated (144/fr)
    INFO: ngram_search_fwdtree.c(1559): 21853 channels searched (49/fr), 440 1st, 18972 last
    INFO: ngram_search_fwdtree.c(1562): 18972 words for which last channels evaluated (42/fr)
    INFO: ngram_search_fwdtree.c(1564): 68 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 1.53 CPU 0.344 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 4.83 wall 1.087 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 40 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
    ——-Rapid Ears Before Calling Suspend Recognition IsSuspended = False – on thread 19
    ——-SUSPEND LISTENING 03:07:40:3306
    ——-Rapid Ears After Calling Suspend Recognition IsSuspended = True – on thread 19
    ——-Rapid Ears Before Calling Stop Recognition. IsListening – True – on thread 17
    INFO: cmn_prior.c(131): cmn_prior_update: from < 35.66 -3.16 1.86 3.91 7.15 7.60 2.01 2.97 1.75 8.87 -0.13 -3.27 -1.42 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 35.66 -3.16 1.86 3.91 7.15 7.60 2.01 2.97 1.75 8.87 -0.13 -3.27 -1.42 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 1.98 CPU 0.447 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 7.88 wall 1.778 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.001 xRT
    INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
    INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 0.65 CPU 0.268 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 3.00 wall 1.228 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.000 xRT
    INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
    INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 0.91 CPU 0.501 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 3.82 wall 2.098 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.003 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.000 xRT
    INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
    INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
    ——-Rapid Ears After Calling Stop Recognition. IsListening – False – on thread 17
    ——-LISTENER CLOSED 03:07:40:4035
    —–> This is where the StartRealtimeListeningWithLanguageModelAtPath(string, string, string) is called during OnActivated(UIApplication) for iOS <——
    ——-Rapid Ears Before Calling Start Recognition – IsListening = False, 03:07:48.418
    2020-03-10 15:07:48.437 KiioMobileiOS[25951:5081298] couldn’t initialize AURemoteIO instance: ‘!pri’
    ——-Rapid Ears After Calling Start Recognition – IsListening = False, 03:07:48.437

    #1033108
    Halle Winkler
    Politepix

    Hi Ming,

    Sorry I didn’t see this when you first posted it. Do you have OpenEarsLogging on or just verbosePocketSphinx there? That looks a bit like an OS bug and it is hard to say without knowing about the audio routing that would appear with OELogging info.

    #1033111
    ming
    Participant

    Thanks for getting back to me! I will set the VerbosePocketSphinx property and run the app again. Thanks again for your help!

    #1033112
    ming
    Participant

    Hi Halle,

    I just ran the app with the VerbosePocktSphinx set to true. I will copy the debug logs below. Thank you so much! Please note the last four lines of the debug logs, the same issue… Also, I am testing this on an iPhone 7+ running iOS 13.3.1.

    INFO: pocketsphinx.c(145): Parsed model-specific feature parameters from /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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 8.0
    -compallsen no no
    -debug 0
    -dict /var/mobile/Containers/Data/Application/8EFC6EDC-B762-42E9-AAD8-3C21DB205849/Library/Caches/-2039687996.dic
    -dictcase no no
    -dither no no
    -doublebw no no
    -ds 1 1
    -fdict /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/noisedict
    -feat 1s_c_d_dd 1s_c_d_dd
    -featparams /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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 /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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 /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/feature_transform
    -ldadim 0 0
    -lifter 0 22
    -lm /var/mobile/Containers/Data/Application/8EFC6EDC-B762-42E9-AAD8-3C21DB205849/Library/Caches/-2039687996.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 /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/mdef
    -mean /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/means
    -mfclogdir
    -min_endfr 0 0
    -mixw /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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
    -senlogdir
    -senmgau
    -silprob 0.005 5.000000e-03
    -smoothspec no no
    -svspec
    -tmat /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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 69
    -vad_prespeech 20 10
    -vad_startspeech 10 10
    -vad_threshold 2.0 2.300000e+00
    -var /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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-02

    INFO: 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(154): Reading linear feature transformation from /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/feature_transform
    INFO: mdef.c(518): Reading model definition: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/mdef
    INFO: bin_mdef.c(181): Allocating 142108 * 8 bytes (1110 KiB) for CD tree
    INFO: tmat.c(206): Reading HMM transition probability matrices: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/transition_matrices
    INFO: acmod.c(117): Attempting to use PTM computation module
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/means
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/variances
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(354): 0 variance values floored
    INFO: ptm_mgau.c(801): Number of codebooks exceeds 256: 5126
    INFO: acmod.c(119): Attempting to use semi-continuous computation module
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/means
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/variances
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(354): 0 variance values floored
    INFO: acmod.c(121): Falling back to general multi-stream GMM computation
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/means
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/variances
    INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
    INFO: ms_gauden.c(294): 32×36
    INFO: ms_gauden.c(354): 0 variance values floored
    INFO: ms_senone.c(149): Reading senone mixture weights: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/AcousticModelEnglish.bundle/mixture_weights
    INFO: ms_senone.c(200): Truncating senone logs3(pdf) values by 10 bits
    INFO: ms_senone.c(207): Not transposing mixture weights in memory
    INFO: ms_senone.c(268): Read mixture weights for 5126 senones: 1 features x 32 codewords
    INFO: ms_senone.c(320): Mapping senones to individual codebooks
    INFO: ms_mgau.c(141): The value of topn: 4
    INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
    INFO: dict.c(320): Allocating 4144 * 32 bytes (129 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/8EFC6EDC-B762-42E9-AAD8-3C21DB205849/Library/Caches/-2039687996.dic
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(336): 43 words read
    INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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=45, 2=86, 3=43
    INFO: lm_trie.c(317): Training quantizer
    INFO: lm_trie.c(323): Building LM trie
    INFO: ngram_search_fwdtree.c(99): 1 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 135
    INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    โ€”โ€”-STARTED LISTENING 12:24:06:9011
    โ€”โ€”-SPEECH DETECTED
    โ€”โ€”-SUSPEND LISTENING 12:24:08:4048
    โ€”โ€”-RESUME LISTENING 12:24:08:4551
    INFO: cmn_prior.c(131): cmn_prior_update: from < 42.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 42.04 -2.31 8.25 9.10 3.83 3.85 -1.25 -0.21 3.61 1.74 0.44 -2.31 -3.46 >
    INFO: ngram_search_fwdtree.c(1553): 3929 words recognized (26/fr)
    INFO: ngram_search_fwdtree.c(1555): 18197 senones evaluated (122/fr)
    INFO: ngram_search_fwdtree.c(1559): 6828 channels searched (45/fr), 126 1st, 6214 last
    INFO: ngram_search_fwdtree.c(1562): 5414 words for which last channels evaluated (36/fr)
    INFO: ngram_search_fwdtree.c(1564): 32 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 0.78 CPU 0.522 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 1.57 wall 1.052 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 39 words
    INFO: ngram_search_fwdflat.c(948): 2730 words recognized (18/fr)
    INFO: ngram_search_fwdflat.c(950): 14584 senones evaluated (98/fr)
    INFO: ngram_search_fwdflat.c(952): 6410 channels searched (43/fr)
    INFO: ngram_search_fwdflat.c(954): 4346 words searched (29/fr)
    INFO: ngram_search_fwdflat.c(957): 3907 word transitions (26/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.07 CPU 0.044 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.06 wall 0.041 xRT
    INFO: dict.c(320): Allocating 4154 * 32 bytes (129 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/8EFC6EDC-B762-42E9-AAD8-3C21DB205849/Library/Caches/-1913019128.dic
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(336): 53 words read
    INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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_search_fwdtree.c(99): 9 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
    ERROR: “ngram_search_fwdtree.c”, line 336: No word from the language model has pronunciation in the dictionary
    INFO: ngram_search_fwdtree.c(339): after: 0 root, 0 non-root channels, 44 single-phone words
    INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
    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=49, 2=94, 3=47
    INFO: lm_trie.c(317): Training quantizer
    INFO: lm_trie.c(323): Building LM trie
    INFO: ngram_search_fwdtree.c(99): 9 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 151
    INFO: ngram_search_fwdtree.c(339): after: 9 root, 23 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    INFO: cmn_prior.c(131): cmn_prior_update: from < 42.04 -2.31 8.25 9.10 3.83 3.85 -1.25 -0.21 3.61 1.74 0.44 -2.31 -3.46 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 42.04 -2.31 8.25 9.10 3.83 3.85 -1.25 -0.21 3.61 1.74 0.44 -2.31 -3.46 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    โ€”โ€”-SPEECH DETECTED
    INFO: cmn_prior.c(131): cmn_prior_update: from < 42.04 -2.31 8.25 9.10 3.83 3.85 -1.25 -0.21 3.61 SPEECH NO LONGER DETECTED
    1.74 0.44 -2.31 -3.46 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 39.95 -3.07 2.90 4.78 12.49 12.31 -8.33 -6.18 1.16 20.09 -1.25 -10.09 -6.97 >
    INFO: ngram_search_fwdtree.c(1553): 1580 words recognized (20/fr)
    INFO: ngram_search_fwdtree.c(1555): 13484 senones evaluated (169/fr)
    INFO: ngram_search_fwdtree.c(1559): 4803 channels searched (60/fr), 684 1st, 3211 last
    INFO: ngram_search_fwdtree.c(1562): 3211 words for which last channels evaluated (40/fr)
    INFO: ngram_search_fwdtree.c(1564): 79 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 0.33 CPU 0.413 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 0.90 wall 1.125 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 18 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.001 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
    โ€”โ€”-SPEECH DETECTED
    INFO: cmn_prior.c(131): cmn_prior_update: from < 39.95 -3.07 2.90 4.78 12.49 SPEECH NO LONGER DETECTED
    12.31 -8.33 -6.18 1.16 20.09 -1.25 -10.09 -6.97 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 40.10 -1.69 2.39 5.73 9.63 8.91 -5.81 -1.59 1.96 14.08 -0.88 -7.71 -5.75 >
    INFO: ngram_search_fwdtree.c(1553): 3401 words recognized (32/fr)
    INFO: ngram_search_fwdtree.c(1555): 23555 senones evaluated (224/fr)
    INFO: ngram_search_fwdtree.c(1559): 11021 channels searched (104/fr), 904 1st, 8301 last
    INFO: ngram_search_fwdtree.c(1562): 4485 words for which last channels evaluated (42/fr)
    INFO: ngram_search_fwdtree.c(1564): 377 candidate words for entering last phone (3/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 0.30 CPU 0.286 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 1.18 wall 1.128 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 45 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.001 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
    โ€”โ€”-SUSPEND LISTENING 12:24:10:7537
    โ€”โ€”-RESUME LISTENING 12:24:10:7682
    INFO: cmn_prior.c(131): cmn_prior_update: from < 40.10 -1.69 2.39 5.73 9.63 8.91 -5.81 -1.59 1.96 14.08 -0.88 -7.71 -5.75 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 40.10 -1.69 2.39 5.73 9.63 8.91 -5.81 -1.59 1.96 14.08 -0.88 -7.71 -5.75 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    INFO: dict.c(320): Allocating 4144 * 32 bytes (129 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/8EFC6EDC-B762-42E9-AAD8-3C21DB205849/Library/Caches/-2039687996.dic
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(336): 43 words read
    INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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_search_fwdtree.c(99): 1 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(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdtree.c(99): 1 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
    ERROR: “ngram_search_fwdtree.c”, line 336: No word from the language model has pronunciation in the dictionary
    INFO: ngram_search_fwdtree.c(339): after: 0 root, 0 non-root channels, 44 single-phone words
    INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
    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=45, 2=86, 3=43
    INFO: lm_trie.c(317): Training quantizer
    INFO: lm_trie.c(323): Building LM trie
    INFO: ngram_search_fwdtree.c(99): 1 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 135
    INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    INFO: cmn_prior.c(131): cmn_prior_update: from < 40.10 -1.69 2.39 5.73 9.63 8.91 -5.81 -1.59 1.96 14.08 -0.88 -7.71 -5.75 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 40.10 -1.69 2.39 5.73 9.63 8.91 -5.81 -1.59 1.96 14.08 -0.88 -7.71 -5.75 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    โ€”โ€”-SPEECH DETECTED
    INFO: cmn_prior.c(131): cmn_prior_update: from < 40.10 -1.69 2.39 5.73 9.63 8.91 SPEECH NO LONGER DETECTED
    -5.81 -1.59 1.96 14.08 -0.88 -7.71 -5.75 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 37.44 -0.85 3.55 5.90 10.06 8.83 -2.37 0.03 2.30 11.80 -0.04 -6.02 -5.28 >
    INFO: ngram_search_fwdtree.c(1553): 3575 words recognized (33/fr)
    INFO: ngram_search_fwdtree.c(1555): 14404 senones evaluated (132/fr)
    INFO: ngram_search_fwdtree.c(1559): 4977 channels searched (45/fr), 105 1st, 4567 last
    INFO: ngram_search_fwdtree.c(1562): 4567 words for which last channels evaluated (41/fr)
    INFO: ngram_search_fwdtree.c(1564): 0 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 0.73 CPU 0.667 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 1.53 wall 1.402 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 34 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.001 xRT
    โ€”โ€”-SUSPEND LISTENING 12:24:12:5695
    2020-03-18 12:24:12.617 MyApp[6150:1312437] Got the query meta data reply for: com.apple.MobileAsset.VoiceServicesVocalizerVoice, response: 0
    2020-03-18 12:24:12.631 MyApp[6150:1312437] Consumed extension
    2020-03-18 12:24:12.872 MyApp[6150:1312437] Got the query meta data reply for: com.apple.MobileAsset.VoiceServices.VoiceResources, response: 0
    โ€”โ€”-RESUME LISTENING 12:24:23:7628
    INFO: cmn_prior.c(131): cmn_prior_update: from < 37.44 -0.85 3.55 5.90 10.06 8.83 -2.37 0.03 2.30 11.80 -0.04 -6.02 -5.28 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 37.44 -0.85 3.55 5.90 10.06 8.83 -2.37 0.03 2.30 11.80 -0.04 -6.02 -5.28 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    INFO: dict.c(320): Allocating 4144 * 32 bytes (129 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/8EFC6EDC-B762-42E9-AAD8-3C21DB205849/Library/Caches/-2039687996.dic
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(336): 43 words read
    INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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_search_fwdtree.c(99): 1 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(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdtree.c(99): 1 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(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdtree.c(99): 1 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
    ERROR: “ngram_search_fwdtree.c”, line 336: No word from the language model has pronunciation in the dictionary
    INFO: ngram_search_fwdtree.c(339): after: 0 root, 0 non-root channels, 44 single-phone words
    INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
    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=45, 2=86, 3=43
    INFO: lm_trie.c(317): Training quantizer
    INFO: lm_trie.c(323): Building LM trie
    INFO: ngram_search_fwdtree.c(99): 1 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 135
    INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    INFO: cmn_prior.c(131): cmn_prior_update: from < 37.44 -0.85 3.55 5.90 10.06 8.83 -2.37 0.03 2.30 11.80 -0.04 -6.02 -5.28 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 37.44 -0.85 3.55 5.90 10.06 8.83 -2.37 0.03 2.30 11.80 -0.04 -6.02 -5.28 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    โ€”โ€”-SPEECH DETECTED
    INFO: ngram_search.c(465): Resized backpointer table to 10000 entries
    INFO: cmn_prior.c(131): cmn_prior_update: from < 37.44 -0.85 3.55 5.90 10.06 SPEECH NO LONGER DETECTED
    8.83 -2.37 0.03 2.30 11.80 -0.04 -6.02 -5.28 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 37.20 -2.81 0.83 4.77 7.15 7.33 0.56 2.14 3.34 8.41 1.08 -4.00 -3.79 >
    INFO: ngram_search_fwdtree.c(1553): 9473 words recognized (37/fr)
    INFO: ngram_search_fwdtree.c(1555): 35557 senones evaluated (137/fr)
    INFO: ngram_search_fwdtree.c(1559): 12149 channels searched (46/fr), 255 1st, 10736 last
    INFO: ngram_search_fwdtree.c(1562): 10736 words for which last channels evaluated (41/fr)
    INFO: ngram_search_fwdtree.c(1564): 2 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 1.24 CPU 0.479 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 2.63 wall 1.016 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 38 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.001 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.001 xRT
    โ€”โ€”-SUSPEND LISTENING 12:24:27:8964
    โ€”โ€”-RESUME LISTENING 12:24:35:8073
    INFO: cmn_prior.c(131): cmn_prior_update: from < 37.20 -2.81 0.83 4.77 7.15 7.33 0.56 2.14 3.34 8.41 1.08 -4.00 -3.79 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 37.20 -2.81 0.83 4.77 7.15 7.33 0.56 2.14 3.34 8.41 1.08 -4.00 -3.79 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    INFO: dict.c(320): Allocating 4144 * 32 bytes (129 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/8EFC6EDC-B762-42E9-AAD8-3C21DB205849/Library/Caches/-2039687996.dic
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(336): 43 words read
    INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/2368477B-ECB7-40D2-AAF7-FA324AB0369F/MyApp.app/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_search_fwdtree.c(99): 1 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(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdtree.c(99): 1 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(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdtree.c(99): 1 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(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdtree.c(99): 1 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
    ERROR: “ngram_search_fwdtree.c”, line 336: No word from the language model has pronunciation in the dictionary
    INFO: ngram_search_fwdtree.c(339): after: 0 root, 0 non-root channels, 44 single-phone words
    INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
    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=45, 2=86, 3=43
    INFO: lm_trie.c(317): Training quantizer
    INFO: lm_trie.c(323): Building LM trie
    INFO: ngram_search_fwdtree.c(99): 1 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 135
    INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    INFO: cmn_prior.c(131): cmn_prior_update: from < 37.20 -2.81 0.83 4.77 7.15 7.33 0.56 2.14 3.34 8.41 1.08 -4.00 -3.79 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 37.20 -2.81 0.83 4.77 7.15 7.33 0.56 2.14 3.34 8.41 1.08 -4.00 -3.79 >
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    โ€”โ€”-SPEECH DETECTED
    INFO: cmn_prior.c(99): cmn_prior_update: from < 37.20 -2.81 0.83 4.77 7.15 7.33 0.56 2.14 3.34 8.41 1.08 -4.00 -3.79 >
    INFO: cmn_prior.c(116): cmn_prior_update: to < 37.49 -2.94 0.85 3.57 7.17 6.91 1.26 2.56 3.63 8.16 1.17 -3.54 -4.03 >
    INFO: ngram_search.c(465): Resized backpointer table to 10000 entries
    INFO: ngram_search.c(465): Resized backpointer table to 20000 entries
    โ€”โ€”-Suspend & Close the RapidEars controller when the app is interrupted with a phone call
    โ€”โ€”-SUSPEND LISTENING 12:24:39:6928
    INFO: cmn_prior.c(131): cmn_prior_update: from < 37.49 -2.94 0.85 3.57 7.17 6.91 1.26 2.56 3.63 8.16 1.17 -3.54 -4.03 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 34.98 -3.30 2.22 4.03 5.73 6.02 3.17 3.30 4.28 6.56 1.51 -2.70 -3.90 >
    INFO: ngram_search_fwdtree.c(1553): 13736 words recognized (37/fr)
    INFO: ngram_search_fwdtree.c(1555): 52637 senones evaluated (141/fr)
    INFO: ngram_search_fwdtree.c(1559): 17896 channels searched (48/fr), 368 1st, 15787 last
    INFO: ngram_search_fwdtree.c(1562): 15787 words for which last channels evaluated (42/fr)
    INFO: ngram_search_fwdtree.c(1564): 36 candidate words for entering last phone (0/fr)
    INFO: ngram_search_fwdtree.c(1567): fwdtree 2.01 CPU 0.541 xRT
    INFO: ngram_search_fwdtree.c(1570): fwdtree 6.07 wall 1.632 xRT
    โ€”โ€”-LISTENER CLOSED 12:24:42:0513
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 39 words
    INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
    INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
    INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
    INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
    INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 3.93 CPU 1.524 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 11.97 wall 4.638 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.001 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.001 xRT
    INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
    INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 0.78 CPU 0.526 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 1.57 wall 1.059 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.07 CPU 0.044 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.06 wall 0.041 xRT
    INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
    INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 3.92 CPU 3.634 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 13.06 wall 12.094 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.001 xRT
    INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
    INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 2.01 CPU 0.542 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 6.07 wall 1.637 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.000 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.000 xRT
    INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
    INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 0.66 CPU 0.361 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 2.19 wall 1.199 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.001 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.000 xRT
    INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
    INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT

    โ€”โ€”-Resume the app to the foreground and attempt to start the RapidEars controller
    โ€”โ€”-Calling Start Recognition – on Thread 12 12: 24:50.490
    2020-03-18 12:24:50.510 MyApp[6150:1311980] couldn’t initialize AURemoteIO instance: ‘!pri’
    โ€”โ€”-Rapid Ears Suspend Recognition is NOT IsListening

    #1033115
    Halle Winkler
    Politepix

    Hi Ming,

    Check out the post: https://www.politepix.com/forums/topic/install-issues-and-their-solutions so you can see how to turn on OELogging, which will have the information about the audio session.

    #1033118
    ming
    Participant

    Hi Halle,

    Thanks for the response. I have looked into the OELogging documentations. However, I having trouble getting the method startOpenEarsLogging() to be called successfully. My app is developed in Xamarin and I am having difficulty with binding OELogging -> (id) startOpenEarsLogging() method into a C# equivalent method. I have googled Objective-C “id” type and its C# equivalent, but I didn’t find much.

    Currently, I have binding codes as follow:

    // @interface OELogging : NSObject
    [BaseType(typeof(NSObject))]
    interface OELogging
    {
    // @optional -(id)startOpenEarsLogging;
    [Export(“startOpenEarsLogging”)]
    NSObject StartOpenEarsLogging();
    }

    That compiles fine, but when I call the StartOpenEarsLoggin() mthod, it throws an Object-C NSInvalidArgumentException.

    Do you have any suggestion?

    Thanks again!

    #1033119
    Halle Winkler
    Politepix

    Hi Ming,

    Sorry, I don’t have a suggested approach for this, since I’m not familiar with Xamarin and unfortunately don’t support it.

    #1033120
    ming
    Participant

    Hi Halle,

    Thanks for the quick response. I’ll google some more. :)

    #1033123
    Halle Winkler
    Politepix

    ????

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