您好,我使用ResponsiveVoice.js成功实现了“印尼男性”文本转语音功能,但有时返回“女性语音”,为什么会这样?
这是我的代码
var paramSpeak = {
onstart: onStartSpeak,
onend: onEndSpeak,
pitch: 1
}
function setResponse(val) {
paramSpeak.onstart(val);
responsiveVoice.speak(val,"Indonesian Male",paramSpeak);
}