glossary

Voice

Text to speech (TTS)

Text to speech turns the agent's reply text into audio for playback, and the moment that audio starts leaving the handset is time to first audio, which is separate from the model's first text token.

Abracadabra Team Glossary

How it works

The refill has been checked and the model has produced a sentence naming the medicine, the strength and the collection time. Text to speech turns that sentence into samples the caller can hear. Synthesis can begin before the full sentence is stable, which shortens the gap, or it can wait for a sentence the model will not rewrite, which avoids speaking a phrase that then changes. The moment the first of those samples becomes audible is time to first audio.

That moment is not the moment the language model emitted its first text token. A fast token can still sit behind a slow renderer, a full output buffer, or a telephony jitter buffer, and the caller hears nothing until playback starts. Pronunciation belongs to this stage as well. A strength such as 125 mg spoken as an unclear string forces a repeat even when the text was right. The text metric for the first token is a different glossary page, time to first token.

A worked example

Refill summary spoken back to the caller

The model text is "Amoxicillin 500 mg is ready today after 4 pm at the high street pharmacy". The first text token was emitted 220 milliseconds after the prompt. Playback of the audio does not start until 900 milliseconds, because the renderer and the jitter buffer held the samples. Time to first audio for this reply is 900 milliseconds, not 220. The caller then says "after what time?" because "4 pm" was pronounced as a blurred digit. The text on the turn was correct and the tool result matched it. The failure the caller felt was in the spoken form and in the wait before any sound, which is the text to speech stage rather than the language model token clock.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • Playback starts on an unstable sentence, the model then rewrites the collection time, and the caller hears two different times in one reply. The caller then asks which time was meant.
  • A slow renderer is judged by the first text token, so the dashboard looks quick while the pharmacy caller still hears silence after a correct refill decision.
  • The strength and the clock time are pronounced ambiguously, the text matches the tool, and the caller asks for the collection instruction to be repeated.

How to measure it

Measure from the moment the reply text is handed to synthesis until the caller-audible playback starts, and keep that figure apart from the time of the first text token on the same turn.

Count caller repeats that ask for a time, a strength or a name to be said again when the underlying text was already correct. Those repeats are a pronunciation and playback problem. Keep both clocks on one row.

How Abracadabra helps

Repeats that ask for the collection time to be said again, while the text of the reply was already correct, point at playback and pronunciation rather than at the first text token.

Voice testing is in early access. Abracadabra does not score audio, latency or turn-taking. If transcripts are already stored as conversations, task success, escalation intent, corrections and repeated requests are readable in the text.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.