Contents

pyttsx3 2.90

0

Text to Speech (TTS) library for Python 2 and 3. Works without internet connection or delay. Support

Pyttsx3 is a Python library that enables developers to convert text into speech easily. It supports multiple operating systems, provides customizable voice selection, and offers features like adjustable speech rate and volume control. It also offers event-driven capabilities for advanced control and interactivity.

Stars: 1888, Watchers: 1888, Forks: 310, Open Issues: 166

The nateshmbhat/pyttsx3 repo was created 6 years ago and the last code push was 2 months ago.
The project is very popular with an impressive 1888 github stars!

How to Install pyttsx3

You can install pyttsx3 using pip

pip install pyttsx3

or add it to a project with poetry

poetry add pyttsx3

Package Details

Author
Natesh M Bhat
License
Homepage
https://github.com/nateshmbhat/pyttsx3
PyPi:
https://pypi.org/project/pyttsx3/
GitHub Repo:
https://github.com/nateshmbhat/pyttsx3

Classifiers

No  pyttsx3  pypi packages just yet.

Errors

A list of common pyttsx3 errors.

Code Examples

Here are some pyttsx3 code examples and snippets.

GitHub Issues

The pyttsx3 package has 166 open issues on GitHub

  • Code not executing completely
  • Community issue: needs active maintainers
  • Resolves #142 for empty save_to_file() on darwin platform (NSSS driver)
  • How to solve the sound of "a"?
  • Segmentation Error Mac M1 Processors
  • Fix save_to_file on Macos Ventura when using nsss
  • some fix and new feature.
  • pyttsx3\engine.py", line 177, in runAndWait raise RuntimeError('run loop already started')
  • fixed issue where NSApp terminate called after endLoop
  • Program runs without crash but no sound output from any source
  • Calling engine.runAndWait() causes my Kivy app to close
  • Added an option of output: the wave array directly to memory (as a list of number 16-bit)
  • 'Started-word' event does not work correctly
  • Manually installed voice missing after compilation with PyInstaller

See more issues on GitHub

Related Packages & Articles

larynx 1.1.0

Larynx is a speech synthesis system that focuses on providing lightweight and privacy-focused text-to-speech (TTS) capabilities. Larynx is built with the aim of offering an offline TTS solution, meaning it does not require an internet connection for speech synthesis.

The project utilizes the Tacotron 2 and WaveGlow models, which are well-known neural network architectures for generating human-like speech from text. Larynx provides pre-trained models for different languages, enabling users to convert text into speech in their preferred language.

Larynx offers a straightforward API and command-line interface (CLI) for integrating the TTS functionality into various applications. It allows developers to generate high-quality speech from text strings programmatically, enabling applications to provide natural and intelligible audio output.

TTS 0.22.0

Deep learning for Text to Speech by Coqui.

gTTS 2.5.1

gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate text-to-speech API

labelImg 1.8.6

LabelImg is a graphical image annotation tool and label object bounding boxes in images

twine 5.0.0

Collection of utilities for publishing packages on PyPI

ruff 0.3.5

An extremely fast Python linter and code formatter, written in Rust.