In the while loop 'while (length < cosineWindow.length)' of the RaisedCosineWindower method 'process()' the following if statement is missing a check for SpeechEndSignal:
if( next instanceof DataEndSignal )
{
utteranceEnd = next;
break;
}
Suggested alternative:
if( next instanceof DataEndSignal || next instanceof SpeechEndSignal )
{
utteranceEnd = next;
break;
}
This seems to lead to problems in case the window shift does not match the framesize.
Applied, thanks a lot for your submission!
Thank you for your response.
I've also submitted an issue about the microphone module:
354 http://sourceforge.net/p/cmusphinx/bugs/354/Sphinx Live
microphone bughttp://sourceforge.net/p/cmusphinx/bugs/354/
If you set the number of channels to 2 the live application hangs somtimes
after a first word and recognizes two words immediately after each other if
you then say another word.
This happens because the amount of data you have to read is depending on
the number of channels.
Kind Regards,
Brian Bloemendal
2014-03-03 23:45 GMT+01:00 Nickolay V. Shmyrev nshmyrev@users.sf.net:
Related
Issues:
#374I applied that one too. Thank you and sorry for the delay.
No problem. Thanks for your response.
Kind Regards,
Brian
2014-03-04 15:04 GMT+01:00 Nickolay V. Shmyrev nshmyrev@users.sf.net:
Related
Issues:
#374