Skip to content
tarpetosPublic

About

Clone your own voice on your own computer: speak any text in 60+ languages and dub videos into another language in your voice. Fully local. Early version.

Topics

Resources

Contributing

Stars

155 stars

Watchers

1 watching

Forks

Repository files navigation

Mimvox

Mimvox

Clone your own voice on your own computer, then type text in English, Ukrainian or about 60 other languages and hear it in your voice.

Mimvox is a desktop app. You drop in recordings you already have, or read a short guided text into your microphone; the app can train a voice model from that, and from then on you type any text (English, Ukrainian and about 60 more languages) and hear it spoken in your own voice. Everything runs on your computer: your recordings, your voice models and the generated speech are never uploaded anywhere.

Mimvox: setup, a voice from your recordings or a reading, training, speaking, an audiobook and dubbing in your own voice

Warning

Early version: expect bugs. This is a hobby project in active development. Features may not work, may work badly, or may change between versions, and setup may fail on systems it was not tried on. Keep your own copies of recordings that matter. Bug reports are welcome: open an issue.

Platforms and hardware

Where Mimvox runs, and what it computes on. Speech, training and Redub all run on the GPU when there is a supported one; without one they run on the processor, which works but is several times slower (training a voice takes many hours).

System NVIDIA GPU AMD GPU Apple GPU Intel GPU Processor only (Intel or AMD)
Windows x64 Yes (CUDA; developed on an RTX 4070) Processor only n/a Processor only Yes, slow
Linux x64 Yes (CUDA) Yes (ROCm, new; tested on an RX 9070 XT) n/a Processor only Yes, slow
macOS Apple Silicon (M1 and later) n/a n/a Yes (MPS; validated on a MacBook Pro with M5 Pro) n/a n/a

Intel Macs are not supported: the official PyTorch builds for them stopped at 2.2, and the speech engine needs 2.8 or newer. ARM64 Windows and Linux (Snapdragon laptops, ARM boards) are not built: their GPUs are not supported by PyTorch, so everything would run on the processor, and nobody has tried them.

  • Installers: Windows setup.exe, Linux .AppImage and .deb (all x64), and a macOS .dmg for Apple Silicon; every release has them all.
  • Video memory: 8 GB or more is recommended (the speech model needs about 4-5 GB, voice training more).
  • RAM for speech on the processor: 12 GB or more, 16 GB recommended. Without a GPU the speech model's process holds 6.4-7.5 GB (measured on Windows and Linux). On a computer with less than 11 GB of RAM the first speech request says "not enough memory (RAM) for speech on the processor" instead of swapping the model to disk for minutes per sentence, so an 8 GB laptop cannot speak without a supported GPU.
  • What was tried: Windows 11 with an NVIDIA RTX 4070 (daily), Arch Linux with an AMD RX 9070 XT, macOS on a MacBook Pro with M5 Pro. Everything else is built for, but less tested: reports are welcome.

Consent and legal: read this first

Clone only your own voice, or a voice whose owner has given you explicit permission. Voice cloning can be used to deceive people. This project exists so that you can have a synthetic copy of your own voice. It must never be used to imitate someone else without their permission.

  • Your own voice, or explicit permission. Record only yourself, or a person who has clearly agreed (ideally in writing) to being cloned and to how you will use the result. Never use a recording taken from a call, a video, a podcast or any other source of someone else's voice.
  • No impersonation, fraud or deception. Do not use generated speech to pretend to be someone else, to trick people (phone scams, fake voice messages, fake endorsements), to harass, defame or mislead anyone, to bypass voice identification, or to produce content that is illegal where you or the listener live. If you publish generated speech, say that it is synthetic where the law or common decency expects it.
  • Non-commercial use only. The OmniVoice model weights the app speaks with are licensed CC BY-NC 4.0 (because of their training data), and so are the NLLB-200 translation models used by Redub. This project is therefore for personal, non-commercial use.
  • Follow your local law. Rules on biometric data, voice rights, deepfakes and synthetic media differ by country and state. You alone decide how you use the app and you are responsible for complying with them.
  • Not legal advice. The full text is in DISCLAIMER.md. Third-party licences are listed in THIRD_PARTY_NOTICES.md.

