Android App: TTS Util
TTS Util is a text-to-speech utility app I put together in 2019.
Description & Features
TTS Util is a utility app for synthesising text into audible speech using Android's text-to-speech framework. It has the following features:
- Read input text, clipboard text or text files using text-to-speech.
- Create speech wave files from text files.
- Share text to read using share menu entries.
- Read clipboard text using launcher shortcuts (requires Android 8 or higher).
- Configurable app-specific text-to-speech settings: engine, voice, pitch and speech rate.
- Should support any text-to-speech engine that uses Android’s TTS framework.
- Supports Android 5.0 and above.
Please see the store link for screenshots.
- Read SD card - (completely optional) allows the app to synthesise the contents of chosen text files into audible speech.
- Write SD card - (completely optional) allows the app to write synthesised speech into wave files located in internal storage. This permission is used in the Write to files section of the app.
Free software license
This app is free software licensed under the Apache 2.0 license. You can change it to do what you want, more easily understand how it works and even use parts of it in other software if you want, provided the use is permitted by the license.
Text synthesis errors
Sometimes the selected text-to-speech (TTS) engine will fail to synthesise text into audible speech. This can occur both when synthesising text for playback or when recording synthesised text into wave files. A message will be shown if this occurs.
TTS Util will do its best to tell you what went wrong. Unfortunately, the selected TTS engine may not use the different error codes available in recent Android versions. If it doesn't, then you will get a generic error message. I have listed the reasons for text synthesis errors below, retrieved from Android's text-to-speech API documentation in June 2019:
- The TTS engine couldn't synthesise all or a part of the given text or text file.
- The TTS engine failed unexpectedly (i.e. an engine bug).
- The TTS engine failed to send audio output, either to the audio device or the wave file.
- The TTS engine failed due to network connectivity problems.
- The TTS engine failed due to a network timeout.
- The TTS engine failed because voice data was not installed.