|
|
@@ -25,8 +25,8 @@ DELETE FROM `cc_params`
|
|
|
WHERE `param_code` = 'tx-tts1-account-json';
|
|
|
|
|
|
INSERT INTO `cc_params` (`param_name`, `param_code`, `param_value`, `param_type`, `hide_value`)
|
|
|
-VALUES ('腾讯云tts账号参数json', 'tx-tts1-account-json', '{"appid":"","secret-id":"","secret-key":"","voice-id":"","websocket-host":"mps.cloud.tencent.com","text-lang":"zh","format":"ulaw","sample-rate":"8000","timeout-sec":"60","speed":"0","vol":"0","res-id":"","signature-expire-seconds":"3600","connect-timeout-ms":"10000","verify-peer":"false"}', 'tts', 1);
|
|
|
-
|
|
|
+VALUES ('腾讯云tts账号参数json', 'tx-tts1-account-json', '{"appid":"","secret-id":""
|
|
|
+,"secret-key":"","voice-id":"","websocket-host":"mps.cloud.tencent.com","text-lang":"zh","format":"ulaw","sample-rate":"8000","timeout-sec":"60","speed":"0","vol":"0","pitch":"","intensity":"","timbre":"","sound-effect":"","res-id":"","signature-expire-seconds":"3600","connect-timeout-ms":"10000","verify-peer":"false"}', 'tts', 1);
|
|
|
DELETE FROM `fs_variables`
|
|
|
WHERE `cat` = 5
|
|
|
AND `var_field_name` IN (
|
|
|
@@ -41,6 +41,10 @@ WHERE `cat` = 5
|
|
|
'timeout-sec',
|
|
|
'speed',
|
|
|
'vol',
|
|
|
+ 'pitch',
|
|
|
+ 'intensity',
|
|
|
+ 'timbre',
|
|
|
+ 'sound-effect',
|
|
|
'res-id',
|
|
|
'signature-expire-seconds',
|
|
|
'connect-timeout-ms',
|
|
|
@@ -59,6 +63,10 @@ INSERT INTO `fs_variables` (`cat`, `var_field_name`, `var_field_alias`) VALUES
|
|
|
(5, 'timeout-sec', '会话超时(秒)'),
|
|
|
(5, 'speed', '语速'),
|
|
|
(5, 'vol', '音量'),
|
|
|
+(5, 'pitch', '音高 Pitch'),
|
|
|
+(5, 'intensity', '强度 Intensity'),
|
|
|
+(5, 'timbre', '音色 Timbre'),
|
|
|
+(5, 'sound-effect', '音效 Effect'),
|
|
|
(5, 'res-id', '资源标签'),
|
|
|
(5, 'signature-expire-seconds', '签名有效期(秒)'),
|
|
|
(5, 'connect-timeout-ms', '连接超时(毫秒)'),
|