All posts

Speech to text to speech describes a complete voice loop: audio input is converted to text, the text is processed or transmitted, and then new text is converted back to audio output. It is the technology that underlies voice assistants, accessible communication devices, real-time translation systems, and an increasing number of productivity workflows. Understanding how each stage of this loop works helps you appreciate both the remarkable capability of these systems and the places where they still have room to improve.

Stage One: Speech to Text

The first half of the loop is automatic speech recognition (ASR), which converts a spoken audio signal into a written text representation. Modern ASR systems use large neural networks trained on hundreds of thousands of hours of transcribed speech to map acoustic features directly to word sequences.

The key metrics for the STT stage are accuracy (measured as word error rate) and latency (the delay between speaking and receiving the transcript). In a real-time loop, latency compounds — a 500-millisecond delay at the STT stage contributes to the overall response time that the user experiences. The best modern STT systems achieve word error rates below 5% on clear speech and latency under 200 milliseconds for streaming audio.

The STT stage introduces the most complexity for domain-specific vocabulary. Common words in everyday speech are transcribed with very high accuracy. Technical terms, proper nouns, and specialized jargon that appear infrequently in training data have substantially higher error rates. This is why professional users benefit from custom vocabulary features that bias the recognition model toward the specific terms they use regularly.

The Middle: Text Processing

In the space between the two audio stages, the text can be used in many ways. In the simplest case — a dictation workflow — the text is simply inserted into a document or application. In more complex systems, the text is processed before it is spoken back.

A voice assistant processes the transcribed query with a natural language understanding system that extracts intent and entities, then generates an appropriate response. A real-time translation system runs the text through a translation model before synthesizing speech in the target language. An accessibility communication device might display the text to a communication partner while simultaneously synthesizing it as audio.

The text processing stage is where the most application-specific intelligence lives. The STT and TTS stages are increasingly commodity technology; the differentiation is in what happens in between.

Stage Two: Text to Speech

Text to speech (TTS) converts the processed text back into audio. Modern neural TTS systems produce voice synthesis that is remarkably natural-sounding. Fifteen years ago, synthesized speech was immediately recognizable as robotic. Today, the best neural TTS models produce speech that is difficult to distinguish from human speech in controlled conditions.

Key factors in TTS quality include naturalness (how human-like the prosody, pacing, and intonation sound), expressiveness (the range of emotional and stylistic variation available), and latency (important for real-time applications where the response should feel immediate). Neural TTS models now offer streaming output that can begin playing before the full text has been synthesized, which dramatically reduces perceived latency.

Voice cloning — generating TTS in a specific person's voice from a small sample — is now technically feasible and raises important privacy and consent questions that are beginning to be addressed through policy and technical safeguards.

Practical Applications of the Full Loop

Voice Assistants

The most familiar application of the speech-to-text-to-speech loop is the voice assistant. You speak a question, it is transcribed and understood, a response is generated, and the response is spoken back to you. The full cycle — from your question to the spoken answer — happens in a few seconds in well-implemented systems.

Real-Time Translation

Real-time spoken language translation uses STT to transcribe audio in the source language, machine translation to convert the text to the target language, and TTS to speak the translated text. Quality has improved dramatically, and the technology is now widely available in consumer devices. End-to-end latency is still high enough that real-time conversation requires pauses for processing, though this is improving rapidly.

Accessibility Communication

For people who cannot speak or who have severely impaired speech, AAC (augmentive and alternative communication) devices use the speech-to-text-to-speech loop to enable communication. A user types or selects words on a device, and the text is spoken aloud. More recently, systems that convert electroencephalogram signals or facial muscle activity into speech are extending the loop to users who cannot easily use keyboard input either.

Voice Dictation for Productivity

The most common everyday use of speech-to-text in isolation — without the return text-to-speech leg — is productivity dictation. Speaking your thoughts into a document, email, or chat message is speech-to-text without the TTS return. Apps like Steno specialize in this half of the loop, making the STT stage as fast and accurate as possible without requiring any audio output.

However, a useful workflow pattern is to combine dictation with text-to-speech for proofreading. After dictating a document, playing it back with TTS lets you hear your own words the way a reader will experience them, which often reveals awkward phrasing and logical gaps that silent reading misses. macOS includes a built-in Speak Selection feature that can read any selected text aloud, making this a free, zero-setup proofreading technique.

The Latency Challenge in Real-Time Loops

For the speech-to-text-to-speech loop to feel natural in conversation, the total latency from end of utterance to start of spoken response should ideally be under one second. This is challenging because each stage of the pipeline contributes latency: STT processing, text transmission over a network, NLU and response generation, response transmission, and TTS synthesis.

On-device processing helps significantly by eliminating network round trips. The best voice assistants now do much of their STT and TTS processing locally, with only the higher-level reasoning requiring a server call. As hardware continues to advance, more of the compute-intensive work will move on-device, reducing latency and improving privacy simultaneously.

The voice loop is a conversation between human and machine. Making that conversation feel natural — with speed and accuracy that matches human communication — is the defining challenge of voice interface design.

For the STT half of the loop in professional productivity contexts, Steno delivers near-instant voice-to-text across all Mac and iPhone applications. Download it free at stenofast.com and explore our article on real-time speech to text for a deeper look at low-latency transcription.