Menu

Demo's stop working after first recognition

Help
2004-07-03
2012-09-22
  • Oguzhan Eris

    Oguzhan Eris - 2004-07-03

    Hi All,

    I'm having a problem with all of the demos in sphinx4-0.1alpha   (I'm running a mandrake 9 box with ALSA (nforce chipset) I've tried the demos both with jre 1.4.2_01  and also just tried with 1.5.0 beta2. 

    Basically recognition works with each demo just once.  Then It just sits there with the "Start speaking" prompt, even though I can continue to hear myself through the microphone.

    Anything I can try to help give more info? 

    I had esd running and have killed that according to the troubleshooting guide, but that has made no difference. I can also record audio fine using any of the sound recorders on my system.

    Thanks in advance.

     
    • Oguzhan Eris

      Oguzhan Eris - 2004-07-04

      Ok, I have to retract my statement that after the first recognition (which is great accuracy btw)  that the demos no longer work.  It turns out that it does work, but I have to pretty much SCREAM for it to "hear" anything.   On the microphone loopback, I can hear myself at the same level however.  So can it be that internally the microphone input is attenuated somehow?

      Thanks

       
    • Mike

      Mike - 2004-07-06

      I am also having the same problem. The demos work great the first time but they don't regonize anything on the second round. Has anyone found a solution to this problem other than screaming into the Mic.

      Thanks in advance for any help,

      Mike

       
    • Philip Kwok

      Philip Kwok - 2004-07-08

      Hi Oguzhan & Mike,

      Sorry for my delayed reply, I'm on vacation this week. I'm not sure what the problem might be, but it might be due to the endpointer. Here are a couple of things to try:

      Run the live demo at the tests/live directory. Run the 'ant run' target, which does not endpointer. If that one works fine, then it might be the endpointer. In that case, please recalibrate the thresholds following instructions at:

      http://cmusphinx.sourceforge.net/sphinx4/javadoc/edu/cmu/sphinx/frontend/doc-files/FrontEndFAQ.html#enable_endpointer

      If the 'ant run' target doesn't run either, then it probably  is the problem of Java Sound.

      Hope this helps.

      philip

       
    • Mike

      Mike - 2004-07-08

      Philip,

      I tried to run the live demo. I ran all three programs: live, live-ep, and live-free. When these programs were run they prompted me to say either a single digit or a string of digits. No matter what I said in all three programs nothing happened. If you still think the problem is in Java Sound would you be willing to help me debug it?

      Thank you for your help,

      Mike

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.