Comments:"rob-mccann/Pi-Voice · GitHub"
URL:https://github.com/rob-mccann/Pi-Voice
Pi-Voice
The beginnings of a Star Trek-like computer. Run the program, speak into your microphone and hear the response from your speakers.
Ask it a question like "What was the temperature in London on the 13th July 1982?"
Requirements
Usage
Make sure you've got all the requirements installed set the Wolfram Alpha API key as an environment variable export WOLFRAM_API_KEY='AAAAAA-AAAAAAAAAA' run sh listen.shHow it works
When you run the command, it listens to the microphone for 6 seconds. It then sends the user's voice to Google who convert it to text. We then query Wolfram Alpha with what the user said. We send the response to Google TTS which then reads the response out to the user.