Cross-platform text-to-speech wrapper
Branch: master
Clone or download
Nick Germaine
Nick Germaine Merge pull request #41 from AMairesse/master
Python3 support
Latest commit 1a84ee3 Oct 27, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Fixed #19, install docs using pip, virtualenv Nov 18, 2013
pyttsx Python2 fix Mar 8, 2016
tests Update all copyright headers Dec 30, 2012
.gitignore Merge branch 'master' of https://github.com/parente/pyttsx May 29, 2013
LICENSE License updates Dec 30, 2012
MANIFEST.in Move from bzr lp to github Dec 31, 2010
README.rst Pointer to espeakbox Jan 15, 2015
setup.py Fixed #19, install docs using pip, virtualenv Nov 18, 2013

README.rst

pyttsx

Cross-platform Python wrapper for text-to-speech synthesis

Help Wanted

As you can probably tell, I have not had time or in some cases the resources (e.g., specific versions of OSes) to maintain pyttsx very well for some time now. If you are using pyttsx in your day to day work and would like to take over as maintainer of the project, please let me know.

Quickstart

import pyttsx
engine = pyttsx.init()
engine.say('Greetings!')
engine.say('How are you today?')
engine.runAndWait()

See http://pyttsx.readthedocs.org/ for documentation of the full API.

Included drivers

  • nsss - NSSpeechSynthesizer on Mac OS X 10.5 and higher
  • sapi5 - SAPI5 on Windows XP, Windows Vista, and (untested) Windows 7
  • espeak - eSpeak on any distro / platform that can host the shared library (e.g., Ubuntu / Fedora Linux)

Contributing drivers

Email the author if you have wrapped or are interested in wrapping another text-to-speech engine for use with pyttsx.

Project links

See Also

https://github.com/parente/espeakbox - espeak in a 16.5 MB Docker container with a simple REST API

License

Copyright (c) 2009, 2013 Peter Parente All rights reserved.

http://creativecommons.org/licenses/BSD/