Created
June 8, 2013 04:00
-
-
Save harbhub/5733983 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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