I decided to find a way to use google speech with voiceattack, since the microsoft speech "thingy" can't understand what I say AT ALL (I'm originally from Brazil)!! LoL
But Alexa and Google can understand me perfectly! Alexa is actually much better to understand me than google, but I couldn't find a python module that just returns the text of what I say using amazon alexa, like the python SpeechRecognition module does so easily using google. SpeechRecognition module actually have a few of other backends that I want to try later on, but google one is so easy to do and just works!
So you can find it here:
https://github.com/hradec/google-speechrecognition-for-voiceattackCurrently the script runs "voiceattack.exe -command <text>" to send it to voiceattack, but a much better and elegant solution would be to connect via a TCP port!
So my question goes to the voiceattack developers I think, since I couldn't find this functionality in the docs:
- Would it be possible to have voiceattack binding to some tcp port, so any other software could send text to it via tcp connection?
My interest in doing it this way, apart from being a much more elegant solution, is to be able to run my voice capture script on linux (where my headphone/mic is connect to) and send the text to my windows machine via network. I mainly use linux here, but I have a windows machine for gaming that I connect over using moonlight to play.
make sense?
Anyhow, if someone wants to try google speech recognition in voice attack now, just download the files from the github repository and run "run.cmd" (I think if you don't have python3 installed, windows will open the windows store for you and you can install from there!)!
Having python3 already installed, run.cmd should install all the required python modules and just start it! Then just speak away!
Please drop a issue on github if you guys have any problem running it and I'll do my best to help!
cheers...
-H