AI Generation

Text to Speech: How a TTS Model Produces a Voice

Also called tts, t2s, speech synthesis, neural tts

Text to speech converts written text into spoken audio. A modern TTS model does it in two stages, predicting an acoustic representation from the text and then turning that representation into a waveform, which is why the same sentence can be delivered by different voices and at different emotional settings.

What the model is actually predicting

Reading a sentence aloud requires far more information than the sentence contains. Where does stress land, how long is each vowel, does the pitch rise at the end, where does the speaker breathe. None of that is written down, and a TTS model's real job is to supply it.

The standard architecture separates that job into two. An acoustic stage takes normalised text, often converted to phonemes first, and predicts a spectrogram: a time-frequency picture that encodes pitch contour, duration and timbre but is not yet sound. A vocoder stage then synthesises the waveform from that picture. The split matters in practice because the two stages fail differently. Acoustic failures sound like wrong emphasis, odd pacing, or a flat reading. Vocoder failures sound like buzz, metallic ringing or smeared consonants.

Speaker identity enters as a separate conditioning signal, which is why one model can hold many voices, and why a voice can be swapped without rewriting the text.

The controls that matter

Most systems expose some subset of the following, and they are not equally powerful.

  • Voice selection. The largest single factor. Each voice carries its own pitch range, accent and default energy, and no parameter will make a calm narration voice shout convincingly.
  • Speed. Usually a clean multiplier. Small changes read as naturalness; large ones read as tape speed.
  • Emotion or style. Where offered, this is a strong lever, but it is a global one. It sets a mood for the whole request rather than a beat within it.
  • Stability or variance. Higher stability gives repeatable, flatter reads; lower gives more expression and more risk of an odd take.
  • Language or accent hints. Important for mixed-language scripts, where a model will otherwise apply one language's phonology to the other's words.

The control most people underuse is the script itself. Punctuation is a timing instruction. A comma is a short beat, a full stop is a longer one, and a paragraph break is longer still. Rewriting a sentence to be shorter changes delivery more reliably than nudging a speed slider.

Writing text that reads well aloud

Text normalisation sits in front of the whole pipeline and it is where most embarrassing errors originate. It has to decide that Dr. is doctor rather than drive, that 1420 is fourteen twenty rather than one thousand four hundred and twenty, and that read is present or past tense. It guesses from context and it is often wrong.

Practical rules. Spell out anything you care about: write fourteen twenty rather than 1420. Respell unfamiliar names the way they sound. Break long sentences at the points where a person would breathe. Avoid parentheses, which most systems either ignore or read as a stumble. And check acronyms, since a model may spell one out letter by letter or attempt to pronounce it as a word, with no way to predict which.

For anything longer than a paragraph, synthesise sentence by sentence and assemble with deliberate silences. This costs an extra step and buys three things: consistent prosody, the ability to re-roll one bad line without regenerating the whole take, and exact control over pause length, which is what actually makes narration sound edited rather than recited.

Where it sits next to the other audio tasks

Speech synthesis from text is one of four related jobs, and choosing correctly saves a lot of trial and error. Text to speech starts from a script and a chosen voice. Voice cloning starts from a script plus reference audio of a specific person. A voice changer starts from a recorded performance and only replaces the timbre, which is the right tool when the acting matters more than the wording. Lip sync starts from finished audio and a video, and moves the mouth to match.

The pipeline choice follows from what you already have. If the performance exists, keep it and convert. If only the words exist, synthesise them, and expect to spend most of your effort on punctuation and segmentation rather than on parameters.

Models that support this

Pulled from the live ZOOOP model catalog, so this list stays current as new models ship.

The prompt for this

A starting point that reliably produces the effect. Adjust the subject and setting; keep the technical clauses.

She said the address was 1420 Elm, not 1402. Are you certain? Because we have exactly one hour before the gallery closes, and I am not doing this twice.

Try Text to Speech yourself

Open the generator with a starting point already filled in.

Frequently asked questions

What are the two stages inside a TTS model?
First an acoustic model reads the normalised text and predicts an intermediate representation, usually a mel spectrogram, that encodes pitch, timing and timbre. Then a vocoder converts that spectrogram into an actual waveform. Older systems split these into separate models; several current ones train them end to end.
What is zero shot TTS?
Synthesising speech in a voice the model was never trained on, by conditioning on a few seconds of reference audio at inference time instead of fine-tuning. It is what makes instant voice cloning possible. Quality depends heavily on the reference being clean, dry and free of background music.
Why does it mispronounce names and numbers?
Because text normalisation runs before synthesis and has to guess. 1420 could be a year, a street number or a quantity, and Sean could be one of several names. The reliable fix is to write what you want heard: spell numbers out, and respell unusual names phonetically.
How do I control emotion and pacing?
Three levers, in order of effect. The voice you pick sets the baseline range. Explicit emotion and speed parameters, where a model exposes them, shift delivery globally. Punctuation and sentence length shape it locally, and a full stop where you want a beat outperforms almost any parameter.
Why does long text drift or rush?
Prosody is predicted over a limited window, so a very long passage loses track of where the emphasis has already been. Splitting the script into sentences or short paragraphs, synthesising each, and stitching with real pauses gives more consistent delivery than one long request.
How does speech synthesis differ from voice cloning?
Speech synthesis is the general task of producing speech from text with any voice. Voice cloning is the narrower problem of matching a specific person's voice, which adds a reference-audio step and a set of consent questions that generic synthesis does not raise.

Related terms