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 90.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.
    • MichMichM Offline
      MichMich Admin @coolbotic
      last edited by

      @coolbotic Please do!

      1 Reply Last reply Reply Quote 0
      • C Offline
        coolbotic
        last edited by

        Hope it works now haha !

        1 Reply Last reply Reply Quote 0
        • S Offline
          Simon
          last edited by

          Hi
          i haven’t put voice control into my mirror but have played around with it for a kitchen based recipe generator. (Say Baked Alaska and the display pulled a recipe off BBC food website and displayed it. )

          Basically voice recognition is fairly simple. What is difficult is getting it to start listening.
          The easiest way of doing it is to use the google api Here is a good source. http://stevenhickson.blogspot.co.uk/2013/06/voice-command-v30-for-raspberry-pi.html

          The problem I had when I played with this is that. It records what you say and sends it to google for recognition. If you want a system that is always listening then you would end up sending recordings to google 24/7. . You could try using http://cmusphinx.sourceforge.net/ to recognize an initial key word then turn on google recognition. But I couldn’t really get a great response from that. However I have a strong Irish accent which doesn’t help :)
          So you might have more luck. Also a good microphone will make your life easier.

          MichMichM 1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich Admin @Simon
            last edited by

            @Simon Hi Simon. Do you know if the google API is supported under Electron?

            1 Reply Last reply Reply Quote 0
            • P Offline
              PtrBld Module Developer
              last edited by

              It seems that Google has removed this feature for electron, however when you use chromium together with MM² it may works… See this stackoverflow question.

              1 Reply Last reply Reply Quote 0
              • S Offline
                Simon
                last edited by

                Don’t know. I coded with it in python. To tell you the truth I have only heard of Electron about 10 minutes ago :) My magic mirror is coded in python (far more hacky and inelegant then your solution) but it entertained me for a while. :)

                C 1 Reply Last reply Reply Quote 0
                • paviroP Offline
                  paviro Admin
                  last edited by

                  electron-speech, alexa-voice-service & pocketsphinx might be worth a look :)

                  We're all stories in the end. Just make it a good one, eh?

                  – The Doctor

                  1 Reply Last reply Reply Quote 1
                  • C Offline
                    coolbotic @Simon
                    last edited by

                    @Simon Have you posted you code anywhere would love to see it!!!

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      Simon @coolbotic
                      last edited by

                      @coolbotic No it’s not very pretty :) I’ll see what I can do

                      1 Reply Last reply Reply Quote 0
                      • matt08M Offline
                        matt08
                        last edited by

                        What do you think about using wit.ai to voice control MM?
                        Free, unlimited API that could be implemented

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 2 / 8
                        • 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