I've configured, built and installed sphinx2 v0.4 from the SourceForge download web page on my Solaris Ultra 60, and then tried to run sphinx2-simple. I get:
stard[369] cd /net/stard.eng/spare/speech/dist/sphinx2/bin
stard[370] ./sphinx2-simple
sphinx2-simple:
Demo CMU Sphinx2 decoder called with command line arguments.
I added some debug into the cont_ad_frame_pow() routine in cont_ad_base.c
and found that the spf parameter is initially 0, so further down when it's
doing:
This code appears to be in the heart of where it's trying to determine the
silence threshold. I'm in a noisy room here, so I thought that might have
something to do with it, but it crashes even if I don't turn on the
microphone.
Any ideas what I'm doing wrong here?
Thanks.
PS: Note that running sphinx2-test seems to work just fine (output available if needed).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I've configured, built and installed sphinx2 v0.4 from the SourceForge download web page on my Solaris Ultra 60, and then tried to run sphinx2-simple. I get:
stard[369] cd /net/stard.eng/spare/speech/dist/sphinx2/bin
stard[370] ./sphinx2-simple
sphinx2-simple:
Demo CMU Sphinx2 decoder called with command line arguments.
<executing /net/stard.eng/spare/speech/dist/sphinx2/bin/sphinx2-continuous,
please wait>
cont_ad_base.c:245: failed assertion `i < 97'
Abort - core dumped
I added some debug into the cont_ad_frame_pow() routine in cont_ad_base.c
and found that the spf parameter is initially 0, so further down when it's
doing:
i = (int32) ((10.0 * (log10(sumsq) - log10((double) spf))) + 0.5);
it's trying to do a log10(0) which is an error.
This code appears to be in the heart of where it's trying to determine the
silence threshold. I'm in a noisy room here, so I thought that might have
something to do with it, but it crashes even if I don't turn on the
microphone.
Any ideas what I'm doing wrong here?
Thanks.
PS: Note that running sphinx2-test seems to work just fine (output available if needed).