I have a list of words that I want to convert into voice functionality for PhoneGap iPhone. Is there an API or plugin for TTS? Please let me know about any alternatives.
because there is no cellular communication method (javascript) for this. I recommend using one of the native TTS open source libraries, for example:
https://bitbucket.org/sfoster/iphone-tts/src
or
https://github.com/todoroo/iPhone-Speech-To-Text
and then connect them to your javascript-html code using a simple plugin (more about writing the plugin: http://docs.phonegap.com/en/2.0.0/guide_plugin-development_index.md.html
just so simple!
Have you checked the Github repository for PhoneGap plugins? (Located here: https://github.com/phonegap/phonegap-plugins ) There is actually a TTS plugin for Android: https://github.com/phonegap/phonegap-plugins/tree/master/Android/TTS
cordova tts plugin works on iPhone:
TTS .speak('hello, world!', function () { alert('text spoken'); }, function (reason) { alert(reason); });
The plugin uses the AVSpeechSynthesizer class in iOS and also works in Android, Windows Phone.
Source: https://habr.com/ru/post/924443/More articles:union of two numpy matrices - pythonHow to make spinner work with Spin.js? - javascriptWhat is the mistake in this program of my bubble? - c ++Where to put context.xml with Eclipse WTP? - javaSharing history between panels / windows - zshRails do not use condition with before_filter - ruby-on-rails-3Disable Javascript Eclipse validation for specific folders - javascriptFacebook app: any way to run an app without SSL? - sslTastypie - Allow read-only access for unauthenticated users by authorizing allowed write permissions - djangoInsert multiple lines - shellAll Articles