var say = require('./say');
say.speak('sup dog?');
// set a custom voice
say.voice('Princess');
say.speak('hello there!');
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
http://github.com/alunny/say.js
--
Andrew Lunny
Software Developer, Nitobi
604 685 9287
blogs.nitobi.com/andrew
var translate = require('./translate');
// set the input language
translate.input('English'); //
// set the output language
translate.output('Spanish');
// note: if you don't specify an input or output language, translate.js will attempt to autodetect your input and set your output to English
translate.text('yo quero tacos por favor', function(text){
sys.puts(text); // outputs : i want tacos please
});
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
the translate.js stuff looks good.
I would prefer if you receive an object on which you can set the input
and output language. Currently you set this right on the required
module, thus it will be global. This is difficult in case you want to
translate to different languages in different requests at the same
time.
Kind regards,
Jan
--
Now all we need is a speech to text module.
--
--