I try to set up vocal recognition on a RPi with raspbian and sphinx-5prealpha. I'm stuck on the "ready" state. You can see the result of sudo
./pocketsphinx_continuous -inmic yes below
NB: I think the microphone is ok because i can hear everything I say when it is blocked on ready,... and I also already tested the usb sound card (daffodil c-media usb) on windows.
I hope someone already had the same problem and solved it!
Thank you in advance
I reinstalled pulse audio and other dependencies before install sphinx and now, it seems to be better, but it don't works! Is anybody know how to be sure sphinx capture stream from the microphone?
Below are the text in cmd line. It makes loops with ready, listening and info, that is all!
Thank you
to the command line, then it will dump raw files to the folder <dir>. You can share those files to get help.
Most likely the hardware does not support recording with a proper sample rate of 16khz, you might need to specify sample rate in the command line, something like -samprate 48000 -nfft 2048.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I try to set up vocal recognition on a RPi with raspbian and sphinx-5prealpha. I'm stuck on the "ready" state. You can see the result of sudo
NB: I think the microphone is ok because i can hear everything I say when it is blocked on ready,... and I also already tested the usb sound card (daffodil c-media usb) on windows.
I hope someone already had the same problem and solved it!
Thank you in advance
hello all,
I reinstalled pulse audio and other dependencies before install sphinx and now, it seems to be better, but it don't works! Is anybody know how to be sure sphinx capture stream from the microphone?
Below are the text in cmd line. It makes loops with ready, listening and info, that is all!
Thank you
To debug this issue you can add
to the command line, then it will dump raw files to the folder
<dir>. You can share those files to get help.Most likely the hardware does not support recording with a proper sample rate of 16khz, you might need to specify sample rate in the command line, something like
-samprate 48000 -nfft 2048.