@oxiaom/adoremix 1.0.20 → 1.0.21
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/package.json
CHANGED
|
@@ -17,7 +17,9 @@ const svc = new Service({
|
|
|
17
17
|
description: SVC_DESC,
|
|
18
18
|
script: CLI,
|
|
19
19
|
execPath: NODE,
|
|
20
|
-
|
|
20
|
+
// 用前台模式(不加 --daemon):node 持续运行作为服务主进程,winsw 才能正确跟踪/重启/停止。
|
|
21
|
+
// daemon 模式 node 会 unref 后退出,winsw 认为服务停了(跟 systemd 同 bug)。
|
|
22
|
+
args: ['start', '--workdir', WORKDIR],
|
|
21
23
|
cwd: WORKDIR,
|
|
22
24
|
env: [{
|
|
23
25
|
name: 'NODE_ENV',
|
package/tts/providers/edge.js
CHANGED
|
@@ -43,10 +43,10 @@ const VOICES = {
|
|
|
43
43
|
yunfeng: 'zh-CN-YunxiNeural',
|
|
44
44
|
yunhao: 'zh-CN-YunxiNeural',
|
|
45
45
|
yunxiang: 'zh-CN-YunjianNeural',
|
|
46
|
-
// 讯飞原生发音人(
|
|
47
|
-
aisjiuxu: 'zh-CN-YunxiNeural',
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
// 讯飞原生发音人(WebUI 音色选项:小燕/许久/小萍/小婧)→ 映射到 edge 有效 voice
|
|
47
|
+
aisjiuxu: 'zh-CN-YunxiNeural', // 许久(男)→ 云希
|
|
48
|
+
aisxping: 'zh-CN-XiaoxiaoNeural', // 小萍(女)→ 晓晓
|
|
49
|
+
aisjinger: 'zh-CN-XiaoyiNeural' // 小婧(女)→ 晓伊
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
function findPython() {
|