nateshmbhat/pyttsx3
Offline Text To Speech synthesis for python
What it solves
It provides a way to convert text to speech (TTS) in Python without requiring an internet connection, avoiding the need for cloud-based APIs.
How it works
The library acts as a wrapper for various native text-to-speech engines already installed on the operating system, such as SAPI5 on Windows, NSSpeechSynthesizer and AVSpeech on macOS, and eSpeak on Linux.
Who it’s for
Python developers who need to integrate voice output into their applications while maintaining offline functionality.
Highlights
- Offline operation: Works entirely without an internet connection.
- Customizable output: Allows users to adjust the speaking rate, volume, and choose between different available system voices.
- File export: Can save the generated speech audio directly to a file.
- Cross-platform: Supports Windows, macOS, and Linux.
Related
- Project
KoljaB/RealtimeTTSA Python library for low-latency text-to-speech that converts strings and LLM token streams into audio using a wide variety of local and cloud engines.
- Project
OHF-Voice/piper1-gplA fast and local neural text-to-speech engine that provides offline speech synthesis using espeak-ng for phonemization.
- Project
Uberi/speech_recognitionA Python library that provides a unified interface for speech recognition, supporting multiple online and offline engines like OpenAI Whisper, Google Speech, and Vosk.
- Project
goodroot/hyprwhsprhyprwhspr is a native Linux speech‑to‑text app that runs as a system‑wide service. It uses local models (Whisper, Cohere, Parakeet, Qwen3‑ASR, etc.) for near‑real‑time dictation, optionally falls back to cloud APIs, and integrates with Wayland/X11 desktops, status bars, and a themed visualiser. Install via the AUR or a one‑line script, configure with `hyprwhspr setup`, then toggle dictation with `Super+Alt+D` to have transcribed text auto‑pasted into any window.
- Project
dbccccccc/ttsfmAn OpenAI-compatible text-to-speech API service and Python SDK that converts text to natural speech using the openai.fm backend.