Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CommCare 2.51 introduces Text-To-Speech(TTS) functionality. It uses Sndroid platform's the device’s default TTS engine to speak text in different languages. Mobile users can enable this functionality from the CommCare settings menu. 
Once enabled, CommCare will add a button next to each question for TTS(it converts the question text to speech). App builder can also specify a different text for TTS by adding a tts field to the questions in the Add Other Content section in HQ form builder.  

...

...

Default TTS engine

There are many TTS engines in the market these days and some brands are now shipping devices with more that one, when that’s the case, it’s important to make sure that the one set as default meets our expectations. CommCare TTS feature was develop with the Google TTS engine in mind, so the functionality described here follows that implementation. To confirm and/or change the default TTS engine, go to Settings → Accessibility → Text-to-speech output → Preferred engine (if the path is not applicable, just search in the Settings search box for "text-to-speech”):

...


Language Support
The
Each TTS engine that comes with android platform supports a variety of languages, and different android devices may support different set of languages. You can find out the available TTS languages for your android device the default engine by going to android settings → text to speech output → language. It'll display a list of languages that's supported by the TTS engine. 

...

There are situations, however, where the android TTS engine supports a specific language but lacks the language's voice data. In this case , and depending on the default TTS engine CommCare will display a dialog asking user to download voice data for that particular language. It'll take the user to the Android's setting app where they can download voice data for the language. Once the data is downloaded they can come back to CommCare and start using the TTS feature.

...