Quantcast
Channel: Hacker News 50
Viewing all articles
Browse latest Browse all 9433

rob-mccann/Pi-Voice · GitHub

$
0
0

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.sh

How 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.

Todo

Use Julius speech recogition as an always-on listener for the word "computer". Use that to trigger listen.sh. Run the Julius recogniser as a service Find a way of removing the need for out.flac and out.wav, or, at least, find a way of reducing collisions Remove the linux dependency if feasible, at least, remove some of the requirements Add Festival tts as an option Create debian package so the program can be easily installed on the Raspberry Pi Remove the 6 second time limit. Find a way of listening for longer if there's still an input.

Contributors


Viewing all articles
Browse latest Browse all 9433

Trending Articles