What is Tacotron? From text to spectrograms and speech
Tacotron is a 2017 end-to-end text-to-speech model trained on text–audio pairs. Learn its character-to-spectrogram pipeline, Griffin–Lim waveform reconstruction, text preparation, evaluation limits, and how it differs from Tacotron 2.
What is Tacotron? From text to spectrograms and speech
Tacotron is an early end-to-end text-to-speech (TTS) model that learns from paired text and recordings to synthesize speech from characters. The 2017 paper predicts mel spectrograms with an attention-based sequence model, then uses a post-processing network and Griffin–Lim to reconstruct a waveform. It is therefore a pipeline of learned acoustic features and waveform reconstruction, not a single black box that directly emits audio.
The path from text to speech
**Normalize text:** expand numbers, abbreviations, and symbols into the intended spoken form. Different normalization can change pronunciation and duration.
**Encode characters:** embed the character sequence and build context with a CBHG encoder. Language, script, and training coverage matter.
**Predict acoustic frames:** an attention decoder learns the alignment and predicts 80-band mel-spectrogram frames. Unstable alignment can skip or repeat words or stretch the ending.
**Post-process and reconstruct:** a network predicts a linear-frequency spectrogram; the original paper uses Griffin–Lim to estimate phase and produce a waveform. Artifacts can remain.
Illustrative example: “Dr. Lee paid $12.” may need language-specific normalization such as “Doctor Lee paid twelve dollars.” before character input. The example explains the step; it is not a universal normalization rule.
What end-to-end means—and does not
Tacotron learns from text–speech pairs and reduces hand-built linguistic features and phoneme-level alignment. It can start from random initialization. But training still needs aligned transcripts and recordings, consistent normalization, audio-analysis settings, padding/length handling, and a compatible waveform synthesizer. Ambiguous names, numbers, and abbreviations may still need explicit pronunciation handling.
Tacotron and Tacotron 2 are different
| Tacotron (2017) | Tacotron 2 (2017) | |
|---|---|---|
| Acoustic output | Mel spectrogram, then a post-net produces linear spectrogram | Mel spectrogram |
| Waveform stage | Griffin–Lim | Modified WaveNet neural vocoder |
| Role | Early integrated text-to-spectrogram design | Follow-up using a neural vocoder for improved audio quality |
Check a checkpoint’s version, character set, spectrogram representation, vocoder, dataset, and sample rate. NVIDIA’s public PyTorch implementation is Tacotron 2 and differs from the paper; its description says it uses Dropout rather than Zoneout for LSTM regularization.
Read the results in context
The original paper used about 24.6 hours of one-speaker North American English and reported MOS 3.82 on a five-point naturalness scale. In that experiment, the parametric system scored 3.69 and concatenative synthesis 4.09. These are subjective results for that dataset and evaluation, not a quality guarantee across languages or a ranking of current TTS systems.
Check pronunciation, omissions/repetitions, sentence endings, prosody, long-input stability, and listener intelligibility—not just naturalness. Include names, dates, numbers, loanwords, and long domain-specific text in the test set, and have people listen to the actual output.
Choosing a model today
Tacotron is historically important because it learned alignment and acoustic features from text–audio pairs. For a new service, compare language/script coverage, speaker and recording match, whether a separate vocoder is needed, latency, memory, sentence limits, streaming, and model/data rights. For reproduction, pin implementation version, normalization, sample rate, spectrogram settings, Griffin–Lim iterations or vocoder compatibility. A model and vocoder trained with different mel settings can produce poor audio. Follow the specific implementation README and model card.
Sources
[Tacotron: Towards End-to-End Speech Synthesis](https://arxiv.org/abs/1703.10135) (2017).
[Tacotron 2 paper](https://arxiv.org/abs/1712.05884) (2017).
Google Research, [Tacotron 2 overview](https://research.google/blog/tacotron-2-generating-human-like-speech-from-text/).
Google, [Tacotron papers and audio samples](https://google.github.io/tacotron/index.html).
NVIDIA, [Tacotron 2 PyTorch implementation](https://github.com/NVIDIA/tacotron2) and [PyTorch Hub model description](https://pytorch.org/hub/nvidia_deeplearningexamples_tacotron2/).