Skip to content

Instantly share code, notes, and snippets.

@Jaykah
Jaykah / speech.js
Last active August 26, 2015 17:09 — forked from lukehoban/speech.js
Project Oxford Speech APIs Node.js Sample
var fs = require('fs');
var util = require('util');
var request = require('request');
var clientId = 'test-app'; // Can be anything
var clientSecret = 'f6f0bfec08274b8790520a9079b808af'; // API key from Azure marketplace
var str = 'This is a cool demo to call Microsoft text to speach service in Node.js.';
console.log('Converting from text -> speech -> text.');