FIIDA 中文 Contact
Home / Engineering Docs / Real-time voice runtime

Real-time voice runtime

A caller interrupts with “Wait, I meant next Wednesday.” The synthesizer may already have finished an entire sentence while the caller has heard only “this Wednesday.” If history treats the rest as delivered, the next turn may skip the very date that needs confirmation.

Where the silence comes from

Mark the caller’s last syllable, the end-of-turn decision, the first speakable model output and the first audible response. A long gap before the turn decision points toward pause detection. A long gap after text is ready points toward synthesis, transport or buffering. A single “model latency” figure hides the difference.

On interruption, cancelling generation saves compute. Clearing queued audio stops the stale answer from playing. A shorter silence threshold can make exchanges feel quicker, but can also split a phone number when the caller takes a breath. Recordings of digit strings, date corrections and brief acknowledgements reveal that trade-off better than a polished greeting.

Related site sections

Back to Engineering Docs