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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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).
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.