Language-Responsive Modal Box Demo

By Sebastian Lenton


This is a demo which uses the Google Web Speech API to enable an overlaid modal box to be dismissed via voice. The box will disappear if sworn at or told to go away. You must allow the use of your microphone for this to work.

This experiment was inspired by various talks at Canvas Conference 2013. For more information, please read this post. In particular, it explores the idea that it should be possible to develop web applications which respond to user input other than that entered via traditional methods (mouse & keyboard, or touch). Applications could be developed which respond intelligently to ambient input- for example, retail sites could learn which visitors are happy to see overlaid offers, and which aren't.

Currently this implementation has a few caveats, due to limitations of the API: