GSoC Update 5 - HTML5 Speech API: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "Things Accomplished - * Got Event Dispatching working on recognition. Also added support for onerror, onnomatch events. This is what a simple API call now looks like: sr = ne...")
 
No edit summary
 
Line 12: Line 12:
* Implemented user permissions for speech input using PopupNotifications.
* Implemented user permissions for speech input using PopupNotifications.


* Started working on making a demo for TTS, using https://github.com/kripken/speak.js
* Started working on a demo for TTS, using https://github.com/kripken/speak.js


Things left to do -  
Things left to do -  

Latest revision as of 06:34, 10 August 2011

Things Accomplished -

  • Got Event Dispatching working on recognition. Also added support for onerror, onnomatch events.

This is what a simple API call now looks like:

sr = new SpeechRequest();
function onReco(event){
 alert(event.detail.hypotheses[0].utterance);
}
sr.onreco = onReco;
sr.start()
  • Implemented user permissions for speech input using PopupNotifications.

Things left to do -

  • Code cleanup, documentation etc.
  • Getting basic TTS working