A clean interface to Windows speech recognition and text-to-speech capabilities.
Project description
- Allows your Windows python program to:
execute a callback when certain phrases are heard
execute a callback when any understandable text is heard
have different callbacks for different groups of phrases
convert text to speech.
Example
Showing speaking out loud and listening for all recognizable words.
import speech import time def callback(phrase, listener): if phrase == "goodbye": listener.stoplistening() speech.say(phrase) listener = speech.listenforanything(callback) while listener.islistening(): time.sleep(.5)
Requirements
Requires Windows XP or Vista, and Python 2.4 or 2.5.
In addition to easy_installing speech.py, you’ll need pywin32 (for Python 2.5 or 2.4) and the Microsoft Speech kit (installer here).
Resources
Homepage: http://pyspeech.googlecode.com/
Source:
Browse at http://code.google.com/p/pyspeech/source/browse/trunk/
Get with svn co http://pyspeech.googlecode.com/svn/trunk/ pyspeech-read-only
Please let me know if you like or use this module - it would make my day!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file speech-0.4.9-py2.5.egg.
File metadata
- Download URL: speech-0.4.9-py2.5.egg
- Upload date:
- Size: 8.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
981e6f6326a21bec4c934cf19d326b9964385ffe611e27d9d057d76b6b0cec98
|
|
| MD5 |
164791a03a2aa37b65469e10f26f7310
|
|
| BLAKE2b-256 |
031fa9cc918dcfa6ee6b2a20983332fa33aa4c967d9c4dbf1957abb83f345f6f
|
File details
Details for the file speech-0.4.9-py2.4.egg.
File metadata
- Download URL: speech-0.4.9-py2.4.egg
- Upload date:
- Size: 8.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f94270c119b7bc4b87fa026baa200887c49fe489ef24c67cf3956f41b2bd6bab
|
|
| MD5 |
a8770b3a9689b2596b1eac966d4c0f36
|
|
| BLAKE2b-256 |
bbba1beb13b1cf106526bfb735227ad902439ecddc8f3c8d7a8ccb3f21d5576a
|