Voice changes almost every assumption a text interface makes. There’s no composer to edit before sending, no scrollback to glance at, and no pause while a reply is read at the reader’s own speed. Real-time voice models have made spoken conversation with software practical, but the hard design problems are about time: who speaks when, what happens when people talk over each other, and how to show state to someone who may not be looking at the screen.
This article covers the states a voice session moves through, turn-taking and interruption, live transcripts, permissions and privacy, latency, failure, and the alternatives every voice feature needs. It includes a simulated session you can step through.
Voice is not text read aloud
A text reply can be long, structured and skimmed. A spoken reply can’t. Listeners hold only a little in memory, can’t skip ahead, and can’t see a list’s length before it starts. Good voice design follows from those constraints:
| Text | Voice | |
|---|---|---|
| Pace | Set by the reader | Set by the speaker |
| Structure | Headings, lists, tables | Short sentences, one idea at a time |
| Correction | Edit before sending | Interrupt, or say it again |
| State | Visible at a glance | Heard, or shown to whoever is looking |
| Choices | Many options, side by side | Two or three, said in order |
Write spoken replies to be heard. Lead with the answer, keep options to two or three, and move anything detailed, such as a list of times or a long address, to the screen if there is one.
The states of a voice session
A voice session has more states than a chat, and they change faster. At minimum:
- Connecting: the session is starting. Nothing said yet will be heard.
- Listening: the microphone is live and the assistant is waiting for speech.
- Processing: the person has stopped and the assistant is working out a reply. Often under a second, sometimes much longer when it calls a tool.
- Speaking: the assistant is talking and can be interrupted.
- Muted, reconnecting, ended and failed.
Voice Session covers connecting, listening, speaking, reconnecting, ended and failed, with a separate muted state that reads “Microphone muted”. It doesn’t have its own processing state. Short gaps are covered by the transcript, which shows a partial line while speech is transcribed. For longer work, such as looking something up, the assistant should say so out loud (“Let me check his calendar”) and the screen can show the step the way any loading state would.
Turn-taking
People are remarkably consistent about turn-taking. A study of ten languages found that speakers everywhere avoid talking over each other and keep the silence between turns short, with average gaps across languages differing by only fractions of a second (Stivers et al., 2009). An assistant that waits too long feels slow. One that jumps in too early cuts people off mid-thought.
Most real-time voice systems detect the end of a turn automatically with voice activity detection. OpenAI’s Realtime API, for example, offers a silence-based mode and a semantic mode that uses the words spoken to judge whether the person has finished, with an eagerness setting (OpenAI docs). Those settings are design decisions as much as engineering ones:
- Products where people think aloud, such as brainstorming or dictation, need more patience than quick commands.
- Offer a push-to-talk or tap-to-finish option for noisy places and for people whose speech includes longer pauses.
- Show listening clearly, so people know they can keep going. Voice Session’s signal is raised while the microphone is live and lies flat while muted.
Barge-in and interruption
Barge-in means the person starts speaking while the assistant is talking, and the assistant stops. It’s the voice equivalent of a Stop button, and it’s essential: people interrupt to correct, to skip ahead, or because they already have what they need. In OpenAI’s Realtime API, new speech cancels the current reply by default (OpenAI docs).
The subtle part is what the assistant remembers. If a reply is cut off, the conversation record should hold what the person actually heard, not the full reply the model generated. The Realtime API has an event to truncate an interrupted reply to the point where playback stopped, so the model doesn’t assume the person heard the rest (Microsoft Learn). The interface should do the same: mark the reply as interrupted and show only what was said.
Interruption also needs tuning in the other direction. Coughs, background voices and short acknowledgements like “mm-hm” shouldn’t stop the assistant. That is largely a model setting, but the interface can help with a visible mute and with echo cancellation, so the assistant doesn’t hear itself.
A simulated session
This session uses scripted events rather than a microphone. Speak, then try interrupting the reply, muting, or dropping the connection:
Calendar assistant
Listening
Press Speak. The transcript fills as you go.
Simulated events
- session ready
A few details to notice:
- Your words appear as a partial line marked “Transcribing…” before they settle, so you can see you were heard.
- An interrupted reply ends where it was cut off and is labelled.
- Dropping the connection shows “Reconnecting” and keeps the transcript. Nothing said so far is lost.
- Muting stops the signal and disables speaking, and the status says so.
Live transcripts
A transcript turns a fleeting conversation into something people can check. It confirms what the assistant heard, gives a record of what was agreed, and makes the session usable for people who can’t hear the audio.
- Show partial text muted, then replace it with the final text. Mark partial entries with “Transcribing…” and keep them visually quieter.
- Label speakers simply: “You” and the assistant’s name.
- Make mistakes correctable. If the assistant misheard a name or a number, people should be able to see it and say it again.
- Link back to the audio when a recording exists. Live Transcript can show a play button per entry when given an
onSeekhandler.
WCAG’s live captions criterion targets broadcast media rather than two-way calls in web apps (W3C), so a transcript in a voice assistant may not be strictly required. It is still the single most useful accessibility feature a voice product can offer.
Microphone permissions
On the web, microphone access comes from getUserMedia(), which only works in secure contexts and rejects with an error when people deny permission (MDN). Browsers usually remember a denial, so the first request matters.
- Ask in context. Request the microphone when someone taps the voice button, not on page load.
- Explain before the browser does. One line about what the microphone is used for, shown just before the system prompt, makes a yes more likely and an informed choice possible.
- Handle denial gracefully. Say what happened, how to change it in the browser’s settings, and offer text instead.
- Handle missing devices. No microphone found is a different message from permission denied.
Audio feedback
When people aren’t looking at the screen, sound carries the state. Short, distinct earcons for start and end of listening help, as long as they are consistent and quiet. Keep them few: a session that chimes at every change becomes tiring quickly. Let people turn them off, and never use sound as the only signal, because the screen should show the same state for people who can’t hear it.
Privacy and recording indicators
A live microphone is one of the most sensitive things software can ask for. Operating systems already signal it: iOS shows an orange indicator in the status bar whenever an app is using the microphone (Apple). Your interface should be at least as clear.
- Show when the microphone is live in words, not just an animation. Voice Session labels its state and gives its mute button a pressed state with an accessible name.
- Make muting and ending one tap each, visible at all times during a session.
- Say whether audio is recorded or stored, and for how long, separately from whether it is being transcribed.
- Stop listening when the session ends. An assistant that keeps listening after the person thinks it has stopped breaks trust in a way that is hard to repair.
Latency
In conversation, delay is felt more sharply than on screen. Nielsen’s limits are a good guide: around a tenth of a second feels instant, a second keeps the flow of thought, and ten seconds is about the limit of attention (Nielsen Norman Group). For voice, the practical target is to begin responding within that one second window.
- Start speaking as soon as the first part of the reply is ready.
- Acknowledge longer work out loud before starting it, so silence doesn’t read as failure.
- Don’t fill gaps with filler phrases on every turn. An acknowledgement is useful when a tool call will take time, not as a habit.
Errors and reconnection
Voice runs over networks that drop. Plan for it:
- Reconnect automatically for brief drops, and say so. Voice Session’s “Reconnecting” state is for this.
- Keep the transcript and the session context across a reconnection, so the conversation picks up where it was.
- Fail clearly when reconnection doesn’t work: “Connection lost”, with Reconnect as the primary action. When someone ends a session with its end button, Voice Session moves focus to Start again, so keyboard users don’t have to look for it.
- Say what didn’t happen. If the connection dropped mid-request, tell people whether the action was taken.
Multimodal experiences
The best voice products are rarely voice only. Speech is fast for intent; screens are better for detail, comparison and confirmation. Let each do its job: speak the answer, show the details. When the assistant offers choices, say two and show them all. When it needs confirmation for something consequential, show what will happen and let people confirm by voice or by tap.
Moving between modes should keep context. Someone who starts by voice and switches to typing, or the other way round, is in the same conversation. The transcript makes that natural: it is already text.
Accessibility and alternatives
Voice can make products more accessible for many people and impossible for others. Every voice feature needs an equivalent that doesn’t require speaking or hearing.
- Offer text input alongside voice, always.
- Provide a transcript of the assistant’s speech, as above.
- Announce state changes through a polite status message, as Voice Session does, so screen reader users know when they are being listened to.
- Allow more time. Some people pause longer mid-sentence. Push-to-talk and patient turn detection both help.
- Make every control reachable by keyboard and labelled.
Voice is one interface among several. The guide to chat interface design covers the text side of the same conversation, and the guide to agentic UI design covers the principles both share.