New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry PI 2 always returns no translation. #55
Comments
I had a similar problem, but on Banana Pi. If everything works fine, just update speech-recog.sh (located in /usr/bin).If not, try a different frame rate or file format. |
I'm wondering if the Google speech api is working at the moment, or if there's a requirement for a key now or something? I'm also returning no translations, but the noise.wav files are clear and perfect |
It seems that google doesn't accept Stereo recording. A solution is to use in speechrecognition.sh 👍
and to recompile voicecommand.cpp with the following modification on the getvolume function 👍
|
where u can find voicecommand.cpp? |
The answer of @ripleyXLR8 works for me! How to fix:
Why: You can do some experiment to prove this: However, I have no idea why google does not support multi-channel... |
Krist-jin tried your step by step of RipleyXLR8 fix but TTS is still not working for me. Was this only a fix before Google stopped TTS service? |
@Colin1964 Sorry for the confusion but this fix was for the google speech recognition api, not text to speech api. I just gave another fix for the tts in #56 hope it helps |
@krist-jin My bad - I was having TTS and STT problems with this and looking at this issue and #56 but all sorted now (see update on #56) - well almost.. She can translate what I say and will speak back to me but I still can't get her to respond to the keyword? |
@krist-jin when I recompile voicecommand and install it again then when I'm trying to run voicecommand I get error message: Illegal Instruction. I need some help |
@pinftv Can you provide what have you run and the full error message? |
@krist-jin I was followed your instruccions but when running voicecommand I was getting Illega instruction. but I have solved it instead of changing to S16_LE, after -r 1600 I added -c 1 and now it works normally :) |
I followed all instructions given by @krist-jin Found audio Can anyone help me to fix this issue? |
This thread is a life saver. Incorporated fixes as mentioned by ripleyxlr8 and clarified by krist-jin. I'm now able to get voice recognition working ( i.e. Speech to text ). Will try to get TTS over the next week, from thread 56. I'm using a Pi3 running Raspbian Jessie, and a cheap $2 mike from Amazon. |
Hi maybe somebody can also help me. I found that the flac conversion does not work for some reason: Then I tried Now I have no idea how I can fix that. Any help appreciated |
Fixed the Bug from "StevenHickson#55" with solution from "krist-jin"
For me its giving this error ... pi@raspberrypi:~/PiAUISuite/VoiceCommand $ sudo voicecommand -c |
Do you want to permanently change the default duration of the speech recognition (3 seconds)? (y/n) while entering voicecommand -s it giving some error |
Hey Steve, it seems like you've got a great plugin, but I can't seem to get it working. I'm using a Pi 2. is it not compatible with that model? Also, the usb headset I'm using records and plays back audio just fine. Whenever I run voicecommand, it returns with "No translation" and no audio response.
Thanks for your help.
The text was updated successfully, but these errors were encountered: