Skip to main content

Simple wrapper for gTTS and pygame to play audio directly from buffer

Project description

gspeak

This is just a simple no fuss wrapper around gTTS that plays buffers directly using pygame. I had found some articles with people posting various solutions, but this is the only one that I could get to work. I figured I might as well make it available for others too.

Quickstart

from gspeak import speak

speak("yo dog what it is")

Install

pip install gspeak

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

gspeak-1.0.0.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

gspeak-1.0.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

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