# 开发中使用——鸿蒙CoreSpeechKit让文字发声后续
开发中使用——鸿蒙CoreSpeechKit让文字发声后续
设置音量大小
volume
// 设置播报相关参数this.extraParam= {"queueMode": 0, "speed": AppModel.speed, "volume": AppModel.volume, "pitch": 1, "languageContext": 'zh-CN',"audioType": "pcm", "soundChannel": 3, "playType": 1 };
设置播放速度
“speed”
// 设置播报相关参数this.extraParam= {"queueMode": 0, "speed": AppModel.speed, "volume": AppModel.volume, "pitch": 1, "languageContext": 'zh-CN',"audioType": "pcm", "soundChannel": 3, "playType": 1 };