Magic-Voice AI
A private, offline text-to-speech studio that clones voices and voices multi-speaker dialogue entirely on your own machine
Magic-Voice AI Walkthrough: A private, offline text-to-speech studio that clones voices and voices multi-speaker dialogue entirely on your own machine
Architectural Overview & Engineering Deep Dive
Cloud text-to-speech services charge per character, add network latency, and require uploading your scripts and voice samples to someone else's servers. Magic-Voice AI is a desktop studio for macOS and Windows that runs FunAudioLLM's CosyVoice 3 locally with Metal GPU acceleration. It clones a voice from a 5–15 second sample, lets you script conversations between multiple characters with per-line emotion, speed and acting cues like [laugh] or [whisper], and masters the result to 48kHz studio audio with Lava-SR super-resolution. Nothing leaves your computer.
Architecture & Highlights
- Runs CosyVoice 3 fully on-device: zero network calls during synthesis, no API keys, no per-character fees
- Zero-shot voice cloning from a 5–15 second reference clip using CAM++ speaker embeddings and S3Tok speech tokens
- Multi-speaker dialogue studio with per-line voice, speed, emotion and inline acting cues ([laugh], [sigh], [whisper])
- Apple Silicon Metal GPU inference at 3–5x real-time, with a one-click CPU fallback for Intel Macs and Windows
- 6-stage audio pipeline: cue translation, sentence chunking, neural inference, WSOLA time-stretching, equal-power crossfades and natural pauses
- Lava-SR neural super-resolution upsamples 24kHz output to 48kHz studio-quality WAV