Clones a voice from a short sample and generates new speech in real time. Supports Mandarin Chinese and runs on Windows, Linux, and macOS with GPU acceleration.
Overview
MockingBird is a PyTorch-based text-to-speech stack for cloning a speaker from a brief recording and synthesizing arbitrary speech afterward. It extends the Real-Time Voice Cloning approach with support for Chinese Mandarin and multiple speech datasets. The project is no longer actively maintained.
The workflow combines a speaker encoder, synthesizer, and vocoder. You can reuse pretrained encoder and vocoder models while training or downloading a synthesizer suited to Chinese symbols. Training scripts cover encoder, synthesizer, and optional vocoder steps with dataset preprocessing.
You can drive synthesis through a web server, a desktop toolbox, or a command-line script that takes a reference wav file. Webserver mode supports remote calling of results.
Compared to the original English-only Real-Time Voice Cloning project, MockingBird adds Chinese dataset support and tooling aimed at Mandarin TTS experiments.
Key features
- Voice cloning from short samples
- Mandarin Chinese dataset support
- Pretrained encoder and vocoder reuse
- Web server interface
- Desktop toolbox UI
- Command-line voice generation
- Windows and Linux support
- M1 macOS workaround paths
Use cases
- Chinese text-to-speech experiments
- Voice cloning from reference audio
- Training custom synthesizer models
- Remote TTS via web server
- Interactive synthesis in a toolbox