How can I get female voice in Web Speech API

Tags:
API
Google Chrome
In a webpage, I want a female voice to speak my texts. I tried to do this by following code. But still now male voice is talking. How can I arrange a female voice to talk my texts? Can anybody share me a correct code that works in Google Chrome.
var voices = speechSynthesis.getVoices();
var msg = new SpeechSynthesisUtterance("Hello World!");
msg.default=false;
msg.localservice=true
msg.lang = "en-GB";
msg.voice = voices[3].name;
speechSynthesis.speak(msg);
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Best I can tell is by similar questions on other posts and sites are all directed to the Chrome support forums link found here,  http://www.quirksmode.org/js/detect.html

It looked like there might have been something in the Chrome store but I did not pursue it.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: