Speech Synthesis API, tested using demo here, does not work for me on Manjaro Linux KDE neither in Firefox nor Chromium. Friend tested the same demo on Linux Mint xfce and it works for him in Firefox.

On my machine speechSynthesis.getVoices() executed in dev console returns an empty array. Do I maybe miss some packages in my system?

1 Answer 1


You can install espeak

$ sudo <package manager install> espeak

At Chromium launch with --enable-speech-dispatcher flag and utilize onvoiceschanged event

window.speechSynthesis.onvoiceschanged = e => {
  const voices = window.speechSynthesis.getVoices();

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .