三色绘恋 Tricolour Lovestory character voices: Qwen3-TTS text-to-speech
An unofficial, fan-made Mandarin text-to-speech model with 14 character voices from the Tricolour Lovestory (三色绘恋) visual-novel series: 墨小菊, 文芷, 骆衍, 迟菓, 迟耀, 叶心 and eight side characters.
- Each voice is called by name. No reference audio is needed.
- Optional emotion instructions: angry and sad are reliably followed; happy more weakly.
- Built on Qwen3-TTS-12Hz-1.7B-CustomVoice.
Try it in the demo Space. The training data is the Tricolour Lovestory voice dataset. The code, with a fixed multi-speaker Qwen3-TTS trainer and a guide to fine-tuning Qwen3-TTS, is at github.com/starryark/tricolour-tts.
Also known as: Tricolor Lovestory · Sanse Huilian · 三色绘恋S Sunnyrain Lovestory · 叶心 Heartful Memories.
中文:《三色绘恋》系列 14 位角色的非官方粉丝向中文语音合成(TTS)模型,基于 Qwen3-TTS 微调。按角色名直接调用,无需参考音频;支持「开心 / 生气 / 伤心」语气指令(生气、伤心效果明确,开心较弱)。与官方及配音演员无关。
| Voices | 14 characters (below) + the 9 original CustomVoice presets, kept unchanged |
| Language | Mandarin Chinese (language="Chinese") |
| Type | Qwen3-TTS custom_voice checkpoint: text in, speech out, no reference audio |
| Base model | Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice, full fine-tune |
| Training data | 20.9 h: 19,829 game voice lines of the 14 characters, plus 1,491 instruction-replay clips |
| Emotion control | instruct="用生气的语气说" / "用伤心的语气说" / "用开心的语气说" |
| Version | T1, 2026-10-30 |
| License | Unofficial fan model, no rights granted (details) |
| Demo | starrydark/Tricolour_Lovestory_TTS |
| Code | starryark/tricolour-tts |
Use (Python)
import torch, soundfile as sf
from qwen_tts import Qwen3TTSModel
tts = Qwen3TTSModel.from_pretrained("starrydark/Tricolour_Lovestory_Qwen3_TTS",
device_map="cuda", dtype=torch.bfloat16)
wavs, sr = tts.generate_custom_voice(
text="明天上午九点,我们在图书馆门口集合。",
speaker="chiguo", # 迟菓 - see the table below
language="Chinese",
instruct="用生气的语气说", # optional: 用开心的语气说 / 用生气的语气说 / 用伤心的语气说
)
sf.write("chiguo.wav", wavs[0], sr)
Usage notes:
- Pass
language="Chinese". Training used the Chinese language id;"Auto"also works. - Keep the default sampling (temperature 0.9, top-k 50, repetition penalty 1.05). Greedy decoding makes codec language models loop.
- Write text the way the games do:
……for trailing pauses,——for dashes, no spaces between Chinese characters. Numbers are better written out in characters (二零零五年, not2005年). - Omit
instructfor the character's natural delivery.
Characters
Identity is the share of generated test sentences that an independent speaker model (CAM++, Chinese, 200k speakers) attributes to the right character among all 14. Real recordings of the cast score 0.967.
speaker | Character | Training data | Games | Identity (this model) | Identity (untrained CustomVoice) |
|---|---|---|---|---|---|
moxiaoju | 墨小菊 Mo Xiaoju | 356 min | TRI, SLS, HM | 0.98 | 0.88 |
wenzhi | 文芷 Wen Zhi | 242 min | TRI, HM | 1.00 | 0.92 |
luoyan | 骆衍 Luo Yan | 167 min | TRI, SLS, HM | 1.00 | 1.00 |
chiguo | 迟菓 Chi Guo | 128 min | TRI, SLS, HM | 1.00 | 0.98 |
chiyao | 迟耀 Chi Yao | 113 min | TRI | 1.00 | 0.90 |
yexin | 叶心 Ye Xin | 105 min | SLS, HM | 0.92 | 0.72 |
zhute | 朱特 Zhu Te | 27 min | TRI | 1.00 | 0.77 |
moshu | 墨叔 Mo Shu | 25 min | TRI, HM | 1.00 | 0.95 |
huanglili | 黄丽丽 Huang Lili | 22 min | HM | 0.47 | 0.17 |
dinglaoshi | 丁老师 Ding Laoshi | 17 min | TRI | 0.97 | 0.80 |
linjie | 琳姐 Lin Jie | 16 min | TRI, HM | 1.00 | 0.95 |
wenzhou | 文绉 Wen Zhou | 14 min | TRI | 1.00 | 0.94 |
xuyayi | 徐阿姨 Xu Ayi | 12 min | SLS | 0.87 | 0.34 |
ciertou | 刺儿头 Ci'ertou | 10 min | TRI | 0.89 | 0.71 |
- Games: TRI = 三色绘恋 Tricolour Lovestory; SLS = 三色绘恋S Sunnyrain Lovestory; HM = 叶心 Heartful Memories.
- 黄丽丽 is the weakest voice. It sometimes drifts toward 文芷 or 琳姐.
- 朱特 and 文绉 may share a voice actor. Their reference voices are by far the closest pair in the cast.
Emotion control
Blind listening test. One listener, 16 pairs per emotion. Each pair is the same character and sentence, with and without the instruction, in random order. Question: "which sounds more <emotion>?"
| Instruction | Instructed take chosen | Verdict |
|---|---|---|
用生气的语气说 (angry) | 14 / 16 | followed (p = 0.002) |
用伤心的语气说 (sad) | 16 / 16 | followed (p < 0.0001) |
用开心的语气说 (happy) | 12 / 16 | weak: p = 0.038 one-sided, but the two-sided 95% bound does not clear 50% |
Identity holds under instructions. Identity is 0.94 / 0.96 / 0.93 for happy / angry / sad, against 0.74 for the untrained CustomVoice model with the same voices, which drifted toward a generic voice. Other instruction wordings may work, but were not tested.
Evaluation
All numbers come from a selection rule written down before training (eval/T1_preregistration.md). The suites are:
- 191 held-out game lines that are not in training;
- 30 new neutral sentences × 14 characters;
- for instructions, the same 30 sentences × 3 emotions × 14 characters.
Measures:
- CER: Paraformer-zh toneless pinyin error.
- Identity: CAM++ nearest-centroid accuracy among the 14 characters.
- Phone leak: the share of outputs with a telephone-band spectrum.
| Model | CER ↓ | Identity ↑ | Identity under instruction ↑ | Phone leak | Runaway |
|---|---|---|---|---|---|
| Real recordings (held-out lines) | 0.031 | 0.967 | — | 0 | — |
| Untrained Base + these voices | 0.005 | 0.911 | — | 0 | 0 |
| Untrained CustomVoice + these voices | 0.016 | 0.787 | 0.739 | 0 | 1.1% |
| Base fine-tune (no emotion control), best | 0.009 | 0.947 | — | 0 | 0 |
| This model (CustomVoice fine-tune + instruction replay, 1.25 epochs) | 0.0096 | 0.936 | 0.942 | 0 | 0 |
| Same recipe, second training seed | 0.011 | 0.954 | 0.951 | 0 | 0 |
| + character-voiced emotional pseudo-data (rejected) | 0.010 | 0.929 | 0.48 | 0 | 0 |
How to read the table:
- The ASR misreads the real recordings more than the model's output. Acted speech is fast and full of interjections, so a CER below the real recordings' means clear reading, not better acting.
- The emotional pseudo-data recovered stronger emotions but pulled voices off-character (identity under instruction 0.48), so it was not shipped.
Full tables: eval/T1_results.md, eval/scores.json.
Training details
The code is in training_code/. Training records (arguments, logs, data report, clip ids) are in training_data/.
Data
The source is the voice tracks of the three games: isolated studio takes, one line per file, each paired with its script line by the game engine. Processing:
- Selection: the 14 characters with at least 12 minutes of usable speech.
- Text: game markup and quote marks removed; numbers written as spoken Chinese; foreign-language and sung lines dropped.
- Audio: re-cut to the speech with 0.12 s / 0.25 s silent padding and 5 ms fades, then levelled to −23 LUFS per (game, character) group so whispers stay quieter than shouts.
- Transcript check: two unrelated ASR systems (Qwen3-ASR and Paraformer) compared in pinyin space. 186 clips whose audio does not match the line were dropped.
- Effects: phone/radio-band and echo takes were detected and dropped, along with whole script blocks where they cluster (415 clips). A blind listening check of 100 clips put audible effects at about 4% of the corpus. Telephone and echo voices are best added with DSP after generation.
- Splits: by script block, so no evaluation line shares a scene block with training.
Speaker vectors
- Each character has a fixed vector: the mean Qwen3-TTS speaker-encoder embedding of 60 screened clean clips, drawn in proportion to the games the character appears in.
- It is written into codec-embedding rows 3020–3033 and never trained.
- The 9 CustomVoice presets keep their own rows.
Instruction replay
- 1,491 clips generated by the untrained CustomVoice model with its presets vivian / serena / uncle_fu, under no instruction and five instructions, and filtered by ASR.
- This keeps the instruction-following ability that a fine-tune on uninstructed data would otherwise forget.
Optimisation
- Full fine-tune, fp32 master weights, bf16 autocast.
- AdamW (0.9, 0.95), lr 5e-6, weight decay 0.01, 3% warm-up, cosine to 10% over a 2-epoch schedule, stopped at 1.25 epochs (834 steps).
- Effective batch 32; language id
chinese, with 25% of rows on the Auto prefix. - Trainer: fixes three silent bugs of the official
sft_12hz.py(labels shifted twice, the sub-talker reading the wrong frame,text_projectionskipped) and adds instruction prefixes. - Verified before training: an equivalence test shows the training inputs are identical, position by position, to what
generate_custom_voicebuilds, for 216 speaker × language × instruction combinations, and it catches a deliberately injected bug.
Compute: one H100 80GB for 3 h in total (all arms, evaluation included), about $12. This model's own training took 13 minutes.
FAQ
Does it need a reference clip? Is this voice cloning?
No. Each character is a fixed speaker vector stored in the model and called by name (speaker="wenzhi"). No audio is needed at inference.
Which instructions work?
用生气的语气说(angry) and用伤心的语气说(sad) were clearly followed in a blind A/B test.用开心的语气说(happy) is weaker.- Other wordings may work, but were not tested.
Can I still use the original CustomVoice presets?
Yes. vivian, serena, uncle_fu, ryan, aiden, ono_anna, sohee, eric and dylan keep their rows and config entries. Only vivian, serena and uncle_fu appeared in training, through the instruction replay.
Why does 黄丽丽 sometimes sound like someone else? It is the hardest voice in the cast: 22 minutes of data from a single game. Generations sometimes drift toward 文芷 or 琳姐 (identity 0.47), so try a few.
How can I train voices for my own characters the same way? Follow the recipe in the GitHub repository.
- Data pipeline: turns game voice lines into training rows.
- Fixed trainer: multi-speaker, keeps the CustomVoice instructions and presets.
- Evaluation: CAM++ identity, pinyin CER, blind A/B.
- The official fine-tuning script: has four silent bugs that this trainer fixes.
Can I use it commercially? No. No rights to the voices or characters are granted (see below).
中文常见问题
- 需要参考音频吗? 不需要。按角色名(如
speaker="chiguo")直接合成,不是声音克隆。 - 支持哪些情感?
用生气的语气说、用伤心的语气说效果明确;用开心的语气说较弱;- 不传
instruct则为角色本来的语气。
- 怎样为自己的角色训练? 参见 GitHub 仓库:完整的数据处理、多角色微调代码,以及官方
sft_12hz.py四个隐性问题的修复。 - 可以商用吗? 不可以。角色与声音权利归原权利人所有。
Limitations
- 黄丽丽 (identity 0.47) and, less so, 徐阿姨, 刺儿头 and 叶心 are less stable. They have the least data or come from a single game.
- The happy instruction is weaker than angry and sad.
- Mandarin only: cross-lingual quality was not evaluated.
- No non-verbal tags (laughs, sighs) and no phone or echo control. Use DSP for effects.
- Evaluation is mostly automatic, and the emotion test has one listener.
Rights and responsible use
This is an unofficial fan project, with no affiliation to the developers or publishers of the Tricolour Lovestory games or to their voice actors.
- The characters, the source audio and all related marks belong to their respective owners.
- No copyright, performer, publicity or voice rights are granted by this repository.
Do not use it to:
- impersonate the voice actors or anyone else;
- mislead people about authentic or official speech;
- suggest endorsement;
- harass.
Disclose synthetic audio as synthetic. Users are responsible for lawful use in their jurisdiction. Rights holders may contact the repository owner for removal.
Model weights derive from Qwen3-TTS (Apache-2.0).
Citation
@misc{tricolour_qwen3_tts_2026,
title = {Tricolour Lovestory character voices: a Qwen3-TTS fine-tune},
author = {starrydark},
year = {2026},
howpublished = {\url{https://huggingface.co/starrydark/Tricolour_Lovestory_Qwen3_TTS}},
note = {Code: \url{https://github.com/starryark/tricolour-tts}}
}
@article{qwen3tts2026,
title = {Qwen3-TTS Technical Report},
journal = {arXiv preprint arXiv:2601.15621},
year = {2026}
}