Skip to content

steevelefort/cordova3-ios-tts-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#cordova3-ios-tts-plugin

A very small text to speech plugin for Cordova3 / Ios

##INSTALLATION

In your Cordova project directory : cordova plugin add https://github.com/steevelefort/cordova3-ios-tts-plugin

Verify if you config.xml file contains :

<feature name="TtsPlugin"> <param name="ios-package" value="TtsPlugin" /> </feature>

##USE IT

ttsPlugin.setRate(rate); // Set voice speed : default is "0.2"

ttsPlugin.setLanguage(lang); // Set voice language : default is "en-US"

ttsPlugin.initTTS(successCallBack, failCallBack); // Init Plugin : failCallBack doesn't work yet

ttsPlugin.speak("Hello"); // Say Hello

ttsPlugin.stopSpeaking(); // Try to stop speaking

About

A very small text to speech plugin for Cordova3 / Ios

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published