Listen

Zero-shot samples (no training): a 15-second reference of a voice from the public CMU ARCTIC speech-synthesis corpus (speaker slt, recorded for speech synthesis and free for any use), then text the speaker never said, in three languages. Generated by Mimvox on one RTX 4070 in about 1.6-1.8 s per clip. Your own voice gets closer still after training (RVC).

Clip Text
Reference reference.mp3 Five short CMU ARCTIC sentences joined into one clip
English sample_en.mp3 "Hello! This voice was cloned from about twelve seconds of speech, and everything you hear was generated on one home computer, with no cloud at all."
Ukrainian sample_uk.mp3 "Привіт! Цей голос клоновано з дванадцяти секунд мовлення. Усе, що ви чуєте, згенеровано на звичайному домашньому комп'ютері, без жодної хмари."
German sample_de.mp3 "Hallo! Diese Stimme wurde aus zwölf Sekunden Sprache geklont, und alles, was Sie hören, wurde auf einem ganz normalen Computer erzeugt."

The CMU ARCTIC recordings are Copyright (c) 2003 Carnegie Mellon University; their licence is in docs/samples/CMU_ARCTIC_COPYING.txt. The reference clip is modified (five recordings joined with short pauses).

Features

Feature Description
A voice from recordings you already have Drop audio or video of one person on Record (a voice memo, a podcast, a video): no reading and no preset. The app asks whose voice it is (a new voice, or more recordings of the selected one), cleans and joins the files, and the voice speaks at once; with three minutes or more it can also be trained.
Guided recording presets Or read the text on screen: Quick (about 1 minute, usable at once with no training), Standard (about 6-7 minutes, trains a timbre model, the validated setup) or Pro (about 15-20 minutes, best similarity), with reading texts written for English, Ukrainian, German, French, Spanish, Polish and Romanian. One part at a time, with big text, one key to start and stop, automatic saving and automatic advance.
Your own text Prefer to read something else? Paste your text and the app analyses it: word count, estimated reading time, phoneme coverage (which sounds of the language your text covers and which are missing), and a verdict (too short, zero-shot, trainable, great). It then splits the text into parts of about 60-90 seconds.
Recording quality checks Every take is checked right away: duration, peak level, clipping, loudness, noise floor, signal-to-noise ratio and silence. You get a plain verdict (ok, warn, bad) with advice such as "Too quiet: speak closer to the mic", so you re-record before training, not after.
One-click training Press Train. The app prepares the dataset, extracts features, trains the timbre model, builds its index, shows progress and an estimated time, and can be cancelled. The number of epochs is chosen from the length of your recording.
Fast streaming generation Type text in English, Ukrainian or another supported language and press Speak. Long text is split into segments and each segment plays as soon as it is ready, while the rest is still being generated. The models stay loaded while you work, so the second phrase is much faster than the first.
Light when idle, safe when full The models load when they are needed and leave memory after 10 idle minutes: an idle Mimvox keeps about 0.3 GB of RAM and nothing on the graphics card. Each model process is fenced to the memory that is free, so a generation that does not fit stops with a plain message; it cannot run the computer out of memory.
Audiobooks Open a book (EPUB, DOCX, ODT, FB2, PDF with text, TXT in any encoding, Markdown, HTML, RTF, subtitles) and Book mode reads it in your voice, one file per chapter (WAV, MP3, ...; optionally one M4B with chapter marks). Chapters are found from the book's structure and can be ticked, renamed, split or joined. Whole sentences, pauses that follow the punctuation, every chapter levelled to the same loudness. Pause and resume at any time, even after closing the app; progress shows the chapter, the time left and the speed. Short text files open straight in Speak.
Native English accent A voice recorded in Ukrainian (or any other language) would speak English with your accent. Native (American), the default when the reference clip is not English, has a native US speaker from the public CMU ARCTIC corpus say the text, then gives it your timbre: with no training at all, from your reference clip (Seed-VC zero-shot voice conversion, installed by setup), or, once the voice is trained, with your own voice model at your pitch, which is closer to you. Also in Redub's Translate & dub and Re-speak into English.
Redub a video, music kept Drop a video and Redub translates and dubs it (or re-speaks it, or converts the voice) in your voice, then writes a copy of the video with the new voice: the original music and sound effects are separated from the old voice and kept under yours, at the original balance, and the picture is copied without re-encoding. Or save the audio only.
History and export Every result is saved as one file in the format you pick (WAV by default, or MP3, FLAC, OGG, Opus, M4A, AIFF). Play it again, or export it to another format.
Several voices Keep more than one voice (for example "Studio" and "Casual"), rename or delete them, and see how much data each one has.
Import an RVC model Already have an RVC or Applio model (.pth, optional .index) of your own voice, or of someone who agreed? Import voice model… turns it and a short clean clip into a trained voice, with no training.
Two sliders Expressiveness and Voice match. The validated defaults are already set; you do not need to touch anything else.
Local API and MCP Turn on Settings > API and other programs use Mimvox over HTTP: an OpenAI-compatible speech endpoint, every engine method, live progress and an interactive reference at /docs. mimvox-mcp lets Claude and other AI assistants speak in your voice and read books. mimvox-server runs it all without the window. See Local API and MCP.
Private by design No account, no cloud, no telemetry. Setup downloads the models once; after that the app works offline. The only request of its own is a check for a new version at launch (it can be turned off).
Exact Ukrainian stress An optional part (1.5 GB) reads Ukrainian from phonemes with the stress written in: a dictionary and the grammar of the sentence decide every word, and that is what is spoken (HolosTTS). Without it, Ukrainian is spoken by OmniVoice as before.
Updates from inside the app A new version shows a banner: Update downloads it, checks its signature and installs it when you close the app or press Restart now (Windows, macOS, AppImage; a .deb gets a link to the download page). The version in the header opens the Updates window: every version with its notes, Check for updates, and any version to install, older ones too.

How it works

 your recording ──► reference clip (15-30 s) ──┐
                                               ▼
 typed text ──► OmniVoice (zero-shot TTS, ~60 languages, speaks like you from the reference clip)
                                               │  24 kHz speech
                                               ▼
                    RVC timbre model trained on your recording (Applio)
                                               │  40 kHz, resampled to 44.1 kHz
                                               ▼
                                     speech in your voice
  1. OmniVoice (k2-fsa) is a zero-shot text-to-speech model. From a short reference clip of you it speaks any text, in about 60 languages, in a similar voice. That alone is the Quick preset: no training at all. It replaced IndexTTS-2.5 (English and four more languages only): on the same English text and voice it was as clear, closer to the speaker and about four times faster with less than half the memory.
  2. RVC (Retrieval-based Voice Conversion, trained with Applio) is then trained on your longer recording. It converts the zero-shot speech so its timbre is closer to yours. Measured with a speaker-similarity score (ECAPA), RVC lifts an English paragraph from about 0.81 to about 0.94, where 0.93 is the score of your own real recordings against each other. For other languages than the one you recorded in, the RVC index is used at a lower rate so the words stay clear. Details: docs/performance.md.
  3. A persistent engine. The app starts a Python engine once (a child process). The engine loads OmniVoice, and the RVC worker for a trained voice, when they are first needed and keeps them in GPU memory while you work, so the first sound of a phrase comes after about 1-3 s; after 10 idle minutes they leave memory and the next phrase loads them again (about 10 s). The app and the engine talk JSON lines over stdin/stdout: contract/engine-protocol.md.
  4. The app is written in Rust on Rune, with microphone capture and playback through cpal and hound. The UI never blocks and never polls: engine messages and audio arrive as events.

More: docs/architecture.md.


Requirements

