Quantcast
Viewing all articles
Browse latest Browse all 452

Unity WebPlayer Text To Speech

Hello Guys, I need a help or a direction to implement a method to use "text to speech" in unity web player.I have try several methods but no good result. I have try to use Google translator but the mp3 it return cannot play using WWW.GetAudioClip method. Only method I was able to use "SpeechSynthesisUtteranc" which I add to the webpage and call it using Application.ExternalCall Example :- IN Web Page using javascript : function Speak(Text) { var msg = new SpeechSynthesisUtterance(Text); window.speechSynthesis.speak(msg); } and call this in unity by, Application.ExternalCall("Speak", "Hello"); But unfortunately this only works in google chrome. Please help me or show me a direction to use text to speech in any browser Thanks in advance.

Viewing all articles
Browse latest Browse all 452

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>