@oxiaom/adoremix 1.0.43 → 1.0.44
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 +1 -1
- package/tts/providers/audio8.js +2 -1
package/package.json
CHANGED
package/tts/providers/audio8.js
CHANGED
|
@@ -19,13 +19,14 @@
|
|
|
19
19
|
* 声音克隆:3~10 秒参考音频,但需在 Audio8 服务端预设(请求时用 voice 参数指定)
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
-
const { execFileSync } = require('child_process');
|
|
22
|
+
const { execFileSync, execSync } = require('child_process');
|
|
23
23
|
const fs = require('fs');
|
|
24
24
|
const path = require('path');
|
|
25
25
|
const os = require('os');
|
|
26
26
|
const https = require('https');
|
|
27
27
|
const http = require('http');
|
|
28
28
|
const { URL } = require('url');
|
|
29
|
+
const logger = require('../../src/logger');
|
|
29
30
|
|
|
30
31
|
// 中文常用 voice(Audio8 的 zh-CN voices,按性别分组)
|
|
31
32
|
const VOICES = {
|