ObserveWatch Total Pipeline Latency and Hardware Cost after you press Calculate.
ExplainExplain why Edge ASR (45ms) changes total pipeline latency and hardware cost.
Technical boundaries. Total latency adds wake, capture, ASR, intent, execute, and feedback times. ASR and feedback choices use fixed latency and hardware cost values.
Interactive Calculator: Optimize Your Voice Pipeline
asrLatency = asrType ==="Cloud ASR (220ms)"?220:45feedbackLatency = feedbackType ==="TTS (310ms)"?310:80totalLatency = wakeDetect + audioCapture + asrLatency + intentParse + commandExec + feedbackLatencyperceptionColor = totalLatency <150?"#16A085": totalLatency <400?"#3498DB": totalLatency <1000?"#E67E22":"#E74C3C"perceptionText = totalLatency <150?"Instant - Users confident": totalLatency <400?"Slight lag - Acceptable": totalLatency <1000?"Noticeable delay — keep status visible":"Show processing feedback — test whether users repeat or give up"hardwareCost = (asrType ==="Edge ASR (45ms)"?12:0) + (feedbackType ==="Pre-recorded (80ms)"?2:0)html`<div style="background: #f8f9fa; border-left: 4px solid ${perceptionColor}; padding: 16px; margin: 16px 0; border-radius: 4px;"> <div style="font-size: 18px; font-weight: bold; color: #2C3E50; margin-bottom: 8px;"> Total Pipeline Latency: ${totalLatency} ms </div> <div style="font-size: 14px; color: ${perceptionColor}; margin-bottom: 12px;">${perceptionText} </div> <div style="font-size: 13px; color: #7F8C8D;"> <strong>Breakdown:</strong> Wake (${wakeDetect}ms) + Capture (${audioCapture}ms) + ASR (${asrLatency}ms) + Intent (${intentParse}ms) + Execute (${commandExec}ms) + Feedback (${feedbackLatency}ms) </div> <div style="font-size: 13px; color: #2C3E50; margin-top: 8px;"> <strong>Hardware Cost:</strong> +$${hardwareCost}/unit ${hardwareCost >0?"(edge ASR + pre-recorded audio)":"(cloud-based, no extra hardware)"} </div></div>`
Experiment: Try switching from Cloud ASR to Edge ASR and from TTS to Pre-recorded feedback. Notice how latency drops from 1,095 ms to 520 ms, moving from “Users give up” to “Acceptable” perception, at the cost of $14/unit in hardware.