L
L
lexstile2019-06-24 16:23:12
JavaScript
lexstile, 2019-06-24 16:23:12

Why can't I hear anything in firefox (SpeechSynthesisUtterance)?

I try SpeechSynthesisUtterance
In chrome it works correctly, in firefox it shows that it worked, but nothing is heard.

const ssu = new SpeechSynthesisUtterance(text);
  ssu.rate = 0.9;
  ssu.volume = 1;
  ssu.lang = 'ru-RU';
  console.log(window.speechSynthesis, ssu);
  window.speechSynthesis.speak(ssu);

UPD: everything works in Latin ... the problem is most likely that there is no voice in it - there is no Cyrillic.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question