Popular recipes tagged "tts"http://code.activestate.com/recipes/tags/tts/popular/2008-08-14T16:57:43-07:00ActiveState Code RecipesSpeech recognition and voice synthesis in Python for Windows (Python) 2008-08-14T16:57:43-07:00Michaelhttp://code.activestate.com/recipes/users/4166101/http://code.activestate.com/recipes/576412-speech-recognition-and-voice-synthesis-in-python-f/ <p style="color: grey"> Python recipe 576412 by <a href="/recipes/users/4166101/">Michael</a> (<a href="/recipes/tags/speech/">speech</a>, <a href="/recipes/tags/speech_recognition/">speech_recognition</a>, <a href="/recipes/tags/text_to_speech/">text_to_speech</a>, <a href="/recipes/tags/tts/">tts</a>, <a href="/recipes/tags/voice/">voice</a>, <a href="/recipes/tags/voice_recognition/">voice_recognition</a>). Revision 10. </p> <p>How to use the speech module to use speech recognition and text-to-speech in Windows XP or Vista.</p> <p>The voice recognition system can listen for specific phrases, or it can listen for general dictation.</p> <p>You can use speech.input() like you would use raw_input(), to wait for spoken input and get it back as a string. Or, you can set up a callback function to be run on a separate thread whenever speech events are heard. Multiple callbacks can be set up for multiple speech recognition events.</p> <p>Uses the Python speech module: <a href="http://pyspeech.googlecode.com" rel="nofollow">http://pyspeech.googlecode.com</a> .</p>