whatever-tts
1.0.0 • Public • Published whatever-tts
return MP3 audio as a stream from given text
currently use google translate backend
Usage
This example write the audio file to out.mp3
var tts = require('whatever-tts');
var outFile = require('fs').createWriteStream('./out.mp3');
tts("hello world", { lang: "en" }).then(stream => stream.pipe(outFile)).catch(console.log)
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads