jbc-dssi 1.1.155 → 1.1.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -0
- package/lib/edge-tts.js +0 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2305,6 +2305,7 @@ class BridgeConnection {
|
|
|
2305
2305
|
if (got === this.opts.token) {
|
|
2306
2306
|
this.authed = true;
|
|
2307
2307
|
this.send(FRAME.READY, { authed: true });
|
|
2308
|
+
this.send(FRAME.VOICE_LIST, { voices: EDGE_VOICES });
|
|
2308
2309
|
this.opts.log(`认证通过 App=${payload?.appVersion ?? '未知版本'}`);
|
|
2309
2310
|
} else {
|
|
2310
2311
|
// 长度和前几位足够定位问题:是少字符、多空格,还是完全另一个值
|
package/lib/edge-tts.js
CHANGED
|
@@ -9,7 +9,6 @@ export const EDGE_VOICES = [
|
|
|
9
9
|
{ id: 'zh-CN-XiaomengNeural', name: '晓梦', gender: '女声', note: '甜' },
|
|
10
10
|
{ id: 'zh-CN-XiaomoNeural', name: '晓墨', gender: '女声', note: '沉稳' },
|
|
11
11
|
{ id: 'zh-CN-XiaoruiNeural', name: '晓睿', gender: '女声', note: '成熟' },
|
|
12
|
-
{ id: 'zh-CN-XiaoshuangNeural', name: '晓双', gender: '女声', note: '童声' },
|
|
13
12
|
{ id: 'zh-CN-YunxiNeural', name: '云希', gender: '男声', note: '阳光' },
|
|
14
13
|
{ id: 'zh-CN-YunyangNeural', name: '云扬', gender: '男声', note: '专业播报' },
|
|
15
14
|
{ id: 'zh-CN-YunjianNeural', name: '云健', gender: '男声', note: '浑厚' },
|