Skip to main content

Simple espeak wrapper for Python

Project description

pyespeakr pyespeakr is a Python module designed to send commands to the eSpeak text-to-speech engine. The main goal of this module is to allow developers to control and use the eSpeak speech synthesis engine easily from Python. This is currently a beta version, and more features will be added in future releases. Usage

  1. Speaking text directly Python

import pyespeakr

pyespeakr.run("en", "Hello world", 175)

This command sends the text "Hello world" to the eSpeak engine and instructs it to: Speak in English ("en") Use a speed of 175 words per minute You can use different languages and texts depending on what eSpeak supports. This module acts as a bridge to send those commands to the engine. 2. Speaking text from a file Python

import pyespeakr

pyespeakr.open_file("en", "file.txt", 175)

This command reads the content of file.txt and sends it to the eSpeak engine to be spoken in English with a speed of 175 words per minute. 3. Checking the current version Python

import pyespeakr

print(pyespeakr.VERSION)

This will print the current version of the module. Summary pyespeakr provides a simple interface to control the eSpeak TTS engine using Python, allowing text and file-based speech synthesis with customizable language and speed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyespeakr-0.3.4.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyespeakr-0.3.4-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file pyespeakr-0.3.4.tar.gz.

File metadata

  • Download URL: pyespeakr-0.3.4.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for pyespeakr-0.3.4.tar.gz
Algorithm Hash digest
SHA256 1f991a86e363b8eb9183781be172f30e853ad2516c968525b08e866dfbb20f30
MD5 ade9ce9080614189317dee60f5df9e3d
BLAKE2b-256 fe726b0df86ebbdf104945132e9fa820d9a5124bfffd7422322a3b1e717f4850

See more details on using hashes here.

File details

Details for the file pyespeakr-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: pyespeakr-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for pyespeakr-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b03680e403b430cdf654b623c083eed9ca50bc40520802355cfeb010666d26dd
MD5 14708e9328d5e57b961f94fa971fe960
BLAKE2b-256 59fd568bba1f1f634d1be0854d607316e6466e833f1b315b15ea62e87256016c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page