Menu

Sphinx2-demo first utterance only

Help
jack93066
2006-02-23
2012-09-22
  • jack93066

    jack93066 - 2006-02-23

    Hi. I've built Sphinx2-0.6 on both RedHat Linux and WinXP/Cygwin. On both systems, the sphinx2-demo works fine on the first utterance but poorly or not at all after that, until it's restarted. I've seen some postings suggesting that this indicates a hardware problem but I suspect otherwise. It seems more like a problem not resetting something (AGC? language search?) between utterances, but haven't figured out how to fix it. Enabling the debug output in the sphinx2-demo Perl script didn't turn up anything obvious.

    Suggestions would be greatly appreciated.

     
    • jack93066

      jack93066 - 2006-02-27

      Responding to my own post... after experimenting, it seems to be the automatic updating of AGC max that causes trouble. In tty-continuous.c, calling "uttproc_agcemax_set(5.0)" just before the call to uttproc_begin_utt() to reset the AGC for each utterance makes the demo work much better for me. (The automatic update wants to change c0max to 7-10).

       
    • Ali Rouhi

      Ali Rouhi - 2006-02-24

      I sent out a post after this one regarding soundcards and drivers which I think is irrelevant after further investigation (subject: "alsa and oss in sphinx").

      I see exactly the same behavior as this poster mentions, on both RHEL4 and WinXP/Cygwin running dual boot on the same hardware.

      I have also built a a cvs snapshot of sphinx2 boht on from a few days ago with same results.

      I would also greatly appreciate any help or suggestions.

       

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.