• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

future support for speech synthesis?

Scheduled Pinned Locked Moved Off topic
accessibility
4 Posts 2 Posters 300 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      andrew907
      last edited by 5 Aug 2023, 15:59

      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?

      Ubuntu Touch Xenial on Pinephone, with Ubuntu Touch Focal on Pixel 3a to fill in as needed

      S 1 Reply Last reply 5 Aug 2023, 16:07 Reply Quote 0
      • S Offline
        sven @andrew907
        last edited by 5 Aug 2023, 16:07

        @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.)

        VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-5), Pocophone F1 (pmOS, edge)

        A 1 Reply Last reply 6 Aug 2023, 12:46 Reply Quote -1
        • A Offline
          andrew907 @sven
          last edited by 6 Aug 2023, 12:46

          @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

          Ubuntu Touch Xenial on Pinephone, with Ubuntu Touch Focal on Pixel 3a to fill in as needed

          S 1 Reply Last reply 6 Aug 2023, 14:39 Reply Quote 0
          • S Offline
            sven @andrew907
            last edited by 6 Aug 2023, 14:39

            @andrew907 Yes, piper has no code for integration into a browser.

            VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-5), Pocophone F1 (pmOS, edge)

            1 Reply Last reply Reply Quote 0
            3 out of 4
            • First post
              3/4
              Last post