==========================
Google Text-To-Speech for node.js
A small library for translating text-to-speech service for google.
npm install node-google-text-to-speech --save
var tts = require('node-google-text-to-speech')
tts.translate('en', 'dog', function(result) {
console.log(result);
if(result.success) { //check for success
var response = { 'audio' : result.data };
socket.emit('ttsResult', response); //emit the audio to client
}
});
- 0.1.0 Initial release