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
© Espruino, powered by microcosm.
Report a problem