• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 80.7k 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.
  • S Offline
    Simon
    last edited by May 11, 2016, 7:20 AM

    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.

    M 1 Reply Last reply May 11, 2016, 7:29 AM Reply Quote 0
    • M Offline
      MichMich Admin @Simon
      last edited by May 11, 2016, 7:29 AM

      @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 May 11, 2016, 7:57 AM

        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 May 11, 2016, 7:58 AM

          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 May 11, 2016, 3:20 PM Reply Quote 0
          • P Offline
            paviro Admin
            last edited by May 11, 2016, 10:44 AM

            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 May 11, 2016, 3:20 PM

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

              S 1 Reply Last reply May 11, 2016, 4:15 PM Reply Quote 0
              • S Offline
                Simon @coolbotic
                last edited by May 11, 2016, 4:15 PM

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

                1 Reply Last reply Reply Quote 0
                • M Offline
                  matt08
                  last edited by Jun 1, 2016, 12:56 PM

                  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
                  • M Offline
                    mochman Module Developer
                    last edited by Jun 4, 2016, 3:26 AM

                    @coolbotic I just made a motion control module. It’s no where near as intricate as leapmotion though. It just detects hand movements, using 2 ultrasonic sensors and give you a swipe left, right, and press notification. If you have any ideas on how to improve it, please let me know.

                    1 Reply Last reply Reply Quote 2
                    • M Offline
                      Mitchfarino Module Developer @MichMich
                      last edited by Jun 8, 2016, 12:29 PM

                      @MichMich This guy has done it, using your MM2

                      https://howchoo.com/g/yti5mmq0ntu/add-voice-controls-to-your-raspberry-pi-using-jasper

                      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