Jesse in Coding 3 minutes

Speech to Text Translation Demo with Javascript

Check this out – See that thing in the upper left corner of the browser? Click “Allow” to allow my website to briefly access your microphone, then start talking to your computer. This works on non-mobile devices only, and best in Chrome. I built this with the HTML5 Speech Recognition API, which allows JavaScript to have access to a browser’s audio stream and convert it to text.

When you’re testing it, say the words “Pizza”, “Ice Cream”, or “Cheeseburger” for a nice surprise.