Understand spoken instruction delivery (Voice API vs TextToSpeech)
mainThe SDK uses two methods to announce instructions:
- Mapbox Voice API: The default method. It is powered by Amazon Polly and provides high-quality speech but requires an internet connection.
- TextToSpeech (TTS): Used as a fallback if the Mapbox Voice API lacks support for the requested language or if there is no internet connection.
Note on Device Support: For certain languages (like Burmese, Chinese, Finnish, etc.), the SDK relies on the device's local TextToSpeech engine. The SDK cannot guarantee that a specific device will have the necessary third-party speech engine installed to pronounce these instructions correctly.