/ JavaScript

Web Speech Recognition API

The Web Speech API offers all kinds of good stuff. If you haven't had a look before, click the link to see what all's in there.

I've been toying around with the Speech Recognition API specifically. It's super easy to use, more accurate than I was expecting, quick to return results... and curiously free (as in beer).

So once again, I'm going to bake a small demo into a blog post. I intend to push a simple demo repo soon to make the code easier to browse.

For now, to give the demo in this post a spin (computers only; no phones, sorry):

  1. Click the button
  2. If prompted by your browser, allow microphone access
  3. Say something in English

The API will return 0 - 5 results that it thinks you said. Fun.