Speech Synthesis app

Guys

As you see on screenshots, my mobile is Oneplus 5t, the samples app works perfect on browser but it does not load voice when it is apk.

Any clue?

You probably need to use this plugin when running under PhoneGap:

I need a bit of explanation on how to use it

document.addEventListener(‘deviceready’, function () {
// basic usage
TTS.speak(‘hello, world!’, function () {
alert(‘success’);
}, function (reason) {
alert(reason);
});

// or with more options
TTS.speak({
        text: 'hello, world!',
        locale: 'en-GB',
        rate: 0.75
    }, function () {
        alert('success');
    }, function (reason) {
        alert(reason);
    });

}, false);

How to do PhoneGap isn’t included in our free support. It’s not our product:
https://www.nsbasic.com/app/support.php/

Start by looking at this Tech Note and the samples:
https://wiki.nsbasic.com/Using_the_PhoneGap_API

I tried speak function sample with 3 types of mobiles and it gives me undefined.

What am I missing?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.