Answer the question
In order to leave comments, you need to log in
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);
var app = new SpeechSynthesisUtterance('Hello world!');
window.speechSynthesis.speak(app);
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question