STTSpeech-to-Text
The conversion that turns sound into written words
- STT (Speech-to-Text) is a technology that takes spoken sound and writes it down as text.
- Sound has no spaces in it. The machine has to decide where one word ends and the next begins.
- It cuts the sound into short slices, spreads them out like a picture, then picks letter candidates off that picture and refines them with context.
- Background noise, distance from the mic, room echo, and people talking over each other all swing the result heavily.
- It runs in the opposite direction from Text-to-Speech (TTS), which turns writing into sound.
Contents
1The analogy
A rooftop solar panel catches sunlight and turns it into electricity a house can use. Sunlight can't be held in your hand and its strength shifts by the minute, but once it passes through the panel it shows up as a number on the meter. Let a cloud drift over, or dust settle on the surface, and the harvest drops even though the sun outside hasn't changed. Point the panel the wrong way and the same thing happens.
Speech-to-text is the panel that catches sound. It takes something as hard to grab as air vibrating and turns it into text that stays on screen and can be searched. Speak close to the mic in a quiet room and it comes out clean. Say the same words from across a noisy street, and the result gets visibly worse.
2In detail
Sound has no spaces
Writing has blank space between words, but spoken sound runs together from start to finish. Stare at the waveform all you like — there's no mark that says "word ends here." The pauses a person actually takes while talking often don't line up with where meaning breaks anyway.
So before STT can turn sound into letters, it also has to decide where one chunk ends and the next begins. The exact same stretch of sound, cut in different places, turns into completely different sentences.
English piles on its own version of this trouble with run-together contractions and homophones, so the machine usually has to look at the surrounding words to cut things in the right place at all.
The sound gets sliced thin and spread out
Incoming sound is chopped into very short slices. One slice is far shorter than a blink of an eye — short enough that the sound barely changes within it.
For each slice, the system measures how much of each pitch is present and stacks that as a vertical strip. Line those strips up in time order, and the sound becomes a picture. That picture is a spectrogram. A human voice draws a fairly distinct pattern in this picture for every sound it makes, and that pattern is what lets a machine guess which sound it's looking at.
Transcription happens on top of this picture. Each slice gets scored for which letter or sound fragment it's likely to be, and those scores get stitched together in time order into words and sentences.
It picks whichever reading makes sense
A lot of speech can't be told apart by sound alone. Words like "flower" and "flour," or "there," "their," and "they're," sound nearly identical. In these cases the system doesn't just look at the sound score — it also weighs which reading makes sense given what comes before and after.
That's why the same sound can get written down as a different word depending on the sentence in front of it. On the flip side, a short phrase with no context around it gets misread often. So do unfamiliar names, shop names, and jargon that rarely shows up in training. Some services let you feed in a list of expected words ahead of time to raise accuracy on exactly this kind of case.
What comes out isn't a single answer but several candidates. The system picks the most plausible one to show you, and many services hand back how confident they are alongside it.
Conditions decide the score
Just as shade over a panel cuts its output, transcription is shaken hard by the conditions the sound arrives in. Café chatter, an air conditioner humming, and the echo of a room full of bare walls are the usual suspects. Move the mic farther away and the voice gets quieter while the noise stays the same — so things only get worse.
Several people talking at once is hard too. Overlapping sounds overlap in the picture as well, so pulling out just one person's share takes extra processing. That's why meeting-transcription services keep a separate feature just for splitting speakers apart.
Manner of speaking matters too. Speech styles that were common in training get transcribed well; regional accents, children's voices, and very fast talkers get misread relatively often.
Live and after-the-fact processing differ
Captions that pop up on screen right away process sound from the front as it arrives. The system has to judge without knowing what comes next, which is why text that just appeared sometimes quietly changes a moment later.
Processing a finished recording afterward lets the system look at the later context too and fix earlier guesses, so it comes out more accurate — at the cost of having to wait for the result. Processing on the device keeps sound from ever leaving it, which is reassuring; sending it to a server allows heavier processing. Which one you pick depends on how you weigh accuracy, speed, and privacy against each other.
3More precisely
Split into stages, there's a front end that cuts sound into short windows and pulls out frequency content, a middle that scores those windows for which sound unit they represent, and a back end that weighs those scores against how natural the resulting sentence sounds to pick the final text. These three used to be built separately and chained together; now it's common to train one system end to end so that sound goes in and text comes out. Performance is usually measured by counting, word by word or letter by letter, how far the transcript drifts from the correct answer.
The analogy breaks down in one place. A solar panel only outputs electricity in proportion to the light it receives — it doesn't judge anything. Transcription makes a choice at every moment. Facing the same sound, it writes different letters depending on the surrounding context, and when unsure it fills in with whatever seems most plausible. So a transcript reading smoothly is no guarantee it matches what was actually said. That's also why, in heavy noise, an out-of-place word can slip in and still read as a perfectly natural sentence.
4Try it yourself
5Common misconceptions
It's easy to think that a quiet room means everything gets caught, but actually unfamiliar names, jargon, and unfamiliar speech styles get misread often even in a silent room.
It's easy to think this is a simple sound-to-letter conversion, but actually it's the job of picking the most sensible sentence out of several candidates.
It's easy to think captions mean the meaning was understood, but actually the sound has only been written down as text — understanding the content is a separate step after that.
7One-line summary
In shortSpeech-to-text turns hard-to-grasp spoken sound into text the way a panel turns pouring sunlight into electricity, and its score depends heavily on the conditions the sound arrives in.
Spotted an error or have a better analogy? Suggest an edit · Last updated2026-09-02