future support for speech synthesis?
-
This is just a convenience for me, but could be more central for people with visual impairment. I'm loving version 2 of Ubuntu Touch on the Pixel 3a--especially the ability to use Brave search as default in Morph and choose more alarm tones--but I noticed that no voices are loading when I run the MDN speech synthesis demo in Morph: https://mdn.github.io/dom-examples/web-speech-api/speak-easy-synthesis/ whereas it does work on Ubuntu Unity 23.04 in Firefox.
Is there any voices package that could be bundled with Ubuntu Touch in the future to make this work?
-
@andrew907 The quality of most voices from https://github.com/rhasspy/piper/ is impressive. I use them on some phones with pmOS. (I have no experience in packaging for Ubuntu, so I cannot comment on this.)
-
@sven That's an interesting project, but my (limited) understanding is that the operating system needs integrated voices for the speech synthesis API to work in the browser. So that something more is needed than adding an app to tte Open Store. MDN: "Again, most OSes have some kind of speech synthesis system, which will be used by the API for this task as available." https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
-
@andrew907 Yes, piper has no code for integration into a browser.