HeathenS_Talkings
Offline, modular Text-to-Speech with distinctive voice synthesis
A standalone Python toolkit for low-latency speech synthesis featuring voice cloning, distinctive voice character (e.g., Stephen Hawking's robotic prosody), and real-time streaming. Designed for local LLM integration, accessibility tools, and creative AI applications.
Features
- 🎙️ Voice Cloning — adapt TTS models to sound like specific speakers (5–10 min audio)
- ⚡ Low Latency — streaming synthesis for real-time conversation (~30ms/character)
- 📡 Streaming Output — SSE-compatible audio streaming for web/app integration
- 🔇 Offline Inference — 100% local, no cloud dependencies, no API keys
- 🎛️ Modular Design — use just TTS, just STT, or the full pipeline
- 🛠️ CLI + Python API — simple CLI commands or integrate via Python
- 🎯 Distinctive Voices — built for character synthesis (not just naturalness)
Quick Start
# Install
pip install heathen-tts
# Synthesize text to speech
hts tts "Hello, this is Stephen Hawking"
# Transcribe audio to text
hts stt audio.wav
# Real-time listen & respond (with local LLM or manual input)
hts listen
# Train a custom voice from samples
hts clone --voice-name mycustom --samples ./my_audio_samples/
See Getting Started for details.
Architecture
This project is built as 5 independent modules:
- TTS Engine — convert text to audio (Glow-TTS, XTTS v2, Piper)
- STT Engine — convert audio to text (Faster-Whisper, Wav2Vec)
- Voice Cloning — fine-tune models or adapt speakers
- Streaming — real-time audio output and pipelining
- CLI & Integrations — user interface and optional bridges to larger systems
Each module is independently useful; together they form a complete I/O pipeline. See ARCHITECTURE.md for design details.
Use Cases
- 🤖 Personal Assistants — add a voice to local LLMs (works with Ollama, llama.cpp, vLLM)
- 🎬 Voice Synthesis — create character voices for media or storytelling
- ♿ Accessibility — generate audio for text in distinctive or preferred voices
- 🔬 Research — experiment with TTS model behavior and adaptation
- 🎮 Games & Creative Tools — real-time voice generation for NPCs or interactive media
Installation
# Basic TTS only
pip install heathen-tts[tts]
# TTS + STT
pip install heathen-tts[tts,stt]
# Full suite (TTS, STT, voice cloning, streaming)
pip install heathen-tts[full]
# Development
git clone https://github.com/IllTemperedMutatedSeaBass/HeathenS_Talkings
cd HeathenS_Talkings
pip install -e .[full]
Examples
See /examples for complete working examples:
basic_tts.py— simple text-to-speechstreaming_tts.py— real-time streaming audiovoice_cloning.py— train a custom voicestt_demo.py— speech-to-textjester_integration.py— use with JesterAI (when ready)
Documentation
Integration with JesterAI
HeathenS_Talkings can optionally integrate as the C4 (TTS) component in JesterAI's distributed meeting intelligence system. This is not required — the project is fully standalone. When JesterAI resumes, adapters will be available. See integration_guide.md.
Development
- Python 3.10+
- torch (CPU or CUDA)
- librosa, scipy, numpy
- Optional: Ollama (for local LLM text source)
Contributing: See CONTRIBUTING.md for workflow and guidelines.
License
MIT / Apache 2.0 (to be decided)
Related Projects
- Glow-TTS — fast, deterministic TTS
- XTTS v2 — voice cloning and synthesis
- Faster-Whisper — fast speech-to-text
- Silero VAD — voice activity detection
- Piper TTS — lightweight TTS
Status: Phase 1 (TTS baseline) under development. See ARCHITECTURE.md for phase timeline.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file heathen_tts-0.1.0.tar.gz.
File metadata
- Download URL: heathen_tts-0.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82f8ecff24f811d6e641c97907b36cbc10e4853d70395bd2b4974fe5ae03ee56
|
|
| MD5 |
6aabeef56ccc82f371ed22106a79faa7
|
|
| BLAKE2b-256 |
c658adeda9e01166cf258332f7d4df3cbf6afd0d892b4dd034141264252fc965
|
File details
Details for the file heathen_tts-0.1.0-py3-none-any.whl.
File metadata
- Download URL: heathen_tts-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
831efc3d09c87c5f990279bdc7b15297e5cf5a93c45ff1f0bbad33cfe3107107
|
|
| MD5 |
9114d632e9c29fa12f6134069e4dc335
|
|
| BLAKE2b-256 |
03db3965071ec46f1cfbc65f9969bec58ebe8ced49e43c745062f214af0e313e
|