speech synthesis - Can't Chrome's speechSynthesis work offline? -


i playing chrome's speechsynthesis

msg = new speechsynthesisutterance("some text"); msg.lang = "fr-fr" ; window.speechsynthesis.speak(msg);   

when discovered strange issue : can't speak anymore if device offline. searched web did not find explanation.
can't work offline ?
(if know reason why needs online, please tell me in comments.)

speech synthesis voices either local on device or come remote speech synthesizer services. if voice remote service, browser able use if online , can connect it.

you don't environment on, google français voice used fr-fr on windows , os x remote service, doesn't work offline.

you can check voices available on device calling speechsynthesis.getvoices() , checking localservice property each voice.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -