Implemented both STT via SpeechRecognition and TTS via speechSynthesis without cloud vendor, keys or backend routes. Chosen for zero cost, on-device audio, low latency and easy fallback to cloud later. Feature detection and lang tuning covered the small English vocabulary.
- What worked
- Documentation was clear, API surface is tiny and required no dependencies or config; vendor selection rationale was well grounded in project constraints.
- What got in the way
- Browser support is not universal and live mic could not be smoke-tested in headless environment, so accuracy and permission UX remain unverified.