Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Hey #Firefox friends.

Hey #Firefox friends.

Scheduled Pinned Locked Moved Uncategorized
firefoxlinux
15 Posts 4 Posters 0 Views
  • 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.
  • edent@mastodon.socialE This user is from outside of this forum
    edent@mastodon.socialE This user is from outside of this forum
    edent@mastodon.social
    wrote last edited by
    #1

    Hey #Firefox friends. Is there any way to improve TTS on #Linux?

    Currently it calls the default eSpeak-NG voices which are robotic and quite difficult to listen to.

    Is there any way to hook the JS SpeechSynthesisUtterance to something modern like Piper?

    I don't want to rely on a web service like Chrome does. I want to use the local voice models on my machine.

    Anyone know if that's possible?

    mike@hendike.co.ukM F 2 Replies Last reply
    1
    0
    • edent@mastodon.socialE edent@mastodon.social

      Hey #Firefox friends. Is there any way to improve TTS on #Linux?

      Currently it calls the default eSpeak-NG voices which are robotic and quite difficult to listen to.

      Is there any way to hook the JS SpeechSynthesisUtterance to something modern like Piper?

      I don't want to rely on a web service like Chrome does. I want to use the local voice models on my machine.

      Anyone know if that's possible?

      mike@hendike.co.ukM This user is from outside of this forum
      mike@hendike.co.ukM This user is from outside of this forum
      mike@hendike.co.uk
      wrote last edited by
      #2

      @Edent I made a tool to make this easy: https://pied.mikeasoft.com/

      edent@mastodon.socialE 1 Reply Last reply
      0
      • mike@hendike.co.ukM mike@hendike.co.uk

        @Edent I made a tool to make this easy: https://pied.mikeasoft.com/

        edent@mastodon.socialE This user is from outside of this forum
        edent@mastodon.socialE This user is from outside of this forum
        edent@mastodon.social
        wrote last edited by
        #3

        @mike thanks!
        It downloaded and installed. But now FF throws this error when trying to list local voices.
        I'll have a play around, but if you know what button I need to press, do please let me know πŸ™‚

        nicolaschevobbe@mastodon.socialN edent@mastodon.socialE 2 Replies Last reply
        0
        • edent@mastodon.socialE edent@mastodon.social

          Hey #Firefox friends. Is there any way to improve TTS on #Linux?

          Currently it calls the default eSpeak-NG voices which are robotic and quite difficult to listen to.

          Is there any way to hook the JS SpeechSynthesisUtterance to something modern like Piper?

          I don't want to rely on a web service like Chrome does. I want to use the local voice models on my machine.

          Anyone know if that's possible?

          F This user is from outside of this forum
          F This user is from outside of this forum
          fireborn@dragonscave.space
          wrote last edited by
          #4

          @Edent Do you know if Firefox is calling espeak directly or using speech-dispatcher?

          edent@mastodon.socialE 1 Reply Last reply
          0
          • edent@mastodon.socialE edent@mastodon.social

            @mike thanks!
            It downloaded and installed. But now FF throws this error when trying to list local voices.
            I'll have a play around, but if you know what button I need to press, do please let me know πŸ™‚

            nicolaschevobbe@mastodon.socialN This user is from outside of this forum
            nicolaschevobbe@mastodon.socialN This user is from outside of this forum
            nicolaschevobbe@mastodon.social
            wrote last edited by
            #5

            @Edent @mike the error/warning is only related to DevTools itself (fetching sourcemaps is only done when you open the Console/Debugger)

            1 Reply Last reply
            0
            • edent@mastodon.socialE edent@mastodon.social

              @mike thanks!
              It downloaded and installed. But now FF throws this error when trying to list local voices.
              I'll have a play around, but if you know what button I need to press, do please let me know πŸ™‚

              edent@mastodon.socialE This user is from outside of this forum
              edent@mastodon.socialE This user is from outside of this forum
              edent@mastodon.social
              wrote last edited by
              #6

              @mike you'll never believe this - but I got it working by… turning it off then on again πŸ˜†

              Thanks - this is brilliant and just what I needed.
              Do you know if there's a way to have multiple voices available to FF?

              mike@hendike.co.ukM 1 Reply Last reply
              0
              • F fireborn@dragonscave.space

                @Edent Do you know if Firefox is calling espeak directly or using speech-dispatcher?

                edent@mastodon.socialE This user is from outside of this forum
                edent@mastodon.socialE This user is from outside of this forum
                edent@mastodon.social
                wrote last edited by
                #7

                @fireborn speech-dispatcher.

                F 1 Reply Last reply
                0
                • edent@mastodon.socialE edent@mastodon.social

                  @mike you'll never believe this - but I got it working by… turning it off then on again πŸ˜†

                  Thanks - this is brilliant and just what I needed.
                  Do you know if there's a way to have multiple voices available to FF?

                  mike@hendike.co.ukM This user is from outside of this forum
                  mike@hendike.co.ukM This user is from outside of this forum
                  mike@hendike.co.uk
                  wrote last edited by
                  #8

                  @Edent Excellent!

                  Multiple voices aren't possible yet, I took a very conservative approach to how it handles the speech dispatcher configuration initially (out of fear of leaving people with non-functional TTS), but I'm planning to rework that and make it a lot more comprehensive (including support for multiple voices). Unfortunately I haven't had a lot of time to work on it recently, so that feature might still be a little way off.

                  edent@mastodon.socialE 1 Reply Last reply
                  0
                  • edent@mastodon.socialE edent@mastodon.social

                    @fireborn speech-dispatcher.

                    F This user is from outside of this forum
                    F This user is from outside of this forum
                    fireborn@dragonscave.space
                    wrote last edited by
                    #9

                    @Edent If you open /etc/speech-dispatcher/speechd.conf and change defaultModule to one of the other ones added, you will be able to use other voices.

                    edent@mastodon.socialE 1 Reply Last reply
                    0
                    • mike@hendike.co.ukM mike@hendike.co.uk

                      @Edent Excellent!

                      Multiple voices aren't possible yet, I took a very conservative approach to how it handles the speech dispatcher configuration initially (out of fear of leaving people with non-functional TTS), but I'm planning to rework that and make it a lot more comprehensive (including support for multiple voices). Unfortunately I haven't had a lot of time to work on it recently, so that feature might still be a little way off.

                      edent@mastodon.socialE This user is from outside of this forum
                      edent@mastodon.socialE This user is from outside of this forum
                      edent@mastodon.social
                      wrote last edited by
                      #10

                      @mike no worries - it is still brilliant. Happy to test it further.

                      One last question, do you know if it is possible to adjust the rate and pitch? Doesn't seem to work from inside FF, but I don't know if that's a limitation of the model.

                      mike@hendike.co.ukM 1 Reply Last reply
                      0
                      • F fireborn@dragonscave.space

                        @Edent If you open /etc/speech-dispatcher/speechd.conf and change defaultModule to one of the other ones added, you will be able to use other voices.

                        edent@mastodon.socialE This user is from outside of this forum
                        edent@mastodon.socialE This user is from outside of this forum
                        edent@mastodon.social
                        wrote last edited by
                        #11

                        @fireborn thanks πŸ™‚
                        Do you know where I can find compatible modules to download?

                        F 1 Reply Last reply
                        0
                        • edent@mastodon.socialE edent@mastodon.social

                          @mike no worries - it is still brilliant. Happy to test it further.

                          One last question, do you know if it is possible to adjust the rate and pitch? Doesn't seem to work from inside FF, but I don't know if that's a limitation of the model.

                          mike@hendike.co.ukM This user is from outside of this forum
                          mike@hendike.co.ukM This user is from outside of this forum
                          mike@hendike.co.uk
                          wrote last edited by
                          #12

                          @Edent The model doesn't natively support that, but if you install sox, the little shim that Pied installs will use that to adjust rate and pitch for you.

                          (Another big thing on my roadmap is to replace that shim with a little daemon that handles these sorts of things more elegantly)

                          edent@mastodon.socialE 1 Reply Last reply
                          0
                          • edent@mastodon.socialE edent@mastodon.social

                            @fireborn thanks πŸ™‚
                            Do you know where I can find compatible modules to download?

                            F This user is from outside of this forum
                            F This user is from outside of this forum
                            fireborn@dragonscave.space
                            wrote last edited by
                            #13

                            @Edent RHVoice should be in your distribution's repos, there's also Voxin available for purchase. I'm not sure about piper because I never looked into it.

                            1 Reply Last reply
                            0
                            • mike@hendike.co.ukM mike@hendike.co.uk

                              @Edent The model doesn't natively support that, but if you install sox, the little shim that Pied installs will use that to adjust rate and pitch for you.

                              (Another big thing on my roadmap is to replace that shim with a little daemon that handles these sorts of things more elegantly)

                              edent@mastodon.socialE This user is from outside of this forum
                              edent@mastodon.socialE This user is from outside of this forum
                              edent@mastodon.social
                              wrote last edited by
                              #14

                              @mike ah yes, pitch and speed working well. Many thanks πŸ™‚

                              Let me know if I can help test etc.

                              mike@hendike.co.ukM 1 Reply Last reply
                              0
                              • edent@mastodon.socialE edent@mastodon.social

                                @mike ah yes, pitch and speed working well. Many thanks πŸ™‚

                                Let me know if I can help test etc.

                                mike@hendike.co.ukM This user is from outside of this forum
                                mike@hendike.co.ukM This user is from outside of this forum
                                mike@hendike.co.uk
                                wrote last edited by
                                #15

                                @Edent Brilliant! I'll likely give you a quick poke when I have a version with multiple voices ready to test πŸ™‚

                                1 Reply Last reply
                                0
                                • R relay@relay.an.exchange shared this topic
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups