Winter 2026 · Sent from Tranquility Base
Visit the moon studio ↗
AI tools

Testing VoxCPM2 Voice Cloning on Code Switching and Tech Jargon

I cloned my voice with the free, open-source VoxCPM2 model and had it read English tech jargon and Chinese lines with English mixed in.

An astronaut speaks into a microphone in the lunar base’s recording corner. The sound wave splits into five glowing figures (a wizard, a boy, a robot, a pirate and a girl) while a nearby machine reshapes cards.
An astronaut speaks into a microphone in the lunar base’s recording corner. The sound wave splits into five glowing figures (a wizard, a boy, a robot, a pirate and a girl) while a nearby machine reshapes cards.

VoxCPM2 is an open-source speech model from OpenBMB. It's licensed under Apache-2.0, so it's free for commercial use. I cloned my own voice from a Chinese reference recording and had it read English lines full of tech jargon. I also tested Chinese, my native language, with English words mixed in (code switching).

Of the open-source TTS models I've tested, only Fish Audio Drama 3 came closer to my voice.

I ran the Q8 quantized version with audio.cpp on a Linux laptop (Intel Core Ultra 5 322) using its integrated graphics.

Test results

Item

Result

5 English lines with tech jargon

Ultimate clone 5/5, controllable clone 4/5, built-in voice 5/5

20 mixed Chinese-English lines, Traditional Chinese

下週 ("next week"), 我習慣 ("I'm used to") and "Cloudflare Workers" misread every time

20 mixed Chinese-English lines, Simplified Chinese

All three came out right. Only English words were misread (Godot, Midjourney)

20 mixed Chinese-English lines, built-in voice (no cloning)

Whisper judged 14/20 fully correct; most errors were English words too

Voice design, 6 characters

All text read correctly

Hokkien

Characters read correctly, but the intonation sounds unnatural

Speed

About 20 to 30 seconds per line

Model file

Q8 quantized version, about 3 GB

Reference recording

About 8 seconds

What is VoxCPM2? Can you use it commercially?

  • Specs: 2B parameters, built on MiniCPM-4. OpenBMB says it was trained on more than 2 million hours of speech data. Output is 48 kHz.
  • Languages: 30 languages officially, plus 9 Chinese dialects, including Cantonese, Sichuanese and Hokkien.
  • Release: April 2026. The weights are on Hugging Face at openbmb/VoxCPM2 and the code is on GitHub.
  • License: Apache-2.0. Both the weights and the code are free for commercial use, with no revenue threshold and no attribution requirement.
  • Official hardware requirements: about 8 GB of VRAM. On an RTX 4090 the RTF is about 0.3 (0.3 seconds to generate 1 second of audio).

There are three ways to use it:

Mode

What you give it

What it's for

Voice design

Just a text description

No reference recording; you "sculpt" a new voice from a description

Controllable cloning

A reference recording

Clones the timbre; you can also set emotion and speaking rate

Ultimate cloning

A reference recording plus its transcript

Copies the rhythm and tone of the reference too, so it sounds the most like the speaker

Test 1: Reading English tech jargon with a Chinese voice sample

The reference recording is about 8 seconds of me speaking Chinese. I used it to clone my voice, then had the clone read 5 English lines packed with developer jargon. For comparison, I had VoxCPM2 read the same 5 lines with its built-in voice and no reference recording, then used Whisper to check whether each line was read correctly.

