Skip to main content

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"

# Create a custom voice profile from local samples
hts clone hawking --samples ./samples/hawking_raw/

# Synthesize with a custom voice profile
hts clone-tts "Hello world" --profile models/voices/hawking.json -o hawking.wav

# Placeholder commands (not implemented yet)
# Transcribe audio to text
hts stt audio.wav

# Real-time listen & respond (with local LLM or manual input)
hts listen

# Start API server
hts serve --port 8000

See Getting Started for details.

Architecture

This project is built as 5 independent modules:

  1. TTS Engine — convert text to audio (Glow-TTS, XTTS v2, Piper)
  2. STT Engine — convert audio to text (Faster-Whisper, Wav2Vec)
  3. Voice Cloning — fine-tune models or adapt speakers
  4. Streaming — real-time audio output and pipelining
  5. 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-speech
  • streaming_tts.py — real-time streaming audio
  • voice_cloning.py — build/apply voice profiles
  • http_client.py — call the local HTTP API

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. Integration notes currently live in ARCHITECTURE.md.

Development

  • Python 3.10+
  • pyttsx3
  • librosa, scipy, numpy
  • Optional: Ollama (for local LLM text source)

Contributing: See CONTRIBUTING.md for workflow and guidelines.

License

Apache 2.0

Related Projects


Status: Version 0.1.0 published on PyPI. Current engine is the pyttsx3 baseline; STT/listen remain placeholder commands.

Download files

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

Source Distribution

heathen_tts-0.1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

heathen_tts-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file heathen_tts-0.1.1.tar.gz.

File metadata

  • Download URL: heathen_tts-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for heathen_tts-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b2ce9ac653b3ec13e999e5f7348b9e232726e595c37a58b2db786f7f703a327d
MD5 5ccf61be5ae8fa9b9ff82b991fe1660c
BLAKE2b-256 a7613013b61ef8b84adda7183c1b0a284dde5010a374932b5740778c29a46ce8

See more details on using hashes here.

File details

Details for the file heathen_tts-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: heathen_tts-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for heathen_tts-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb19b7138135530db86f146076c40cb9c4c94e042d3691167caf5dc983a237b8
MD5 6f1f2b82ec5fa0059224daf20728882a
BLAKE2b-256 73603b5c0b26e2c01dd51d06a94c2a9eb7a96f9672aa22a0de577ce9a1336667

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page