speech-dispatcher-espeak-ng or speech-dispatcher-festival. There are various engines and voices available for speech-dispatcher, some of which can be installed via Ubuntu packages, e. So whatever you have configured in your speech-dispatcher settings ( /etc/speech-dispatcher/nf) should be picked up and used by firefox. On Linux, firefox will use speech-dispatcher to render text to artificial speech. The voices used by the narrate function of the firefox reader mode depend on the platform you run it on.
DISCORD DIFFERENT TTS VOICES HOW TO
Although I don't know how to do it now, it looks like an interesting possibility. And if that's possible, it means that it's also possible to run Ivona on Ubuntu as the default voice of the system and consequently use it with the reader view mode on Firefox. I think perhaps there's a way to run a local server that gets the Ivona voices using my AWS APIs ( I'm not sure, but perhaps using a part of this Node.js app that's already developed). The file /etc/speech-dispatcher/modules/nf is configured to listen to a server on the port 9123. Ivona is a proprietary product and today the only way to use it (as far as I know) is as a pay-as-you-go service on AWS, but its voices are really good and they sound very natural.
What called my attention on that is that there's a module for the Ivona voices there. Run a server on the port specified on the files inside the folder /etc/speech-dispatcher/modules/.
Set a new default line for the TTS voice that we want ( /etc/speech-dispatcher/nf). Uncomment the module of the new TTS voice that we installed ( /etc/speech-dispatcher/nf). I believe that the procedure to make new voices work in Firefox will be always the same: Now it's done!! After rebooting the system Firefox and spd-say will be using the festival voice as output. We can do that by adding the following line at the end of the file that's open when we use the command sudo crontab -e: /usr/bin/festival -server We need to run festival as a server in order to make speech-dispatcher use it as default.
DISCORD DIFFERENT TTS VOICES INSTALL
First, we need to install festival: sudo apt-get install festival speech-dispatcher-festival I'm going to describe the process of making it work with the festival voice, but I believe the procedure is the same if you want to run a different TTS voice. So, what we need to do here is to change the voice that comes as output in the spd-say command and, once we do that, Firefox is going to use a different TTS voice as default as well. And well, Firefox does the same, it uses whatever voice is configured in speech-dispatcher as output to read web pages in the reader view mode ( Ctrl+Alt+R). That happens because spd-say is just using espeak voices as output. So we hear exactly the same voice when we use this other command: espeak "Hello. On Ubuntu, the default Texto To Speech (TTS) voice that comes with speech-dispatcher is espeak. We can always see what voice is the default one used by speech-dispatcher using the command spd-say: spd-say "Hello. But first, I need to explain the basic idea of how it works. In order to do that, we need to change some configurations on the file /etc/speech-dispatcher/nf. I managed to use the festival voice as default on Firefox.