whatever-tts
[![npm package][npm-badge]][npm]
Last updated 2 years ago by revolunet .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install whatever-tts 
SYNC missed versions from official npm registry.

whatever-tts

npm package

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)

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |