JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q53510F
  • License MIT

百度语音的Nodejs实现

Package Exports

  • baidu_yuyin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (baidu_yuyin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Baidu Yuyin 百度语音合成

使用Baidu的在线语音合成服务,需要自己申请API Key,申请网址http://yuyin.baidu.com

使用方法

安装

npm install BaiduYuyin

使用

var BDSpeech = require("BDSpeech"); var speech = new BDSpeech(apiKey, secretKey); speech.speak("你好世界")