GPU NVIDIA GPU with 8 GB of VRAM or more recommended (Windows and Linux). It was developed and measured on an RTX 4070 with 12 GB. OmniVoice needs about 4-5 GB of VRAM, and the RVC worker is loaded beside it.
AMD GPU Linux only, new and less tested. A Radeon card that the ROCm builds of PyTorch support (RDNA2 or newer is the safe choice), with 8 GB of VRAM or more. Setup finds it and installs the ROCm builds of PyTorch; a separate ROCm install is not needed. Your user needs access to /dev/kfd (the render and video groups). Tested on an RX 9070 XT. Windows with an AMD GPU uses the CPU.
macOS Apple Silicon through MPS, validated on a MacBook Pro with M5 Pro. Intel Macs are not supported.
Processor only Works, slowly: a short sentence takes about 1-4 minutes. Needs 12 GB of RAM or more, 16 GB recommended (see Platforms and hardware).
Disk space About 30 GB for the runtime (engine with OmniVoice ~11 GB, Applio/RVC ~12 GB: two Python environments with their own PyTorch, plus Whisper and the translation model for Redub ~4.5 GB, the music-removal model ~0.3 GB and the zero-shot voice converter for the native accent of untrained voices ~2 GB, --no-zero-shot-vc leaves it out), plus ~0.1 GB per voice. With an NVIDIA or AMD GPU setup also adds the better translation model for Redub (NLLB-200 1.3B, a 5.5 GB download kept as 2.7 GB; --better-translation no leaves it out), about 33 GB in all. Setup asks where to install (default: the local app data folder), shows the free space and refuses below 34 GB (40 GB with the better translation model, which needs room for the download while it is converted) unless --force; setup --move-to <dir> moves an existing install. An older install's runtime/index-tts (IndexTTS, ~19 GB) is no longer used: setup offers to delete it (--remove-indextts).
Microphone Any decent microphone; a headset or a desk microphone 15-20 cm from your mouth works. See the recording guide.
Network Needed once, during setup, to download the toolchains, the runtime and the models (several GB from Hugging Face).
Language Speech in English, Ukrainian and about 60 more languages (the language of the text is a setting). You can record in English; for the most natural accent in another language, a short reference clip in that language helps.

Quick start

  1. Download the installer for your system from the latest release: Windows (setup.exe), macOS (.dmg, Apple Silicon), Linux (.AppImage, or .deb for Debian and Ubuntu); Windows and Linux on x64.
  2. Start Mimvox, choose what to install and press Run setup. The app installs the speech engine and the models by itself, with a progress list in its window: about 13 GB for speech alone, about 33 GB for everything (voice training, translation, native accent, music removal). A part left out installs later in one click, on the screen that needs it.
  3. Drop recordings you already have on Record, or choose a preset (or paste your own text) and read it. Start typing; press Train for a closer copy of the voice.

The usage guide covers the details (the first-run warnings of unsigned installers, the install location, updates).

From the source code

For working on Mimvox itself:

git clone https://github.com/tarpetos/mimvox.git
cd mimvox
./setup.sh          # Linux and macOS (.\setup.cmd on Windows)
cd crates/desktop && cargo run --release

The setup script also installs the toolchains the app is built with (Rust, a C/C++ compiler), builds the two Python environments (the engine with OmniVoice, and Applio), downloads the models and writes runtime.toml. It can be run again at any time; it skips what is already done.

Usage

The usage guide walks through the whole app step by step: setup and the data folder, recording (presets, your own text, microphone, importing files), voices and reference clips, training with pause and resume, speaking in other languages, Redub (translate and dub a video, convert, re-speak), tips for quality and troubleshooting.

Local API and MCP

Other programs and AI assistants can use Mimvox too, on this computer or your local network. Both are off until you turn them on, and everything still runs on your computer.

  • Local HTTP API: an OpenAI-compatible speech endpoint (POST /v1/audio/speech), every engine method over POST /rpc (voices, speech, audiobooks, Redub, training), live progress over GET /events (Server-Sent Events), and file upload and download over /files.
  • MCP server: mimvox-mcp lets Claude Desktop, Claude Code and other Model Context Protocol clients list your voices, speak text and get the audio back, read a document as an audiobook, pause and resume it, follow long jobs, move files to and from the API and call any engine method.

Turn it on. Press the status button at the top right (Ready) to open Settings, unfold API and press Turn on API: the app serves it on http://127.0.0.1:8765 while it is open. Without the window, run mimvox-server instead (installed next to the app: mimvox-server.exe in the install folder on Windows, /usr/bin/mimvox-server from the .deb, Mimvox.app/Contents/MacOS/mimvox-server on macOS, or ./Mimvox.AppImage serve). One engine runs per data folder, so close the app first.

Token and network. Programs on this computer need no token unless Require token is on; web pages in a browser never get in without one. Local network makes the API reachable from other computers and always needs the token, sent as Authorization: Bearer <token>. Settings shows and copies it; mimvox-server token show prints it.

