Attempting to run Speech recognition on Raspberry pi 2, Got error "ERROR: fe_interface.c, line 274: upper frequency 6800.0 is higher than samprate/2 (800.0)"
I am new to Speech Recognition, I tried installing sphinxbase and pocketsphinx and complied them successfully.
But when I run the final command to test it, it throws an error that ERROR: fe_interface.c, line 274: upper frequency 6800.0 is higher than samprate/2 (800.0)
I tried the solution mention https://sourceforge.net/p/cmusphinx/discussion/help/thread/d0b75efa/ which says to install 8khz model but that also didn't worked.
I downloaded "cmusphinx-en-us-ptm-8khz-5.2" but this didn't worked or may be I am missing some steps can some one please help me with this?
Also, from your message it is clear you missed one zero in samprate argument, it must be
-samprate 16000
You accidentally used 1600. Let me repeat 16 thousand, three zeroes. You should not download 8khz model, default model will work fine if you fix your typo.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
That was so silly of me, that typing mistake I missed one zero.
I was using
pocketsphinx_continuous -hmm /usr/local/share/pocketsphinx/model/en-us/en-us -lm 3199.lm -dict 3199.dic -samprate 16000/8000/48000 -inmic yes
this command.
One more thing I wanted to ask you, can you recoomend me some guide or reference for home automation projects using speech recognisition.
Thanks
Shivam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not sure what do kind of recommendation do you need. There are dozen home automation projects around: jasper, mycroft, etc. It is better to ask for more specific things.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I am new to Speech Recognition, I tried installing sphinxbase and pocketsphinx and complied them successfully.
But when I run the final command to test it, it throws an error that ERROR: fe_interface.c, line 274: upper frequency 6800.0 is higher than samprate/2 (800.0)
I tried the solution mention https://sourceforge.net/p/cmusphinx/discussion/help/thread/d0b75efa/ which says to install 8khz model but that also didn't worked.
I downloaded "cmusphinx-en-us-ptm-8khz-5.2" but this didn't worked or may be I am missing some steps can some one please help me with this?
For Speech Recognistion I used https://wolfpaulus.com/journal/embedded/raspberrypi2-sr/ post
Can Anyone guide me on this?
If some one can provide some details on this or some post or links it would be helpful.
Thanks
Shivam
Which command did you run exactly
What "didn't worked" exactly
Also, from your message it is clear you missed one zero in samprate argument, it must be
-samprate 16000
You accidentally used
1600
. Let me repeat 16 thousand, three zeroes. You should not download 8khz model, default model will work fine if you fix your typo.Hi,
That was so silly of me, that typing mistake I missed one zero.
I was using
pocketsphinx_continuous -hmm /usr/local/share/pocketsphinx/model/en-us/en-us -lm 3199.lm -dict 3199.dic -samprate 16000/8000/48000 -inmic yes
this command.
One more thing I wanted to ask you, can you recoomend me some guide or reference for home automation projects using speech recognisition.
Thanks
Shivam
I am not sure what do kind of recommendation do you need. There are dozen home automation projects around: jasper, mycroft, etc. It is better to ask for more specific things.