-
• #2
edit: oops. sorry - wrong thread!
-
• #3
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:
https://gfwilliams.github.io/experiments/voice.html
Just click above, click 'start' and connect to your Puck/Pixl and also let it use your microphone, then try saying
Turn on
andturn off
source here: https://github.com/gfwilliams/gfwilliams.github.io/blob/master/experiments/voice.html
-
• #4
Omg. You're a speedy hacker! Trying it now.
Thank you. -
• #5
It just works. :)
-
• #6
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 :)
-
• #7
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.
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.
https://twitter.com/N_Tepluhina/status/1024621385560276992?s=20
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.