Skip to content

Instantly share code, notes, and snippets.

@harbhub
Created June 8, 2013 04:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harbhub/5733983 to your computer and use it in GitHub Desktop.
Save harbhub/5733983 to your computer and use it in GitHub Desktop.
//server.js
var speech = require('google-speech-api');
speech({'file': '/test.wav'}, function (err, results) {
if (err) throw err;
console.log(results);
// [{status: 0, id: '...', hypotheses: [{utterance: 'this is a test', confidence: 0.9162679}]}]}]
});
//test.wav
the sound of you saying pickles lol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment