With a few lines of code you can turn your Raspberry Pi into a nice chat parrner which executes, thanks to voice-control, your commands and even answers to you via Google Translation. The transformation from speech to text – and the other way round – are performed by Google services. And this works astonishingly well: The word-recognition has good match ratios without any training, the speech output sounds clear and is easy to understand.
For voice-recognition you will record a sound file, transform it into FLAC format and send it to Google. The Google servers are going to analyse your FLAC file and send back the text of the probably said word(s). With easy comparisons it is possible to link different words to several actions.
Because the Raspberry Pi has no Audio-Input you have to...Read More