Pages

This is how to fake Siri on chrome

When Apple declared Siri , everyone knew that siri is not magical,  all technology involved in siri is already present. Here is how you can make your own.



Voice Recognition
Voice input is a proposed HTML5 feature by Google. Its already experimentally available in latest versions of chrome.
<input id="speech" type="text" x-webkit-speech onspeechchange="startSearch">



Intelligence with Wolfram Alpha
Wolfram Alpha is one of the most awesome search engine (or Computational Knowledge Engine in their terms). They have open API to make your own app.
"http://api.wolframalpha.com/v2/query?"+q+"&appid="+key;

Text-To-Speech
Recently chrome brought up the tts support in its chrome extension, which can be used to give voice to you Siri hack. 
chrome.tts.speak(
    utterance,
    options,
    function() {
      if (chrome.extension.lastError) {
        console.log('Error: ' + chrome.extension.lastError.message);
      }
    });