Tacotron

Tacotron (and Tacotron 2)

AI

A research text to speech model from Google that learns to turn text straight into a spectrogram, replacing many hand-built steps with one network.

What is Tacotron?

Tacotron is a sequence-to-sequence model: it reads a sequence of characters and writes out a sequence of spectrogram frames. A vocoder then turns the spectrogram into sound. What problem it addressed. Older text to speech systems were pipelines of separate, hand-tuned parts: text analysis, pronunciation, timing and sound generation. Tacotron learned most of that from pairs of text and recorded speech, with far less hand engineering. How it works, simply: - An encoder reads the text. - An attention step decides which part of the text to focus on for each moment of audio. - A decoder produces the spectrogram one frame after another. Tacotron 2 paired this approach with a WaveNet vocoder and produced speech that was strikingly natural for its time. Known weaknesses: because it generates frame by frame with attention, it can be slow and sometimes skips, repeats or mumbles words, especially on long or unusual sentences. Later models such as FastSpeech and Glow-TTS set out to fix this.

Example

A team trains a Tacotron 2 model on many hours of one speaker reading books. Given a new sentence, it produces a spectrogram, and a vocoder turns it into speech in that speaker's style.

Why Tacotron Matters

It showed that one trained network could replace most of a traditional voice pipeline, which shaped much of the text to speech research that followed.

Explore More Terms

Browse our complete glossary of e-commerce and subscription terms.

Space, at your fingertips

What would you do with 22% more revenue?