Skip to content

Voice ML: Mandarin TTS

Voice ML is my text-to-speech pipeline for Mandarin. I fine-tune GPT-SoVITS voice models on open speech corpora on an RTX 4060. The pipeline then voices the 18 multi-speaker dialogues and 560 vocabulary words in my Chinese course notes.

Every stage below reads the same sentences with the same seed and sampling settings, so the only thing that changes is the model. Pick a sentence and compare.

你好,今天过得开心吗?

Nǐ hǎo, jīntiān guò de kāixīn ma?

Hi, did you have a good day today?

  1. Baseline

    base v2ProPlus

    The pretrained GPT-SoVITS model with no training. It imitates the voice from a single short reference clip (zero-shot).

  2. First fine-tune

    female_v3

    Fine-tuned on studio recordings from the CSMSC corpus.

  3. Second fine-tune

    female_v4

    Retrained on an expanded 7.5-hour CSMSC set.

  4. Current

    female_zh_c1

    My newest model, fine-tuned on AISHELL-3, an openly licensed corpus that also allows commercial use.

  1. Data: Clean single-speaker recordings with transcripts, sliced into short clips and normalised.
  2. Fine-tuning: Both halves of GPT-SoVITS are trained: the GPT model (what to say, prosody) and the SoVITS model (how it sounds).
  3. Evaluation gate: A fixed set of test sentences is synthesised and transcribed with Whisper large-v3. A checkpoint only replaces the previous one if its character error rate holds up.
  4. Synthesis: A batch client renders dialogues with several speakers at normal and study speed, with word-level timestamps for the dialogue player.

Source code on GitHub ↗

  • CSMSC (Data-Baker) was used for the first and second fine-tune. Its licence allows non-commercial use only, so these samples are shown only to document the training history.
  • AISHELL-3 (Apache-2.0) is used for the current voice. Chinesische Aussprache basiert auf AISHELL-3 Sprachkorpus (Apache-2.0 Lizenz).
  • The test sentences are self-written and not taken from any textbook.