Live
Speak, pause, carry on
Say a sentence and stop in the middle to think. Your voice rises as a ribbon of lines. At each pause the model leaves a tag: amber to keep waiting, green to reply.
● keep waiting● reply● replied, but you carried on
- Finished, says the model
- –
- Current silence
- –
- Time to score
- –
| Pause | Model said | Decision | You | Fixed 700 ms timer |
|---|---|---|---|---|
| Start the microphone and speak. Each pause adds a row here. | ||||
No microphone? Score a real test recording:
Audio is sent to the scoring service and is not stored. Sample recordings are from the FLEURS corpus (CC BY 4.0).
What happens at a pause
You go quiet
After 200 ms of silence the agent asks the model. A timer would still be counting.
The model listens back
It hears the last 8 seconds: the falling pitch and fading energy of an ending, or the held tone of a thought in progress.
The agent replies or waits
Confident you finished: reply now. Otherwise keep listening, for up to 1.5 seconds.
Results
Measured, including where it loses
As an agent's turn-taking rule
406 unedited Hindi test recordings. “Cut off” means the agent replied before the speaker had finished.
| Rule | Speakers cut off | Mean wait |
|---|---|---|
| Fixed 300 ms silence | 79.3% | 300 ms |
| Fixed 500 ms silence | 55.7% | 500 ms |
| Viraam, reply at 50% | 46.8% | 218 ms |
| Viraam, reply at 90% | 36.2% | 341 ms |
| Fixed 700 ms silence | 24.1% | 700 ms |
| Fixed 1,000 ms silence | 7.9% | 1,000 ms |
Faster and less interrupting than a 500 ms timer. It does not yet reach the low cut-off rate of a 700 ms timer; pauses at commas are the main cause.
Against Smart Turn v3.2, on its own test set
Pipecat's published test clips (synthetic speech). Smart Turn trained on this collection; Viraam had never seen it. Accuracy:
Smart Turn wins clearly here. On Viraam's own test recordings the order reverses: it recognises 98.3% of true endings against Smart Turn's 75.9%. Each model is strongest on speech like its training data. Widening Viraam's training data is the next piece of work.
API
One request per pause
Send the speech so far, up to the pause. You get back the probability that the turn is complete.
curl -X POST http://localhost:7861/predict \
-F "file=@speech_so_far.wav"
{
"probability": 0.0731,
"complete": false,
"seconds_received": 3.42,
"inference_ms": 22.4
}from indic_eot import EndOfTurnDetector
detector = EndOfTurnDetector.load()
# audio: mono float32 at 16 kHz
p = detector.predict(audio)
if p >= 0.5:
reply() # the speaker is done
else:
keep_listening() # only a pauseLimits
What it cannot do yet
- It was trained on read Hindi speech from one corpus. Expect weaker results on casual conversation, other accents and other languages.
- It judges sound only, not words. A pause after a clause that could stand alone is often called finished.
- It has not been tested on recordings of people hesitating in real calls.