PyTalk

Software to change Speech to Text and post to an IRC channel


Keywords
PyTalk, Audio, IRC, Python, Raspberry, Pi
License
MIT
Install
pip install PyTalk==0.1.0

Documentation

PyTalk

A program for the Raspberry Pi that allows the capture of audio and transfers it as text to an IRC client. We are currently using a Python Library called Speech Recognition 1.1.0 for the code to interpret the speech itself. You can find the Library here: http://github.com/Uberi/speech_recognition and here: http://pypi.python.org/pypi/SpeechRecognition/

The source code also includes a windows version of the program.

We will also be hosting the finished package over on PyPI.

Installing and Running

Download Python 2.7 from http://www.python.org/download/releases/2.7/ if you do not already have it.

The libraries used are:

A FLAC encoder is needed. Most distributions have a FLAC package. If not, download the flac package from your package manager. I use [Synaptic](http://www.neil-black.co.uk/install-a-graphical-package-manager-on-the-raspberry-pi#.VCIyqPldWSp] as my package manager) as my package manager. You can also try rpmfind.net or Debian FLAC. You could also just run sudo apt-get install flac

Run main.py from the source code to use the program.

Using the program

Once you run main.py, you will be asked for information on setting up the IRC bot for outputting audio to an IRC channel. The default channel is ##pytalk-test on freenode.

After you input the IRC bot info, the program will start listening for audio. If the audio is unreadable, try speaking more clearly in the mic.

If you say "goodbye", the program will terminate and create a log file that includes what was said and at what time.