12 points · by kshitijzeoauto · 1y ago · 11 comments
We saw two dominant usage patterns: Passive listening: Large webinars where users want to hear translations without speaking Active participation: Small group conversations with real-time back-and-forth
In both cases, latency and accuracy are critical. Our internal benchmark: if we achieve <500ms latency with >95% accuracy, this could unlock a ~$10B+ market. As seen with Sanas and Krisp, companies are already building fast-growing businesses from accent translation alone. Tech Stack & Experiments Surprisingly, there’s no widely available API/SDK that converts streaming voice input → translated voice output in real-time. OpenAI’s real-time API (which supports voice-to-voice translation) often breaks out of its translation role and starts responding conversationally — even with strict prompting. It also has a hardwired “no interruption” behavior, meaning it won’t speak if someone else is talking — making it unusable in overlapping conversations, which are common in live meetings. So we built the standard 3-step pipeline: - ASR (Speech-to-Text) - Translation - TTS (Text-to-Speech)
Each step had challenges: 1. Speech-to-Text: - Most APIs (Azure, AWS, ElevenLabs) expect WAV/FLAC chunks — not true streaming. - We experimented with audio chunking over WebRTC/WebSocket — Silero was usable but often clipped mid-sentence. - Whisper lags behind newer models in speed, streaming, and accuracy. - GPT-4o’s streaming API had the best balance between latency and context, and supports true streaming input. 2. Translation: - Many providers do well here. - Smaller local models work for specific pairs (e.g., en↔es, en↔fr) with >95% accuracy. 3. TTS: - The Web Speech API is fast but robotic. - ElevenLabs and Cartesia produce expressive voices, but their pricing isn't viable for our target users. - We found good results with VITS (conditional variational autoencoder), offering diverse voice options per language.
With recent AI breakthroughs, I’d love to open a discussion on how real-time translation is evolving — and where it might realistically go: - Are there newer APIs or OSS projects that simplify the voice-to-voice stack? - Can on-device models realistically hit sub-400ms round-trips? - Any merged pipelines (ASR + translation + TTS) trained end-to-end? - Could forward-leaning models reduce latency in verb-final languages like Hindi/Japanese by predicting intent early? Also: What does good product design look like if 1.5–2.5s latency remains for the foreseeable future? We currently support full-duplex calls via audio routing and virtual mixing, with per-user toggles to choose original vs. translated voice. It works well, though we’re still refining UX for edge cases like overlapping speech and noisy input. Would love to hear your thoughts or stack choices if you've built anything similar.