Read the statement by Michael Teeuw here.
Voice/motion control
-
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. :)
-
electron-speech, alexa-voice-service & pocketsphinx might be worth a look :)
-
@Simon Have you posted you code anywhere would love to see it!!!
-
@coolbotic No it’s not very pretty :) I’ll see what I can do
-
What do you think about using wit.ai to voice control MM?
Free, unlimited API that could be implemented -
@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.
-
@MichMich This guy has done it, using your MM2
https://howchoo.com/g/yti5mmq0ntu/add-voice-controls-to-your-raspberry-pi-using-jasper
-
@MichMich Well what about annyang. i got it working on my rpi3. See https://github.com/TalAter/annyang-electron-demo. I tried to make a module with the use of your readme file but it didn’t work. (I am not rly (rly not) good at coding).
The demo needs some extra dependencies so it’s not simple to write a module. Can you maybe give it a try?What about the demo. i didn’t get the actual response in my browser but when i opened the console i saw he recognized my words really clear and fast. (and that for a dutch guy ^^)
I think if you get this running with basic setup (hello, show map, show picture), it could even be expanded to run shells with your voice to turn on and off your monitor. (and other crazy ideas :P)
-
You can just install extra dependencies using
npm install. The problem of using annoying is that it has an API limit afaik. So you can’t use it indefinitely. -
@MichMich is it possible to restart annyang when the onend event is called?
-
@tyho It probably is. I did not look into the Annyang API.
-
@coolbotic @MichMich I got something working. I combined annyang and angular (from snippets and reading de api). and it works unlimited so far.
The thing is i got it only working separate. I have to cd to the folder and then npm install && npm start to run.
It’s realy basic, cuz i am not a programmer. (i only added simple commands and i get the response i want in my browser). But it’s easy now to expand. I am working on a command to turn on and off my monitor by shell commands but i didn’t got it running yet.
The thing is i don’t know how to include it in the mirror. And honestly i don’t know how to post it somewhere like github -_- so others can help :p -
I also managed to turn my sceen on and off by voice.
-
@tyho It would be good to see what you’ve done, if you could post a tutorial or something
-
how does github work?
-
-
@tyho github works as a distributed revision control and scm, so to use it you need to log an acct there, grab the desktop sync software for whatever os flavour you’re running, create a repository and then sync it to the path of your local working copy
-
@sullit ty. I’ll first finish the flickr and maps voice control and then i’ll check github.
any suggestions how to add this as module?
-
As @sullit mentioned, Github is a code repository, any code, or to be more precise, any text. It’s a way for a coder to keep revisions on their code, and able to publish it to the general public. The code lives on whatever development machine you are using, and you sync, or mirror it to Github. This allows a coder to work on their code locally, break it, fix it, change it, do whatever, and when they’re done, push it up to Github to store and eventually release to the public. This also allows a coder to roll back their code. If while working locally they broke something and can’t figure out what happened, they can pull code back out from the repository and either merge it back in, or just compare and see where things went haywire. It’s a beautiful thing.
And while it may have a bit of a steep learning curve, trust me when I say this, it will save your sanity.
There are a lot of different guides, both on Github as well as out in the wild about how to use it.
Overall: https://guides.github.com/
Short and sweet beginner’s guide: https://guides.github.com/activities/hello-world/ -
@KirAsh4 @sullit @Mitchfarino @MichMich
i managed to make a github. But i still don’t get the pull push thing but that will come later.You can see what i have made so far here: https://github.com/ME-TYHO/MM2-Voice-Control-Module
I hope some guys here can help make this module.
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