Speech recognition and AI transcription: how it works and how to get usable results
Speech recognition has moved from a niche tool that needed hours of training on one person's voice to a feature built into phones, meeting software and operating systems. Upload a recording, and a transcript comes back within minutes. Whether that transcript is usable depends on factors that are rarely explained: how the system processes sound, what its accuracy figures actually measure, and how the recording was made. This guide explains how artificial intelligence turns speech into text, how to read accuracy claims, how to prepare audio for the best results and which privacy questions to settle before sending recordings to a service.
From sound to text: the main steps
Every speech recognition system, whatever its design, goes through a similar chain of operations.
- Capture and digitisation: a microphone converts air pressure into an electrical signal, which is sampled thousands of times per second and stored as numbers. Many speech recognition systems resample audio to 16 kHz internally, which is enough to capture the frequencies that matter most for speech.
- Feature extraction: the signal is cut into short overlapping frames, typically a few tens of milliseconds long, and each frame is converted into a representation of its frequency content. A common choice is the log-mel spectrogram, which spaces frequencies the way human hearing perceives them.
- Modelling: a model estimates which sounds, characters or word fragments are most likely given those features.
- Decoding: the system searches for the most probable sequence of words, combining what it hears with what is likely in the language.
- Post-processing: punctuation, capital letters, numbers, speaker labels and timestamps are added to produce a readable transcript.
Older systems and end-to-end neural models
Earlier systems were built from separate components: an acoustic model linking sounds to phonemes, a pronunciation dictionary linking phonemes to words, and a language model estimating which word sequences are plausible. Each part was trained and tuned separately, and words missing from the dictionary could not be recognised at all.
Most current systems are end-to-end neural networks, frequently based on the transformer architecture also used in large language models. They learn the whole mapping from audio features to text directly, from very large collections of recordings paired with transcripts. This approach handles accents, background noise and new vocabulary far better than older designs, and it allows one model to cover many languages. It also introduces a new kind of error: because the model generates text, it can occasionally produce fluent words that were never spoken, especially during silence, music or unclear passages.
Speaker labels and timestamps
Identifying who spoke when is a separate task called speaker diarisation. The system groups segments of audio by voice characteristics and labels them Speaker 1, Speaker 2 and so on. It does not know who the speakers are. Diarisation errors are common when voices are similar, when people interrupt each other or when a speaker is far from the microphone. Timestamps link each word or segment to its position in the recording, which makes checking and correcting the transcript much faster.
How accuracy is measured: word error rate
The standard measure of speech recognition accuracy is the word error rate, or WER. The machine transcript is aligned with a reference transcript checked by a person, and three types of error are counted:
- substitutions: a word replaced by another
- deletions: a spoken word missing from the transcript
- insertions: a word in the transcript that was not spoken
The word error rate is the total of those three counts divided by the number of words in the reference. If a reference sentence has 20 words and the machine transcript contains two substitutions, one deletion and one insertion, the WER is 4 divided by 20, or 20 percent. Accuracy is sometimes quoted as 100 percent minus the WER.
Why a single accuracy figure can mislead
- It depends on the test audio: a figure measured on clear, read speech says little about a noisy meeting with six participants.
- All words count equally: getting “the” wrong costs the same as getting a person's name or a dosage wrong, though the consequences are very different.
- Punctuation and speaker labels are usually excluded: a transcript can have a low WER and still be hard to read because sentences and speakers are wrong.
- Normalisation choices matter: whether “10” and “ten” count as the same word changes the result.
The most reliable way to judge a tool is to test it on a sample of your own recordings and check the result against the audio.
What affects the quality of an automatic transcript
| Factor | Effect | What you can do |
|---|---|---|
| Background noise | Words masked or invented | Record in a quiet room, away from air conditioning and traffic |
| Distance from the microphone | Thin, echoing voice and missed words | Keep each speaker close to a microphone |
| Overlapping speech | Merged or lost sentences, wrong speaker labels | Agree on turn-taking for important recordings |
| Telephone audio | Lower accuracy because of the narrow frequency range | Record calls through a wideband connection or locally on each side |
| Specialised vocabulary | Names and technical terms replaced by common words | Use custom vocabulary features where available |
| Strong compression | Artefacts that confuse the model | Record in a lossless format or a high bitrate |
| Accents and speech styles under-represented in training data | Higher error rates for some speakers | Test with your own speakers before relying on a tool |
Traditional telephone lines carry roughly the range from 300 to 3,400 Hz, far less than a good microphone captures, which is why calls recorded over a standard phone line usually produce weaker transcripts.
Preparing recordings for speech recognition
- Test the setup: record a minute of speech in the real room with the real equipment, listen to it on headphones and fix problems before the actual session.
- Use a microphone per speaker when possible: lapel or headset microphones keep each voice close and clear. For interviews, one microphone for each person gives the best results.
- Record separate channels: if your recorder or software allows it, record each speaker on a separate track. Some services can use separate channels to label speakers accurately.
- Choose the format: record in WAV or another lossless format, or in a compressed format at a generous bitrate. Avoid converting the file several times.
- Control the room: close windows, switch off fans if you can, and avoid bare rooms with hard surfaces that create echo.
- Note names and terms: keep a list of people, places and technical terms mentioned in the recording, for the custom vocabulary or for the review.
Reviewing a machine transcript
An automatic transcript is a draft. For anything that will be published, quoted, used as evidence or relied on for decisions, it needs a review against the audio.
- Read the transcript once without the audio to spot passages that make no sense.
- Play the recording at a slightly reduced speed and follow the text, correcting as you go.
- Check every name, number, date and technical term against your list or a reliable source.
- Verify speaker labels, especially around interruptions.
- Listen carefully to silences, music and unclear passages, where generated text that was never spoken is most likely to appear.
- Fix punctuation so that sentences and questions match what was said.
Privacy and security before you upload
Recordings often contain personal information about the people speaking and the people they mention. Before using a speech recognition service, settle a few questions.
- Where is the audio processed? Some tools run on the device, others send audio to servers that may be overseas. In Australia, entities covered by the Privacy Act 1988 must follow the Australian Privacy Principles, including the principle on cross-border disclosure of personal information. The Office of the Australian Information Commissioner publishes guidance on these obligations.
- Is the audio kept or used for training? Read the service's terms and settings. Some services keep recordings or use them to improve their models unless you opt out.
- Who can access the transcripts? Use individual accounts, multi-factor authentication and sharing restricted to named people.
- Was the recording made lawfully? Rules on recording conversations differ between Australian states and territories. Check the law that applies where the conversation takes place, and get the consent of participants where it is required.
This is general information, not legal advice. Organisations handling sensitive recordings should seek advice on their specific obligations.
Should you use speech recognition for your recordings?
Speech recognition is well suited to clear recordings with few speakers, to internal notes where small errors do not matter, and to producing a first draft that a person then reviews. It needs more caution for noisy recordings, many overlapping speakers, heavy jargon, and any transcript used in legal, medical, academic or published contexts, where every error counts. The deciding factors are the quality of your audio, the consequences of an error and the time available for review.
Frequently asked questions
What is a good word error rate?
It depends on the use. A rate that is acceptable for searching meeting notes may be far too high for a published quote. Test on your own recordings rather than relying on general figures.
Why does the transcript contain words nobody said?
Neural models generate text, and during silence, noise or music they can occasionally produce plausible words. Reviewing those passages against the audio is essential.
Does speech recognition work offline?
Some systems run entirely on the device, including features built into recent operating systems. Others need an internet connection. Check the documentation of the tool you use.
Can speech recognition identify speakers by name?
Diarisation separates voices and labels them generically. Assigning names to those labels is usually done by the person reviewing the transcript.
Written by
Tamsin Pethybridge
Tamsin Pethybridge grew up in Hobart, Tasmania, and spent her twenties typing up oral history recordings for a regional library, a foot pedal under the desk and a cup of tea going cold beside the keyboard. She later ran the office of a small engineering firm, which meant minutes, board papers and a great many recorded meetings. What she enjoys most is the puzzle of a difficult recording: two people talking at once, a strong regional accent, a word that only makes sense three sentences later. She keeps a notebook of misheard phrases that still makes her laugh. Away from the keyboard she swims at Kingston Beach in every season and restores old fountain pens.
Read next
Captions and transcripts for social media video: a practical guide
A humorous look at how punctuation can change meaning, and how to get it right
