Menu

Trouble with sphinx2-test sphinx2-simple

Anonymous
2001-11-22
2012-09-22
  • Anonymous

    Anonymous - 2001-11-22

    Hi,

    if just downloaded and installed sphinx2-0.3 on a

        Linux 2.2.16-3smp i686 unknown

    Problem now is that sphinx2-test seems to run but does not produce any output. Calling it with added -verbose 9 yields

    Utterance: goforward
    search.c(1876): startword= <s> (id= 112)
    INFO: uttproc.c(906): Batchmode
    INFO: uttproc.c(1100): Samples histogram (goforward) (4/8/16/30/32K): 100.0%(80872) 0.0%(0) 0.0%(0) 0.0%(0) 0.0%(0); max: 1035
    WARNING: "uttproc.c", line 589: NO AGC
    FWDTREE: GO FORWARD TEN METERS  (goforward -79196110 (A=-78439359 L=-756751))
        1234 words recognized (2/fr)
       14389 phones in topsen (28/fr)
    3146265 senones evaluated (6255/fr)
       62492 channels searched (124/fr), 31341 1st, 11186 last
        2479 words for which last channels evaluated (4/fr)
        3944 candidate words for entering last phone (7/fr)
    BESTPATH: GO FORWARD TEN METERS  (goforward -79447559)
          24 nodes, 80 links searched
      5.02 SoS,   0.79 sec elapsed,  0.16 xRT,   0.53 sec CPU,  0.11 xRT

    TOTAL Elapsed time 0.79 seconds
    TOTAL CPU time 0.53 seconds
    TOTAL Speech 5.02 seconds
    AVERAGE 0.16 xRT(Elapsed), 0.11 xRT(CPU)

    so there seems to be recognition but no output.
    Running sphinx2-simple stops with an error message:

    ad_oss.c 215: mixer input gain to 21845: Invalid argument

    It seems that the audio-device is not correctly set up. The soundcard was configured with sndconfig, lsmod says

    [gabsdil@trap] (/sbin) $ ./lsmod
    Module                  Size  Used by
    nfs                    28664   7  (autoclean)
    lockd                  31432   0  (autoclean) [nfs]
    sunrpc                 53892   1  (autoclean) [nfs lockd]
    3c59x                  19752   1  (autoclean)
    es1371                 29760   0
    soundcore               2756   4  [es1371]

    Any ideas?

    Thanks for your help,

        Malte.

     
    • Akkineni Rajesh

      Akkineni Rajesh - 2001-11-24

      if u got this ..
      BESTPATH: GO FORWARD TEN METERS  (goforward -79447559)

      then..what else u want.. that is the output.

      why it is not comming without  verbose 9.. that i dont know. i have changed the source and printed that as output.

       
    • Anonymous

      Anonymous - 2001-11-29

      Hi,

      thanks for your answer. It seems that sphinx2-test is working (although no output is produced). It also works with my own language model, dictonary, and some recorded input.

      But the main problem persists: I cannot run sphinx2-demo and sphinx2-simple (i.e. I cannot recognize from a microphone).
      The last thing sphinx2-demo says is [initializing] and then it stops. sphinx2-simple dies with the following error message:

      ad_oss.c 215: mixer input gain to 21845: Invalid argument

      As I wrote in my last mail, the audio card in my machine was configured with sndconfig. Do I have to use OSS or ALSA instead? I also listened to the goforward.16k file using

      play  -t raw -r 16000 -ws goforward.16k

      which seemed to be extremely muted (I almost couldn't hear it). Perhaps this is a related error?

      Best,

          Malte

       
    • Kevin A. Lenzo

      Kevin A. Lenzo - 2001-12-15

      Check the mixer input level for the microphone using gmix, xmixer, alsamixer, gamix, or any mixer control software you can find.

      If the device input gain is at zero (the default startup for the ALSA drivers, for instance), or another device is selected for input, the calibration will fail.   Note that on graphical
      mixers, the fader under the microphone is not the _input_ volume, but rather the amount of signal that _goes through to the ouput signal_, i.e. your speakers.  So, opposite to what one might expect, the MIC fader is not the Input Gain -- it sounds like this might be the problem.

       

Log in to post a comment.