Open peli44 opened 8 years ago
I would love a feature that lets me determine which languages are available. Currently, what is stopping me from using this plugin is that on some phones, if you don't have Norwegian TTS installed, trying to read Norwegian text will use an English voice, which is great for a laugh, not so much for a shipping application.
is Chinese available? zh-CN
I really want this feature too! (also see #19) I have zero experience with making cordova plugins, but this may help.
iOS AVSpeechSynthesisVoice.speechVoices()
Android [android.speech.tts.TextToSpeech.getVoices()](https://developer.android.com/reference/android/speech/tts/TextToSpeech.html#getVoices())
i tried this
TTS.speak({text: texto, locale: 'es-AR'}, function () { console.log('success'); }, function (motivo) { console.log(motivo); });
and it works. i think this link can it help you https://cloud.google.com/speech/docs/languages
I have tested and used some languages both on IOS and Android: en-GB, en-US, fi-FI, sv-SV. They all worked ok. But I guess there are more available. Are there any way to get a list of all languages and voices available. On Android I have added a swedish voice from Acapela. I can see it in settings and I can set it as default voice and its used when I use voice over. How can I use that voice in my application? What is the constant I should use in speak?