A
A
alex65432014-11-08 05:40:55
speech synthesis
alex6543, 2014-11-08 05:40:55

Russian language synthesizer web speech api?

Can you tell me how the Russian language is synthesized through the web speech api or how does google do it in the browser?
doesn't work like that

var app = new SpeechSynthesisUtterance('Привет мир!');
app.lang = 'ru';
window.speechSynthesis.speak(app);

works great in english
var app = new SpeechSynthesisUtterance('Hello world!');
window.speechSynthesis.speak(app);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Olyansky, 2015-05-29
@johannnn

var speech = new SpeechSynthesisUtterance();
    speech.lang = 'ru-RU';
    speech.rate = 1.5;
    speech.pitch = 2;
    speech.volume = 1;
    speech.txt = "Привет, как дела?";
    window.speechSynthesis.speak(speech);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question