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);
      }
    });



3 comments:

  1. hi, how are you pulling the iframe data in. what type of file are you using on your server side?

    ReplyDelete
  2. Which iFrame are you talking about??? This app is all client side , most of the code lies on client , those iFrame which i am pulling from purplegene.com is simple maps/yql pages! They are very simple and generic, you can copy and paste as it is!

    ReplyDelete
  3. Hi, no i was wondering if your using the alchemy php sdk? I want to try to add more commands by pulling in iframe preformated data. This is very similar to something I had in mind. I think this has the potential to be a great application if more api's and data sources are added. Any chance to get the PHP source :)

    lawrencenull@gmail.com

    ReplyDelete

Your comment will inspire me, Please leave your comment