README
get-voice
Get human voice from translate.google.cn
Usage
var getVoice = require('get-voice')
getVoice('Hello world', function(err, buf){
// mp3 audio fetched
fs.writeFileSync('./hello.mp3', buf)
})
Get human voice from translate.google.cn
<script type="module">
import getVoice from 'https://cdn.skypack.dev/get-voice';
</script>
Get human voice from translate.google.cn
var getVoice = require('get-voice')
getVoice('Hello world', function(err, buf){
// mp3 audio fetched
fs.writeFileSync('./hello.mp3', buf)
})