Giter Club home page Giter Club logo

pi-voice's Introduction

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

  • python: audiotools
  • python: pyaudio
  • python: requests
  • python: quepy
  • python: numpy
  • Wolfram Alpha API key - note, their free, non-commercial licence is limited to 2,000 queries/month.
  • Internet connection

Usage

  1. Make sure you've got all the requirements installed
  2. set the Wolfram Alpha API key as an environment variable export WOLFRAM_API_KEY='AAAAAA-AAAAAAAAAA'
  3. run python listen.py

How it works

When you run the command, it listens to the microphone. Once it detects noise has returned to silence, 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

  1. Use Julius speech recogition as an always-on listener for the word "computer". Use that to trigger listen.sh.
  2. Run the Julius recogniser as a service
  3. Allow plugins to self-regulate their results by weighting them. listen.py chooses the highest weighted.
  4. Allow plugins to run asynchronously.
  5. Allow user to specify tts/stt engine as a command line option
  6. Create debian package so the program can be easily installed on the Raspberry Pi

Contributors

pi-voice's People

Contributors

rob-mccann avatar tevino avatar thomasweng15 avatar

Watchers

James Cloos avatar Michael Lawson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.