MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Voice/motion control

    Scheduled Pinned Locked Moved Unsolved Requests
    utility
    72 Posts 15 Posters 98.5k Views 14 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.
    • KirAsh4K Offline
      KirAsh4 Moderator
      last edited by

      FYI, setting 'TEXTAREA' size works fine in Chrome, both by using 'cols' and 'rows' as well as using CSS styling 'width' and 'height'.

      A Life? Cool! Where can I download one of those from?

      1 Reply Last reply Reply Quote 0
      • T Offline
        tyho
        last edited by

        Sorry for spamming what about: https://github.com/cmusphinx/node-pocketsphinx

        1 Reply Last reply Reply Quote 0
        • T Offline
          tyho @KirAsh4
          last edited by

          @KirAsh4 The output is exactly what i want. It’s just the proof i get over the api limit of 50 request/day when i use chrome. The thing is when i use this in electron/chromium i have a limit of 50…
          I am still searching for a way to get around the limit or perhaps use another api/voice recognizer…

          1 Reply Last reply Reply Quote 0
          • A Offline
            alexyak
            last edited by

            I think using https://snowboy.kitt.ai is the best approach right now for detecting a hot word and then continuing with the google one (annyang). The same way the guy at the http://docs.smart-mirror.io has done it.

            1 Reply Last reply Reply Quote 1
            • T Offline
              tyho
              last edited by

              @alexyak yea, i have seen the smart-mirror code. But i don’t pref 2 voice modules… the thing is if your playing around with the map function (zoom in, zoom in, zoom in, go to, zoom out, enz) then you run out of api calls fast.
              I give up on the voice control module… i hope there will be one soon ^^

              1 Reply Last reply Reply Quote 0
              • A Offline
                alexyak
                last edited by

                Actually I’ve started looking at this: https://syl22-00.github.io/pocketsphinx.js/ Need to test the performance on RaspPi

                1 Reply Last reply Reply Quote 1
                • R Offline
                  ronny3050 Module Developer
                  last edited by

                  I have to second @alexyak and @tyho. Relying on chrome keys is not a good solution, especially when the goal is to interact with mirror through voice completely. Pocketsphinx is a good solution and I am getting it to work on RPi as well.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tyho
                    last edited by tyho

                    Yea i have finaly installed node-pocketsphinx. It needs a lot of dependeties. I start find out now how get a voice command out of it. Are u using node-pocketsphinx as well? Or are u using it standalone? Or maybe the pocketsphinx.js?
                    I like to hear if you get something working.

                    1 Reply Last reply Reply Quote 1
                    • T Offline
                      tyho
                      last edited by

                      Ok, I find out that https://syl22-00.github.io/pocketsphinx.js/ is the best bet.

                      I have run pocketsphinx before and it’s really fast. So i have no doubt the js port is also good.

                      But with my lack of skill i don’t know how to create a module. Who can?

                      @michmich and @KirAsh4 you already seen this one?

                      KirAsh4K 1 Reply Last reply Reply Quote 1
                      • R Offline
                        ronny3050 Module Developer
                        last edited by

                        I have tried standalone, but I am currently trying the node version. I’ll let you know once something gets going! Thanks.

                        T 1 Reply Last reply Reply Quote 0
                        • KirAsh4K Offline
                          KirAsh4 Moderator @tyho
                          last edited by

                          @tyho, I have not, but then I’m not the one working on voice control. :)

                          A Life? Cool! Where can I download one of those from?

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tyho @ronny3050
                            last edited by

                            @ronny3050 i guess you can better try pocketsphinx.js

                            1 Reply Last reply Reply Quote 1
                            • A Offline
                              alexyak
                              last edited by

                              OK, I’ve tested the pocketsphinx.js. It’s very unreliable with the minimal setting - too many false positives. The native pocketsphinx installation and configuration is too convoluted with a lot of dependencies.

                              Actually I was able to achieve the best and consistent results with https://snowboy.kitt.ai. There’s a way to create multiple keyword models on their web site and include it with the app. I’ve got this working pretty well in the MM. I should be able to publish the voice control module based on snowboy pretty soon.

                              MitchfarinoM 1 Reply Last reply Reply Quote 1
                              • MitchfarinoM Offline
                                Mitchfarino Module Developer @alexyak
                                last edited by

                                @alexyak Looking forward to seeing that!

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  alexyak
                                  last edited by

                                  Hey guys, I’ve published the module: https://forum.magicmirror.builders/topic/425/voicecontrol-module

                                  Let me know if you have any issues.

                                  Enjoy!

                                  MitchfarinoM 1 Reply Last reply Reply Quote 0
                                  • MitchfarinoM Offline
                                    Mitchfarino Module Developer @alexyak
                                    last edited by

                                    @alexyak

                                    I’m in work at the moment, so can’t look in detail…

                                    Are the only commands play/stop music?

                                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                    • strawberry 3.141S Offline
                                      strawberry 3.141 Project Sponsor Module Developer @Mitchfarino
                                      last edited by strawberry 3.141

                                      @Mitchfarino you can create every command you want by inserting it in the config and create a trained model for it

                                      Please create a github issue if you need help, so I can keep track

                                      MitchfarinoM 1 Reply Last reply Reply Quote 1
                                      • T Offline
                                        tyho
                                        last edited by

                                        @alexyak I will try when i am home. Looking good!

                                        1 Reply Last reply Reply Quote 0
                                        • MitchfarinoM Offline
                                          Mitchfarino Module Developer @strawberry 3.141
                                          last edited by

                                          @strawberry-3.141 Is there any way of registering without social media?

                                          strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                          • strawberry 3.141S Offline
                                            strawberry 3.141 Project Sponsor Module Developer @Mitchfarino
                                            last edited by

                                            @Mitchfarino you can also register with github account which is a control version system used for coding, but i’m not using snowboy.kitt.ai. i have my own voice recognition

                                            Please create a github issue if you need help, so I can keep track

                                            MitchfarinoM 1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy