DailyJS

DailyJS

The JavaScript blog.


Tagspeech
Featured

speech github storage chrome api

Speech Router, Botdylan, Google Cloud Storage

Posted on .

Speech Router

Speech Router (GitHub: lukasolson / speech-router, License: MIT) is a router that wraps around Chrome's Web Speech API. It's based around a constructor function that accepts a routes object:

new SpeechRouter({  
  routes: {
    'search google for *query': function(query) {
      window.open('https://google.com/search?q=' + query);
    }
  }
});

If you haven't seen the Web Speech API before, it's worth checking out. At least the results seem quite good with my accent and Chrome -- your mileage may vary!

Botdylan

Botdylan (GitHub: botdylan / botdylan, License: MIT) by Pau Ramon is a Hubot-inspired GitHub automation system:

We use GitHub heavily. There are some repetitive tasks that were taking away our time to hack on a better product. Since we are in the productivity space we decided to stop doing things manually and start to have a more productive environment to work with.

It can do things like add labels to issues based on events, integrate with a CI server, talk to chat rooms, and so on. It runs as a daemon, and can execute tasks periodically in the background.

Google Cloud Storage

Google Cloud Storage, sent in by Jonathan Simon, is a screencast that demonstrates a JavaScript application that talks to Google's Cloud Storage platform. The source code is here: storage-getting-started-javascript.

This demonstration covers getting started with Google Cloud Storage using JavaScript. See the process of setting up the sample application, running the sample and using it to try out Cloud Storage API commands like 'list buckets'.

Featured

speech APIs

JavaScript Speech Recognition

Posted on .

Elias sent us a link to his JavaScript speech recognition API at
speechapi.com. It uses Flash to record audio and sends it to a server, then the server returns suggestions to a
callback. You have to register to use the API. Using the API looks like
this:

var speechle;

function TheSettings() {
  var info = {'Userid':'eli', 'Logging':'true'};
  var eventCallbacks={'OnResult':'result', 'OnLogging':'logging', 'OnFinishTTS':'finishTTS'};
  var grammar={'Text':'one,two', 'Type':'simple'};
  speechle = new SPEECHLE(info,eventCallbacks,grammar);
}
</code>

The site has a few demos. One which worked pretty reliably for me was
the random quiz.

A similar technology is WAMI which uses
Java instead. You can try a demo in the WAMI
sandbox
.

Standards

There are W3C standards relating to speech recognition:

See the Voice Browser Activity for a
centralised pool of related W3C resources.