I found this tweet and want to do the same using my puck or puxl.
On the video a voice command is recognised by a software on a laptop and then a command is sent via usb to a device.
But I don't know how to send send commands to my Espruino from, say, macos or Android.
Please, list the ways I can do it. I'm very noob.
Want to make that part of my Espruino presentation.
edit: oops. sorry - wrong thread!
Hi - so if you're using Puck.js or Pixl.js you probably want to use Bluetooth LE?
On MacOS or Android you could use a website with Web Bluetooth - it's definitely the easiest way and there's a tutorial here: http://www.espruino.com/Puck.js+Web+Bluetooth
There are a bunch of ways of doing speech recognition on a website - I just hacked something together using Annyang which was the first library I found for speech recognition when I Googled:
Just click above, click 'start' and connect to your Puck/Pixl and also let it use your microphone, then try saying Turn on and turn off
source here: https://github.com/gfwilliams/gfwilliams.github.io/blob/master/experiments/voice.html
Omg. You're a speedy hacker! Trying it now.
It just works. :)
Great! It'd be really cool to have it do something more useful though. I guess you could set Puck.js up with some IR remote control codes and then you could use it to control your TV/etc by voice :)
I've just quick demoed it on a meetup. Gonna do a full presentation next month.
I was told today that some people ordered few devices after the last month talk. 😁
My idea is to turn on/off the aircon. And maybe adjust temperature. We'll see.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem