tkilaker / PyHAL

HAL-9000 Speech Simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyHAL

HAL-9000 Speech Simulator

Required External Modules

Description

Using the Google Speech Recognition API and corresponding .wav files the user is able to speak to HAL-9000 and depending on what the input is determined to be, HAL-9000 is able to respond to the user. For example:

  • User says "open the pod bay doors"
  • HAL appropriately responds with "I'm sorry Dave, I'm afraid I can't do that"
  • User then says "Ok, I'll go through the emergency airlock"
  • HAL responds "Without your space helmet Dave? Your going to find that rather difficult"

General Requirements

  • Python 2.x
  • Microphone
  • Internet Connection

Instructions

  1. Download the project, keeping all directories relative.
  2. Install Speech_Recognition, PyAudio, and FLAC.
  3. Navigate to the directory containing hal3.py via the command line.
  4. Type python hal3.py and hit enter.
  5. Prosper.

About

HAL-9000 Speech Simulator

License:MIT License


Languages

Language:Python 100.0%