Docs. http://127.0.0.1:8765/docs is an interactive reference of every endpoint and engine method, where you can try them; /openapi.json is the same as an OpenAPI 3.1 file.

curl http://127.0.0.1:8765/v1/audio/speech \
  -H "Content-Type: application/json" \
  -d '{"model": "mimvox", "voice": "My voice", "input": "Hello! This is my own voice."}' \
  -o hello.mp3

OpenAI's client libraries work with the base URL http://127.0.0.1:8765/v1 and the token as the API key (any key while no token is required). voice is a voice's name or id; response_format can be mp3, wav, flac, opus, aac or pcm.

MCP. With the API on, add mimvox-mcp to your assistant. Claude Desktop (Settings, Developer, Edit Config):

{
  "mcpServers": {
    "mimvox": { "command": "C:\\Users\\<you>\\AppData\\Local\\Programs\\Mimvox\\mimvox-mcp.exe" }
  }
}

On macOS the command is /Applications/Mimvox.app/Contents/MacOS/mimvox-mcp, from the .deb /usr/bin/mimvox-mcp, and with the AppImage its own path with "args": ["mcp"]. Claude Code: claude mcp add mimvox -- <that path>. On this computer mimvox-mcp finds the token by itself; for another computer pass --url http://<address>:8765 and the token in MIMVOX_API_TOKEN. Then ask, for example, "Read this paragraph in my voice and save it as MP3".

The usage guide has the details: every setting, configs for each system, the headless server and the MCP tools. The same consent and non-commercial rules apply to everything made through them.

Build

Installers for the desktop app are made by the scripts in scripts/build/, one per operating system (the files are named build-*.sh and build-*.ps1); the output goes to dist/. Read the header of each script for its options. The packaging configuration is crates/desktop/Packager.toml, the icons are in tools/release/icons/.

The models are large and carry their own licences, so they are downloaded by setup on each user's computer rather than being bundled; see THIRD_PARTY_NOTICES.md.


Project layout

crates/desktop/        Rust desktop app, the mimvox binary (Rune UI, microphone and playback)
  src/audio/           capture and playback (cpal, hound)
  src/ui/              screens: onboarding, record, train, voices, speak (with its Book mode, book.rs), redub
crates/engine-client/  engine process client and protocol types (shared by the app and the server)
crates/api/            local HTTP API over the engine protocol (the app serves it from Settings, or mimvox-server)
crates/server/         mimvox-server: the HTTP API without the window
crates/mcp/            mimvox-mcp: an MCP server for AI assistants, a client of the HTTP API
engine/                Python engine (mimvox_engine), runs in the engine virtualenv
  src/mimvox_engine/
    server.py          JSON-lines server
    tts.py, rvc.py     generation pipeline and RVC client (rvc_worker.py runs in the Applio venv)
    textimport.py      documents to clean text and chapters (EPUB, DOCX, ODT, FB2, PDF, TXT, ...)
    book.py, narration.py  audiobooks: the resumable book job; segmentation, pauses and levels for narration
    backends/          speech model: OmniVoice worker, text normalization (numbers, abbreviations)
    dataset/           recording checks, text analysis, dataset management
    training/          RVC training driver
presets/<lang>/        the guided reading texts (Quick, Standard, Pro) per language: en uk de fr es pl ro
contract/              engine-protocol.md: the app <-> engine protocol and data layout
tools/setup/           setup.py (run by the app on first start, and by setup.sh / setup.cmd for developers)
tools/release/         icons and release helpers
scripts/build/         installer builds per operating system
docs/                  architecture, recording guide, performance, screenshots

Where your data lives (voices, datasets, trained models, generated audio) is described in docs/architecture.md.


Screenshots

Record Train
Recording a part of the Standard preset Training progress
Speak Voices
Typing text and playing it in your voice Your voices
Book Redub
Reading a book into an audiobook, chapter by chapter A video dubbed into English in your voice

Troubleshooting

