Menu

pocketsphinx decode on ARM9

Help
2008-09-26
2012-09-22
  • hellen white

    hellen white - 2008-09-26

    hi everyone

    Now i am running the pockesphinx on arm9
    I have some problem

    CROSS-compile (pocketshinx-0.4.1 sphinxbase-0.3)has already achieved

    then i want to do some live recognization on arm 9
    type the following command
    pocketsphinx_ptt.exe -live yes -samprate 16000 -lm an4.ug.lm.DMP -dict an4.dic -fdict noisedict -mdef mdef -mean means -var variances -tmat transition_matrices -sendump sendump

    it displayed the following
    ......(the prior part was ok)
    INFO: search.c(2465): 0 = newword penalty
    INFO: search.c(2500): LW = fwdtree: 6.5, fwdflat: 8.5, bestpath: 9.5
    INFO: search.c(3358): Flat-pass bw = 1.0e-64 (-1473728), nwbw = 7.0e-29 (-648323)
    WARNING: "fe_interface.c", line 241: Number of FFT points has to be a power of 2 higher than 1230
    WARNING: "uttproc.c", line 549: uttproc_set_lm called when not in IDLE state
    INFO: search.c(2762): Creating search tree
    INFO: search.c(2897): 10 root, 12 non-root channels, 4 single-phone words
    INFO: uttproc.c(1486): LM= ""
    WARNING: "uttproc.c", line 549: uttproc_set_startword called when not in IDLE state
    INFO: search.c(1623): startword= <s> (id= 12)
    INFO: fbs_main.c(326): libfbs/main COMPILED ON: Sep 26 2008, AT: 10:40:16

    ad_oss.c 258: can't set input gain/recording level for this device.
    INFO: tty-ptt.c(242): pocketsphinx_ptt COMPILED ON: Sep 26 2008, AT: 10:41:13

    Hit <cr> BEFORE and AFTER speaking:
    ERROR: "uttproc.c", line 834: uttproc_begin_utt called when not in IDLE state
    FATAL_ERROR: "tty-ptt.c", line 177: uttproc_begin_utt() failed

    then i examined my audio device,it was ok,then i look up into the program ad_oss.c,i know little about audio

    ls

    bin sample.au sbin

    cd /dev/

    ls

    console dsp mixer tty tty0 ttyS0

    i don't know what's wrong?

    i am looking forward your reply.

     
    • Nickolay V. Shmyrev

      Could you please try pocketsphinx-0.5 first. It's possible to fix 0.4 problem, but it's really an obsolete version now.

       

Log in to post a comment.