Skip to main content

How Text Becomes Speech

How Text Becomes Speech

  • Image, speech & video
  • Stage 4 · Under the Hood
  • refs checked 2026-11-09
What problem it solves

How modern TTS works end to end: one model outputs the waveform, and rhythm is a distribution it samples rather than an average.

What it is
Old-style TTS had two stages: text to spectrogram, then a vocoder back to waveform. Training them separately lets errors compound. FastSpeech 2 (2020) generates spectrograms in parallel with a non-autoregressive model, a 3x training speed-up over FastSpeech. VITS (2021) merges the two stages into one end-to-end model that generates waveform directly from text, with human listening tests close to real recordings. The one-to-many mapping is the core difficulty: the same sentence can be spoken at many speeds and intonations. VITS models that variation as a distribution with a stochastic duration predictor instead of averaging it. Averaging is exactly what produces the 'robotic' sound.
Why it matters

When synthesised speech 'doesn't sound human', the problem is usually in rhythm modelling, not audio quality or sample rate.

Sources
  • FastSpeech 2: Fast and High-Quality End-to-End Text to Speech (arXiv 2006.04558) ↗
  • Conditional VAE with Adversarial Learning for End-to-End TTS (arXiv 2106.06103) ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →