What is this site?

HTML5Labs is where Microsoft prototypes early and unstable specifications from web standards bodies such as W3C. Sharing these prototypes helps us have informed discussions with developer communities, and enables us to provide better feedback on draft specifications based on this implementation experience. To find out more about HTML5Labs, read the blog by Jean Paoli, President, Microsoft Open Technologies, Inc.

Media Capture API

The W3C HTML Speech Incubator Group is considering the feasibility of integrating speech technology in HTML5. At this stage, the work is very experimental and the group is discussing
a number of different proposals. In March, Microsoft made a proposal for the HTML
Speech API
.

We think the Media Capture API, developed in the W3C Device API and Policy working group, provides a good foundation for developing this technology and in our proposal we made some suggestions about how to enhance the API. While the discussions in the incubator group continue, we've been working on a prototype to better share our thinking.

The first release of the prototype implements the Audio portion of this W3C specification. We have also included a sample that demonstrates how to properly utilize the APIs that the IE9 plugin exposes.

Download the prototype now!

Install the prototype, open the sample in IE and click on the microphone icon:
the web page will capture the sound until it either hears silence.. When the Play button is pressed, the sounds just captured will play back.