Git Product home page Git Product logo

pyttsx's Introduction

pyttsx

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

Quickstart

basic usage for speak text out:

import pyttsx
engine = pyttsx.init()
engine.say('Greetings!')
engine.say('How are you today?')
#engine.runAndWait() #no nead for this version

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

the flollowing recording function is added by hick(http://blog.HickWu.com), for windows only:

import pyttsx
engine = pyttsx.init()
engine.rec(u'中文支持!', 'hick.wav')

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/

pyttsx's People

Contributors

parente avatar hick avatar

Watchers

Jack avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.