mstts-js

0.9.6 • Public • Published

mstts.js

一个免费的微软Azure文本转语音,可直接导出mp3文件的nodejs库

最近更新

0.9.5 加入role和emotion选择 0.9.1 修复了mp3文件格式错误的问题

使用方法

1.命令行

```
npm install -g mstts-js
mstts -i 在微信里搜索大帅老猿 -o ./test.mp3
```

2.代码中使用

```
npm install mstts-js

const mstts = require('mstts-js')

const mp3buffer = await mstts.getTTSData(text,voice,express,role,rate,pitch);
```

关注作者

哔哩哔哩

稀土掘金

微信

enjoy!

Package Sidebar

Install

npm i mstts-js

Weekly Downloads

4

Version

0.9.6

License

MIT

Unpacked Size

173 kB

Total Files

5

Last publish

Collaborators

  • ezshine