WhisperSpeech synthesizes speech by inverting Whisper. It ships English models on licensed data with multilingual releases planned.
Overview
WhisperSpeech is an open-source text-to-speech system created by inverting OpenAI Whisper. The project targets speech synthesis comparable in spirit to image diffusion workflows: hackable code and models trained on properly licensed recordings.
The architecture follows a two-stage token pipeline similar to AudioLM, Google SPEAR TTS, and Meta MusicGen. Whisper encoder embeddings become semantic tokens; Meta EnCodec models acoustic tokens; Charactr Vocos serves as the vocoder. Releases include English LibreLight models and experiments in English, Polish, and French with voice cloning and code-switching.
Inference optimizations include torch.compile, KV caching, and layer tuning for faster-than-real-time generation on consumer GPUs. Voice cloning from reference audio is supported. Pre-trained models and converted datasets are published on Hugging Face; Colab notebooks offer quick trials.
The roadmap mentions emotive datasets, conditioning on emotion and prosody, and community-gathered multilingual speech. Code is under Apache-2.0 and MIT licenses.
Key features
- Two-stage semantic and acoustic tokens
- Whisper-based semantic tokenization
- EnCodec acoustic modeling with Vocos
- Voice cloning from reference audio
- Multilingual and code-switching experiments
- Colab and local notebook workflows
- Pre-trained models on Hugging Face
- Optimized inference with compile and caching
Use cases
- Local English speech synthesis
- Research on open TTS pipelines
- Voice cloning demos from short references
- Multilingual speech experiments