Real-time voice interview architecture 00:00:01 The interviewer is interrupted mid-question The voice server generated the whole question. The candidate heard eight hundred milliseconds and started to answer. If the next prompt assumes the remaining words played, both sides will appear to be talking past each other. A voice interaction has several clocks. The microphone captures samples, turn detection estimates when a person has finished, the model produces a response, and the device plays audio after buffering. These events can overlap. An interview transcript used as memory must account for what the candidate actually heard. The last generated token can be far ahead of the speaker. Give response seventeen a clock for generated audio and a clock for samples actually played on the device. Interrupt playback, reconcile the audible prefix, and preserve the user interruption as its own turn. 00:00:50 Carry the audible prefix into history Acoustic silence is evidence of a boundary, not always the end of an answer. A candidate thinking aloud can pause mid-sentence. Balance responsiveness against premature interruption using real conversations and separate noisy-room and quiet-room measurements. With a 400 milliseconds pause inside “I would ... shard by tenant,” an aggressive end detector can start the next question early. When new speech arrives during playback, distinguish canceling future generation from flushing audio already queued. Track the played offset so the next turn can reconcile model-side history with the listener’s experience. The server generated two seconds of speech, but the speaker played 0.8 seconds. The remaining 1.2 seconds contain a question the candidate has never heard. Time from the end of actual user speech to the first audible response includes detection, inference, network and client buffering. Measure interruption-to-silence separately. Evaluate transcription and task quality by accent and noise, using consented recordings. Faster synthesis saves 80 milliseconds while a larger jitter buffer adds 120 milliseconds. The candidate hears the first word 40 milliseconds later. In a cascaded pipeline, speech recognition supplies text to a language model and a synthesizer voices the reply. Individual stages are inspectable and replaceable, though recognition errors and latency propagate. A native speech-to-speech system can model overlapping speech and prosody more directly. Both approaches still need an explicit turn policy, playback accounting, interruption and an accessible text alternative. 00:02:31 Reconcile the audio that actually played The input stream continues during playback. Track turn identity and the device clock so the new speech can be associated with an interruption. The controller detects the candidate taking the floor and requests cancellation of outstanding synthesis or generation. Flush the queued tail and report the played offset. Receiving a network packet is insufficient evidence that the candidate heard it. The history reconciles the interruption before asking the next question. The interviewer can repeat the unheard portion if it remains relevant. 00:03:02 Which part of the question did the candidate hear? The answer was fully generated before interruption, but only half was audible. Which history should guide the next turn? Playback is the user-visible boundary. Continuing from an unheard question makes the interview incoherent. Use the played prefix as the conversational record. Server-side generation, transport delivery and actual playout are distinct boundaries, and the user's experience follows the last one.