/web-speech-api

A repository for demos illustrating features of the Web Speech API. See https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API for more details.

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

web-speech-api

A repository for demos illustrating features of the Web Speech API. See Web_Speech_API for more details.

Speech color changer demo

Run recognition demo live

Tap the screen then say a colour — the grammar string contains a large number of HTML keywords to choose from, although we've removed most of the multiple word colors to remove ambiguity. We did keep goldenrod, cos, well.

This current works only on Chrome/Chrome Mobile. To get this code running successfully, you'll need to run the code through a web server (localhost will work.)

Phrase matcher demo

The same comments as above apply to this demo too — this is another demo that relies on speech recognition, written for a research team at the University of Nebraska at Kearney.

Run phrase matcher demo live

Speak easy synthesis demo

Run synthesis demo live

Type words in the input then submit the form to hear it spoken. You can also select the different voices available on the system, and alter the rate and pitch.