androidcordovacordova-pluginstext-to-speechintel-xdk

Cordova Text to speech


I am trying to create an Intel XDK app with text to speech features. Can somebody give me a good Cordova plugin and a code sample that is tested and working? I tryed the one from W3C, but it didn't worked for me.

P.S: I am using Framework 7.


Solution

  • What about cordova-plugin-tts?

    It's easy to use

    function testSpeak(){
      TTS.speak('hello, world!', function () {
        console.log('success');
      }, function (reason) {
        console.log('error', reason);
      });
    }