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 for Python 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 Distribution
Built Distributions
File details
Details for the file speech-0.4.11.zip
.
File metadata
- Download URL: speech-0.4.11.zip
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 234dbd7a33d4a109135e28356d53238fe41f99c5c36ec37273a68f07ed6ab30e |
|
MD5 | 0d8f44d7114ea63b6cd735d2c8c03f0a |
|
BLAKE2b-256 | ca541769f76dbdd1be37cf5a7437dfaadb23554c465d393db62b5c02bf6ef285 |
File details
Details for the file speech-0.4.11-py2.5.egg
.
File metadata
- Download URL: speech-0.4.11-py2.5.egg
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc2916d9c6b01881b8d3403283b315a88d0db82cbfad7025376bd6e8e6ad739 |
|
MD5 | 04d9d07eeda388d9f1cb903c71b2bb7f |
|
BLAKE2b-256 | 58987aa3335b1e41f00969c19e8dd2b20f90bb6ff6f7d711bf258c1aae575aa7 |
File details
Details for the file speech-0.4.11-py2.4.egg
.
File metadata
- Download URL: speech-0.4.11-py2.4.egg
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b3c3754bf71e94cc025f682516eb6a2391120328a629572f3a87928cf2b484c |
|
MD5 | cef92e96d52aa191a93bf6b67cb9ebcd |
|
BLAKE2b-256 | 0e82b8578c5c2d4a9981e8088d19441134f635d449dbe040c2ea9242a63569ba |