帖子
帖子
用户
博客
课程
显示全部楼层
7
帖子
0
勋章
21
Y币

[插件使用] 使用自定义loader ttsModule 或者 bdTTS 都没有声音

[复制链接]
发表于 2020-8-12 11:42:32
使用自定义loader ttsModule 或者 bdTTS 都没有声音 stataus:true
    var ttsModule = api.require('ttsModule');
    ttsModule.initTts({
        language: 0,
        str: 'Hello ,welcome to Beijing!',
        speechRate: 0.8
    }, function(ret, err) {
        if (ret) {
            alert(JSON.stringify(ret));
        } else {
            alert(JSON.stringify(err));
        }
    });

    bdTTS.speak({
        text:'1234'
    },function(ret){
      console.log(JSON.stringify(ret))
    })

您需要登录后才可以回帖 登录

本版积分规则