Reference recording (the author, in Chinese)
Cloned (author's voice): I write React with Cursor and GitHub Copilot, then deploy to Cloudflare.
Built-in voice (no cloning): I write React with Cursor and GitHub Copilot, then deploy to Cloudflare.
Cloned (author's voice): I've already fixed this bug, I'll send you the PR for review in a bit.
Built-in voice (no cloning): I've already fixed this bug, I'll send you the PR for review in a bit.

English is where the clone did best. According to Whisper, the ultimate clone and the built-in voice got all 5 lines right. The controllable clone got 4 out of 5 and slurred the first line. Whisper transcribed it as "Cloco works best in the CI." The clips above are from the controllable clone.

I ran the same test in 12 other languages too. Across all 13 languages, the ultimate clone got 12/65 lines fully correct, the controllable clone 23/65 and the built-in voice 25/65. Outside English, controllable cloning (no transcript) did better than ultimate cloning, because ultimate cloning carries on from my Chinese reference recording, rhythm and tone included.

Chinese is my native language, and I recorded my reference clip in Chinese. Every language has its own timbre, accent and rhythm, so for a better English clone, use a reference recording from a native English speaker.

Test 2: Reading Chinese mixed with English, and why I use Simplified Chinese

Mixed Chinese-English lines

I used the same 20 lines as in my Drama 3 test, covering everyday developer terms like bug, PR, Redis, Docker, TypeScript and GitHub Actions. I generated each line twice with different seeds and used Whisper to check the readings.

I used ultimate cloning because it was more stable than controllable cloning. I also had VoxCPM2 read the same Simplified Chinese lines with its built-in voice and no reference recording, to compare the cloned and non-cloned voices. Each pair below starts with the clone, then the built-in voice. Both versions read these lines correctly:

Cloned (author's voice): Docker container 跑起來之後,記得看一下 log 有沒有 error。 (Once the Docker container is running, check the log for errors.)
Built-in voice (no cloning): Docker container 跑起來之後,記得看一下 log 有沒有 error。 (Once the Docker container is running, check the log for errors.)
Cloned (author's voice): 這個 API 的 response time 太慢,要加一層 Redis cache。 (This API's response time is too slow; it needs a Redis cache layer.)
Built-in voice (no cloning): 這個 API 的 response time 太慢,要加一層 Redis cache。 (This API's response time is too slow; it needs a Redis cache layer.)
Cloned (author's voice): 把 TypeScript 的 strict mode 打開,很多 bug 在 compile 的時候就抓到了。 (Turn on TypeScript's strict mode and a lot of bugs get caught at compile time.)
Built-in voice (no cloning): 把 TypeScript 的 strict mode 打開,很多 bug 在 compile 的時候就抓到了。 (Turn on TypeScript's strict mode and a lot of bugs get caught at compile time.)
Cloned (author's voice): 這款遊戲的 boss fight 設計得很有 sense。 (The boss fight in this game is really well designed.)
Built-in voice (no cloning): 這款遊戲的 boss fight 設計得很有 sense。 (The boss fight in this game is really well designed.)

The cloned voice sounds a lot like me.

Both voices got about the same number of lines right:

Voice

Whisper judged fully correct

Cloned (ultimate cloning, 2 seeds)

11/20, 13/20

Built-in voice

14/20

Both voices stumbled mainly on English words:

  • Godot: the clone sounded like "gao dou" in 1 of 2 runs; the built-in voice made it sound like "Google".
  • Midjourney: the clone got it wrong both times; the built-in voice got it right.
  • Built-in voice dropping words: in one line it left out the opening "ChatGPT 和 Claude" (ChatGPT and Claude) entirely.
  • sprint, cold start: linked speech, same as with Drama 3, so Whisper hears Spring and co-star.

Compared with my earlier tests:

  • Fish Audio Drama 3: lines entered directly in Traditional Chinese, no dictionary, all 20 read correctly, and the voice was the closest match.
  • VoxCPM2: once the lines are converted to Simplified Chinese, the Chinese words come out right; a few English proper nouns get mangled, so generate a few takes and pick one.
  • CosyVoice 3: I needed a custom pronunciation dictionary to get the clone to say Cursor and React correctly.
  • Qwen3-TTS: my clone struggled with mixed Chinese and English and misread words in both languages.

Why Chinese lines must be in Simplified characters

Chinese has two writing systems, Traditional and Simplified, and VoxCPM2 misreads Traditional. I fed the same 20 lines in both, with all other settings and seeds identical. The number of fully correct lines was about the same, but the mistakes were in different places:

Word

Traditional lines (2 runs)

Simplified lines (2 runs)

下週 (next week)

Wrong both times

Right both times

我習慣 (I'm used to)

Wrong both times, start of the line garbled

Right both times

Cloudflare Workers

Wrong both times

Right both times

Godot

Wrong once

Wrong once

Midjourney

Wrong once

Wrong both times

The Traditional version trips over ordinary Chinese words, while the Simplified version only gets English proper nouns wrong. So now I always convert to Simplified before generating.

Traditional Chinese line: 我們下週的 sprint planning 改到星期三早上十點。 (Next week's sprint planning moves to Wednesday at 10 a.m.; 下週 "next week" misread)
Simplified Chinese line: same sentence, 下週 "next week" read correctly
Traditional Chinese line: 我習慣先在 Figma 畫 wireframe,再寫 React component。 (I'm used to drawing the wireframe in Figma first, then writing the React component; start of the line garbled)
Simplified Chinese line: same sentence, the start reads normally

To convert, use OpenCC's t2s (it changes characters only, not vocabulary). One line does it:

opencc -c t2s -i lines-tw.txt -o lines-cn.txt

The Chinese examples in the official README are all in Simplified characters too.

Test 3: Voice design

With no reference recording, you write a voice description in parentheses before the line, and the model doesn't read the text in the parentheses aloud. I designed 6 characters and generated each one 3 times. The model read every line correctly.

The first is Arthur, the bartender at the lunar base. The lunar base is the 3D mini-game on this site's homepage (https://terryl.in/), where you control an astronaut walking around the base, step out through the airlock onto the lunar surface, and order a signature drink at the bar. Arthur is a tribute to the android bartender in the movie Passengers (2016).

Character

Voice description

Arthur the bartender

中年男性,低沉沙啞,說話慢條斯理,像深夜酒吧的老闆 (Middle-aged man, low and husky, speaks slowly and deliberately, like the owner of a late-night bar)

Cheerful girl

年輕女孩,活潑開朗,語速稍快,帶著笑意 (Young girl, lively and cheerful, speaks a bit fast, with a smile in her voice)

Old wizard

年邁的老巫師,聲音蒼老而神秘,緩慢低語 (Aged wizard, old and mysterious voice, slow and murmuring)

Robot

冷靜的機器人,毫無情緒的電子合成音,每個字都很平均 (Calm robot, emotionless synthesized voice, every word evenly weighted)

Little boy

小男孩,興奮又好奇,聲音清脆 (Little boy, excited and curious, clear bright voice)

Pirate captain

A gruff old pirate captain with a raspy, booming voice

Arthur the bartender: 歡迎來到月球基地,我是亞瑟。今天想喝點什麼? (Welcome to the lunar base. I'm Arthur. What would you like to drink today?)
Cheerful girl: 哇,你終於來了!我等你好久了,快跟我來! (Wow, you're finally here! I've been waiting forever, come with me!)
Old wizard: 年輕人,這把鑰匙能打開的,不只是一扇門。 (Young one, this key opens more than just a door.)
Robot: 警告。氧氣存量低於百分之二十。請立即返回基地。 (Warning. Oxygen below twenty percent. Return to base immediately.)
Little boy: 那是什麼?是外星人嗎?我可以摸摸看嗎? (What's that? Is it an alien? Can I touch it?)
Pirate captain: Raise the anchor, you lazy dogs! The treasure won't wait for us!

All 6 characters sound like their descriptions.

OpenBMB also notes that voice design gives a different result each time, and recommends generating 1 to 3 takes and picking one.

Test 4: Hokkien

Hokkien is on the official dialect list. You add (闽南话) before the line and write the line itself in Hokkien Chinese characters:

你食飽未?今仔日天氣真好。 (Have you eaten yet? The weather is lovely today.)
我明仔載欲去台南揣朋友。 (Tomorrow I'm going to Tainan to see a friend.)

To my ear, the words sounded right, but the intonation was unnatural.

How to run it locally: audio.cpp and quantized versions

The official way to run it is with Python (pip install voxcpm), and the published speeds were all measured on NVIDIA GPUs. On a computer with no dedicated GPU you can use audio.cpp, which supports Vulkan, so Intel and AMD integrated graphics both work. The quantized versions are on Hugging Face at audio-cpp/audio.cpp-gguf. The Q8 version is about 3 GB, much smaller than Drama 3's quantized version (18.9 GiB).

You need to include VoxCPM2 when you build:

./scripts/build_linux.sh --backend vulkan --model-set custom --models voxcpm2 --target audiocpp_cli

The command for ultimate cloning:

audiocpp_cli --task tts --family voxcpm2 --backend vulkan --mode offline \
  --model voxcpm2-q8_0.gguf \
  --batch-text-file lines.txt --out-dir out \
  --voice-ref ref.wav \
  --reference-text "Transcript of the reference recording" \
  --request-option ultimate_clone=true

Watch the last line: passing --reference-text alone doesn't turn on ultimate cloning. You have to add --request-option ultimate_clone=true. Without it, it silently falls back to controllable cloning and shows no error message.

--batch-text-file takes one line per sentence. The model loads only once and the whole batch is generated together.

Drawbacks

  • Traditional Chinese gets misread: Chinese lines have to be converted to Simplified first.
  • A few English proper nouns get mangled: words like Godot and Midjourney need a few takes before you get a good one.
  • Slow without a dedicated GPU: about 20 to 30 seconds per line.
  • The voice sounds less like me than Drama 3's clone does. The size difference helps explain why. VoxCPM2 has only 2B parameters and its quantized version is about 3 GB; Drama 3 has 35B parameters and even its quantized version is nearly 19 GiB. They're in different weight classes.

Final thoughts

I've now tested most of the major open-source TTS models. For cloning my voice on lines that mix languages, VoxCPM2 comes second only to Drama 3.

The difference is size. Drama 3's quantized version is nearly 19 GiB, which is hard to run on a typical laptop; VoxCPM2's quantized version is only about 3 GB, so a typical laptop can handle it. If you want to make voice-overs on your own computer and don't have a machine with lots of memory, VoxCPM2 is my top pick right now. Just remember to write Chinese lines in Simplified characters. For reading English, use an English reference recording or the built-in voice.

Can VoxCPM2 handle code switching and English tech jargon?

Yes. On 5 English lines full of developer jargon, the ultimate clone and the built-in voice read all 5 correctly, and the controllable clone got 4 of 5. My clone came from a Chinese reference recording; for the most natural English clone, use a reference recording from a native English speaker.

Is VoxCPM2 free? Can I use it commercially?

Yes. Both the weights and the code are licensed under Apache-2.0: free for commercial use, no revenue threshold, no attribution required.

Can I clone my voice with VoxCPM2 without an NVIDIA GPU?

Yes, with audio.cpp and a GGUF quantized version. On an Intel laptop with no dedicated GPU, I ran the Q8 version (about 3 GB) through Vulkan at about 20 to 30 seconds per line.

How does voice design work in VoxCPM2?

Write a voice description in parentheses before the line, for example "(中年男性,低沉沙啞)歡迎光臨" ("(Middle-aged man, low and husky) Welcome"). No reference recording needed.

Do Chinese lines need to be in Simplified characters?

Yes. When I tested with Traditional Chinese lines, 下週 ("next week") and 我習慣 ("I'm used to") were misread every time; after I converted the same lines to Simplified, the model read both expressions correctly.

Does VoxCPM2 support Hokkien and Cantonese?

Hokkien and Cantonese are on the official dialect list. You add a tag in parentheses like (闽南话) or (广东话) before the line. I tested Hokkien: the characters were read correctly, but the intonation sounds unnatural.

If you've tried VoxCPM2, share your thoughts on Threads or X.