Text-to-speech (TTS)

Text-to-speech (TTS), or speech synthesis, is technology that converts written text into spoken audio. Modern systems are based on neural networks and are used for video voiceovers, audiobooks, screen readers, voice assistants and call-center bots.

Definition

A TTS system takes text and returns an audio file or stream in a chosen voice and language. It runs on a device, as in operating-system screen readers, or in the cloud, where developers call it through an API and usually pay per character.

From recorded fragments to neural networks

Before neural networks, concatenative synthesis stitched together short fragments recorded by one speaker: it could sound natural, but a new voice or emotion required new recordings. Parametric synthesis generated sound from a model's parameters through a vocoder; it was more flexible but sounded less natural.

In September 2016, DeepMind presented WaveNet, a neural network that generates the audio waveform one sample at a time; in listening tests for US English and Mandarin, it narrowed the gap with human speech by more than 50%.

How neural TTS works

A classic pipeline has three stages:

  1. Text normalization turns the input into speakable words: dates, amounts and abbreviations are expanded, and stress and the reading of ambiguous words are chosen.
  2. An acoustic model predicts sound, intonation and pauses, usually as a spectrogram — a map of frequencies over time.
  3. A vocoder turns the spectrogram into an audible waveform.

Newer end-to-end models merge these stages and learn from pairs of recordings and transcripts. Some follow plain-language instructions about tone, speed or accent, as OpenAI's gpt-4o-mini-tts does.

Key concepts

  • Voice — a ready-made speaker from the provider's catalog, such as kk-KZ-AigulNeural in Azure.
  • Voice cloning — creating a voice from recordings of a specific person. OpenAI, for example, creates custom voices only from the speaker's consent recording plus a reference sample.
  • Prosody — the melody of speech: pitch, rhythm, stress, pace and pauses.
  • SSML (Speech Synthesis Markup Language) — an XML standard from the W3C; version 1.1 became a Recommendation on September 7, 2010. Its tags set pauses, pitch, rate, how numbers and dates are read, and pronunciation. Google Cloud, Amazon Polly and Azure accept it.
  • Latency and streaming — the time until the first sound; voice bots play audio as it is generated. ElevenLabs cites a median latency of about 100 ms for Flash v2.5, excluding application and network delay.
xml
<speak>
  Order <say-as interpret-as="cardinal">1042</say-as> has shipped.
  <break time="500ms"/>
  <prosody rate="slow">Thank you.</prosody>
</speak>

Where it is used

TTS voices videos, ads and online courses, produces audiobooks and reads interfaces aloud to blind and low-vision users. It also speaks for assistants and chat apps such as ChatGPT, phone menus, call-center bots and navigation apps.

Providers and support for Russian and Kazakh

As of November 2026, per the providers' official language lists:

Provider Russian Kazakh
ElevenLabs Yes Yes, in Eleven v4 and v3 (not Multilingual v2 or Flash v2.5)
Google Cloud Text-to-Speech Yes, including Chirp 3 HD and Gemini-TTS Not listed
Amazon Polly Yes, standard voices Tatyana and Maxim only Not listed
Microsoft Azure Speech Yes, including HD voices Yes, two voices: Aigul (female) and Daulet (male)
OpenAI Listed Listed

OpenAI says its TTS generally follows Whisper's language list, with voices optimized for English. Its Speech API models (tts-1, tts-1-hd, gpt-4o-mini-tts) are deprecated and scheduled to shut down on January 6, 2027, in favor of gpt-realtime-2.1-mini in the Realtime API.

TTS vs speech-to-text

Speech-to-text (STT), or speech recognition, does the opposite: it turns audio into text. Voice assistants chain the two: STT recognizes the request, a language model writes the reply, and TTS reads it aloud. Many providers sell both.

Ethics and law

Cloned voices are used in phone fraud and deepfakes, so consent and labeling are central. OpenAI's usage policies require telling end users that the voice they hear is AI-generated. In Kazakhstan, the Law “On Artificial Intelligence” (No. 230-VIII of November 17, 2025, in force since January 2026) allows AI-generated audio imitating a person's voice to be distributed only with machine-readable marking and a warning users can perceive. In the EU, Article 50 of the AI Act, applicable from August 2, 2026, requires machine-readable marking of synthetic audio and disclosure of deepfakes. Requirements change; check the current law and the provider's terms.

Sources

  1. WaveNet: A generative model for raw audio — Google DeepMind (accessed 29 November 2026)
  2. Speech Synthesis Markup Language (SSML) Version 1.1 — W3C (accessed 29 November 2026)
  3. Supported voices and languages | Cloud Text-to-Speech — Google Cloud (accessed 29 November 2026)
  4. Available voices - Amazon Polly — Amazon Web Services (accessed 29 November 2026)
  5. Language and voice support for Azure Speech — Microsoft Learn (accessed 29 November 2026)
  6. Models — ElevenLabs (accessed 29 November 2026)
  7. Text to speech — OpenAI (accessed 29 November 2026)
  8. Закон Республики Казахстан от 17 ноября 2025 года № 230-VIII «Об искусственном интеллекте» — Uchet.kz (текст закона) (accessed 29 November 2026)

Also available in: Русский · Қазақша