netrix / pyttsx

Python3 Cross-platform text-to-speech wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyttsx

This is a Python3 port of pyttsx, which is a cross-platform Python wrapper for text-to-speech synthesis. The original software is available at https://github.com/parente/pyttsx.

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

License

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

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

About

Python3 Cross-platform text-to-speech wrapper

License:Other


Languages

Language:Python 100.0%