Skip to content

Python Speech Recognition, Voice Recognition, Text-to-Speech and Voice Command Engine

License

Notifications You must be signed in to change notification settings

johnwyles/PySpeak

Repository files navigation

PySpeak

By: John Wyles Git: https://github.com/johnwyles/pyspeak

Python Speech Recognition, Voice Recognition, Text-to-Speech and Voice Command Engine

Requirements:

Setup:

  • MacOS X

    • Install Homebrew if you don't already have it

      ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
      
    • Install portaudio and flac from Homebrew

      brew install portaudio flac
      
      brew link portaudio flac
      
  • Linux

    • Ensure you have portaudio

      sudo yum -y install portaudio-devel flac-devel # for Fedora/RedHat distros
      
      sudo apt-get install libportaudio-dev libflac-dev # for Ubuntu/Debian distros
      
  • Windows

    • Good luck! :)

Installation:

sudo pip install pyspeak

Usage:

usage: pyspeak [-h] [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [-v]
               {listen,speak} ...

positional arguments:
  {listen,speak}        Subcommand for pyspeak to either listen for microphone
                        input (speech-to-text) or text input (text-to-speech)
    listen              Listen for microphone input (speech-to-text)
    speak               Listen for text input (text-to-speech

optional arguments:
  -h, --help            show this help message and exit
  -l {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Log level for console output (default: INFO)
  -v, --version         Get the version number and exit (default: False)

About

Python Speech Recognition, Voice Recognition, Text-to-Speech and Voice Command Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published