-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema
349 lines (342 loc) · 7.87 KB
/
config.schema
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
---
type: object
properties:
main:
properties:
restart_wait:
type: number
minimum: 1.0
restart_factor:
type: number
minimum: 1.0
restart_max:
type: number
required:
- restart_wait
- restart_factor
- restart_max
additionalProperties: false
mumble:
properties:
server:
type: string
port:
type: integer
minimum: 1024
maximum: 65535
username:
type: string
password:
type: string
required:
- server
- port
- username
- password
additionalProperties: false
irc:
properties:
server:
type: string
port:
type: integer
minimum: 1024
maximum: 65535
username:
type: string
channel:
type: string
ssl:
type: boolean
ssl_verify:
type: boolean
allow_ipv6:
type: boolean
required:
- server
- port
- username
- channel
- ssl
- ssl_verify
- allow_ipv6
additionalProperties: false
router:
properties:
wait_time:
type: number
minimum: 0.0
min_buffer_len:
type: number
minimum: 0.0
mixed_buffer_len:
type: integer
minimum: 10
ignore:
type: array
items:
type: string
startup_message:
type:
- string
- "null"
enable_commands:
type: boolean
command_params:
type: object
properties:
use_interstitials:
type: boolean
activation_words:
type: array
items:
type: string
wolframalpha_api_key:
type:
- string
- "null"
icecast_base_url:
type:
- string
- "null"
youtube_api_key:
type:
- string
- "null"
required:
- use_interstitials
- activation_words
- wolframalpha_api_key
- icecast_base_url
- youtube_api_key
additionalProperties: false
required:
- wait_time
- min_buffer_len
- mixed_buffer_len
- ignore
- startup_message
- enable_commands
- command_params
additionalProperties: false
transcriber:
properties:
engine:
type: string
enum:
- coqui-stt
- vosk
- ibm-watson
engine_params:
type: object
hint_phrases:
type: array
items:
type: string
save_to:
type:
- string
- "null"
save_only:
type: boolean
allOf:
- if:
properties:
engine:
const: coqui-stt
then:
properties:
engine_params:
type: object
properties:
model_path:
type: string
scorer_path:
type: string
resample_method:
type: string
enum:
- sinc_best
- sinc_medium
- sinc_fastest
- zero_order_hold
- linear
required:
- model_path
- scorer_path
- resample_method
additionalProperties: false
- if:
properties:
engine:
const: vosk
then:
properties:
engine_params:
type: object
properties:
model_path:
type: string
required:
- model_path
additionalProperties: false
- if:
properties:
engine:
const: ibm-watson
then:
properties:
engine_params:
type: object
properties:
api_key:
type: string
service_url:
type: string
model:
type: string
required:
- api_key
- service_url
- model
additionalProperties: false
required:
- engine
- engine_params
- hint_phrases
- save_to
- save_only
additionalProperties: false
speaker:
properties:
engine:
type: string
enum:
- coqui-tts
- larynx-tts
- gcloud-tts
engine_params:
type: object
allOf:
- if:
properties:
engine:
const: coqui-tts
then:
properties:
engine_params:
type: object
properties:
model:
type: string
vocoder:
type:
- string
- "null"
resample_method:
type: string
enum:
- sinc_best
- sinc_medium
- sinc_fastest
- zero_order_hold
- linear
required:
- model
- vocoder
- resample_method
additionalProperties: false
- if:
properties:
engine:
const: larynx-tts
then:
properties:
engine_params:
type: object
properties:
model_path:
type: string
noise_scale:
type: number
minimum: 0.0
maximum: 1.0
length_scale:
type: number
minimum: 0.1
maximum: 2.0
vocoder_path:
type:
- string
denoiser_strength:
type: number
minimum: 0.0
maximum: 1.0
resample_method:
type: string
enum:
- sinc_best
- sinc_medium
- sinc_fastest
- zero_order_hold
- linear
required:
- model_path
- noise_scale
- length_scale
- vocoder_path
- denoiser_strength
- resample_method
additionalProperties: false
- if:
properties:
engine:
const: gcloud-tts
then:
properties:
engine_params:
type: object
properties:
credentials_path:
type: string
language:
type: string
voice:
type: string
speed:
type: number
minimum: 0.25
maximum: 4.0
pitch:
type: number
minimum: -20.0
maximum: 20.0
volume:
type: number
minimum: -96.0
maximum: 16.0
effect_profiles:
type: array
items:
type: string
required:
- credentials_path
- language
- voice
- speed
- pitch
- volume
- effect_profiles
additionalProperties: false
required:
- engine
- engine_params
additionalProperties: false
required:
- main
- mumble
- irc
- router
- transcriber
- speaker
additionalProperties: false