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.
    • 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
                                • MitchfarinoM Offline
                                  Mitchfarino Module Developer @strawberry 3.141
                                  last edited by

                                  @strawberry-3.141 Thanks I’ll look to do that

                                  Have you shared your solution?

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

                                    @Mitchfarino it’s just work in progress as i showed here https://forum.magicmirror.builders/topic/222/voice-control but i’m collaborating with @ronny3050 the next days to hopefully get a nice module based on pocketsphinx.

                                    progress can be watched on my github

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

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

                                      @strawberry-3.141 nice one!

                                      I’ll wait for that to be released, then I can compare both before committing to one.

                                      On to building my frame now

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

                                        @Mitchfarino well there’s no reason to wait @alexyak 's module is working already so you can build your frame it’s extendable too and it’s just software it could be changed later on if needed

                                        and i can tell for sure, that it will be much easier to install his module

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

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

                                          Here’s a video showing the current status of the voice command module. I am eager to hear your thoughts on it.

                                          Current Features:

                                          • Extremely simple for mirror module developers to add their own voice commands for their modules.
                                          • Default voice commands: hide or show any module
                                          • Multiple commands mapped to one voice command. (for eg. “How old are you?”, “What’s your age?” corresponds to “Age”)

                                          Upcoming Features:

                                          • More default voice commands: change mirror settings; current time, date and weather; jokes; list all widgets; help;

                                          https://youtu.be/zDiNfS7s5h4

                                          Thank you!

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            plumcraft
                                            last edited by

                                            Really good job ! Looking forward to test it

                                            1 Reply Last reply Reply Quote 2

                                            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