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"

# 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:

  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 — train a custom voice
  • stt_demo.py — speech-to-text
  • jester_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


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

heathen_tts-0.1.0.tar.gz (8.1 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.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

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

Hashes for heathen_tts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82f8ecff24f811d6e641c97907b36cbc10e4853d70395bd2b4974fe5ae03ee56
MD5 6aabeef56ccc82f371ed22106a79faa7
BLAKE2b-256 c658adeda9e01166cf258332f7d4df3cbf6afd0d892b4dd034141264252fc965

See more details on using hashes here.

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

Hashes for heathen_tts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 831efc3d09c87c5f990279bdc7b15297e5cf5a93c45ff1f0bbad33cfe3107107
MD5 9114d632e9c29fa12f6134069e4dc335
BLAKE2b-256 03db3965071ec46f1cfbc65f9969bec58ebe8ced49e43c745062f214af0e313e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

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