Problem What to do
Setup fails to clone a repository on Windows with a TLS / certificate error. The Git that Windows ships in some environments is MinGit, whose default TLS backend cannot verify some certificates. Run Git with the Windows certificate store: git -c http.sslBackend=schannel clone ..., or set it once with git config --global http.sslBackend schannel. Then run setup.cmd again.
A model download stops with a timeout or a Hugging Face connection error. The model files are large (several GB). Run setup again: downloads resume and finished files are skipped. If your connection to huggingface.co is slow or filtered, set HF_ENDPOINT to a mirror, or HF_HUB_DOWNLOAD_TIMEOUT=120 for a longer timeout, and retry.
"Not enough free GPU memory" or "not enough free memory (RAM)". Mimvox gives each model only the memory that is free, and stops a job that does not fit instead of letting the computer run out. Close other programs that use the graphics card or a lot of memory (games, video, browsers with hardware acceleration, other models) and try again. 8 GB of video memory is the practical minimum; 12 GB is comfortable. Do not train while generating.
"Not enough memory (RAM) for speech on the processor". Mimvox speaks on the CPU (no supported GPU) and the computer has less than 11 GB of RAM: the speech model would be swapped out to the disk and take many minutes per sentence. Use a supported graphics card, or a computer with 12 GB of RAM or more (16 GB recommended).
The first phrase takes a long time. The first phrase loads the models (RVC alone takes about 16 s cold against 1.7 s warm). Later phrases are much faster. After 10 minutes without use the models leave memory, so the first phrase after a break loads them again (about 10 s).
My recording is "too quiet". Move the microphone to 15-20 cm from your mouth, raise the input level in your system's sound settings, and record again. Avoid laptop microphones far from you.
My recording is "clipping" or "too loud". Move the microphone further away, lower the input level, and do not speak straight into it (use it slightly to the side to avoid plosives). Re-record that part.
The voice has a foreign accent in another language. OmniVoice carries the accent of the reference clip into the target language: an English reference gives Ukrainian with a slight English colour. Put a 7-12 s clip of you speaking that language as reference_<lang>.wav (for example reference_uk.wav) in the voice's folder; it is used for that language. For English there is also Accent: Native (American) (no training needed; see the usage guide).
"Native (American)" is greyed out for an untrained voice. The zero-shot voice converter (Seed-VC) is not installed. Close the app and run setup again (it adds about 2 GB), or train the voice.
The voice sounds like gibberish or the wrong language. Check that the language setting matches the text. In a language you did not record in, keep Voice match moderate: a high RVC index pulls the sounds towards your recorded language (the engine already caps it at 0.3 there).
Some tiny slices warn that the pitch extractor (rmvpe) fell back to CPU during training. Harmless. A few very short slices cannot run on the GPU and are processed on the CPU instead.
MP3 export sounds wrong or fails. RVC produces 40 kHz audio, which MP3 cannot store. The app resamples to 44.1 kHz first; if you export yourself, do the same.
The result does not sound enough like me. Use the Standard or Pro preset (the Quick preset is zero-shot only), keep the room and the microphone the same for all parts, and raise Voice match. See the recording guide.

Documentation

Page What it covers
Usage guide Every screen step by step, Settings, the local API and MCP, troubleshooting
Architecture App, engine and RVC worker, data layout, protocol summary
Recording guide Microphone, room, distance, levels, presets, how much data you need
Performance Measured speed, training time and similarity scores
Engine protocol The app <-> engine protocol
DISCLAIMER.md Consent and responsibility
THIRD_PARTY_NOTICES.md Licences of the software and models used
CHANGELOG.md What changed

License

Copyright 2026 tarpetos. All rights reserved except as granted by the license.

The source code is available under the PolyForm Noncommercial License 1.0.0: you may use, change and share it for any non-commercial purpose (personal use, study, research, hobby projects, and use by charities, schools and public institutions). Commercial use needs a separate license from the author: open an issue to ask. Contributions are accepted under the terms in CONTRIBUTING.md.

Third-party components and the models setup downloads keep their own licences: see THIRD_PARTY_NOTICES.md. Responsible use: DISCLAIMER.md. Questions and bug reports: open an issue on the project's GitHub page.

About

Clone your own voice on your own computer: speak any text in 60+ languages and dub videos into another language in your voice. Fully local. Early version.

Topics

Resources

Contributing

Stars

155 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages