Skip to content

Browser TTS workspace

Matcha TTS Online — Chinese & English in One Voice

Run Matcha TTS locally in your browser with one bilingual Chinese–English voice at 16 kHz. ~123 MiB CPU WebAssembly models, adjustable speed, WAV export, no signup.

  • Private generation
  • WAV export · 16 kHz
  • Chinese + English · WASM
MiB models
123
acoustic + vocoder
MiB models
voice
1
bilingual zh–en
voice
sample rate
16 kHz
fixed output
sample rate
runtime
WASM
CPU only
runtime

Matcha uses WebAssembly SIMD to generate speech on your CPU.

About Matcha TTS

This workspace runs the sherpa-onnx matcha-icefall-zh-en package: one bilingual Mandarin Chinese–English voice at a 16 kHz sample rate. The acoustic model (about 72 MiB) and the Vocos vocoder (about 51 MiB) total roughly 123 MiB before the WebAssembly runtime, lexicon, espeak-ng data, and Chinese rule files are counted. The first generation downloads those assets and caches them in the browser; later visits reuse the cache.

Matcha-TTS uses conditional flow matching to generate a mel spectrogram, which the vocoder converts to a waveform. Text normalization, pronunciation lookup, and synthesis run locally, and the workspace does not call a phonemization API. You can mix Chinese and English in the same passage; the model has one voice and no language or speaker selector.

This integration uses the CPU WebAssembly path, so it does not require WebGPU or a discrete GPU. Generation speed depends on the device, browser, text length, and selected speed. Output is exported as 16 kHz WAV only; this workspace does not provide an MP3 encoder, so convert the WAV elsewhere if a compressed file is needed.

Compare engines: Kokoro TTS (54 voices · q4 or fp32) · Kitten TTS (8 voices · Lightest) · Piper TTS (25 voices · Fastest CPU) · Supertonic TTS (31 languages · Local) · Pocket TTS (8 voices · cloning)

Advertisement

Adsterra privacy

One Bilingual Voice, Not a Language Selector

matcha-icefall-zh-en exposes one speaker and a 16 kHz output. The workspace therefore has no language picker, voice picker, or cloning step. Chinese and English share the same model and voice, which is useful for code-switched passages such as product names, quotations, or bilingual scripts. It does not translate text or verify that a mixed passage is idiomatic.

The bilingual label describes the training data, not a guarantee for every term. Names, numbers, dates, and technical loanwords can vary. Build a short review passage with the actual proper nouns and numerals, listen to the complete export, and correct the source text rather than assuming the model will infer the intended reading.

WASM-Only Runtime and WAV Export Boundaries

This integration runs sherpa-onnx in the browser through WebAssembly on the CPU. It does not use WebGPU, so a machine without GPU acceleration can still generate speech, but speed depends on the processor, browser, memory, and text length. The first load also downloads the runtime and supporting pronunciation files; model delivery is separate from site analytics.

The result panel exports WAV at the model's 16 kHz sample rate. There is no MP3 export in this workspace, so a compressed deliverable requires a separate encoder. Slower or faster speed settings change the generated duration; compare the final pacing on the target device and keep the text, speed, and model revision with an important file.

When Matcha TTS Is the Appropriate Engine

Choose Matcha when the script is Chinese, English, or a deliberate mix of both and a single consistent voice is enough. It is a compact local option at roughly 123 MiB before the runtime, and its CPU path does not depend on WebGPU. For broader language coverage use Supertonic; for many voices use Kokoro; for voice cloning use Pocket; for a very small English model use Kitten or Piper.

Matcha is not a translation tool, a multilingual catalog, or a clone of a real person. Review upstream model and dataset terms before publishing, and test names, numbers, and code-switched sentences rather than relying on a short demo. If the selected language is outside Chinese and English, choose another engine.

Getting Started with Matcha TTS

  1. 1

    Load the Bilingual Model

    The first run downloads the ~123 MiB acoustic model and vocoder plus the WebAssembly runtime, lexicon, and pronunciation data. Files are cached in the browser; later runs load from storage.

  2. 2

    Enter Chinese, English, or Both

    Type or paste the passage. There is no language switch: write each phrase in the language you want spoken, and the single bilingual voice handles mixed input.

  3. 3

    Set the Speed

    Use the speed slider from 0.5× to 2×. Start at 1× and compare a fixed sentence before using an extreme setting on a long script.

  4. 4

    Generate and Download WAV

    Choose Generate Speech, preview the result, then download the 16 kHz WAV. This workspace does not encode MP3.

Tips for Matcha TTS

  • 1

    Write each language in its natural script. Use Chinese characters for Chinese and Latin letters for English. The bilingual voice reads the written script; romanizing Chinese for an English pronunciation is a different input than standard Chinese text.

  • 2

    Punctuation still shapes pacing. Chinese and English punctuation both create pauses. Keep sentence boundaries clear, and test how the voice handles a comma or full stop in a mixed-language sentence.

  • 3

    Measure CPU generation on the target device. Matcha runs on CPU WebAssembly without WebGPU. Processor, browser, memory, text length, and speed setting all affect generation time, so test a representative paragraph before a long export.

  • 4

    Plan the export format. This workspace downloads WAV at 16 kHz. If a workflow requires MP3, encode the WAV in a separate tool and listen again for codec artifacts.

  • 5

    Expect one consistent voice. There is no speaker picker or cloning step. Use Kokoro or Supertonic for a broader voice catalog, and Pocket TTS when a cloned reference voice is required.

Frequently Asked Questions about Matcha TTS

Does Matcha TTS require WebGPU?

No. This integration runs sherpa-onnx through CPU WebAssembly and does not use WebGPU. Generation speed still varies with the processor, browser, memory, and script length.

Does Matcha TTS support both Chinese and English?

Yes. The matcha-icefall-zh-en model provides one bilingual Mandarin Chinese–English voice, and a single passage can mix both languages. There is no language selector, and the model does not translate between them.

What audio format does Matcha TTS export?

This workspace downloads WAV at the model's fixed 16 kHz sample rate. It does not provide an MP3 encoder, so convert the WAV separately if a compressed format is required.

How large is the Matcha TTS download?

The acoustic model is about 72 MiB and the Vocos vocoder is about 51 MiB, roughly 123 MiB combined. The WebAssembly runtime, lexicon, espeak-ng data, and Chinese rule files add to that before the browser cache is populated.

Can I choose a different Matcha voice or clone one?

No. matcha-icefall-zh-en is a single-speaker model with no voice selector or cloning step. Use Kokoro or Supertonic for a broader voice catalog, or Pocket TTS for zero-shot voice cloning.

Is my text uploaded when I use Matcha TTS?

After the model, runtime, and pronunciation assets download, text processing and waveform synthesis run locally in your browser. Model delivery and ordinary site analytics remain separate network requests documented in the Privacy Policy.

Upstream Model & Runtime Sources