SpeechSynthesis插件

提供科大讯飞语音合成功能

[!WARNING]

  • 插件的所有接口在 deviceready 事件后生效;
  • 仅支持科大讯飞语音合成里面的在线语音合成(流式版);
  • 使用插件需配置:AppID和Sdk的zip文件(与当前APPID匹配的SDK的压缩包);(参考科大讯飞插件配置)
  • 合成发音人列表:在科大讯飞开发平台后台配置;

API列表

API 说明
navigator.speechsynthesis.speechSynthesis 语音合成
navigator.speechsynthesis.cancelSynthesis 取消合成
navigator.speechsynthesis.pauseSynthesis 暂停播放
navigator.speechsynthesis.resumeSynthesis 恢复播放

results matching ""

    No results matching ""