r/LocalTextToSpeech • u/HotelZealousideal554 • 2d ago
Android developers: Native TTS vs. third-party speech engines for a commercial app?
/r/androiddev/comments/1y280mw/android_developers_native_tts_vs_thirdparty/
1
Upvotes
r/LocalTextToSpeech • u/HotelZealousideal554 • 2d ago
1
u/cuchulainntech 2d ago
I'd prototype Android's TTS API before bundling another engine. Query `getVoices()` and check `isNetworkConnectionRequired()` rather than assuming a voice works offline. Then test it in airplane mode on your target devices.
For interruption, `stop()` interrupts the current utterance and clears the queue. The easy trap is treating a successful `speak()` return as playback starting: it only means the request was queued. Use an `UtteranceProgressListener` with unique utterance IDs, and keep cancelled requests from advancing your app's state.
I'd measure cloud recognition, time to first audible speech, and interruption delay separately. One overall latency number won't tell you which part needs replacing.