A big update is here!
Breaking changes:
- texttospeech.setEngine() is deprecated, use texttospeech.init() again instead. http://docs.spiralcodestudio.com/plugin/texttospeech/init/
- All callbacks have been converted to proper listeners. They receive event tables.
- Android 2.3 support is dropped.
Improvements:
- Speech rate has been fixed for iOS.
New goodies:
- New platforms: macOS and tvOS. That includes Corona Simulator on macOS!
- Pause/Continue functions.
- Pause/Stop can have an additional argument waitForWordEnd - if true, the speech is not interrupted immediately.
- New listeners - onPause, onContinue.
- Synthesize to file support on Android and macOS.
API reference has been moved to the new site. http://docs.spiralcodestudio.com/
Be sure to read it.
Sample is updated as well.
https://github.com/Lerg/plugins-sample-texttospeech
Use Corona daily build 2979 or later.