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)
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.0
3
Version History
- VersionDownloads (Last 7 Days)
- 1.0.0
3
Package Sidebar
Install
Weekly Downloads