website/content/faq/tts/tts.md
S. Kozyr 9696427a25
Changed structure: FAQ page has all questions grouped by subject.
Renamed all files in /content/faq/ folder.

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-01-08 16:27:57 +02:00

4.2 KiB
Raw Blame History

title description taxonomies extra
Text-to-Speech on Android Guide on how to make TTS work on Android
faq
TTS
order
10

Summary

Organic Maps uses the system text-to-speech (TTS) engine for voice instructions. The default engines vary by device. The choices can include Google Text-to Speech, device manufacturer's engine or a third-party one.

The official recommendation from Organic Maps is RHVoice, which is a free and open source speech engine that can be downloaded from Google Play and F-Droid.

Instructions

  • Open the Settings app on your Android device.
  • Select Additional Settings and then select Accessibility.
  • Choose your preferred engine, speech rate and pitch.

If you cannot find the relevant setting, open the settings app and search for Text-to-speech.

P.S: Do note that these steps will vary based on the phone brand you are using.

Said options may not appear if you don't have a TTS already installed on your device. Please refer to the table below to install any one of them that supports your native language.

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

Engines

Below is a comprehensive list showing several engines and the languages they support (download links can be found after the table):

{{ tts_table() }}

Downloads

Workarounds

If youre having trouble initializing the RHVoice TTS engine on LineageOS or other custom ROMs, try this workaround. RHVoice may not initialize properly and the app may crash, especially if you havent used any TTS engine on your phone before (e.g., new installation, factory reset, etc.). If youre using a custom ROM like LineageOS without Google Play services and Speech Services by Google, and you want to use RHVoice as your preferred TTS engine, follow the instructions below as a workaround:

  • Install the eSpeak TTS engine available on F-Droid

  • Set it as the preferred system engine

    • Go to LineageOS main Settings.

    • Scroll down to Accessibility.

    • Select text-to-speech output and Preferred engine (left side) and make sure eSpeak is selected.

  • Go back and press play to see if it is working

  • Install RHVoice available on F-droid.

    • Open it, select the language you want to use, tap on the cloud icon (far left) to download voices.

    • Press play button to verify if it is working

  • Set RHVoice as preferred engine (see step 2)

  • Now, you should be able to use RHVoice without any problems

Testing

In order to test the voice instructions, you can tap on "Test Voice Directions (TTS, Text-To-Speech)" in OM "Settings → Voice Instructions" menu or you can actually start a navigation to receive any voice output. Organic Maps will not give you any voice instructions while you're standing still.

Screenshot TTS Test