Text to Speech

A big update is here!
 

Breaking changes:

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.