sdmswitch/sdm/data/nls-cloud-sdm/conf/service-tts.json
2023-10-11 04:39:21 +00:00

24 lines
1.4 KiB
JSON
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"url": "wss://nls-gateway.cn-shanghai.aliyuncs.com/ws/v1",
"appkey": "",
"format": "pcm",
"sample_rate": 8000,
"voice": "xiaoyun",
"volume": 50,
"speech_rate": 0,
"pitch_rate": 0,
"method": 0,
"desc": {
"url": "访问TTS的url, 如果是调用公有云TTS无需变动如果是调用私有云TTS需根据现场部署情况进行设置一般为:vip://gateway-ip.vipserver_1:port_1,gateway-ip.vipserver_2:port_2/vipTargetDomain其中vipServerIp:port可以有一个或者多个用逗号分割端口不指定默认为80最后指定vipServer的Domain",
"appkey": "appkey, 调用公有云TTS时需要在阿里云官网获取, 调用私有云TTS时固定设置为(全小写):default",
"format": "编码格式支持pcm, wav, mp3, 保持pcm不变",
"sample_rate": "采样率, 8000或16000, 保持8000不变",
"volume": "音量, 范围是0~100, 可选参数, 默认50",
"voice": "发音人, 支持xiaoyun(女), xiaogang(男)等",
"speech_rate": "语速, 范围是-500~500, 可选参数, 默认是0",
"pitch_rate": "语调, 范围是-500~500, 可选参数, 默认是0",
"method": "合成方法, 可选参数, 默认是0. 参数含义0:不带录音的参数合成; 1:带录音的拼接合成; 2:不带录音的拼接合成; 3:带录音的参数合成",
"notice": "此处仅仅是描述信息,无需修改"
}
}