iSpeechPlugin

Cordova/Phonegap Plugin for iSpeech SDK
an-rahulpandey1.03
platforms: ios,android
$ cordova plugin add me.rahul.plugins.ispeechplugin

iSpeech Plugin for iOS

iSpeech Plugin for Phonegap/Cordova based on

https://github.com/jcesarmobile/my-phonegap-plugins/tree/master/iOS/iSpeechPlugin

Plugin Usage Guide

1)Initialize the plugin by calling this method -

window.iSpeechPlugin.init("YouriSpeechSDKkey");

2)Speech Recognition (Not Tested Yet)-

    var options = {
                    silenceDetection : NO,
                    locale : null, //see ISSpeechRecognitionLocales.h for options
                    timeout: 100
                  };

    window.iSpeechPlugin.recognize(function(result){alert("Output = "+result);},
                                    function(){alert("sorry didn't catch that");},
                                    options);

3) Text to Speech (Not Tested Yet)-

    var options = {
                    msg : "Your Text Goes here",
                    voice : "ISVoiceUSEnglishFemale", //see ISSpeechSynthesisVoices.h for options
                    bitrate: 48,
                    speed  : 0
    };

    window.iSpeechPlugin.speak(success,error,options);