-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.js.example
36 lines (33 loc) · 1.13 KB
/
config.js.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
exports.web = {
// Bind host (default localhost only), set to 0.0.0.0 to bind all interfaces
host: '127.0.0.1',
port: 8080,
// Path where rendered WAVs will be written/served from
filesPath: require('path').resolve(__dirname, 'files'),
// Path where WAVs will be rendered before moving to the filesPath
tmpPath: require('path').resolve(__dirname, 'tmpfiles'),
// See https://www.npmjs.com/package/proxy-addr
// You only need to adjust this if you are running behind a reverse proxy
trustedProxies: 'loopback'
};
// Use the below config if running under wine
exports.decwavPool = {
// Number of decwav workers to spawn. Limited to 7 by DECwav license DRM
maxProcs: 7,
// Maximum size of request queue if all workers are busy
maxQueueDepth: 50,
exec: 'wine',
args: ['decwav.exe']
};
// If running on native windows, remove the above config and uncomment this one
/*
exports.decwavPool = {
maxProcs: 7,
maxQueueDepth: 50,
exec: 'decwav.exe',
args: []
};
*/
// Maximum length of TTS requests to accept (including any phoneme commands
// in the input)
exports.maxTextLength = 1024;