react-native-davoice-tts 1.0.205 → 1.0.207

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.
Files changed (13) hide show
  1. package/TTSRNBridge.podspec +1 -1
  2. package/ios/TTSRNBridge/DavoiceTTS.xcframework/Info.plist +5 -5
  3. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
  4. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +1911 -1911
  5. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +20 -20
  6. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +20 -20
  7. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DavoiceTTS +0 -0
  8. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +1 -1
  9. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +1 -1
  10. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeDirectory +0 -0
  11. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeRequirements-1 +0 -0
  12. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeResources +12 -12
  13. package/package.json +1 -1
@@ -14,79 +14,160 @@
14
14
  "RawDocComment"
15
15
  ]
16
16
  },
17
+ {
18
+ "kind": "Import",
19
+ "name": "UIKit",
20
+ "printedName": "UIKit",
21
+ "declKind": "Import",
22
+ "moduleName": "DavoiceTTS"
23
+ },
24
+ {
25
+ "kind": "Import",
26
+ "name": "Speech",
27
+ "printedName": "Speech",
28
+ "declKind": "Import",
29
+ "moduleName": "DavoiceTTS"
30
+ },
31
+ {
32
+ "kind": "Import",
33
+ "name": "Accelerate",
34
+ "printedName": "Accelerate",
35
+ "declKind": "Import",
36
+ "moduleName": "DavoiceTTS"
37
+ },
38
+ {
39
+ "kind": "Import",
40
+ "name": "AVFAudio",
41
+ "printedName": "AVFAudio",
42
+ "declKind": "Import",
43
+ "moduleName": "DavoiceTTS"
44
+ },
17
45
  {
18
46
  "kind": "TypeDecl",
19
- "name": "AudioPlaybackHook",
20
- "printedName": "AudioPlaybackHook",
47
+ "name": "STTDelegate",
48
+ "printedName": "STTDelegate",
21
49
  "children": [
22
50
  {
23
- "kind": "Var",
24
- "name": "engineScheduleFile",
25
- "printedName": "engineScheduleFile",
51
+ "kind": "Function",
52
+ "name": "stt",
53
+ "printedName": "stt(_:didEmitEvent:body:)",
26
54
  "children": [
55
+ {
56
+ "kind": "TypeNominal",
57
+ "name": "Void",
58
+ "printedName": "()"
59
+ },
60
+ {
61
+ "kind": "TypeNominal",
62
+ "name": "STT",
63
+ "printedName": "DavoiceTTS.STT",
64
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT"
65
+ },
66
+ {
67
+ "kind": "TypeNominal",
68
+ "name": "String",
69
+ "printedName": "Swift.String",
70
+ "usr": "s:SS"
71
+ },
27
72
  {
28
73
  "kind": "TypeNominal",
29
74
  "name": "Optional",
30
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
75
+ "printedName": "[Swift.String : Any]?",
31
76
  "children": [
32
77
  {
33
- "kind": "TypeFunc",
34
- "name": "Function",
35
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
78
+ "kind": "TypeNominal",
79
+ "name": "Dictionary",
80
+ "printedName": "[Swift.String : Any]",
36
81
  "children": [
37
82
  {
38
83
  "kind": "TypeNominal",
39
- "name": "Bool",
40
- "printedName": "Swift.Bool",
41
- "usr": "s:Sb"
84
+ "name": "String",
85
+ "printedName": "Swift.String",
86
+ "usr": "s:SS"
42
87
  },
43
88
  {
44
89
  "kind": "TypeNominal",
45
- "name": "Tuple",
46
- "printedName": "(Foundation.URL, () -> ())",
47
- "children": [
48
- {
49
- "kind": "TypeNominal",
50
- "name": "URL",
51
- "printedName": "Foundation.URL",
52
- "usr": "s:10Foundation3URLV"
53
- },
54
- {
55
- "kind": "TypeFunc",
56
- "name": "Function",
57
- "printedName": "() -> ()",
58
- "children": [
59
- {
60
- "kind": "TypeNominal",
61
- "name": "Void",
62
- "printedName": "()"
63
- },
64
- {
65
- "kind": "TypeNominal",
66
- "name": "Void",
67
- "printedName": "()"
68
- }
69
- ]
70
- }
71
- ]
90
+ "name": "ProtocolComposition",
91
+ "printedName": "Any"
72
92
  }
73
- ]
93
+ ],
94
+ "usr": "s:SD"
74
95
  }
75
96
  ],
76
97
  "usr": "s:Sq"
77
98
  }
78
99
  ],
100
+ "declKind": "Func",
101
+ "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate(im)stt:didEmitEvent:body:",
102
+ "mangledName": "$s10DavoiceTTS11STTDelegateP3stt_12didEmitEvent4bodyyAA3STTC_SSSDySSypGSgtF",
103
+ "moduleName": "DavoiceTTS",
104
+ "genericSig": "<τ_0_0 where τ_0_0 : DavoiceTTS.STTDelegate>",
105
+ "sugared_genericSig": "<Self where Self : DavoiceTTS.STTDelegate>",
106
+ "protocolReq": true,
107
+ "declAttributes": [
108
+ "ObjC"
109
+ ],
110
+ "reqNewWitnessTableEntry": true,
111
+ "funcSelfKind": "NonMutating"
112
+ }
113
+ ],
114
+ "declKind": "Protocol",
115
+ "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate",
116
+ "mangledName": "$s10DavoiceTTS11STTDelegateP",
117
+ "moduleName": "DavoiceTTS",
118
+ "genericSig": "<τ_0_0 : AnyObject>",
119
+ "sugared_genericSig": "<Self : AnyObject>",
120
+ "declAttributes": [
121
+ "AccessControl",
122
+ "ObjC",
123
+ "RawDocComment"
124
+ ],
125
+ "conformances": [
126
+ {
127
+ "kind": "Conformance",
128
+ "name": "Escapable",
129
+ "printedName": "Escapable",
130
+ "usr": "s:s9EscapableP",
131
+ "mangledName": "$ss9EscapableP"
132
+ },
133
+ {
134
+ "kind": "Conformance",
135
+ "name": "Copyable",
136
+ "printedName": "Copyable",
137
+ "usr": "s:s8CopyableP",
138
+ "mangledName": "$ss8CopyableP"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "kind": "TypeDecl",
144
+ "name": "STT",
145
+ "printedName": "STT",
146
+ "children": [
147
+ {
148
+ "kind": "Var",
149
+ "name": "delegate",
150
+ "printedName": "delegate",
151
+ "children": [
152
+ {
153
+ "kind": "TypeNominal",
154
+ "name": "WeakStorage",
155
+ "printedName": "(any DavoiceTTS.STTDelegate)?"
156
+ }
157
+ ],
79
158
  "declKind": "Var",
80
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
81
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
159
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(py)delegate",
160
+ "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvp",
82
161
  "moduleName": "DavoiceTTS",
83
- "static": true,
84
162
  "declAttributes": [
85
163
  "HasInitialValue",
164
+ "Final",
86
165
  "HasStorage",
166
+ "ReferenceOwnership",
87
167
  "AccessControl",
88
- "RawDocComment"
168
+ "ObjC"
89
169
  ],
170
+ "ownership": 1,
90
171
  "hasStorage": true,
91
172
  "accessors": [
92
173
  {
@@ -97,61 +178,27 @@
97
178
  {
98
179
  "kind": "TypeNominal",
99
180
  "name": "Optional",
100
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
181
+ "printedName": "(any DavoiceTTS.STTDelegate)?",
101
182
  "children": [
102
183
  {
103
- "kind": "TypeFunc",
104
- "name": "Function",
105
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
106
- "children": [
107
- {
108
- "kind": "TypeNominal",
109
- "name": "Bool",
110
- "printedName": "Swift.Bool",
111
- "usr": "s:Sb"
112
- },
113
- {
114
- "kind": "TypeNominal",
115
- "name": "Tuple",
116
- "printedName": "(Foundation.URL, () -> ())",
117
- "children": [
118
- {
119
- "kind": "TypeNominal",
120
- "name": "URL",
121
- "printedName": "Foundation.URL",
122
- "usr": "s:10Foundation3URLV"
123
- },
124
- {
125
- "kind": "TypeFunc",
126
- "name": "Function",
127
- "printedName": "() -> ()",
128
- "children": [
129
- {
130
- "kind": "TypeNominal",
131
- "name": "Void",
132
- "printedName": "()"
133
- },
134
- {
135
- "kind": "TypeNominal",
136
- "name": "Void",
137
- "printedName": "()"
138
- }
139
- ]
140
- }
141
- ]
142
- }
143
- ]
184
+ "kind": "TypeNominal",
185
+ "name": "STTDelegate",
186
+ "printedName": "any DavoiceTTS.STTDelegate",
187
+ "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate"
144
188
  }
145
189
  ],
146
190
  "usr": "s:Sq"
147
191
  }
148
192
  ],
149
193
  "declKind": "Accessor",
150
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
151
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
194
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)delegate",
195
+ "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvg",
152
196
  "moduleName": "DavoiceTTS",
153
- "static": true,
154
197
  "implicit": true,
198
+ "declAttributes": [
199
+ "Final",
200
+ "ObjC"
201
+ ],
155
202
  "accessorKind": "get"
156
203
  },
157
204
  {
@@ -167,61 +214,27 @@
167
214
  {
168
215
  "kind": "TypeNominal",
169
216
  "name": "Optional",
170
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
217
+ "printedName": "(any DavoiceTTS.STTDelegate)?",
171
218
  "children": [
172
219
  {
173
- "kind": "TypeFunc",
174
- "name": "Function",
175
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
176
- "children": [
177
- {
178
- "kind": "TypeNominal",
179
- "name": "Bool",
180
- "printedName": "Swift.Bool",
181
- "usr": "s:Sb"
182
- },
183
- {
184
- "kind": "TypeNominal",
185
- "name": "Tuple",
186
- "printedName": "(Foundation.URL, () -> ())",
187
- "children": [
188
- {
189
- "kind": "TypeNominal",
190
- "name": "URL",
191
- "printedName": "Foundation.URL",
192
- "usr": "s:10Foundation3URLV"
193
- },
194
- {
195
- "kind": "TypeFunc",
196
- "name": "Function",
197
- "printedName": "() -> ()",
198
- "children": [
199
- {
200
- "kind": "TypeNominal",
201
- "name": "Void",
202
- "printedName": "()"
203
- },
204
- {
205
- "kind": "TypeNominal",
206
- "name": "Void",
207
- "printedName": "()"
208
- }
209
- ]
210
- }
211
- ]
212
- }
213
- ]
220
+ "kind": "TypeNominal",
221
+ "name": "STTDelegate",
222
+ "printedName": "any DavoiceTTS.STTDelegate",
223
+ "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate"
214
224
  }
215
225
  ],
216
226
  "usr": "s:Sq"
217
227
  }
218
228
  ],
219
229
  "declKind": "Accessor",
220
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
221
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
230
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)setDelegate:",
231
+ "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvs",
222
232
  "moduleName": "DavoiceTTS",
223
- "static": true,
224
233
  "implicit": true,
234
+ "declAttributes": [
235
+ "Final",
236
+ "ObjC"
237
+ ],
225
238
  "accessorKind": "set"
226
239
  },
227
240
  {
@@ -236,57 +249,39 @@
236
249
  }
237
250
  ],
238
251
  "declKind": "Accessor",
239
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
240
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
252
+ "usr": "s:10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvM",
253
+ "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvM",
241
254
  "moduleName": "DavoiceTTS",
242
- "static": true,
243
255
  "implicit": true,
256
+ "declAttributes": [
257
+ "Final"
258
+ ],
244
259
  "accessorKind": "_modify"
245
260
  }
246
261
  ]
247
262
  },
248
263
  {
249
264
  "kind": "Var",
250
- "name": "isEngineReady",
251
- "printedName": "isEngineReady",
265
+ "name": "continuous",
266
+ "printedName": "continuous",
252
267
  "children": [
253
268
  {
254
269
  "kind": "TypeNominal",
255
- "name": "Optional",
256
- "printedName": "(() -> Swift.Bool)?",
257
- "children": [
258
- {
259
- "kind": "TypeFunc",
260
- "name": "Function",
261
- "printedName": "() -> Swift.Bool",
262
- "children": [
263
- {
264
- "kind": "TypeNominal",
265
- "name": "Bool",
266
- "printedName": "Swift.Bool",
267
- "usr": "s:Sb"
268
- },
269
- {
270
- "kind": "TypeNominal",
271
- "name": "Void",
272
- "printedName": "()"
273
- }
274
- ]
275
- }
276
- ],
277
- "usr": "s:Sq"
270
+ "name": "Bool",
271
+ "printedName": "Swift.Bool",
272
+ "usr": "s:Sb"
278
273
  }
279
274
  ],
280
275
  "declKind": "Var",
281
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
282
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
276
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(py)continuous",
277
+ "mangledName": "$s10DavoiceTTS3STTC10continuousSbvp",
283
278
  "moduleName": "DavoiceTTS",
284
- "static": true,
285
279
  "declAttributes": [
286
280
  "HasInitialValue",
281
+ "Final",
287
282
  "HasStorage",
288
283
  "AccessControl",
289
- "RawDocComment"
284
+ "ObjC"
290
285
  ],
291
286
  "hasStorage": true,
292
287
  "accessors": [
@@ -297,37 +292,20 @@
297
292
  "children": [
298
293
  {
299
294
  "kind": "TypeNominal",
300
- "name": "Optional",
301
- "printedName": "(() -> Swift.Bool)?",
302
- "children": [
303
- {
304
- "kind": "TypeFunc",
305
- "name": "Function",
306
- "printedName": "() -> Swift.Bool",
307
- "children": [
308
- {
309
- "kind": "TypeNominal",
310
- "name": "Bool",
311
- "printedName": "Swift.Bool",
312
- "usr": "s:Sb"
313
- },
314
- {
315
- "kind": "TypeNominal",
316
- "name": "Void",
317
- "printedName": "()"
318
- }
319
- ]
320
- }
321
- ],
322
- "usr": "s:Sq"
295
+ "name": "Bool",
296
+ "printedName": "Swift.Bool",
297
+ "usr": "s:Sb"
323
298
  }
324
299
  ],
325
300
  "declKind": "Accessor",
326
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
327
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
301
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)continuous",
302
+ "mangledName": "$s10DavoiceTTS3STTC10continuousSbvg",
328
303
  "moduleName": "DavoiceTTS",
329
- "static": true,
330
304
  "implicit": true,
305
+ "declAttributes": [
306
+ "Final",
307
+ "ObjC"
308
+ ],
331
309
  "accessorKind": "get"
332
310
  },
333
311
  {
@@ -342,37 +320,20 @@
342
320
  },
343
321
  {
344
322
  "kind": "TypeNominal",
345
- "name": "Optional",
346
- "printedName": "(() -> Swift.Bool)?",
347
- "children": [
348
- {
349
- "kind": "TypeFunc",
350
- "name": "Function",
351
- "printedName": "() -> Swift.Bool",
352
- "children": [
353
- {
354
- "kind": "TypeNominal",
355
- "name": "Bool",
356
- "printedName": "Swift.Bool",
357
- "usr": "s:Sb"
358
- },
359
- {
360
- "kind": "TypeNominal",
361
- "name": "Void",
362
- "printedName": "()"
363
- }
364
- ]
365
- }
366
- ],
367
- "usr": "s:Sq"
323
+ "name": "Bool",
324
+ "printedName": "Swift.Bool",
325
+ "usr": "s:Sb"
368
326
  }
369
327
  ],
370
328
  "declKind": "Accessor",
371
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
372
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
329
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)setContinuous:",
330
+ "mangledName": "$s10DavoiceTTS3STTC10continuousSbvs",
373
331
  "moduleName": "DavoiceTTS",
374
- "static": true,
375
332
  "implicit": true,
333
+ "declAttributes": [
334
+ "Final",
335
+ "ObjC"
336
+ ],
376
337
  "accessorKind": "set"
377
338
  },
378
339
  {
@@ -387,57 +348,51 @@
387
348
  }
388
349
  ],
389
350
  "declKind": "Accessor",
390
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
391
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
351
+ "usr": "s:10DavoiceTTS3STTC10continuousSbvM",
352
+ "mangledName": "$s10DavoiceTTS3STTC10continuousSbvM",
392
353
  "moduleName": "DavoiceTTS",
393
- "static": true,
394
354
  "implicit": true,
355
+ "declAttributes": [
356
+ "Final"
357
+ ],
395
358
  "accessorKind": "_modify"
396
359
  }
397
360
  ]
398
361
  },
399
362
  {
400
363
  "kind": "Var",
401
- "name": "useOnlyEnginePlayback",
402
- "printedName": "useOnlyEnginePlayback",
364
+ "name": "supportedEvents",
365
+ "printedName": "supportedEvents",
403
366
  "children": [
404
367
  {
405
368
  "kind": "TypeNominal",
406
- "name": "Optional",
407
- "printedName": "(() -> Swift.Bool)?",
369
+ "name": "Array",
370
+ "printedName": "[Swift.String]",
408
371
  "children": [
409
372
  {
410
- "kind": "TypeFunc",
411
- "name": "Function",
412
- "printedName": "() -> Swift.Bool",
413
- "children": [
414
- {
415
- "kind": "TypeNominal",
416
- "name": "Bool",
417
- "printedName": "Swift.Bool",
418
- "usr": "s:Sb"
419
- },
420
- {
421
- "kind": "TypeNominal",
422
- "name": "Void",
423
- "printedName": "()"
424
- }
425
- ]
373
+ "kind": "TypeNominal",
374
+ "name": "String",
375
+ "printedName": "Swift.String",
376
+ "usr": "s:SS"
426
377
  }
427
378
  ],
428
- "usr": "s:Sq"
379
+ "usr": "s:Sa"
429
380
  }
430
381
  ],
431
382
  "declKind": "Var",
432
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
433
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
383
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(cpy)supportedEvents",
384
+ "mangledName": "$s10DavoiceTTS3STTC15supportedEventsSaySSGvpZ",
434
385
  "moduleName": "DavoiceTTS",
435
386
  "static": true,
436
387
  "declAttributes": [
437
388
  "HasInitialValue",
389
+ "Final",
438
390
  "HasStorage",
439
- "AccessControl"
391
+ "AccessControl",
392
+ "RawDocComment",
393
+ "ObjC"
440
394
  ],
395
+ "isLet": true,
441
396
  "hasStorage": true,
442
397
  "accessors": [
443
398
  {
@@ -447,43 +402,47 @@
447
402
  "children": [
448
403
  {
449
404
  "kind": "TypeNominal",
450
- "name": "Optional",
451
- "printedName": "(() -> Swift.Bool)?",
405
+ "name": "Array",
406
+ "printedName": "[Swift.String]",
452
407
  "children": [
453
408
  {
454
- "kind": "TypeFunc",
455
- "name": "Function",
456
- "printedName": "() -> Swift.Bool",
457
- "children": [
458
- {
459
- "kind": "TypeNominal",
460
- "name": "Bool",
461
- "printedName": "Swift.Bool",
462
- "usr": "s:Sb"
463
- },
464
- {
465
- "kind": "TypeNominal",
466
- "name": "Void",
467
- "printedName": "()"
468
- }
469
- ]
409
+ "kind": "TypeNominal",
410
+ "name": "String",
411
+ "printedName": "Swift.String",
412
+ "usr": "s:SS"
470
413
  }
471
414
  ],
472
- "usr": "s:Sq"
415
+ "usr": "s:Sa"
473
416
  }
474
417
  ],
475
418
  "declKind": "Accessor",
476
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
477
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
419
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(cm)supportedEvents",
420
+ "mangledName": "$s10DavoiceTTS3STTC15supportedEventsSaySSGvgZ",
478
421
  "moduleName": "DavoiceTTS",
479
422
  "static": true,
480
423
  "implicit": true,
424
+ "declAttributes": [
425
+ "Final",
426
+ "ObjC"
427
+ ],
481
428
  "accessorKind": "get"
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "kind": "Function",
434
+ "name": "isSpeechAvailable",
435
+ "printedName": "isSpeechAvailable(_:)",
436
+ "children": [
437
+ {
438
+ "kind": "TypeNominal",
439
+ "name": "Void",
440
+ "printedName": "()"
482
441
  },
483
442
  {
484
- "kind": "Accessor",
485
- "name": "Set",
486
- "printedName": "Set()",
443
+ "kind": "TypeFunc",
444
+ "name": "Function",
445
+ "printedName": "(Swift.Bool) -> ()",
487
446
  "children": [
488
447
  {
489
448
  "kind": "TypeNominal",
@@ -492,74 +451,148 @@
492
451
  },
493
452
  {
494
453
  "kind": "TypeNominal",
495
- "name": "Optional",
496
- "printedName": "(() -> Swift.Bool)?",
497
- "children": [
498
- {
499
- "kind": "TypeFunc",
500
- "name": "Function",
501
- "printedName": "() -> Swift.Bool",
502
- "children": [
503
- {
504
- "kind": "TypeNominal",
505
- "name": "Bool",
506
- "printedName": "Swift.Bool",
507
- "usr": "s:Sb"
508
- },
509
- {
510
- "kind": "TypeNominal",
511
- "name": "Void",
512
- "printedName": "()"
513
- }
514
- ]
515
- }
516
- ],
517
- "usr": "s:Sq"
454
+ "name": "Bool",
455
+ "printedName": "Swift.Bool",
456
+ "usr": "s:Sb"
518
457
  }
519
- ],
520
- "declKind": "Accessor",
521
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
522
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
523
- "moduleName": "DavoiceTTS",
524
- "static": true,
525
- "implicit": true,
526
- "accessorKind": "set"
458
+ ]
459
+ }
460
+ ],
461
+ "declKind": "Func",
462
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isSpeechAvailable:",
463
+ "mangledName": "$s10DavoiceTTS3STTC17isSpeechAvailableyyySbcF",
464
+ "moduleName": "DavoiceTTS",
465
+ "declAttributes": [
466
+ "Final",
467
+ "AccessControl",
468
+ "RawDocComment",
469
+ "ObjC"
470
+ ],
471
+ "funcSelfKind": "NonMutating"
472
+ },
473
+ {
474
+ "kind": "Function",
475
+ "name": "isRecognizing",
476
+ "printedName": "isRecognizing()",
477
+ "children": [
478
+ {
479
+ "kind": "TypeNominal",
480
+ "name": "Bool",
481
+ "printedName": "Swift.Bool",
482
+ "usr": "s:Sb"
483
+ }
484
+ ],
485
+ "declKind": "Func",
486
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isRecognizing",
487
+ "mangledName": "$s10DavoiceTTS3STTC13isRecognizingSbyF",
488
+ "moduleName": "DavoiceTTS",
489
+ "declAttributes": [
490
+ "Final",
491
+ "AccessControl",
492
+ "ObjC"
493
+ ],
494
+ "funcSelfKind": "NonMutating"
495
+ },
496
+ {
497
+ "kind": "Function",
498
+ "name": "pauseMicrophone",
499
+ "printedName": "pauseMicrophone()",
500
+ "children": [
501
+ {
502
+ "kind": "TypeNominal",
503
+ "name": "Void",
504
+ "printedName": "()"
505
+ }
506
+ ],
507
+ "declKind": "Func",
508
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)pauseMicrophone",
509
+ "mangledName": "$s10DavoiceTTS3STTC15pauseMicrophoneyyF",
510
+ "moduleName": "DavoiceTTS",
511
+ "declAttributes": [
512
+ "Final",
513
+ "AccessControl",
514
+ "ObjC",
515
+ "RawDocComment"
516
+ ],
517
+ "funcSelfKind": "NonMutating"
518
+ },
519
+ {
520
+ "kind": "Function",
521
+ "name": "unPauseMicrophone",
522
+ "printedName": "unPauseMicrophone()",
523
+ "children": [
524
+ {
525
+ "kind": "TypeNominal",
526
+ "name": "Void",
527
+ "printedName": "()"
528
+ }
529
+ ],
530
+ "declKind": "Func",
531
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)unPauseMicrophone",
532
+ "mangledName": "$s10DavoiceTTS3STTC17unPauseMicrophoneyyF",
533
+ "moduleName": "DavoiceTTS",
534
+ "declAttributes": [
535
+ "Final",
536
+ "AccessControl",
537
+ "ObjC"
538
+ ],
539
+ "funcSelfKind": "NonMutating"
540
+ },
541
+ {
542
+ "kind": "Function",
543
+ "name": "startSpeech",
544
+ "printedName": "startSpeech(localeStr:)",
545
+ "children": [
546
+ {
547
+ "kind": "TypeNominal",
548
+ "name": "Void",
549
+ "printedName": "()"
527
550
  },
528
551
  {
529
- "kind": "Accessor",
530
- "name": "Modify",
531
- "printedName": "Modify()",
552
+ "kind": "TypeNominal",
553
+ "name": "Optional",
554
+ "printedName": "Swift.String?",
532
555
  "children": [
533
556
  {
534
557
  "kind": "TypeNominal",
535
- "name": "Void",
536
- "printedName": "()"
558
+ "name": "String",
559
+ "printedName": "Swift.String",
560
+ "usr": "s:SS"
537
561
  }
538
562
  ],
539
- "declKind": "Accessor",
540
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
541
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
542
- "moduleName": "DavoiceTTS",
543
- "static": true,
544
- "implicit": true,
545
- "accessorKind": "_modify"
563
+ "usr": "s:Sq"
546
564
  }
547
- ]
565
+ ],
566
+ "declKind": "Func",
567
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)startSpeechWithLocaleStr:",
568
+ "mangledName": "$s10DavoiceTTS3STTC11startSpeech9localeStrySSSg_tF",
569
+ "moduleName": "DavoiceTTS",
570
+ "declAttributes": [
571
+ "Final",
572
+ "AccessControl",
573
+ "ObjC"
574
+ ],
575
+ "funcSelfKind": "NonMutating"
548
576
  },
549
577
  {
550
- "kind": "Var",
551
- "name": "stopEnginePlayback",
552
- "printedName": "stopEnginePlayback",
578
+ "kind": "Function",
579
+ "name": "stopSpeech",
580
+ "printedName": "stopSpeech(_:)",
553
581
  "children": [
582
+ {
583
+ "kind": "TypeNominal",
584
+ "name": "Void",
585
+ "printedName": "()"
586
+ },
554
587
  {
555
588
  "kind": "TypeNominal",
556
589
  "name": "Optional",
557
- "printedName": "(() -> ())?",
590
+ "printedName": "((Swift.Bool) -> ())?",
558
591
  "children": [
559
592
  {
560
593
  "kind": "TypeFunc",
561
594
  "name": "Function",
562
- "printedName": "() -> ()",
595
+ "printedName": "(Swift.Bool) -> ()",
563
596
  "children": [
564
597
  {
565
598
  "kind": "TypeNominal",
@@ -568,252 +601,152 @@
568
601
  },
569
602
  {
570
603
  "kind": "TypeNominal",
571
- "name": "Void",
572
- "printedName": "()"
604
+ "name": "Bool",
605
+ "printedName": "Swift.Bool",
606
+ "usr": "s:Sb"
573
607
  }
574
608
  ]
575
609
  }
576
610
  ],
611
+ "hasDefaultArg": true,
577
612
  "usr": "s:Sq"
578
613
  }
579
614
  ],
580
- "declKind": "Var",
581
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
582
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
615
+ "declKind": "Func",
616
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)stopSpeech:",
617
+ "mangledName": "$s10DavoiceTTS3STTC10stopSpeechyyySbcSgF",
583
618
  "moduleName": "DavoiceTTS",
584
- "static": true,
585
619
  "declAttributes": [
586
- "HasInitialValue",
587
- "HasStorage",
588
- "AccessControl"
620
+ "Final",
621
+ "AccessControl",
622
+ "ObjC"
589
623
  ],
590
- "hasStorage": true,
591
- "accessors": [
624
+ "funcSelfKind": "NonMutating"
625
+ },
626
+ {
627
+ "kind": "Function",
628
+ "name": "cancelSpeech",
629
+ "printedName": "cancelSpeech(_:)",
630
+ "children": [
592
631
  {
593
- "kind": "Accessor",
594
- "name": "Get",
595
- "printedName": "Get()",
632
+ "kind": "TypeNominal",
633
+ "name": "Void",
634
+ "printedName": "()"
635
+ },
636
+ {
637
+ "kind": "TypeNominal",
638
+ "name": "Optional",
639
+ "printedName": "((Swift.Bool) -> ())?",
596
640
  "children": [
597
641
  {
598
- "kind": "TypeNominal",
599
- "name": "Optional",
600
- "printedName": "(() -> ())?",
642
+ "kind": "TypeFunc",
643
+ "name": "Function",
644
+ "printedName": "(Swift.Bool) -> ()",
601
645
  "children": [
602
646
  {
603
- "kind": "TypeFunc",
604
- "name": "Function",
605
- "printedName": "() -> ()",
606
- "children": [
607
- {
608
- "kind": "TypeNominal",
609
- "name": "Void",
610
- "printedName": "()"
611
- },
612
- {
613
- "kind": "TypeNominal",
614
- "name": "Void",
615
- "printedName": "()"
616
- }
617
- ]
647
+ "kind": "TypeNominal",
648
+ "name": "Void",
649
+ "printedName": "()"
650
+ },
651
+ {
652
+ "kind": "TypeNominal",
653
+ "name": "Bool",
654
+ "printedName": "Swift.Bool",
655
+ "usr": "s:Sb"
618
656
  }
619
- ],
620
- "usr": "s:Sq"
657
+ ]
621
658
  }
622
659
  ],
623
- "declKind": "Accessor",
624
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
625
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
626
- "moduleName": "DavoiceTTS",
627
- "static": true,
628
- "implicit": true,
629
- "accessorKind": "get"
630
- },
631
- {
632
- "kind": "Accessor",
633
- "name": "Set",
634
- "printedName": "Set()",
635
- "children": [
636
- {
637
- "kind": "TypeNominal",
638
- "name": "Void",
639
- "printedName": "()"
640
- },
641
- {
642
- "kind": "TypeNominal",
643
- "name": "Optional",
644
- "printedName": "(() -> ())?",
645
- "children": [
646
- {
647
- "kind": "TypeFunc",
648
- "name": "Function",
649
- "printedName": "() -> ()",
650
- "children": [
651
- {
652
- "kind": "TypeNominal",
653
- "name": "Void",
654
- "printedName": "()"
655
- },
656
- {
657
- "kind": "TypeNominal",
658
- "name": "Void",
659
- "printedName": "()"
660
- }
661
- ]
662
- }
663
- ],
664
- "usr": "s:Sq"
665
- }
666
- ],
667
- "declKind": "Accessor",
668
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
669
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
670
- "moduleName": "DavoiceTTS",
671
- "static": true,
672
- "implicit": true,
673
- "accessorKind": "set"
660
+ "hasDefaultArg": true,
661
+ "usr": "s:Sq"
662
+ }
663
+ ],
664
+ "declKind": "Func",
665
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)cancelSpeech:",
666
+ "mangledName": "$s10DavoiceTTS3STTC12cancelSpeechyyySbcSgF",
667
+ "moduleName": "DavoiceTTS",
668
+ "declAttributes": [
669
+ "Final",
670
+ "AccessControl",
671
+ "ObjC"
672
+ ],
673
+ "funcSelfKind": "NonMutating"
674
+ },
675
+ {
676
+ "kind": "Function",
677
+ "name": "destroySpeech",
678
+ "printedName": "destroySpeech(_:)",
679
+ "children": [
680
+ {
681
+ "kind": "TypeNominal",
682
+ "name": "Void",
683
+ "printedName": "()"
674
684
  },
675
685
  {
676
- "kind": "Accessor",
677
- "name": "Modify",
678
- "printedName": "Modify()",
686
+ "kind": "TypeNominal",
687
+ "name": "Optional",
688
+ "printedName": "((Swift.Bool) -> ())?",
679
689
  "children": [
680
690
  {
681
- "kind": "TypeNominal",
682
- "name": "Void",
683
- "printedName": "()"
691
+ "kind": "TypeFunc",
692
+ "name": "Function",
693
+ "printedName": "(Swift.Bool) -> ()",
694
+ "children": [
695
+ {
696
+ "kind": "TypeNominal",
697
+ "name": "Void",
698
+ "printedName": "()"
699
+ },
700
+ {
701
+ "kind": "TypeNominal",
702
+ "name": "Bool",
703
+ "printedName": "Swift.Bool",
704
+ "usr": "s:Sb"
705
+ }
706
+ ]
684
707
  }
685
708
  ],
686
- "declKind": "Accessor",
687
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
688
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
689
- "moduleName": "DavoiceTTS",
690
- "static": true,
691
- "implicit": true,
692
- "accessorKind": "_modify"
709
+ "hasDefaultArg": true,
710
+ "usr": "s:Sq"
693
711
  }
694
- ]
695
- }
696
- ],
697
- "declKind": "Enum",
698
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO",
699
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO",
700
- "moduleName": "DavoiceTTS",
701
- "declAttributes": [
702
- "AccessControl",
703
- "RawDocComment"
704
- ],
705
- "conformances": [
706
- {
707
- "kind": "Conformance",
708
- "name": "Copyable",
709
- "printedName": "Copyable",
710
- "usr": "s:s8CopyableP",
711
- "mangledName": "$ss8CopyableP"
712
+ ],
713
+ "declKind": "Func",
714
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)destroySpeech:",
715
+ "mangledName": "$s10DavoiceTTS3STTC13destroySpeechyyySbcSgF",
716
+ "moduleName": "DavoiceTTS",
717
+ "declAttributes": [
718
+ "Final",
719
+ "AccessControl",
720
+ "ObjC"
721
+ ],
722
+ "funcSelfKind": "NonMutating"
712
723
  },
713
724
  {
714
- "kind": "Conformance",
715
- "name": "Escapable",
716
- "printedName": "Escapable",
717
- "usr": "s:s9EscapableP",
718
- "mangledName": "$ss9EscapableP"
719
- }
720
- ]
721
- },
722
- {
723
- "kind": "Import",
724
- "name": "Foundation",
725
- "printedName": "Foundation",
726
- "declKind": "Import",
727
- "moduleName": "DavoiceTTS",
728
- "declAttributes": [
729
- "RawDocComment"
730
- ]
731
- },
732
- {
733
- "kind": "Import",
734
- "name": "onnxruntime_objc",
735
- "printedName": "onnxruntime_objc",
736
- "declKind": "Import",
737
- "moduleName": "DavoiceTTS"
738
- },
739
- {
740
- "kind": "Import",
741
- "name": "phonemes",
742
- "printedName": "phonemes",
743
- "declKind": "Import",
744
- "moduleName": "DavoiceTTS",
745
- "declAttributes": [
746
- "RawDocComment"
747
- ]
748
- },
749
- {
750
- "kind": "Import",
751
- "name": "AVFoundation",
752
- "printedName": "AVFoundation",
753
- "declKind": "Import",
754
- "moduleName": "DavoiceTTS"
755
- },
756
- {
757
- "kind": "TypeDecl",
758
- "name": "SwiftSoundQueue",
759
- "printedName": "SwiftSoundQueue",
760
- "children": [
761
- {
762
- "kind": "Var",
763
- "name": "shared",
764
- "printedName": "shared",
725
+ "kind": "Function",
726
+ "name": "teardown",
727
+ "printedName": "teardown()",
765
728
  "children": [
766
729
  {
767
730
  "kind": "TypeNominal",
768
- "name": "SwiftSoundQueue",
769
- "printedName": "DavoiceTTS.SwiftSoundQueue",
770
- "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue"
731
+ "name": "Void",
732
+ "printedName": "()"
771
733
  }
772
734
  ],
773
- "declKind": "Var",
774
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6sharedACvpZ",
775
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6sharedACvpZ",
735
+ "declKind": "Func",
736
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)teardown",
737
+ "mangledName": "$s10DavoiceTTS3STTC8teardownyyF",
776
738
  "moduleName": "DavoiceTTS",
777
- "static": true,
778
739
  "declAttributes": [
779
- "HasInitialValue",
780
740
  "Final",
781
- "HasStorage",
782
741
  "AccessControl",
783
- "RawDocComment"
742
+ "ObjC"
784
743
  ],
785
- "isLet": true,
786
- "hasStorage": true,
787
- "accessors": [
788
- {
789
- "kind": "Accessor",
790
- "name": "Get",
791
- "printedName": "Get()",
792
- "children": [
793
- {
794
- "kind": "TypeNominal",
795
- "name": "SwiftSoundQueue",
796
- "printedName": "DavoiceTTS.SwiftSoundQueue",
797
- "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue"
798
- }
799
- ],
800
- "declKind": "Accessor",
801
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6sharedACvgZ",
802
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6sharedACvgZ",
803
- "moduleName": "DavoiceTTS",
804
- "static": true,
805
- "implicit": true,
806
- "declAttributes": [
807
- "Final"
808
- ],
809
- "accessorKind": "get"
810
- }
811
- ]
744
+ "funcSelfKind": "NonMutating"
812
745
  },
813
746
  {
814
747
  "kind": "Function",
815
- "name": "notifyWhenURLFinishes",
816
- "printedName": "notifyWhenURLFinishes(_:_:)",
748
+ "name": "speechRecognizer",
749
+ "printedName": "speechRecognizer(_:availabilityDidChange:)",
817
750
  "children": [
818
751
  {
819
752
  "kind": "TypeNominal",
@@ -822,64 +755,203 @@
822
755
  },
823
756
  {
824
757
  "kind": "TypeNominal",
825
- "name": "URL",
826
- "printedName": "Foundation.URL",
827
- "usr": "s:10Foundation3URLV"
758
+ "name": "SFSpeechRecognizer",
759
+ "printedName": "Speech.SFSpeechRecognizer",
760
+ "usr": "c:objc(cs)SFSpeechRecognizer"
828
761
  },
829
762
  {
830
- "kind": "TypeFunc",
831
- "name": "Function",
832
- "printedName": "() -> ()",
833
- "children": [
834
- {
835
- "kind": "TypeNominal",
836
- "name": "Void",
837
- "printedName": "()"
838
- },
839
- {
840
- "kind": "TypeNominal",
841
- "name": "Void",
842
- "printedName": "()"
843
- }
844
- ]
763
+ "kind": "TypeNominal",
764
+ "name": "Bool",
765
+ "printedName": "Swift.Bool",
766
+ "usr": "s:Sb"
845
767
  }
846
768
  ],
847
769
  "declKind": "Func",
848
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC21notifyWhenURLFinishesyy10Foundation3URLV_yyctF",
849
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC21notifyWhenURLFinishesyy10Foundation3URLV_yyctF",
770
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)speechRecognizer:availabilityDidChange:",
771
+ "mangledName": "$s10DavoiceTTS3STTC16speechRecognizer_21availabilityDidChangeySo08SFSpeechE0C_SbtF",
850
772
  "moduleName": "DavoiceTTS",
773
+ "objc_name": "speechRecognizer:availabilityDidChange:",
851
774
  "declAttributes": [
852
775
  "Final",
776
+ "ObjC",
853
777
  "AccessControl",
854
778
  "RawDocComment"
855
779
  ],
856
780
  "funcSelfKind": "NonMutating"
857
781
  },
858
782
  {
859
- "kind": "Var",
860
- "name": "onItemDone",
861
- "printedName": "onItemDone",
783
+ "kind": "Constructor",
784
+ "name": "init",
785
+ "printedName": "init()",
862
786
  "children": [
863
787
  {
864
788
  "kind": "TypeNominal",
865
- "name": "Optional",
866
- "printedName": "((Foundation.URL) -> ())?",
867
- "children": [
868
- {
869
- "kind": "TypeFunc",
870
- "name": "Function",
871
- "printedName": "(Foundation.URL) -> ()",
789
+ "name": "STT",
790
+ "printedName": "DavoiceTTS.STT",
791
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT"
792
+ }
793
+ ],
794
+ "declKind": "Constructor",
795
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)init",
796
+ "mangledName": "$s10DavoiceTTS3STTCACycfc",
797
+ "moduleName": "DavoiceTTS",
798
+ "overriding": true,
799
+ "implicit": true,
800
+ "objc_name": "init",
801
+ "declAttributes": [
802
+ "Dynamic",
803
+ "ObjC",
804
+ "Override"
805
+ ],
806
+ "init_kind": "Designated"
807
+ }
808
+ ],
809
+ "declKind": "Class",
810
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT",
811
+ "mangledName": "$s10DavoiceTTS3STTC",
812
+ "moduleName": "DavoiceTTS",
813
+ "declAttributes": [
814
+ "Final",
815
+ "AccessControl",
816
+ "ObjCMembers",
817
+ "ObjC"
818
+ ],
819
+ "superclassUsr": "c:objc(cs)NSObject",
820
+ "inheritsConvenienceInitializers": true,
821
+ "superclassNames": [
822
+ "ObjectiveC.NSObject"
823
+ ],
824
+ "conformances": [
825
+ {
826
+ "kind": "Conformance",
827
+ "name": "Copyable",
828
+ "printedName": "Copyable",
829
+ "usr": "s:s8CopyableP",
830
+ "mangledName": "$ss8CopyableP"
831
+ },
832
+ {
833
+ "kind": "Conformance",
834
+ "name": "Escapable",
835
+ "printedName": "Escapable",
836
+ "usr": "s:s9EscapableP",
837
+ "mangledName": "$ss9EscapableP"
838
+ },
839
+ {
840
+ "kind": "Conformance",
841
+ "name": "Equatable",
842
+ "printedName": "Equatable",
843
+ "usr": "s:SQ",
844
+ "mangledName": "$sSQ"
845
+ },
846
+ {
847
+ "kind": "Conformance",
848
+ "name": "Hashable",
849
+ "printedName": "Hashable",
850
+ "usr": "s:SH",
851
+ "mangledName": "$sSH"
852
+ },
853
+ {
854
+ "kind": "Conformance",
855
+ "name": "CVarArg",
856
+ "printedName": "CVarArg",
857
+ "usr": "s:s7CVarArgP",
858
+ "mangledName": "$ss7CVarArgP"
859
+ },
860
+ {
861
+ "kind": "Conformance",
862
+ "name": "_KeyValueCodingAndObservingPublishing",
863
+ "printedName": "_KeyValueCodingAndObservingPublishing",
864
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
865
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
866
+ },
867
+ {
868
+ "kind": "Conformance",
869
+ "name": "_KeyValueCodingAndObserving",
870
+ "printedName": "_KeyValueCodingAndObserving",
871
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
872
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
873
+ },
874
+ {
875
+ "kind": "Conformance",
876
+ "name": "CustomStringConvertible",
877
+ "printedName": "CustomStringConvertible",
878
+ "usr": "s:s23CustomStringConvertibleP",
879
+ "mangledName": "$ss23CustomStringConvertibleP"
880
+ },
881
+ {
882
+ "kind": "Conformance",
883
+ "name": "CustomDebugStringConvertible",
884
+ "printedName": "CustomDebugStringConvertible",
885
+ "usr": "s:s28CustomDebugStringConvertibleP",
886
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ "kind": "Import",
892
+ "name": "Foundation",
893
+ "printedName": "Foundation",
894
+ "declKind": "Import",
895
+ "moduleName": "DavoiceTTS",
896
+ "declAttributes": [
897
+ "RawDocComment"
898
+ ]
899
+ },
900
+ {
901
+ "kind": "TypeDecl",
902
+ "name": "AudioPlaybackHook",
903
+ "printedName": "AudioPlaybackHook",
904
+ "children": [
905
+ {
906
+ "kind": "Var",
907
+ "name": "engineScheduleFile",
908
+ "printedName": "engineScheduleFile",
909
+ "children": [
910
+ {
911
+ "kind": "TypeNominal",
912
+ "name": "Optional",
913
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
914
+ "children": [
915
+ {
916
+ "kind": "TypeFunc",
917
+ "name": "Function",
918
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
872
919
  "children": [
873
920
  {
874
921
  "kind": "TypeNominal",
875
- "name": "Void",
876
- "printedName": "()"
922
+ "name": "Bool",
923
+ "printedName": "Swift.Bool",
924
+ "usr": "s:Sb"
877
925
  },
878
926
  {
879
927
  "kind": "TypeNominal",
880
- "name": "URL",
881
- "printedName": "Foundation.URL",
882
- "usr": "s:10Foundation3URLV"
928
+ "name": "Tuple",
929
+ "printedName": "(Foundation.URL, () -> ())",
930
+ "children": [
931
+ {
932
+ "kind": "TypeNominal",
933
+ "name": "URL",
934
+ "printedName": "Foundation.URL",
935
+ "usr": "s:10Foundation3URLV"
936
+ },
937
+ {
938
+ "kind": "TypeFunc",
939
+ "name": "Function",
940
+ "printedName": "() -> ()",
941
+ "children": [
942
+ {
943
+ "kind": "TypeNominal",
944
+ "name": "Void",
945
+ "printedName": "()"
946
+ },
947
+ {
948
+ "kind": "TypeNominal",
949
+ "name": "Void",
950
+ "printedName": "()"
951
+ }
952
+ ]
953
+ }
954
+ ]
883
955
  }
884
956
  ]
885
957
  }
@@ -888,12 +960,12 @@
888
960
  }
889
961
  ],
890
962
  "declKind": "Var",
891
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvp",
892
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvp",
963
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
964
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
893
965
  "moduleName": "DavoiceTTS",
966
+ "static": true,
894
967
  "declAttributes": [
895
968
  "HasInitialValue",
896
- "Final",
897
969
  "HasStorage",
898
970
  "AccessControl",
899
971
  "RawDocComment"
@@ -908,23 +980,48 @@
908
980
  {
909
981
  "kind": "TypeNominal",
910
982
  "name": "Optional",
911
- "printedName": "((Foundation.URL) -> ())?",
983
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
912
984
  "children": [
913
985
  {
914
986
  "kind": "TypeFunc",
915
987
  "name": "Function",
916
- "printedName": "(Foundation.URL) -> ()",
988
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
917
989
  "children": [
918
990
  {
919
991
  "kind": "TypeNominal",
920
- "name": "Void",
921
- "printedName": "()"
992
+ "name": "Bool",
993
+ "printedName": "Swift.Bool",
994
+ "usr": "s:Sb"
922
995
  },
923
996
  {
924
997
  "kind": "TypeNominal",
925
- "name": "URL",
926
- "printedName": "Foundation.URL",
927
- "usr": "s:10Foundation3URLV"
998
+ "name": "Tuple",
999
+ "printedName": "(Foundation.URL, () -> ())",
1000
+ "children": [
1001
+ {
1002
+ "kind": "TypeNominal",
1003
+ "name": "URL",
1004
+ "printedName": "Foundation.URL",
1005
+ "usr": "s:10Foundation3URLV"
1006
+ },
1007
+ {
1008
+ "kind": "TypeFunc",
1009
+ "name": "Function",
1010
+ "printedName": "() -> ()",
1011
+ "children": [
1012
+ {
1013
+ "kind": "TypeNominal",
1014
+ "name": "Void",
1015
+ "printedName": "()"
1016
+ },
1017
+ {
1018
+ "kind": "TypeNominal",
1019
+ "name": "Void",
1020
+ "printedName": "()"
1021
+ }
1022
+ ]
1023
+ }
1024
+ ]
928
1025
  }
929
1026
  ]
930
1027
  }
@@ -933,13 +1030,11 @@
933
1030
  }
934
1031
  ],
935
1032
  "declKind": "Accessor",
936
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvg",
937
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvg",
1033
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
1034
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
938
1035
  "moduleName": "DavoiceTTS",
1036
+ "static": true,
939
1037
  "implicit": true,
940
- "declAttributes": [
941
- "Final"
942
- ],
943
1038
  "accessorKind": "get"
944
1039
  },
945
1040
  {
@@ -955,82 +1050,104 @@
955
1050
  {
956
1051
  "kind": "TypeNominal",
957
1052
  "name": "Optional",
958
- "printedName": "((Foundation.URL) -> ())?",
1053
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
959
1054
  "children": [
960
1055
  {
961
1056
  "kind": "TypeFunc",
962
1057
  "name": "Function",
963
- "printedName": "(Foundation.URL) -> ()",
1058
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
964
1059
  "children": [
965
1060
  {
966
1061
  "kind": "TypeNominal",
967
- "name": "Void",
968
- "printedName": "()"
1062
+ "name": "Bool",
1063
+ "printedName": "Swift.Bool",
1064
+ "usr": "s:Sb"
969
1065
  },
970
1066
  {
971
1067
  "kind": "TypeNominal",
972
- "name": "URL",
973
- "printedName": "Foundation.URL",
974
- "usr": "s:10Foundation3URLV"
975
- }
976
- ]
977
- }
978
- ],
979
- "usr": "s:Sq"
980
- }
981
- ],
982
- "declKind": "Accessor",
983
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvs",
984
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvs",
985
- "moduleName": "DavoiceTTS",
986
- "implicit": true,
987
- "declAttributes": [
988
- "Final"
989
- ],
990
- "accessorKind": "set"
991
- },
992
- {
993
- "kind": "Accessor",
994
- "name": "Modify",
995
- "printedName": "Modify()",
996
- "children": [
997
- {
998
- "kind": "TypeNominal",
999
- "name": "Void",
1000
- "printedName": "()"
1068
+ "name": "Tuple",
1069
+ "printedName": "(Foundation.URL, () -> ())",
1070
+ "children": [
1071
+ {
1072
+ "kind": "TypeNominal",
1073
+ "name": "URL",
1074
+ "printedName": "Foundation.URL",
1075
+ "usr": "s:10Foundation3URLV"
1076
+ },
1077
+ {
1078
+ "kind": "TypeFunc",
1079
+ "name": "Function",
1080
+ "printedName": "() -> ()",
1081
+ "children": [
1082
+ {
1083
+ "kind": "TypeNominal",
1084
+ "name": "Void",
1085
+ "printedName": "()"
1086
+ },
1087
+ {
1088
+ "kind": "TypeNominal",
1089
+ "name": "Void",
1090
+ "printedName": "()"
1091
+ }
1092
+ ]
1093
+ }
1094
+ ]
1095
+ }
1096
+ ]
1097
+ }
1098
+ ],
1099
+ "usr": "s:Sq"
1001
1100
  }
1002
1101
  ],
1003
1102
  "declKind": "Accessor",
1004
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvM",
1005
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvM",
1103
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
1104
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
1006
1105
  "moduleName": "DavoiceTTS",
1106
+ "static": true,
1007
1107
  "implicit": true,
1008
- "declAttributes": [
1009
- "Final"
1108
+ "accessorKind": "set"
1109
+ },
1110
+ {
1111
+ "kind": "Accessor",
1112
+ "name": "Modify",
1113
+ "printedName": "Modify()",
1114
+ "children": [
1115
+ {
1116
+ "kind": "TypeNominal",
1117
+ "name": "Void",
1118
+ "printedName": "()"
1119
+ }
1010
1120
  ],
1121
+ "declKind": "Accessor",
1122
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
1123
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
1124
+ "moduleName": "DavoiceTTS",
1125
+ "static": true,
1126
+ "implicit": true,
1011
1127
  "accessorKind": "_modify"
1012
1128
  }
1013
1129
  ]
1014
1130
  },
1015
1131
  {
1016
1132
  "kind": "Var",
1017
- "name": "onQueueEmpty",
1018
- "printedName": "onQueueEmpty",
1133
+ "name": "isEngineReady",
1134
+ "printedName": "isEngineReady",
1019
1135
  "children": [
1020
1136
  {
1021
1137
  "kind": "TypeNominal",
1022
1138
  "name": "Optional",
1023
- "printedName": "(() -> ())?",
1139
+ "printedName": "(() -> Swift.Bool)?",
1024
1140
  "children": [
1025
1141
  {
1026
1142
  "kind": "TypeFunc",
1027
1143
  "name": "Function",
1028
- "printedName": "() -> ()",
1144
+ "printedName": "() -> Swift.Bool",
1029
1145
  "children": [
1030
1146
  {
1031
1147
  "kind": "TypeNominal",
1032
- "name": "Void",
1033
- "printedName": "()"
1148
+ "name": "Bool",
1149
+ "printedName": "Swift.Bool",
1150
+ "usr": "s:Sb"
1034
1151
  },
1035
1152
  {
1036
1153
  "kind": "TypeNominal",
@@ -1044,12 +1161,12 @@
1044
1161
  }
1045
1162
  ],
1046
1163
  "declKind": "Var",
1047
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvp",
1048
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvp",
1164
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
1165
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
1049
1166
  "moduleName": "DavoiceTTS",
1167
+ "static": true,
1050
1168
  "declAttributes": [
1051
1169
  "HasInitialValue",
1052
- "Final",
1053
1170
  "HasStorage",
1054
1171
  "AccessControl",
1055
1172
  "RawDocComment"
@@ -1064,17 +1181,18 @@
1064
1181
  {
1065
1182
  "kind": "TypeNominal",
1066
1183
  "name": "Optional",
1067
- "printedName": "(() -> ())?",
1184
+ "printedName": "(() -> Swift.Bool)?",
1068
1185
  "children": [
1069
1186
  {
1070
1187
  "kind": "TypeFunc",
1071
1188
  "name": "Function",
1072
- "printedName": "() -> ()",
1189
+ "printedName": "() -> Swift.Bool",
1073
1190
  "children": [
1074
1191
  {
1075
1192
  "kind": "TypeNominal",
1076
- "name": "Void",
1077
- "printedName": "()"
1193
+ "name": "Bool",
1194
+ "printedName": "Swift.Bool",
1195
+ "usr": "s:Sb"
1078
1196
  },
1079
1197
  {
1080
1198
  "kind": "TypeNominal",
@@ -1088,13 +1206,11 @@
1088
1206
  }
1089
1207
  ],
1090
1208
  "declKind": "Accessor",
1091
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvg",
1092
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvg",
1209
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
1210
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
1093
1211
  "moduleName": "DavoiceTTS",
1212
+ "static": true,
1094
1213
  "implicit": true,
1095
- "declAttributes": [
1096
- "Final"
1097
- ],
1098
1214
  "accessorKind": "get"
1099
1215
  },
1100
1216
  {
@@ -1110,17 +1226,18 @@
1110
1226
  {
1111
1227
  "kind": "TypeNominal",
1112
1228
  "name": "Optional",
1113
- "printedName": "(() -> ())?",
1229
+ "printedName": "(() -> Swift.Bool)?",
1114
1230
  "children": [
1115
1231
  {
1116
1232
  "kind": "TypeFunc",
1117
1233
  "name": "Function",
1118
- "printedName": "() -> ()",
1234
+ "printedName": "() -> Swift.Bool",
1119
1235
  "children": [
1120
1236
  {
1121
1237
  "kind": "TypeNominal",
1122
- "name": "Void",
1123
- "printedName": "()"
1238
+ "name": "Bool",
1239
+ "printedName": "Swift.Bool",
1240
+ "usr": "s:Sb"
1124
1241
  },
1125
1242
  {
1126
1243
  "kind": "TypeNominal",
@@ -1134,13 +1251,11 @@
1134
1251
  }
1135
1252
  ],
1136
1253
  "declKind": "Accessor",
1137
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvs",
1138
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvs",
1254
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
1255
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
1139
1256
  "moduleName": "DavoiceTTS",
1257
+ "static": true,
1140
1258
  "implicit": true,
1141
- "declAttributes": [
1142
- "Final"
1143
- ],
1144
1259
  "accessorKind": "set"
1145
1260
  },
1146
1261
  {
@@ -1155,307 +1270,320 @@
1155
1270
  }
1156
1271
  ],
1157
1272
  "declKind": "Accessor",
1158
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvM",
1159
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvM",
1273
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
1274
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
1160
1275
  "moduleName": "DavoiceTTS",
1276
+ "static": true,
1161
1277
  "implicit": true,
1162
- "declAttributes": [
1163
- "Final"
1164
- ],
1165
1278
  "accessorKind": "_modify"
1166
1279
  }
1167
1280
  ]
1168
1281
  },
1169
1282
  {
1170
- "kind": "Function",
1171
- "name": "enqueue",
1172
- "printedName": "enqueue(_:)",
1173
- "children": [
1174
- {
1175
- "kind": "TypeNominal",
1176
- "name": "Void",
1177
- "printedName": "()"
1178
- },
1179
- {
1180
- "kind": "TypeNominal",
1181
- "name": "Source",
1182
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1183
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1184
- }
1185
- ],
1186
- "declKind": "Func",
1187
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC7enqueueyyAC6SourceOF",
1188
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC7enqueueyyAC6SourceOF",
1189
- "moduleName": "DavoiceTTS",
1190
- "declAttributes": [
1191
- "Final",
1192
- "AccessControl",
1193
- "RawDocComment"
1194
- ],
1195
- "funcSelfKind": "NonMutating"
1196
- },
1197
- {
1198
- "kind": "Function",
1199
- "name": "enqueueMany",
1200
- "printedName": "enqueueMany(_:)",
1283
+ "kind": "Var",
1284
+ "name": "useOnlyEnginePlayback",
1285
+ "printedName": "useOnlyEnginePlayback",
1201
1286
  "children": [
1202
1287
  {
1203
1288
  "kind": "TypeNominal",
1204
- "name": "Void",
1205
- "printedName": "()"
1206
- },
1207
- {
1208
- "kind": "TypeNominal",
1209
- "name": "Array",
1210
- "printedName": "[DavoiceTTS.SwiftSoundQueue.Source]",
1289
+ "name": "Optional",
1290
+ "printedName": "(() -> Swift.Bool)?",
1211
1291
  "children": [
1212
1292
  {
1213
- "kind": "TypeNominal",
1214
- "name": "Source",
1215
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1216
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1293
+ "kind": "TypeFunc",
1294
+ "name": "Function",
1295
+ "printedName": "() -> Swift.Bool",
1296
+ "children": [
1297
+ {
1298
+ "kind": "TypeNominal",
1299
+ "name": "Bool",
1300
+ "printedName": "Swift.Bool",
1301
+ "usr": "s:Sb"
1302
+ },
1303
+ {
1304
+ "kind": "TypeNominal",
1305
+ "name": "Void",
1306
+ "printedName": "()"
1307
+ }
1308
+ ]
1217
1309
  }
1218
1310
  ],
1219
- "usr": "s:Sa"
1220
- }
1221
- ],
1222
- "declKind": "Func",
1223
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC11enqueueManyyySayAC6SourceOGF",
1224
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC11enqueueManyyySayAC6SourceOGF",
1225
- "moduleName": "DavoiceTTS",
1226
- "declAttributes": [
1227
- "Final",
1228
- "AccessControl",
1229
- "RawDocComment"
1230
- ],
1231
- "funcSelfKind": "NonMutating"
1232
- },
1233
- {
1234
- "kind": "Function",
1235
- "name": "stop",
1236
- "printedName": "stop()",
1237
- "children": [
1238
- {
1239
- "kind": "TypeNominal",
1240
- "name": "Void",
1241
- "printedName": "()"
1311
+ "usr": "s:Sq"
1242
1312
  }
1243
1313
  ],
1244
- "declKind": "Func",
1245
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC4stopyyF",
1246
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC4stopyyF",
1314
+ "declKind": "Var",
1315
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
1316
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
1247
1317
  "moduleName": "DavoiceTTS",
1318
+ "static": true,
1248
1319
  "declAttributes": [
1249
- "Final",
1250
- "AccessControl",
1251
- "RawDocComment"
1320
+ "HasInitialValue",
1321
+ "HasStorage",
1322
+ "AccessControl"
1252
1323
  ],
1253
- "funcSelfKind": "NonMutating"
1254
- },
1255
- {
1256
- "kind": "TypeDecl",
1257
- "name": "Source",
1258
- "printedName": "Source",
1259
- "children": [
1324
+ "hasStorage": true,
1325
+ "accessors": [
1260
1326
  {
1261
- "kind": "Var",
1262
- "name": "fileURL",
1263
- "printedName": "fileURL",
1327
+ "kind": "Accessor",
1328
+ "name": "Get",
1329
+ "printedName": "Get()",
1264
1330
  "children": [
1265
1331
  {
1266
- "kind": "TypeFunc",
1267
- "name": "Function",
1268
- "printedName": "(DavoiceTTS.SwiftSoundQueue.Source.Type) -> (Foundation.URL) -> DavoiceTTS.SwiftSoundQueue.Source",
1332
+ "kind": "TypeNominal",
1333
+ "name": "Optional",
1334
+ "printedName": "(() -> Swift.Bool)?",
1269
1335
  "children": [
1270
1336
  {
1271
1337
  "kind": "TypeFunc",
1272
1338
  "name": "Function",
1273
- "printedName": "(Foundation.URL) -> DavoiceTTS.SwiftSoundQueue.Source",
1339
+ "printedName": "() -> Swift.Bool",
1274
1340
  "children": [
1275
1341
  {
1276
1342
  "kind": "TypeNominal",
1277
- "name": "Source",
1278
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1279
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1343
+ "name": "Bool",
1344
+ "printedName": "Swift.Bool",
1345
+ "usr": "s:Sb"
1280
1346
  },
1281
1347
  {
1282
1348
  "kind": "TypeNominal",
1283
- "name": "URL",
1284
- "printedName": "Foundation.URL",
1285
- "usr": "s:10Foundation3URLV"
1349
+ "name": "Void",
1350
+ "printedName": "()"
1286
1351
  }
1287
1352
  ]
1288
- },
1289
- {
1290
- "kind": "TypeNominal",
1291
- "name": "Metatype",
1292
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source.Type",
1353
+ }
1354
+ ],
1355
+ "usr": "s:Sq"
1356
+ }
1357
+ ],
1358
+ "declKind": "Accessor",
1359
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
1360
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
1361
+ "moduleName": "DavoiceTTS",
1362
+ "static": true,
1363
+ "implicit": true,
1364
+ "accessorKind": "get"
1365
+ },
1366
+ {
1367
+ "kind": "Accessor",
1368
+ "name": "Set",
1369
+ "printedName": "Set()",
1370
+ "children": [
1371
+ {
1372
+ "kind": "TypeNominal",
1373
+ "name": "Void",
1374
+ "printedName": "()"
1375
+ },
1376
+ {
1377
+ "kind": "TypeNominal",
1378
+ "name": "Optional",
1379
+ "printedName": "(() -> Swift.Bool)?",
1380
+ "children": [
1381
+ {
1382
+ "kind": "TypeFunc",
1383
+ "name": "Function",
1384
+ "printedName": "() -> Swift.Bool",
1293
1385
  "children": [
1294
1386
  {
1295
1387
  "kind": "TypeNominal",
1296
- "name": "Source",
1297
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1298
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1388
+ "name": "Bool",
1389
+ "printedName": "Swift.Bool",
1390
+ "usr": "s:Sb"
1391
+ },
1392
+ {
1393
+ "kind": "TypeNominal",
1394
+ "name": "Void",
1395
+ "printedName": "()"
1299
1396
  }
1300
1397
  ]
1301
1398
  }
1302
- ]
1399
+ ],
1400
+ "usr": "s:Sq"
1303
1401
  }
1304
1402
  ],
1305
- "declKind": "EnumElement",
1306
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO7fileURLyAE10Foundation0H0VcAEmF",
1307
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO7fileURLyAE10Foundation0H0VcAEmF",
1308
- "moduleName": "DavoiceTTS"
1403
+ "declKind": "Accessor",
1404
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
1405
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
1406
+ "moduleName": "DavoiceTTS",
1407
+ "static": true,
1408
+ "implicit": true,
1409
+ "accessorKind": "set"
1309
1410
  },
1310
1411
  {
1311
- "kind": "Var",
1312
- "name": "named",
1313
- "printedName": "named",
1412
+ "kind": "Accessor",
1413
+ "name": "Modify",
1414
+ "printedName": "Modify()",
1415
+ "children": [
1416
+ {
1417
+ "kind": "TypeNominal",
1418
+ "name": "Void",
1419
+ "printedName": "()"
1420
+ }
1421
+ ],
1422
+ "declKind": "Accessor",
1423
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
1424
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
1425
+ "moduleName": "DavoiceTTS",
1426
+ "static": true,
1427
+ "implicit": true,
1428
+ "accessorKind": "_modify"
1429
+ }
1430
+ ]
1431
+ },
1432
+ {
1433
+ "kind": "Var",
1434
+ "name": "stopEnginePlayback",
1435
+ "printedName": "stopEnginePlayback",
1436
+ "children": [
1437
+ {
1438
+ "kind": "TypeNominal",
1439
+ "name": "Optional",
1440
+ "printedName": "(() -> ())?",
1314
1441
  "children": [
1315
1442
  {
1316
1443
  "kind": "TypeFunc",
1317
1444
  "name": "Function",
1318
- "printedName": "(DavoiceTTS.SwiftSoundQueue.Source.Type) -> (Swift.String) -> DavoiceTTS.SwiftSoundQueue.Source",
1445
+ "printedName": "() -> ()",
1446
+ "children": [
1447
+ {
1448
+ "kind": "TypeNominal",
1449
+ "name": "Void",
1450
+ "printedName": "()"
1451
+ },
1452
+ {
1453
+ "kind": "TypeNominal",
1454
+ "name": "Void",
1455
+ "printedName": "()"
1456
+ }
1457
+ ]
1458
+ }
1459
+ ],
1460
+ "usr": "s:Sq"
1461
+ }
1462
+ ],
1463
+ "declKind": "Var",
1464
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
1465
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
1466
+ "moduleName": "DavoiceTTS",
1467
+ "static": true,
1468
+ "declAttributes": [
1469
+ "HasInitialValue",
1470
+ "HasStorage",
1471
+ "AccessControl"
1472
+ ],
1473
+ "hasStorage": true,
1474
+ "accessors": [
1475
+ {
1476
+ "kind": "Accessor",
1477
+ "name": "Get",
1478
+ "printedName": "Get()",
1479
+ "children": [
1480
+ {
1481
+ "kind": "TypeNominal",
1482
+ "name": "Optional",
1483
+ "printedName": "(() -> ())?",
1319
1484
  "children": [
1320
1485
  {
1321
1486
  "kind": "TypeFunc",
1322
1487
  "name": "Function",
1323
- "printedName": "(Swift.String) -> DavoiceTTS.SwiftSoundQueue.Source",
1488
+ "printedName": "() -> ()",
1324
1489
  "children": [
1325
1490
  {
1326
1491
  "kind": "TypeNominal",
1327
- "name": "Source",
1328
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1329
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1492
+ "name": "Void",
1493
+ "printedName": "()"
1330
1494
  },
1331
1495
  {
1332
1496
  "kind": "TypeNominal",
1333
- "name": "String",
1334
- "printedName": "Swift.String",
1335
- "usr": "s:SS"
1497
+ "name": "Void",
1498
+ "printedName": "()"
1336
1499
  }
1337
1500
  ]
1338
- },
1501
+ }
1502
+ ],
1503
+ "usr": "s:Sq"
1504
+ }
1505
+ ],
1506
+ "declKind": "Accessor",
1507
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
1508
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
1509
+ "moduleName": "DavoiceTTS",
1510
+ "static": true,
1511
+ "implicit": true,
1512
+ "accessorKind": "get"
1513
+ },
1514
+ {
1515
+ "kind": "Accessor",
1516
+ "name": "Set",
1517
+ "printedName": "Set()",
1518
+ "children": [
1519
+ {
1520
+ "kind": "TypeNominal",
1521
+ "name": "Void",
1522
+ "printedName": "()"
1523
+ },
1524
+ {
1525
+ "kind": "TypeNominal",
1526
+ "name": "Optional",
1527
+ "printedName": "(() -> ())?",
1528
+ "children": [
1339
1529
  {
1340
- "kind": "TypeNominal",
1341
- "name": "Metatype",
1342
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source.Type",
1530
+ "kind": "TypeFunc",
1531
+ "name": "Function",
1532
+ "printedName": "() -> ()",
1343
1533
  "children": [
1344
1534
  {
1345
1535
  "kind": "TypeNominal",
1346
- "name": "Source",
1347
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1348
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1536
+ "name": "Void",
1537
+ "printedName": "()"
1538
+ },
1539
+ {
1540
+ "kind": "TypeNominal",
1541
+ "name": "Void",
1542
+ "printedName": "()"
1349
1543
  }
1350
1544
  ]
1351
1545
  }
1352
- ]
1546
+ ],
1547
+ "usr": "s:Sq"
1353
1548
  }
1354
1549
  ],
1355
- "declKind": "EnumElement",
1356
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO5namedyAESScAEmF",
1357
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO5namedyAESScAEmF",
1358
- "moduleName": "DavoiceTTS"
1359
- }
1360
- ],
1361
- "declKind": "Enum",
1362
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO",
1363
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO",
1364
- "moduleName": "DavoiceTTS",
1365
- "declAttributes": [
1366
- "AccessControl",
1367
- "RawDocComment"
1368
- ],
1369
- "conformances": [
1370
- {
1371
- "kind": "Conformance",
1372
- "name": "Copyable",
1373
- "printedName": "Copyable",
1374
- "usr": "s:s8CopyableP",
1375
- "mangledName": "$ss8CopyableP"
1550
+ "declKind": "Accessor",
1551
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
1552
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
1553
+ "moduleName": "DavoiceTTS",
1554
+ "static": true,
1555
+ "implicit": true,
1556
+ "accessorKind": "set"
1376
1557
  },
1377
1558
  {
1378
- "kind": "Conformance",
1379
- "name": "Escapable",
1380
- "printedName": "Escapable",
1381
- "usr": "s:s9EscapableP",
1382
- "mangledName": "$ss9EscapableP"
1559
+ "kind": "Accessor",
1560
+ "name": "Modify",
1561
+ "printedName": "Modify()",
1562
+ "children": [
1563
+ {
1564
+ "kind": "TypeNominal",
1565
+ "name": "Void",
1566
+ "printedName": "()"
1567
+ }
1568
+ ],
1569
+ "declKind": "Accessor",
1570
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
1571
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
1572
+ "moduleName": "DavoiceTTS",
1573
+ "static": true,
1574
+ "implicit": true,
1575
+ "accessorKind": "_modify"
1383
1576
  }
1384
1577
  ]
1385
- },
1386
- {
1387
- "kind": "Function",
1388
- "name": "audioPlayerDidFinishPlaying",
1389
- "printedName": "audioPlayerDidFinishPlaying(_:successfully:)",
1390
- "children": [
1391
- {
1392
- "kind": "TypeNominal",
1393
- "name": "Void",
1394
- "printedName": "()"
1395
- },
1396
- {
1397
- "kind": "TypeNominal",
1398
- "name": "AVAudioPlayer",
1399
- "printedName": "AVFAudio.AVAudioPlayer",
1400
- "usr": "c:objc(cs)AVAudioPlayer"
1401
- },
1402
- {
1403
- "kind": "TypeNominal",
1404
- "name": "Bool",
1405
- "printedName": "Swift.Bool",
1406
- "usr": "s:Sb"
1407
- }
1408
- ],
1409
- "declKind": "Func",
1410
- "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue(im)audioPlayerDidFinishPlaying:successfully:",
1411
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC27audioPlayerDidFinishPlaying_12successfullyySo07AVAudioG0C_SbtF",
1412
- "moduleName": "DavoiceTTS",
1413
- "objc_name": "audioPlayerDidFinishPlaying:successfully:",
1414
- "declAttributes": [
1415
- "Final",
1416
- "ObjC",
1417
- "AccessControl",
1418
- "RawDocComment"
1419
- ],
1420
- "funcSelfKind": "NonMutating"
1421
- },
1422
- {
1423
- "kind": "Function",
1424
- "name": "activateSpeaker",
1425
- "printedName": "activateSpeaker()",
1426
- "children": [
1427
- {
1428
- "kind": "TypeNominal",
1429
- "name": "Void",
1430
- "printedName": "()"
1431
- }
1432
- ],
1433
- "declKind": "Func",
1434
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC15activateSpeakeryyF",
1435
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC15activateSpeakeryyF",
1436
- "moduleName": "DavoiceTTS",
1437
- "declAttributes": [
1438
- "Final",
1439
- "AccessControl"
1440
- ],
1441
- "funcSelfKind": "NonMutating"
1442
1578
  }
1443
1579
  ],
1444
- "declKind": "Class",
1445
- "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue",
1446
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC",
1580
+ "declKind": "Enum",
1581
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO",
1582
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO",
1447
1583
  "moduleName": "DavoiceTTS",
1448
1584
  "declAttributes": [
1449
- "Final",
1450
1585
  "AccessControl",
1451
- "RawDocComment",
1452
- "ObjC"
1453
- ],
1454
- "superclassUsr": "c:objc(cs)NSObject",
1455
- "hasMissingDesignatedInitializers": true,
1456
- "inheritsConvenienceInitializers": true,
1457
- "superclassNames": [
1458
- "ObjectiveC.NSObject"
1586
+ "RawDocComment"
1459
1587
  ],
1460
1588
  "conformances": [
1461
1589
  {
@@ -1471,95 +1599,306 @@
1471
1599
  "printedName": "Escapable",
1472
1600
  "usr": "s:s9EscapableP",
1473
1601
  "mangledName": "$ss9EscapableP"
1474
- },
1475
- {
1476
- "kind": "Conformance",
1477
- "name": "Equatable",
1478
- "printedName": "Equatable",
1479
- "usr": "s:SQ",
1480
- "mangledName": "$sSQ"
1481
- },
1482
- {
1483
- "kind": "Conformance",
1484
- "name": "Hashable",
1485
- "printedName": "Hashable",
1486
- "usr": "s:SH",
1487
- "mangledName": "$sSH"
1488
- },
1489
- {
1490
- "kind": "Conformance",
1491
- "name": "CVarArg",
1492
- "printedName": "CVarArg",
1493
- "usr": "s:s7CVarArgP",
1494
- "mangledName": "$ss7CVarArgP"
1495
- },
1496
- {
1497
- "kind": "Conformance",
1498
- "name": "_KeyValueCodingAndObservingPublishing",
1499
- "printedName": "_KeyValueCodingAndObservingPublishing",
1500
- "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
1501
- "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
1502
- },
1503
- {
1504
- "kind": "Conformance",
1505
- "name": "_KeyValueCodingAndObserving",
1506
- "printedName": "_KeyValueCodingAndObserving",
1507
- "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
1508
- "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
1509
- },
1510
- {
1511
- "kind": "Conformance",
1512
- "name": "CustomStringConvertible",
1513
- "printedName": "CustomStringConvertible",
1514
- "usr": "s:s23CustomStringConvertibleP",
1515
- "mangledName": "$ss23CustomStringConvertibleP"
1516
- },
1517
- {
1518
- "kind": "Conformance",
1519
- "name": "CustomDebugStringConvertible",
1520
- "printedName": "CustomDebugStringConvertible",
1521
- "usr": "s:s28CustomDebugStringConvertibleP",
1522
- "mangledName": "$ss28CustomDebugStringConvertibleP"
1523
1602
  }
1524
1603
  ]
1525
1604
  },
1605
+ {
1606
+ "kind": "Import",
1607
+ "name": "Foundation",
1608
+ "printedName": "Foundation",
1609
+ "declKind": "Import",
1610
+ "moduleName": "DavoiceTTS",
1611
+ "declAttributes": [
1612
+ "RawDocComment"
1613
+ ]
1614
+ },
1615
+ {
1616
+ "kind": "Import",
1617
+ "name": "onnxruntime_objc",
1618
+ "printedName": "onnxruntime_objc",
1619
+ "declKind": "Import",
1620
+ "moduleName": "DavoiceTTS"
1621
+ },
1622
+ {
1623
+ "kind": "Import",
1624
+ "name": "phonemes",
1625
+ "printedName": "phonemes",
1626
+ "declKind": "Import",
1627
+ "moduleName": "DavoiceTTS",
1628
+ "declAttributes": [
1629
+ "RawDocComment"
1630
+ ]
1631
+ },
1632
+ {
1633
+ "kind": "Import",
1634
+ "name": "AVFoundation",
1635
+ "printedName": "AVFoundation",
1636
+ "declKind": "Import",
1637
+ "moduleName": "DavoiceTTS"
1638
+ },
1526
1639
  {
1527
1640
  "kind": "TypeDecl",
1528
- "name": "DaVoiceTTS",
1529
- "printedName": "DaVoiceTTS",
1641
+ "name": "SwiftSoundQueue",
1642
+ "printedName": "SwiftSoundQueue",
1530
1643
  "children": [
1531
1644
  {
1532
- "kind": "TypeDecl",
1533
- "name": "Config",
1534
- "printedName": "Config",
1535
- "declKind": "Struct",
1536
- "usr": "s:10DavoiceTTS07DaVoiceB0C6ConfigV",
1537
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C6ConfigV",
1645
+ "kind": "Var",
1646
+ "name": "shared",
1647
+ "printedName": "shared",
1648
+ "children": [
1649
+ {
1650
+ "kind": "TypeNominal",
1651
+ "name": "SwiftSoundQueue",
1652
+ "printedName": "DavoiceTTS.SwiftSoundQueue",
1653
+ "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue"
1654
+ }
1655
+ ],
1656
+ "declKind": "Var",
1657
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6sharedACvpZ",
1658
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6sharedACvpZ",
1659
+ "moduleName": "DavoiceTTS",
1660
+ "static": true,
1661
+ "declAttributes": [
1662
+ "HasInitialValue",
1663
+ "Final",
1664
+ "HasStorage",
1665
+ "AccessControl",
1666
+ "RawDocComment"
1667
+ ],
1668
+ "isLet": true,
1669
+ "hasStorage": true,
1670
+ "accessors": [
1671
+ {
1672
+ "kind": "Accessor",
1673
+ "name": "Get",
1674
+ "printedName": "Get()",
1675
+ "children": [
1676
+ {
1677
+ "kind": "TypeNominal",
1678
+ "name": "SwiftSoundQueue",
1679
+ "printedName": "DavoiceTTS.SwiftSoundQueue",
1680
+ "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue"
1681
+ }
1682
+ ],
1683
+ "declKind": "Accessor",
1684
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6sharedACvgZ",
1685
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6sharedACvgZ",
1686
+ "moduleName": "DavoiceTTS",
1687
+ "static": true,
1688
+ "implicit": true,
1689
+ "declAttributes": [
1690
+ "Final"
1691
+ ],
1692
+ "accessorKind": "get"
1693
+ }
1694
+ ]
1695
+ },
1696
+ {
1697
+ "kind": "Function",
1698
+ "name": "notifyWhenURLFinishes",
1699
+ "printedName": "notifyWhenURLFinishes(_:_:)",
1700
+ "children": [
1701
+ {
1702
+ "kind": "TypeNominal",
1703
+ "name": "Void",
1704
+ "printedName": "()"
1705
+ },
1706
+ {
1707
+ "kind": "TypeNominal",
1708
+ "name": "URL",
1709
+ "printedName": "Foundation.URL",
1710
+ "usr": "s:10Foundation3URLV"
1711
+ },
1712
+ {
1713
+ "kind": "TypeFunc",
1714
+ "name": "Function",
1715
+ "printedName": "() -> ()",
1716
+ "children": [
1717
+ {
1718
+ "kind": "TypeNominal",
1719
+ "name": "Void",
1720
+ "printedName": "()"
1721
+ },
1722
+ {
1723
+ "kind": "TypeNominal",
1724
+ "name": "Void",
1725
+ "printedName": "()"
1726
+ }
1727
+ ]
1728
+ }
1729
+ ],
1730
+ "declKind": "Func",
1731
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC21notifyWhenURLFinishesyy10Foundation3URLV_yyctF",
1732
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC21notifyWhenURLFinishesyy10Foundation3URLV_yyctF",
1733
+ "moduleName": "DavoiceTTS",
1734
+ "declAttributes": [
1735
+ "Final",
1736
+ "AccessControl",
1737
+ "RawDocComment"
1738
+ ],
1739
+ "funcSelfKind": "NonMutating"
1740
+ },
1741
+ {
1742
+ "kind": "Var",
1743
+ "name": "onItemDone",
1744
+ "printedName": "onItemDone",
1745
+ "children": [
1746
+ {
1747
+ "kind": "TypeNominal",
1748
+ "name": "Optional",
1749
+ "printedName": "((Foundation.URL) -> ())?",
1750
+ "children": [
1751
+ {
1752
+ "kind": "TypeFunc",
1753
+ "name": "Function",
1754
+ "printedName": "(Foundation.URL) -> ()",
1755
+ "children": [
1756
+ {
1757
+ "kind": "TypeNominal",
1758
+ "name": "Void",
1759
+ "printedName": "()"
1760
+ },
1761
+ {
1762
+ "kind": "TypeNominal",
1763
+ "name": "URL",
1764
+ "printedName": "Foundation.URL",
1765
+ "usr": "s:10Foundation3URLV"
1766
+ }
1767
+ ]
1768
+ }
1769
+ ],
1770
+ "usr": "s:Sq"
1771
+ }
1772
+ ],
1773
+ "declKind": "Var",
1774
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvp",
1775
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvp",
1538
1776
  "moduleName": "DavoiceTTS",
1539
1777
  "declAttributes": [
1540
- "AccessControl"
1778
+ "HasInitialValue",
1779
+ "Final",
1780
+ "HasStorage",
1781
+ "AccessControl",
1782
+ "RawDocComment"
1541
1783
  ],
1542
- "conformances": [
1784
+ "hasStorage": true,
1785
+ "accessors": [
1543
1786
  {
1544
- "kind": "Conformance",
1545
- "name": "Copyable",
1546
- "printedName": "Copyable",
1547
- "usr": "s:s8CopyableP",
1548
- "mangledName": "$ss8CopyableP"
1787
+ "kind": "Accessor",
1788
+ "name": "Get",
1789
+ "printedName": "Get()",
1790
+ "children": [
1791
+ {
1792
+ "kind": "TypeNominal",
1793
+ "name": "Optional",
1794
+ "printedName": "((Foundation.URL) -> ())?",
1795
+ "children": [
1796
+ {
1797
+ "kind": "TypeFunc",
1798
+ "name": "Function",
1799
+ "printedName": "(Foundation.URL) -> ()",
1800
+ "children": [
1801
+ {
1802
+ "kind": "TypeNominal",
1803
+ "name": "Void",
1804
+ "printedName": "()"
1805
+ },
1806
+ {
1807
+ "kind": "TypeNominal",
1808
+ "name": "URL",
1809
+ "printedName": "Foundation.URL",
1810
+ "usr": "s:10Foundation3URLV"
1811
+ }
1812
+ ]
1813
+ }
1814
+ ],
1815
+ "usr": "s:Sq"
1816
+ }
1817
+ ],
1818
+ "declKind": "Accessor",
1819
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvg",
1820
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvg",
1821
+ "moduleName": "DavoiceTTS",
1822
+ "implicit": true,
1823
+ "declAttributes": [
1824
+ "Final"
1825
+ ],
1826
+ "accessorKind": "get"
1549
1827
  },
1550
1828
  {
1551
- "kind": "Conformance",
1552
- "name": "Escapable",
1553
- "printedName": "Escapable",
1554
- "usr": "s:s9EscapableP",
1555
- "mangledName": "$ss9EscapableP"
1829
+ "kind": "Accessor",
1830
+ "name": "Set",
1831
+ "printedName": "Set()",
1832
+ "children": [
1833
+ {
1834
+ "kind": "TypeNominal",
1835
+ "name": "Void",
1836
+ "printedName": "()"
1837
+ },
1838
+ {
1839
+ "kind": "TypeNominal",
1840
+ "name": "Optional",
1841
+ "printedName": "((Foundation.URL) -> ())?",
1842
+ "children": [
1843
+ {
1844
+ "kind": "TypeFunc",
1845
+ "name": "Function",
1846
+ "printedName": "(Foundation.URL) -> ()",
1847
+ "children": [
1848
+ {
1849
+ "kind": "TypeNominal",
1850
+ "name": "Void",
1851
+ "printedName": "()"
1852
+ },
1853
+ {
1854
+ "kind": "TypeNominal",
1855
+ "name": "URL",
1856
+ "printedName": "Foundation.URL",
1857
+ "usr": "s:10Foundation3URLV"
1858
+ }
1859
+ ]
1860
+ }
1861
+ ],
1862
+ "usr": "s:Sq"
1863
+ }
1864
+ ],
1865
+ "declKind": "Accessor",
1866
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvs",
1867
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvs",
1868
+ "moduleName": "DavoiceTTS",
1869
+ "implicit": true,
1870
+ "declAttributes": [
1871
+ "Final"
1872
+ ],
1873
+ "accessorKind": "set"
1874
+ },
1875
+ {
1876
+ "kind": "Accessor",
1877
+ "name": "Modify",
1878
+ "printedName": "Modify()",
1879
+ "children": [
1880
+ {
1881
+ "kind": "TypeNominal",
1882
+ "name": "Void",
1883
+ "printedName": "()"
1884
+ }
1885
+ ],
1886
+ "declKind": "Accessor",
1887
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvM",
1888
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvM",
1889
+ "moduleName": "DavoiceTTS",
1890
+ "implicit": true,
1891
+ "declAttributes": [
1892
+ "Final"
1893
+ ],
1894
+ "accessorKind": "_modify"
1556
1895
  }
1557
1896
  ]
1558
1897
  },
1559
1898
  {
1560
1899
  "kind": "Var",
1561
- "name": "onLastUtteranceFinished",
1562
- "printedName": "onLastUtteranceFinished",
1900
+ "name": "onQueueEmpty",
1901
+ "printedName": "onQueueEmpty",
1563
1902
  "children": [
1564
1903
  {
1565
1904
  "kind": "TypeNominal",
@@ -1588,15 +1927,14 @@
1588
1927
  }
1589
1928
  ],
1590
1929
  "declKind": "Var",
1591
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(py)onLastUtteranceFinished",
1592
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvp",
1930
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvp",
1931
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvp",
1593
1932
  "moduleName": "DavoiceTTS",
1594
1933
  "declAttributes": [
1595
1934
  "HasInitialValue",
1596
1935
  "Final",
1597
1936
  "HasStorage",
1598
1937
  "AccessControl",
1599
- "ObjC",
1600
1938
  "RawDocComment"
1601
1939
  ],
1602
1940
  "hasStorage": true,
@@ -1633,13 +1971,12 @@
1633
1971
  }
1634
1972
  ],
1635
1973
  "declKind": "Accessor",
1636
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)onLastUtteranceFinished",
1637
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvg",
1974
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvg",
1975
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvg",
1638
1976
  "moduleName": "DavoiceTTS",
1639
1977
  "implicit": true,
1640
1978
  "declAttributes": [
1641
- "Final",
1642
- "ObjC"
1979
+ "Final"
1643
1980
  ],
1644
1981
  "accessorKind": "get"
1645
1982
  },
@@ -1680,13 +2017,12 @@
1680
2017
  }
1681
2018
  ],
1682
2019
  "declKind": "Accessor",
1683
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)setOnLastUtteranceFinished:",
1684
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvs",
2020
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvs",
2021
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvs",
1685
2022
  "moduleName": "DavoiceTTS",
1686
2023
  "implicit": true,
1687
2024
  "declAttributes": [
1688
- "Final",
1689
- "ObjC"
2025
+ "Final"
1690
2026
  ],
1691
2027
  "accessorKind": "set"
1692
2028
  },
@@ -1702,8 +2038,8 @@
1702
2038
  }
1703
2039
  ],
1704
2040
  "declKind": "Accessor",
1705
- "usr": "s:10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvM",
1706
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvM",
2041
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvM",
2042
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvM",
1707
2043
  "moduleName": "DavoiceTTS",
1708
2044
  "implicit": true,
1709
2045
  "declAttributes": [
@@ -1713,269 +2049,294 @@
1713
2049
  }
1714
2050
  ]
1715
2051
  },
1716
- {
1717
- "kind": "Constructor",
1718
- "name": "init",
1719
- "printedName": "init(model:)",
1720
- "children": [
1721
- {
1722
- "kind": "TypeNominal",
1723
- "name": "DaVoiceTTS",
1724
- "printedName": "DavoiceTTS.DaVoiceTTS",
1725
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS"
1726
- },
1727
- {
1728
- "kind": "TypeNominal",
1729
- "name": "URL",
1730
- "printedName": "Foundation.URL",
1731
- "usr": "s:10Foundation3URLV"
1732
- }
1733
- ],
1734
- "declKind": "Constructor",
1735
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)initWithModel:error:",
1736
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C5modelAC10Foundation3URLV_tKcfc",
1737
- "moduleName": "DavoiceTTS",
1738
- "objc_name": "initWithModel:error:",
1739
- "declAttributes": [
1740
- "AccessControl",
1741
- "ObjC"
1742
- ],
1743
- "throwing": true,
1744
- "init_kind": "Designated"
1745
- },
1746
2052
  {
1747
2053
  "kind": "Function",
1748
- "name": "stopSpeaking",
1749
- "printedName": "stopSpeaking()",
2054
+ "name": "enqueue",
2055
+ "printedName": "enqueue(_:)",
1750
2056
  "children": [
1751
2057
  {
1752
2058
  "kind": "TypeNominal",
1753
2059
  "name": "Void",
1754
2060
  "printedName": "()"
2061
+ },
2062
+ {
2063
+ "kind": "TypeNominal",
2064
+ "name": "Source",
2065
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2066
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1755
2067
  }
1756
2068
  ],
1757
2069
  "declKind": "Func",
1758
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)stopSpeaking",
1759
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C12stopSpeakingyyF",
2070
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC7enqueueyyAC6SourceOF",
2071
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC7enqueueyyAC6SourceOF",
1760
2072
  "moduleName": "DavoiceTTS",
1761
2073
  "declAttributes": [
1762
2074
  "Final",
1763
2075
  "AccessControl",
1764
- "ObjC",
1765
2076
  "RawDocComment"
1766
2077
  ],
1767
2078
  "funcSelfKind": "NonMutating"
1768
2079
  },
1769
2080
  {
1770
2081
  "kind": "Function",
1771
- "name": "destroy",
1772
- "printedName": "destroy()",
2082
+ "name": "enqueueMany",
2083
+ "printedName": "enqueueMany(_:)",
1773
2084
  "children": [
1774
2085
  {
1775
2086
  "kind": "TypeNominal",
1776
2087
  "name": "Void",
1777
2088
  "printedName": "()"
2089
+ },
2090
+ {
2091
+ "kind": "TypeNominal",
2092
+ "name": "Array",
2093
+ "printedName": "[DavoiceTTS.SwiftSoundQueue.Source]",
2094
+ "children": [
2095
+ {
2096
+ "kind": "TypeNominal",
2097
+ "name": "Source",
2098
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2099
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2100
+ }
2101
+ ],
2102
+ "usr": "s:Sa"
1778
2103
  }
1779
2104
  ],
1780
2105
  "declKind": "Func",
1781
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)destroy",
1782
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C7destroyyyF",
2106
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC11enqueueManyyySayAC6SourceOGF",
2107
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC11enqueueManyyySayAC6SourceOGF",
1783
2108
  "moduleName": "DavoiceTTS",
1784
2109
  "declAttributes": [
1785
2110
  "Final",
1786
2111
  "AccessControl",
1787
- "ObjC",
1788
2112
  "RawDocComment"
1789
2113
  ],
1790
2114
  "funcSelfKind": "NonMutating"
1791
2115
  },
1792
2116
  {
1793
2117
  "kind": "Function",
1794
- "name": "speak",
1795
- "printedName": "speak(_:sid:)",
2118
+ "name": "stop",
2119
+ "printedName": "stop()",
1796
2120
  "children": [
1797
2121
  {
1798
2122
  "kind": "TypeNominal",
1799
2123
  "name": "Void",
1800
2124
  "printedName": "()"
1801
- },
1802
- {
1803
- "kind": "TypeNominal",
1804
- "name": "String",
1805
- "printedName": "Swift.String",
1806
- "usr": "s:SS"
1807
- },
1808
- {
1809
- "kind": "TypeNominal",
1810
- "name": "Int32",
1811
- "printedName": "Swift.Int32",
1812
- "hasDefaultArg": true,
1813
- "usr": "s:s5Int32V"
1814
2125
  }
1815
2126
  ],
1816
2127
  "declKind": "Func",
1817
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)speak:sid:",
1818
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C5speak_3sidySS_s5Int32VtF",
2128
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC4stopyyF",
2129
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC4stopyyF",
1819
2130
  "moduleName": "DavoiceTTS",
1820
2131
  "declAttributes": [
1821
2132
  "Final",
1822
2133
  "AccessControl",
1823
- "ObjC"
2134
+ "RawDocComment"
1824
2135
  ],
1825
2136
  "funcSelfKind": "NonMutating"
1826
2137
  },
1827
2138
  {
1828
- "kind": "Function",
1829
- "name": "synthesize",
1830
- "printedName": "synthesize(_:speakerId:token:terminal:)",
2139
+ "kind": "TypeDecl",
2140
+ "name": "Source",
2141
+ "printedName": "Source",
1831
2142
  "children": [
1832
2143
  {
1833
- "kind": "TypeNominal",
1834
- "name": "Tuple",
1835
- "printedName": "(AVFAudio.AVAudioPCMBuffer, Swift.Int)",
2144
+ "kind": "Var",
2145
+ "name": "fileURL",
2146
+ "printedName": "fileURL",
1836
2147
  "children": [
1837
2148
  {
1838
- "kind": "TypeNominal",
1839
- "name": "AVAudioPCMBuffer",
1840
- "printedName": "AVFAudio.AVAudioPCMBuffer",
1841
- "usr": "c:objc(cs)AVAudioPCMBuffer"
1842
- },
1843
- {
1844
- "kind": "TypeNominal",
1845
- "name": "Int",
1846
- "printedName": "Swift.Int",
1847
- "usr": "s:Si"
2149
+ "kind": "TypeFunc",
2150
+ "name": "Function",
2151
+ "printedName": "(DavoiceTTS.SwiftSoundQueue.Source.Type) -> (Foundation.URL) -> DavoiceTTS.SwiftSoundQueue.Source",
2152
+ "children": [
2153
+ {
2154
+ "kind": "TypeFunc",
2155
+ "name": "Function",
2156
+ "printedName": "(Foundation.URL) -> DavoiceTTS.SwiftSoundQueue.Source",
2157
+ "children": [
2158
+ {
2159
+ "kind": "TypeNominal",
2160
+ "name": "Source",
2161
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2162
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2163
+ },
2164
+ {
2165
+ "kind": "TypeNominal",
2166
+ "name": "URL",
2167
+ "printedName": "Foundation.URL",
2168
+ "usr": "s:10Foundation3URLV"
2169
+ }
2170
+ ]
2171
+ },
2172
+ {
2173
+ "kind": "TypeNominal",
2174
+ "name": "Metatype",
2175
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source.Type",
2176
+ "children": [
2177
+ {
2178
+ "kind": "TypeNominal",
2179
+ "name": "Source",
2180
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2181
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2182
+ }
2183
+ ]
2184
+ }
2185
+ ]
1848
2186
  }
1849
- ]
1850
- },
1851
- {
1852
- "kind": "TypeNominal",
1853
- "name": "String",
1854
- "printedName": "Swift.String",
1855
- "usr": "s:SS"
1856
- },
1857
- {
1858
- "kind": "TypeNominal",
1859
- "name": "Int32",
1860
- "printedName": "Swift.Int32",
1861
- "hasDefaultArg": true,
1862
- "usr": "s:s5Int32V"
1863
- },
1864
- {
1865
- "kind": "TypeNominal",
1866
- "name": "UUID",
1867
- "printedName": "Foundation.UUID",
1868
- "usr": "s:10Foundation4UUIDV"
2187
+ ],
2188
+ "declKind": "EnumElement",
2189
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO7fileURLyAE10Foundation0H0VcAEmF",
2190
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO7fileURLyAE10Foundation0H0VcAEmF",
2191
+ "moduleName": "DavoiceTTS"
1869
2192
  },
1870
2193
  {
1871
- "kind": "TypeNominal",
1872
- "name": "Optional",
1873
- "printedName": "Swift.Character?",
2194
+ "kind": "Var",
2195
+ "name": "named",
2196
+ "printedName": "named",
1874
2197
  "children": [
1875
2198
  {
1876
- "kind": "TypeNominal",
1877
- "name": "Character",
1878
- "printedName": "Swift.Character",
1879
- "usr": "s:SJ"
2199
+ "kind": "TypeFunc",
2200
+ "name": "Function",
2201
+ "printedName": "(DavoiceTTS.SwiftSoundQueue.Source.Type) -> (Swift.String) -> DavoiceTTS.SwiftSoundQueue.Source",
2202
+ "children": [
2203
+ {
2204
+ "kind": "TypeFunc",
2205
+ "name": "Function",
2206
+ "printedName": "(Swift.String) -> DavoiceTTS.SwiftSoundQueue.Source",
2207
+ "children": [
2208
+ {
2209
+ "kind": "TypeNominal",
2210
+ "name": "Source",
2211
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2212
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2213
+ },
2214
+ {
2215
+ "kind": "TypeNominal",
2216
+ "name": "String",
2217
+ "printedName": "Swift.String",
2218
+ "usr": "s:SS"
2219
+ }
2220
+ ]
2221
+ },
2222
+ {
2223
+ "kind": "TypeNominal",
2224
+ "name": "Metatype",
2225
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source.Type",
2226
+ "children": [
2227
+ {
2228
+ "kind": "TypeNominal",
2229
+ "name": "Source",
2230
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2231
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2232
+ }
2233
+ ]
2234
+ }
2235
+ ]
1880
2236
  }
1881
2237
  ],
1882
- "hasDefaultArg": true,
1883
- "usr": "s:Sq"
2238
+ "declKind": "EnumElement",
2239
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO5namedyAESScAEmF",
2240
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO5namedyAESScAEmF",
2241
+ "moduleName": "DavoiceTTS"
1884
2242
  }
1885
2243
  ],
1886
- "declKind": "Func",
1887
- "usr": "s:10DavoiceTTS07DaVoiceB0C10synthesize_9speakerId5token8terminalSo16AVAudioPCMBufferC_SitSS_s5Int32V10Foundation4UUIDVSJSgtKF",
1888
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C10synthesize_9speakerId5token8terminalSo16AVAudioPCMBufferC_SitSS_s5Int32V10Foundation4UUIDVSJSgtKF",
2244
+ "declKind": "Enum",
2245
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO",
2246
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO",
1889
2247
  "moduleName": "DavoiceTTS",
1890
2248
  "declAttributes": [
1891
- "Final",
1892
- "AccessControl"
2249
+ "AccessControl",
2250
+ "RawDocComment"
1893
2251
  ],
1894
- "throwing": true,
1895
- "funcSelfKind": "NonMutating"
2252
+ "conformances": [
2253
+ {
2254
+ "kind": "Conformance",
2255
+ "name": "Copyable",
2256
+ "printedName": "Copyable",
2257
+ "usr": "s:s8CopyableP",
2258
+ "mangledName": "$ss8CopyableP"
2259
+ },
2260
+ {
2261
+ "kind": "Conformance",
2262
+ "name": "Escapable",
2263
+ "printedName": "Escapable",
2264
+ "usr": "s:s9EscapableP",
2265
+ "mangledName": "$ss9EscapableP"
2266
+ }
2267
+ ]
1896
2268
  },
1897
2269
  {
1898
2270
  "kind": "Function",
1899
- "name": "synthesize_top",
1900
- "printedName": "synthesize_top(_:speakerId:token:)",
2271
+ "name": "audioPlayerDidFinishPlaying",
2272
+ "printedName": "audioPlayerDidFinishPlaying(_:successfully:)",
1901
2273
  "children": [
1902
2274
  {
1903
2275
  "kind": "TypeNominal",
1904
- "name": "AVAudioPCMBuffer",
1905
- "printedName": "AVFAudio.AVAudioPCMBuffer",
1906
- "usr": "c:objc(cs)AVAudioPCMBuffer"
1907
- },
1908
- {
1909
- "kind": "TypeNominal",
1910
- "name": "String",
1911
- "printedName": "Swift.String",
1912
- "usr": "s:SS"
2276
+ "name": "Void",
2277
+ "printedName": "()"
1913
2278
  },
1914
2279
  {
1915
2280
  "kind": "TypeNominal",
1916
- "name": "Int32",
1917
- "printedName": "Swift.Int32",
1918
- "hasDefaultArg": true,
1919
- "usr": "s:s5Int32V"
2281
+ "name": "AVAudioPlayer",
2282
+ "printedName": "AVFAudio.AVAudioPlayer",
2283
+ "usr": "c:objc(cs)AVAudioPlayer"
1920
2284
  },
1921
2285
  {
1922
2286
  "kind": "TypeNominal",
1923
- "name": "UUID",
1924
- "printedName": "Foundation.UUID",
1925
- "usr": "s:10Foundation4UUIDV"
2287
+ "name": "Bool",
2288
+ "printedName": "Swift.Bool",
2289
+ "usr": "s:Sb"
1926
2290
  }
1927
2291
  ],
1928
2292
  "declKind": "Func",
1929
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)synthesize_top:speakerId:token:error:",
1930
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C14synthesize_top_9speakerId5tokenSo16AVAudioPCMBufferCSS_s5Int32V10Foundation4UUIDVtKF",
2293
+ "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue(im)audioPlayerDidFinishPlaying:successfully:",
2294
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC27audioPlayerDidFinishPlaying_12successfullyySo07AVAudioG0C_SbtF",
1931
2295
  "moduleName": "DavoiceTTS",
2296
+ "objc_name": "audioPlayerDidFinishPlaying:successfully:",
1932
2297
  "declAttributes": [
1933
2298
  "Final",
2299
+ "ObjC",
1934
2300
  "AccessControl",
1935
- "RawDocComment",
1936
- "ObjC"
2301
+ "RawDocComment"
1937
2302
  ],
1938
- "throwing": true,
1939
2303
  "funcSelfKind": "NonMutating"
1940
2304
  },
1941
2305
  {
1942
- "kind": "Constructor",
1943
- "name": "init",
1944
- "printedName": "init()",
2306
+ "kind": "Function",
2307
+ "name": "activateSpeaker",
2308
+ "printedName": "activateSpeaker()",
1945
2309
  "children": [
1946
2310
  {
1947
2311
  "kind": "TypeNominal",
1948
- "name": "DaVoiceTTS",
1949
- "printedName": "DavoiceTTS.DaVoiceTTS",
1950
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS"
2312
+ "name": "Void",
2313
+ "printedName": "()"
1951
2314
  }
1952
2315
  ],
1953
- "declKind": "Constructor",
1954
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)init",
1955
- "mangledName": "$s10DavoiceTTS07DaVoiceB0CACycfc",
1956
- "moduleName": "DavoiceTTS",
1957
- "overriding": true,
1958
- "implicit": true,
1959
- "objc_name": "init",
2316
+ "declKind": "Func",
2317
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC15activateSpeakeryyF",
2318
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC15activateSpeakeryyF",
2319
+ "moduleName": "DavoiceTTS",
1960
2320
  "declAttributes": [
1961
- "Dynamic",
1962
- "ObjC",
1963
- "Override"
2321
+ "Final",
2322
+ "AccessControl"
1964
2323
  ],
1965
- "init_kind": "Designated"
2324
+ "funcSelfKind": "NonMutating"
1966
2325
  }
1967
2326
  ],
1968
2327
  "declKind": "Class",
1969
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS",
1970
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C",
2328
+ "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue",
2329
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC",
1971
2330
  "moduleName": "DavoiceTTS",
1972
2331
  "declAttributes": [
1973
2332
  "Final",
1974
2333
  "AccessControl",
1975
- "ObjCMembers",
2334
+ "RawDocComment",
1976
2335
  "ObjC"
1977
2336
  ],
1978
2337
  "superclassUsr": "c:objc(cs)NSObject",
2338
+ "hasMissingDesignatedInitializers": true,
2339
+ "inheritsConvenienceInitializers": true,
1979
2340
  "superclassNames": [
1980
2341
  "ObjectiveC.NSObject"
1981
2342
  ],
@@ -2045,284 +2406,81 @@
2045
2406
  }
2046
2407
  ]
2047
2408
  },
2048
- {
2049
- "kind": "Import",
2050
- "name": "Foundation",
2051
- "printedName": "Foundation",
2052
- "declKind": "Import",
2053
- "moduleName": "DavoiceTTS",
2054
- "declAttributes": [
2055
- "RawDocComment"
2056
- ]
2057
- },
2058
- {
2059
- "kind": "Import",
2060
- "name": "UIKit",
2061
- "printedName": "UIKit",
2062
- "declKind": "Import",
2063
- "moduleName": "DavoiceTTS"
2064
- },
2065
- {
2066
- "kind": "Import",
2067
- "name": "Speech",
2068
- "printedName": "Speech",
2069
- "declKind": "Import",
2070
- "moduleName": "DavoiceTTS"
2071
- },
2072
- {
2073
- "kind": "Import",
2074
- "name": "Accelerate",
2075
- "printedName": "Accelerate",
2076
- "declKind": "Import",
2077
- "moduleName": "DavoiceTTS"
2078
- },
2079
- {
2080
- "kind": "Import",
2081
- "name": "AVFAudio",
2082
- "printedName": "AVFAudio",
2083
- "declKind": "Import",
2084
- "moduleName": "DavoiceTTS"
2085
- },
2086
- {
2087
- "kind": "TypeDecl",
2088
- "name": "STTDelegate",
2089
- "printedName": "STTDelegate",
2090
- "children": [
2091
- {
2092
- "kind": "Function",
2093
- "name": "stt",
2094
- "printedName": "stt(_:didEmitEvent:body:)",
2095
- "children": [
2096
- {
2097
- "kind": "TypeNominal",
2098
- "name": "Void",
2099
- "printedName": "()"
2100
- },
2101
- {
2102
- "kind": "TypeNominal",
2103
- "name": "STT",
2104
- "printedName": "DavoiceTTS.STT",
2105
- "usr": "c:@M@DavoiceTTS@objc(cs)STT"
2106
- },
2107
- {
2108
- "kind": "TypeNominal",
2109
- "name": "String",
2110
- "printedName": "Swift.String",
2111
- "usr": "s:SS"
2112
- },
2113
- {
2114
- "kind": "TypeNominal",
2115
- "name": "Optional",
2116
- "printedName": "[Swift.String : Any]?",
2117
- "children": [
2118
- {
2119
- "kind": "TypeNominal",
2120
- "name": "Dictionary",
2121
- "printedName": "[Swift.String : Any]",
2122
- "children": [
2123
- {
2124
- "kind": "TypeNominal",
2125
- "name": "String",
2126
- "printedName": "Swift.String",
2127
- "usr": "s:SS"
2128
- },
2129
- {
2130
- "kind": "TypeNominal",
2131
- "name": "ProtocolComposition",
2132
- "printedName": "Any"
2133
- }
2134
- ],
2135
- "usr": "s:SD"
2136
- }
2137
- ],
2138
- "usr": "s:Sq"
2139
- }
2140
- ],
2141
- "declKind": "Func",
2142
- "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate(im)stt:didEmitEvent:body:",
2143
- "mangledName": "$s10DavoiceTTS11STTDelegateP3stt_12didEmitEvent4bodyyAA3STTC_SSSDySSypGSgtF",
2144
- "moduleName": "DavoiceTTS",
2145
- "genericSig": "<τ_0_0 where τ_0_0 : DavoiceTTS.STTDelegate>",
2146
- "sugared_genericSig": "<Self where Self : DavoiceTTS.STTDelegate>",
2147
- "protocolReq": true,
2148
- "declAttributes": [
2149
- "ObjC"
2150
- ],
2151
- "reqNewWitnessTableEntry": true,
2152
- "funcSelfKind": "NonMutating"
2153
- }
2154
- ],
2155
- "declKind": "Protocol",
2156
- "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate",
2157
- "mangledName": "$s10DavoiceTTS11STTDelegateP",
2158
- "moduleName": "DavoiceTTS",
2159
- "genericSig": "<τ_0_0 : AnyObject>",
2160
- "sugared_genericSig": "<Self : AnyObject>",
2161
- "declAttributes": [
2162
- "AccessControl",
2163
- "ObjC",
2164
- "RawDocComment"
2165
- ],
2166
- "conformances": [
2167
- {
2168
- "kind": "Conformance",
2169
- "name": "Escapable",
2170
- "printedName": "Escapable",
2171
- "usr": "s:s9EscapableP",
2172
- "mangledName": "$ss9EscapableP"
2173
- },
2174
- {
2175
- "kind": "Conformance",
2176
- "name": "Copyable",
2177
- "printedName": "Copyable",
2178
- "usr": "s:s8CopyableP",
2179
- "mangledName": "$ss8CopyableP"
2180
- }
2181
- ]
2182
- },
2183
2409
  {
2184
2410
  "kind": "TypeDecl",
2185
- "name": "STT",
2186
- "printedName": "STT",
2411
+ "name": "DaVoiceTTS",
2412
+ "printedName": "DaVoiceTTS",
2187
2413
  "children": [
2188
2414
  {
2189
- "kind": "Var",
2190
- "name": "delegate",
2191
- "printedName": "delegate",
2192
- "children": [
2193
- {
2194
- "kind": "TypeNominal",
2195
- "name": "WeakStorage",
2196
- "printedName": "(any DavoiceTTS.STTDelegate)?"
2197
- }
2198
- ],
2199
- "declKind": "Var",
2200
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(py)delegate",
2201
- "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvp",
2415
+ "kind": "TypeDecl",
2416
+ "name": "Config",
2417
+ "printedName": "Config",
2418
+ "declKind": "Struct",
2419
+ "usr": "s:10DavoiceTTS07DaVoiceB0C6ConfigV",
2420
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C6ConfigV",
2202
2421
  "moduleName": "DavoiceTTS",
2203
2422
  "declAttributes": [
2204
- "HasInitialValue",
2205
- "Final",
2206
- "HasStorage",
2207
- "ReferenceOwnership",
2208
- "AccessControl",
2209
- "ObjC"
2423
+ "AccessControl"
2210
2424
  ],
2211
- "ownership": 1,
2212
- "hasStorage": true,
2213
- "accessors": [
2214
- {
2215
- "kind": "Accessor",
2216
- "name": "Get",
2217
- "printedName": "Get()",
2218
- "children": [
2219
- {
2220
- "kind": "TypeNominal",
2221
- "name": "Optional",
2222
- "printedName": "(any DavoiceTTS.STTDelegate)?",
2223
- "children": [
2224
- {
2225
- "kind": "TypeNominal",
2226
- "name": "STTDelegate",
2227
- "printedName": "any DavoiceTTS.STTDelegate",
2228
- "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate"
2229
- }
2230
- ],
2231
- "usr": "s:Sq"
2232
- }
2233
- ],
2234
- "declKind": "Accessor",
2235
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)delegate",
2236
- "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvg",
2237
- "moduleName": "DavoiceTTS",
2238
- "implicit": true,
2239
- "declAttributes": [
2240
- "Final",
2241
- "ObjC"
2242
- ],
2243
- "accessorKind": "get"
2244
- },
2425
+ "conformances": [
2245
2426
  {
2246
- "kind": "Accessor",
2247
- "name": "Set",
2248
- "printedName": "Set()",
2249
- "children": [
2250
- {
2251
- "kind": "TypeNominal",
2252
- "name": "Void",
2253
- "printedName": "()"
2254
- },
2255
- {
2256
- "kind": "TypeNominal",
2257
- "name": "Optional",
2258
- "printedName": "(any DavoiceTTS.STTDelegate)?",
2259
- "children": [
2260
- {
2261
- "kind": "TypeNominal",
2262
- "name": "STTDelegate",
2263
- "printedName": "any DavoiceTTS.STTDelegate",
2264
- "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate"
2265
- }
2266
- ],
2267
- "usr": "s:Sq"
2268
- }
2269
- ],
2270
- "declKind": "Accessor",
2271
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)setDelegate:",
2272
- "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvs",
2273
- "moduleName": "DavoiceTTS",
2274
- "implicit": true,
2275
- "declAttributes": [
2276
- "Final",
2277
- "ObjC"
2278
- ],
2279
- "accessorKind": "set"
2427
+ "kind": "Conformance",
2428
+ "name": "Copyable",
2429
+ "printedName": "Copyable",
2430
+ "usr": "s:s8CopyableP",
2431
+ "mangledName": "$ss8CopyableP"
2280
2432
  },
2281
2433
  {
2282
- "kind": "Accessor",
2283
- "name": "Modify",
2284
- "printedName": "Modify()",
2285
- "children": [
2286
- {
2287
- "kind": "TypeNominal",
2288
- "name": "Void",
2289
- "printedName": "()"
2290
- }
2291
- ],
2292
- "declKind": "Accessor",
2293
- "usr": "s:10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvM",
2294
- "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvM",
2295
- "moduleName": "DavoiceTTS",
2296
- "implicit": true,
2297
- "declAttributes": [
2298
- "Final"
2299
- ],
2300
- "accessorKind": "_modify"
2434
+ "kind": "Conformance",
2435
+ "name": "Escapable",
2436
+ "printedName": "Escapable",
2437
+ "usr": "s:s9EscapableP",
2438
+ "mangledName": "$ss9EscapableP"
2301
2439
  }
2302
2440
  ]
2303
2441
  },
2304
2442
  {
2305
2443
  "kind": "Var",
2306
- "name": "continuous",
2307
- "printedName": "continuous",
2444
+ "name": "onLastUtteranceFinished",
2445
+ "printedName": "onLastUtteranceFinished",
2308
2446
  "children": [
2309
2447
  {
2310
2448
  "kind": "TypeNominal",
2311
- "name": "Bool",
2312
- "printedName": "Swift.Bool",
2313
- "usr": "s:Sb"
2449
+ "name": "Optional",
2450
+ "printedName": "(() -> ())?",
2451
+ "children": [
2452
+ {
2453
+ "kind": "TypeFunc",
2454
+ "name": "Function",
2455
+ "printedName": "() -> ()",
2456
+ "children": [
2457
+ {
2458
+ "kind": "TypeNominal",
2459
+ "name": "Void",
2460
+ "printedName": "()"
2461
+ },
2462
+ {
2463
+ "kind": "TypeNominal",
2464
+ "name": "Void",
2465
+ "printedName": "()"
2466
+ }
2467
+ ]
2468
+ }
2469
+ ],
2470
+ "usr": "s:Sq"
2314
2471
  }
2315
2472
  ],
2316
2473
  "declKind": "Var",
2317
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(py)continuous",
2318
- "mangledName": "$s10DavoiceTTS3STTC10continuousSbvp",
2474
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(py)onLastUtteranceFinished",
2475
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvp",
2319
2476
  "moduleName": "DavoiceTTS",
2320
2477
  "declAttributes": [
2321
2478
  "HasInitialValue",
2322
2479
  "Final",
2323
2480
  "HasStorage",
2324
2481
  "AccessControl",
2325
- "ObjC"
2482
+ "ObjC",
2483
+ "RawDocComment"
2326
2484
  ],
2327
2485
  "hasStorage": true,
2328
2486
  "accessors": [
@@ -2333,14 +2491,33 @@
2333
2491
  "children": [
2334
2492
  {
2335
2493
  "kind": "TypeNominal",
2336
- "name": "Bool",
2337
- "printedName": "Swift.Bool",
2338
- "usr": "s:Sb"
2494
+ "name": "Optional",
2495
+ "printedName": "(() -> ())?",
2496
+ "children": [
2497
+ {
2498
+ "kind": "TypeFunc",
2499
+ "name": "Function",
2500
+ "printedName": "() -> ()",
2501
+ "children": [
2502
+ {
2503
+ "kind": "TypeNominal",
2504
+ "name": "Void",
2505
+ "printedName": "()"
2506
+ },
2507
+ {
2508
+ "kind": "TypeNominal",
2509
+ "name": "Void",
2510
+ "printedName": "()"
2511
+ }
2512
+ ]
2513
+ }
2514
+ ],
2515
+ "usr": "s:Sq"
2339
2516
  }
2340
2517
  ],
2341
2518
  "declKind": "Accessor",
2342
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)continuous",
2343
- "mangledName": "$s10DavoiceTTS3STTC10continuousSbvg",
2519
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)onLastUtteranceFinished",
2520
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvg",
2344
2521
  "moduleName": "DavoiceTTS",
2345
2522
  "implicit": true,
2346
2523
  "declAttributes": [
@@ -2361,14 +2538,33 @@
2361
2538
  },
2362
2539
  {
2363
2540
  "kind": "TypeNominal",
2364
- "name": "Bool",
2365
- "printedName": "Swift.Bool",
2366
- "usr": "s:Sb"
2541
+ "name": "Optional",
2542
+ "printedName": "(() -> ())?",
2543
+ "children": [
2544
+ {
2545
+ "kind": "TypeFunc",
2546
+ "name": "Function",
2547
+ "printedName": "() -> ()",
2548
+ "children": [
2549
+ {
2550
+ "kind": "TypeNominal",
2551
+ "name": "Void",
2552
+ "printedName": "()"
2553
+ },
2554
+ {
2555
+ "kind": "TypeNominal",
2556
+ "name": "Void",
2557
+ "printedName": "()"
2558
+ }
2559
+ ]
2560
+ }
2561
+ ],
2562
+ "usr": "s:Sq"
2367
2563
  }
2368
2564
  ],
2369
2565
  "declKind": "Accessor",
2370
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)setContinuous:",
2371
- "mangledName": "$s10DavoiceTTS3STTC10continuousSbvs",
2566
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)setOnLastUtteranceFinished:",
2567
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvs",
2372
2568
  "moduleName": "DavoiceTTS",
2373
2569
  "implicit": true,
2374
2570
  "declAttributes": [
@@ -2389,8 +2585,8 @@
2389
2585
  }
2390
2586
  ],
2391
2587
  "declKind": "Accessor",
2392
- "usr": "s:10DavoiceTTS3STTC10continuousSbvM",
2393
- "mangledName": "$s10DavoiceTTS3STTC10continuousSbvM",
2588
+ "usr": "s:10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvM",
2589
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvM",
2394
2590
  "moduleName": "DavoiceTTS",
2395
2591
  "implicit": true,
2396
2592
  "declAttributes": [
@@ -2401,143 +2597,39 @@
2401
2597
  ]
2402
2598
  },
2403
2599
  {
2404
- "kind": "Var",
2405
- "name": "supportedEvents",
2406
- "printedName": "supportedEvents",
2407
- "children": [
2408
- {
2409
- "kind": "TypeNominal",
2410
- "name": "Array",
2411
- "printedName": "[Swift.String]",
2412
- "children": [
2413
- {
2414
- "kind": "TypeNominal",
2415
- "name": "String",
2416
- "printedName": "Swift.String",
2417
- "usr": "s:SS"
2418
- }
2419
- ],
2420
- "usr": "s:Sa"
2421
- }
2422
- ],
2423
- "declKind": "Var",
2424
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(cpy)supportedEvents",
2425
- "mangledName": "$s10DavoiceTTS3STTC15supportedEventsSaySSGvpZ",
2426
- "moduleName": "DavoiceTTS",
2427
- "static": true,
2428
- "declAttributes": [
2429
- "HasInitialValue",
2430
- "Final",
2431
- "HasStorage",
2432
- "AccessControl",
2433
- "RawDocComment",
2434
- "ObjC"
2435
- ],
2436
- "isLet": true,
2437
- "hasStorage": true,
2438
- "accessors": [
2439
- {
2440
- "kind": "Accessor",
2441
- "name": "Get",
2442
- "printedName": "Get()",
2443
- "children": [
2444
- {
2445
- "kind": "TypeNominal",
2446
- "name": "Array",
2447
- "printedName": "[Swift.String]",
2448
- "children": [
2449
- {
2450
- "kind": "TypeNominal",
2451
- "name": "String",
2452
- "printedName": "Swift.String",
2453
- "usr": "s:SS"
2454
- }
2455
- ],
2456
- "usr": "s:Sa"
2457
- }
2458
- ],
2459
- "declKind": "Accessor",
2460
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(cm)supportedEvents",
2461
- "mangledName": "$s10DavoiceTTS3STTC15supportedEventsSaySSGvgZ",
2462
- "moduleName": "DavoiceTTS",
2463
- "static": true,
2464
- "implicit": true,
2465
- "declAttributes": [
2466
- "Final",
2467
- "ObjC"
2468
- ],
2469
- "accessorKind": "get"
2470
- }
2471
- ]
2472
- },
2473
- {
2474
- "kind": "Function",
2475
- "name": "isSpeechAvailable",
2476
- "printedName": "isSpeechAvailable(_:)",
2600
+ "kind": "Constructor",
2601
+ "name": "init",
2602
+ "printedName": "init(model:)",
2477
2603
  "children": [
2478
2604
  {
2479
2605
  "kind": "TypeNominal",
2480
- "name": "Void",
2481
- "printedName": "()"
2606
+ "name": "DaVoiceTTS",
2607
+ "printedName": "DavoiceTTS.DaVoiceTTS",
2608
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS"
2482
2609
  },
2483
- {
2484
- "kind": "TypeFunc",
2485
- "name": "Function",
2486
- "printedName": "(Swift.Bool) -> ()",
2487
- "children": [
2488
- {
2489
- "kind": "TypeNominal",
2490
- "name": "Void",
2491
- "printedName": "()"
2492
- },
2493
- {
2494
- "kind": "TypeNominal",
2495
- "name": "Bool",
2496
- "printedName": "Swift.Bool",
2497
- "usr": "s:Sb"
2498
- }
2499
- ]
2500
- }
2501
- ],
2502
- "declKind": "Func",
2503
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isSpeechAvailable:",
2504
- "mangledName": "$s10DavoiceTTS3STTC17isSpeechAvailableyyySbcF",
2505
- "moduleName": "DavoiceTTS",
2506
- "declAttributes": [
2507
- "Final",
2508
- "AccessControl",
2509
- "RawDocComment",
2510
- "ObjC"
2511
- ],
2512
- "funcSelfKind": "NonMutating"
2513
- },
2514
- {
2515
- "kind": "Function",
2516
- "name": "isRecognizing",
2517
- "printedName": "isRecognizing()",
2518
- "children": [
2519
2610
  {
2520
2611
  "kind": "TypeNominal",
2521
- "name": "Bool",
2522
- "printedName": "Swift.Bool",
2523
- "usr": "s:Sb"
2612
+ "name": "URL",
2613
+ "printedName": "Foundation.URL",
2614
+ "usr": "s:10Foundation3URLV"
2524
2615
  }
2525
2616
  ],
2526
- "declKind": "Func",
2527
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isRecognizing",
2528
- "mangledName": "$s10DavoiceTTS3STTC13isRecognizingSbyF",
2617
+ "declKind": "Constructor",
2618
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)initWithModel:error:",
2619
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C5modelAC10Foundation3URLV_tKcfc",
2529
2620
  "moduleName": "DavoiceTTS",
2621
+ "objc_name": "initWithModel:error:",
2530
2622
  "declAttributes": [
2531
- "Final",
2532
2623
  "AccessControl",
2533
2624
  "ObjC"
2534
2625
  ],
2535
- "funcSelfKind": "NonMutating"
2626
+ "throwing": true,
2627
+ "init_kind": "Designated"
2536
2628
  },
2537
2629
  {
2538
2630
  "kind": "Function",
2539
- "name": "pauseMicrophone",
2540
- "printedName": "pauseMicrophone()",
2631
+ "name": "stopSpeaking",
2632
+ "printedName": "stopSpeaking()",
2541
2633
  "children": [
2542
2634
  {
2543
2635
  "kind": "TypeNominal",
@@ -2546,8 +2638,8 @@
2546
2638
  }
2547
2639
  ],
2548
2640
  "declKind": "Func",
2549
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)pauseMicrophone",
2550
- "mangledName": "$s10DavoiceTTS3STTC15pauseMicrophoneyyF",
2641
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)stopSpeaking",
2642
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C12stopSpeakingyyF",
2551
2643
  "moduleName": "DavoiceTTS",
2552
2644
  "declAttributes": [
2553
2645
  "Final",
@@ -2559,8 +2651,8 @@
2559
2651
  },
2560
2652
  {
2561
2653
  "kind": "Function",
2562
- "name": "unPauseMicrophone",
2563
- "printedName": "unPauseMicrophone()",
2654
+ "name": "destroy",
2655
+ "printedName": "destroy()",
2564
2656
  "children": [
2565
2657
  {
2566
2658
  "kind": "TypeNominal",
@@ -2569,20 +2661,21 @@
2569
2661
  }
2570
2662
  ],
2571
2663
  "declKind": "Func",
2572
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)unPauseMicrophone",
2573
- "mangledName": "$s10DavoiceTTS3STTC17unPauseMicrophoneyyF",
2664
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)destroy",
2665
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C7destroyyyF",
2574
2666
  "moduleName": "DavoiceTTS",
2575
2667
  "declAttributes": [
2576
2668
  "Final",
2577
2669
  "AccessControl",
2578
- "ObjC"
2670
+ "ObjC",
2671
+ "RawDocComment"
2579
2672
  ],
2580
2673
  "funcSelfKind": "NonMutating"
2581
2674
  },
2582
2675
  {
2583
2676
  "kind": "Function",
2584
- "name": "startSpeech",
2585
- "printedName": "startSpeech(localeStr:)",
2677
+ "name": "speak",
2678
+ "printedName": "speak(_:sid:)",
2586
2679
  "children": [
2587
2680
  {
2588
2681
  "kind": "TypeNominal",
@@ -2591,22 +2684,21 @@
2591
2684
  },
2592
2685
  {
2593
2686
  "kind": "TypeNominal",
2594
- "name": "Optional",
2595
- "printedName": "Swift.String?",
2596
- "children": [
2597
- {
2598
- "kind": "TypeNominal",
2599
- "name": "String",
2600
- "printedName": "Swift.String",
2601
- "usr": "s:SS"
2602
- }
2603
- ],
2604
- "usr": "s:Sq"
2687
+ "name": "String",
2688
+ "printedName": "Swift.String",
2689
+ "usr": "s:SS"
2690
+ },
2691
+ {
2692
+ "kind": "TypeNominal",
2693
+ "name": "Int32",
2694
+ "printedName": "Swift.Int32",
2695
+ "hasDefaultArg": true,
2696
+ "usr": "s:s5Int32V"
2605
2697
  }
2606
2698
  ],
2607
2699
  "declKind": "Func",
2608
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)startSpeechWithLocaleStr:",
2609
- "mangledName": "$s10DavoiceTTS3STTC11startSpeech9localeStrySSSg_tF",
2700
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)speak:sid:",
2701
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C5speak_3sidySS_s5Int32VtF",
2610
2702
  "moduleName": "DavoiceTTS",
2611
2703
  "declAttributes": [
2612
2704
  "Final",
@@ -2617,134 +2709,57 @@
2617
2709
  },
2618
2710
  {
2619
2711
  "kind": "Function",
2620
- "name": "stopSpeech",
2621
- "printedName": "stopSpeech(_:)",
2712
+ "name": "synthesize",
2713
+ "printedName": "synthesize(_:speakerId:token:terminal:)",
2622
2714
  "children": [
2623
2715
  {
2624
2716
  "kind": "TypeNominal",
2625
- "name": "Void",
2626
- "printedName": "()"
2627
- },
2628
- {
2629
- "kind": "TypeNominal",
2630
- "name": "Optional",
2631
- "printedName": "((Swift.Bool) -> ())?",
2717
+ "name": "Tuple",
2718
+ "printedName": "(AVFAudio.AVAudioPCMBuffer, Swift.Int)",
2632
2719
  "children": [
2633
2720
  {
2634
- "kind": "TypeFunc",
2635
- "name": "Function",
2636
- "printedName": "(Swift.Bool) -> ()",
2637
- "children": [
2638
- {
2639
- "kind": "TypeNominal",
2640
- "name": "Void",
2641
- "printedName": "()"
2642
- },
2643
- {
2644
- "kind": "TypeNominal",
2645
- "name": "Bool",
2646
- "printedName": "Swift.Bool",
2647
- "usr": "s:Sb"
2648
- }
2649
- ]
2721
+ "kind": "TypeNominal",
2722
+ "name": "AVAudioPCMBuffer",
2723
+ "printedName": "AVFAudio.AVAudioPCMBuffer",
2724
+ "usr": "c:objc(cs)AVAudioPCMBuffer"
2725
+ },
2726
+ {
2727
+ "kind": "TypeNominal",
2728
+ "name": "Int",
2729
+ "printedName": "Swift.Int",
2730
+ "usr": "s:Si"
2650
2731
  }
2651
- ],
2652
- "hasDefaultArg": true,
2653
- "usr": "s:Sq"
2654
- }
2655
- ],
2656
- "declKind": "Func",
2657
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)stopSpeech:",
2658
- "mangledName": "$s10DavoiceTTS3STTC10stopSpeechyyySbcSgF",
2659
- "moduleName": "DavoiceTTS",
2660
- "declAttributes": [
2661
- "Final",
2662
- "AccessControl",
2663
- "ObjC"
2664
- ],
2665
- "funcSelfKind": "NonMutating"
2666
- },
2667
- {
2668
- "kind": "Function",
2669
- "name": "cancelSpeech",
2670
- "printedName": "cancelSpeech(_:)",
2671
- "children": [
2732
+ ]
2733
+ },
2672
2734
  {
2673
2735
  "kind": "TypeNominal",
2674
- "name": "Void",
2675
- "printedName": "()"
2736
+ "name": "String",
2737
+ "printedName": "Swift.String",
2738
+ "usr": "s:SS"
2676
2739
  },
2677
2740
  {
2678
2741
  "kind": "TypeNominal",
2679
- "name": "Optional",
2680
- "printedName": "((Swift.Bool) -> ())?",
2681
- "children": [
2682
- {
2683
- "kind": "TypeFunc",
2684
- "name": "Function",
2685
- "printedName": "(Swift.Bool) -> ()",
2686
- "children": [
2687
- {
2688
- "kind": "TypeNominal",
2689
- "name": "Void",
2690
- "printedName": "()"
2691
- },
2692
- {
2693
- "kind": "TypeNominal",
2694
- "name": "Bool",
2695
- "printedName": "Swift.Bool",
2696
- "usr": "s:Sb"
2697
- }
2698
- ]
2699
- }
2700
- ],
2742
+ "name": "Int32",
2743
+ "printedName": "Swift.Int32",
2701
2744
  "hasDefaultArg": true,
2702
- "usr": "s:Sq"
2703
- }
2704
- ],
2705
- "declKind": "Func",
2706
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)cancelSpeech:",
2707
- "mangledName": "$s10DavoiceTTS3STTC12cancelSpeechyyySbcSgF",
2708
- "moduleName": "DavoiceTTS",
2709
- "declAttributes": [
2710
- "Final",
2711
- "AccessControl",
2712
- "ObjC"
2713
- ],
2714
- "funcSelfKind": "NonMutating"
2715
- },
2716
- {
2717
- "kind": "Function",
2718
- "name": "destroySpeech",
2719
- "printedName": "destroySpeech(_:)",
2720
- "children": [
2745
+ "usr": "s:s5Int32V"
2746
+ },
2721
2747
  {
2722
2748
  "kind": "TypeNominal",
2723
- "name": "Void",
2724
- "printedName": "()"
2749
+ "name": "UUID",
2750
+ "printedName": "Foundation.UUID",
2751
+ "usr": "s:10Foundation4UUIDV"
2725
2752
  },
2726
2753
  {
2727
2754
  "kind": "TypeNominal",
2728
2755
  "name": "Optional",
2729
- "printedName": "((Swift.Bool) -> ())?",
2756
+ "printedName": "Swift.Character?",
2730
2757
  "children": [
2731
2758
  {
2732
- "kind": "TypeFunc",
2733
- "name": "Function",
2734
- "printedName": "(Swift.Bool) -> ()",
2735
- "children": [
2736
- {
2737
- "kind": "TypeNominal",
2738
- "name": "Void",
2739
- "printedName": "()"
2740
- },
2741
- {
2742
- "kind": "TypeNominal",
2743
- "name": "Bool",
2744
- "printedName": "Swift.Bool",
2745
- "usr": "s:Sb"
2746
- }
2747
- ]
2759
+ "kind": "TypeNominal",
2760
+ "name": "Character",
2761
+ "printedName": "Swift.Character",
2762
+ "usr": "s:SJ"
2748
2763
  }
2749
2764
  ],
2750
2765
  "hasDefaultArg": true,
@@ -2752,72 +2767,58 @@
2752
2767
  }
2753
2768
  ],
2754
2769
  "declKind": "Func",
2755
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)destroySpeech:",
2756
- "mangledName": "$s10DavoiceTTS3STTC13destroySpeechyyySbcSgF",
2770
+ "usr": "s:10DavoiceTTS07DaVoiceB0C10synthesize_9speakerId5token8terminalSo16AVAudioPCMBufferC_SitSS_s5Int32V10Foundation4UUIDVSJSgtKF",
2771
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C10synthesize_9speakerId5token8terminalSo16AVAudioPCMBufferC_SitSS_s5Int32V10Foundation4UUIDVSJSgtKF",
2757
2772
  "moduleName": "DavoiceTTS",
2758
2773
  "declAttributes": [
2759
2774
  "Final",
2760
- "AccessControl",
2761
- "ObjC"
2775
+ "AccessControl"
2762
2776
  ],
2777
+ "throwing": true,
2763
2778
  "funcSelfKind": "NonMutating"
2764
2779
  },
2765
2780
  {
2766
2781
  "kind": "Function",
2767
- "name": "teardown",
2768
- "printedName": "teardown()",
2782
+ "name": "synthesize_top",
2783
+ "printedName": "synthesize_top(_:speakerId:token:)",
2769
2784
  "children": [
2770
2785
  {
2771
2786
  "kind": "TypeNominal",
2772
- "name": "Void",
2773
- "printedName": "()"
2774
- }
2775
- ],
2776
- "declKind": "Func",
2777
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)teardown",
2778
- "mangledName": "$s10DavoiceTTS3STTC8teardownyyF",
2779
- "moduleName": "DavoiceTTS",
2780
- "declAttributes": [
2781
- "Final",
2782
- "AccessControl",
2783
- "ObjC"
2784
- ],
2785
- "funcSelfKind": "NonMutating"
2786
- },
2787
- {
2788
- "kind": "Function",
2789
- "name": "speechRecognizer",
2790
- "printedName": "speechRecognizer(_:availabilityDidChange:)",
2791
- "children": [
2787
+ "name": "AVAudioPCMBuffer",
2788
+ "printedName": "AVFAudio.AVAudioPCMBuffer",
2789
+ "usr": "c:objc(cs)AVAudioPCMBuffer"
2790
+ },
2792
2791
  {
2793
2792
  "kind": "TypeNominal",
2794
- "name": "Void",
2795
- "printedName": "()"
2793
+ "name": "String",
2794
+ "printedName": "Swift.String",
2795
+ "usr": "s:SS"
2796
2796
  },
2797
2797
  {
2798
2798
  "kind": "TypeNominal",
2799
- "name": "SFSpeechRecognizer",
2800
- "printedName": "Speech.SFSpeechRecognizer",
2801
- "usr": "c:objc(cs)SFSpeechRecognizer"
2799
+ "name": "Int32",
2800
+ "printedName": "Swift.Int32",
2801
+ "hasDefaultArg": true,
2802
+ "usr": "s:s5Int32V"
2802
2803
  },
2803
2804
  {
2804
2805
  "kind": "TypeNominal",
2805
- "name": "Bool",
2806
- "printedName": "Swift.Bool",
2807
- "usr": "s:Sb"
2806
+ "name": "UUID",
2807
+ "printedName": "Foundation.UUID",
2808
+ "usr": "s:10Foundation4UUIDV"
2808
2809
  }
2809
2810
  ],
2810
2811
  "declKind": "Func",
2811
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)speechRecognizer:availabilityDidChange:",
2812
- "mangledName": "$s10DavoiceTTS3STTC16speechRecognizer_21availabilityDidChangeySo08SFSpeechE0C_SbtF",
2812
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)synthesize_top:speakerId:token:error:",
2813
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C14synthesize_top_9speakerId5tokenSo16AVAudioPCMBufferCSS_s5Int32V10Foundation4UUIDVtKF",
2813
2814
  "moduleName": "DavoiceTTS",
2814
- "objc_name": "speechRecognizer:availabilityDidChange:",
2815
2815
  "declAttributes": [
2816
2816
  "Final",
2817
- "ObjC",
2818
2817
  "AccessControl",
2819
- "RawDocComment"
2818
+ "RawDocComment",
2819
+ "ObjC"
2820
2820
  ],
2821
+ "throwing": true,
2821
2822
  "funcSelfKind": "NonMutating"
2822
2823
  },
2823
2824
  {
@@ -2827,14 +2828,14 @@
2827
2828
  "children": [
2828
2829
  {
2829
2830
  "kind": "TypeNominal",
2830
- "name": "STT",
2831
- "printedName": "DavoiceTTS.STT",
2832
- "usr": "c:@M@DavoiceTTS@objc(cs)STT"
2831
+ "name": "DaVoiceTTS",
2832
+ "printedName": "DavoiceTTS.DaVoiceTTS",
2833
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS"
2833
2834
  }
2834
2835
  ],
2835
2836
  "declKind": "Constructor",
2836
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)init",
2837
- "mangledName": "$s10DavoiceTTS3STTCACycfc",
2837
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)init",
2838
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0CACycfc",
2838
2839
  "moduleName": "DavoiceTTS",
2839
2840
  "overriding": true,
2840
2841
  "implicit": true,
@@ -2848,8 +2849,8 @@
2848
2849
  }
2849
2850
  ],
2850
2851
  "declKind": "Class",
2851
- "usr": "c:@M@DavoiceTTS@objc(cs)STT",
2852
- "mangledName": "$s10DavoiceTTS3STTC",
2852
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS",
2853
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C",
2853
2854
  "moduleName": "DavoiceTTS",
2854
2855
  "declAttributes": [
2855
2856
  "Final",
@@ -2858,7 +2859,6 @@
2858
2859
  "ObjC"
2859
2860
  ],
2860
2861
  "superclassUsr": "c:objc(cs)NSObject",
2861
- "inheritsConvenienceInitializers": true,
2862
2862
  "superclassNames": [
2863
2863
  "ObjectiveC.NSObject"
2864
2864
  ],
@@ -2932,6 +2932,258 @@
2932
2932
  "json_format_version": 8
2933
2933
  },
2934
2934
  "ConstValues": [
2935
+ {
2936
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2937
+ "kind": "BooleanLiteral",
2938
+ "offset": 458,
2939
+ "length": 4,
2940
+ "value": "true"
2941
+ },
2942
+ {
2943
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2944
+ "kind": "BooleanLiteral",
2945
+ "offset": 802,
2946
+ "length": 5,
2947
+ "value": "false"
2948
+ },
2949
+ {
2950
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2951
+ "kind": "IntegerLiteral",
2952
+ "offset": 953,
2953
+ "length": 1,
2954
+ "value": "0"
2955
+ },
2956
+ {
2957
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2958
+ "kind": "IntegerLiteral",
2959
+ "offset": 1004,
2960
+ "length": 1,
2961
+ "value": "0"
2962
+ },
2963
+ {
2964
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2965
+ "kind": "BooleanLiteral",
2966
+ "offset": 1089,
2967
+ "length": 5,
2968
+ "value": "false"
2969
+ },
2970
+ {
2971
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2972
+ "kind": "IntegerLiteral",
2973
+ "offset": 1194,
2974
+ "length": 1,
2975
+ "value": "0"
2976
+ },
2977
+ {
2978
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2979
+ "kind": "FloatLiteral",
2980
+ "offset": 1280,
2981
+ "length": 3,
2982
+ "value": "4.0"
2983
+ },
2984
+ {
2985
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2986
+ "kind": "IntegerLiteral",
2987
+ "offset": 1416,
2988
+ "length": 1,
2989
+ "value": "0"
2990
+ },
2991
+ {
2992
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2993
+ "kind": "FloatLiteral",
2994
+ "offset": 1468,
2995
+ "length": 3,
2996
+ "value": "1.0"
2997
+ },
2998
+ {
2999
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3000
+ "kind": "IntegerLiteral",
3001
+ "offset": 1547,
3002
+ "length": 1,
3003
+ "value": "0"
3004
+ },
3005
+ {
3006
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3007
+ "kind": "IntegerLiteral",
3008
+ "offset": 1622,
3009
+ "length": 1,
3010
+ "value": "0"
3011
+ },
3012
+ {
3013
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3014
+ "kind": "IntegerLiteral",
3015
+ "offset": 1717,
3016
+ "length": 1,
3017
+ "value": "0"
3018
+ },
3019
+ {
3020
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3021
+ "kind": "IntegerLiteral",
3022
+ "offset": 1797,
3023
+ "length": 1,
3024
+ "value": "0"
3025
+ },
3026
+ {
3027
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3028
+ "kind": "FloatLiteral",
3029
+ "offset": 1848,
3030
+ "length": 3,
3031
+ "value": "8.0"
3032
+ },
3033
+ {
3034
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3035
+ "kind": "FloatLiteral",
3036
+ "offset": 1949,
3037
+ "length": 3,
3038
+ "value": "2.0"
3039
+ },
3040
+ {
3041
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3042
+ "kind": "IntegerLiteral",
3043
+ "offset": 1999,
3044
+ "length": 1,
3045
+ "value": "0"
3046
+ },
3047
+ {
3048
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3049
+ "kind": "BooleanLiteral",
3050
+ "offset": 2029,
3051
+ "length": 5,
3052
+ "value": "false"
3053
+ },
3054
+ {
3055
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3056
+ "kind": "IntegerLiteral",
3057
+ "offset": 2075,
3058
+ "length": 1,
3059
+ "value": "0"
3060
+ },
3061
+ {
3062
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3063
+ "kind": "IntegerLiteral",
3064
+ "offset": 2146,
3065
+ "length": 1,
3066
+ "value": "0"
3067
+ },
3068
+ {
3069
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3070
+ "kind": "IntegerLiteral",
3071
+ "offset": 2197,
3072
+ "length": 1,
3073
+ "value": "0"
3074
+ },
3075
+ {
3076
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3077
+ "kind": "StringLiteral",
3078
+ "offset": 2240,
3079
+ "length": 6,
3080
+ "value": "\"cold\""
3081
+ },
3082
+ {
3083
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3084
+ "kind": "BooleanLiteral",
3085
+ "offset": 2312,
3086
+ "length": 5,
3087
+ "value": "false"
3088
+ },
3089
+ {
3090
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3091
+ "kind": "BooleanLiteral",
3092
+ "offset": 2616,
3093
+ "length": 5,
3094
+ "value": "false"
3095
+ },
3096
+ {
3097
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3098
+ "kind": "IntegerLiteral",
3099
+ "offset": 2694,
3100
+ "length": 1,
3101
+ "value": "0"
3102
+ },
3103
+ {
3104
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3105
+ "kind": "FloatLiteral",
3106
+ "offset": 2788,
3107
+ "length": 3,
3108
+ "value": "0.3"
3109
+ },
3110
+ {
3111
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3112
+ "kind": "IntegerLiteral",
3113
+ "offset": 2869,
3114
+ "length": 1,
3115
+ "value": "0"
3116
+ },
3117
+ {
3118
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3119
+ "kind": "BooleanLiteral",
3120
+ "offset": 2930,
3121
+ "length": 5,
3122
+ "value": "false"
3123
+ },
3124
+ {
3125
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3126
+ "kind": "Array",
3127
+ "offset": 2994,
3128
+ "length": 2,
3129
+ "value": "[]"
3130
+ },
3131
+ {
3132
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3133
+ "kind": "StringLiteral",
3134
+ "offset": 3046,
3135
+ "length": 16,
3136
+ "value": "\"stt.tts.serial\""
3137
+ },
3138
+ {
3139
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3140
+ "kind": "BooleanLiteral",
3141
+ "offset": 3135,
3142
+ "length": 5,
3143
+ "value": "false"
3144
+ },
3145
+ {
3146
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3147
+ "kind": "BooleanLiteral",
3148
+ "offset": 3248,
3149
+ "length": 5,
3150
+ "value": "false"
3151
+ },
3152
+ {
3153
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3154
+ "kind": "Array",
3155
+ "offset": 3910,
3156
+ "length": 203,
3157
+ "value": "[\"onSpeechResults\", \"onSpeechStart\", \"onSpeechPartialResults\", \"onSpeechError\", \"onSpeechEnd\", \"onSpeechRecognized\", \"onSpeechVolumeChanged\"]"
3158
+ },
3159
+ {
3160
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3161
+ "kind": "IntegerLiteral",
3162
+ "offset": 4150,
3163
+ "length": 1,
3164
+ "value": "0"
3165
+ },
3166
+ {
3167
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3168
+ "kind": "IntegerLiteral",
3169
+ "offset": 4341,
3170
+ "length": 1,
3171
+ "value": "0"
3172
+ },
3173
+ {
3174
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3175
+ "kind": "BooleanLiteral",
3176
+ "offset": 12625,
3177
+ "length": 4,
3178
+ "value": "true"
3179
+ },
3180
+ {
3181
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3182
+ "kind": "FloatLiteral",
3183
+ "offset": 35724,
3184
+ "length": 3,
3185
+ "value": "0.7"
3186
+ },
2935
3187
  {
2936
3188
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
2937
3189
  "kind": "IntegerLiteral",
@@ -4366,258 +4618,6 @@
4366
4618
  "offset": 44417,
4367
4619
  "length": 1,
4368
4620
  "value": "0"
4369
- },
4370
- {
4371
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4372
- "kind": "BooleanLiteral",
4373
- "offset": 458,
4374
- "length": 4,
4375
- "value": "true"
4376
- },
4377
- {
4378
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4379
- "kind": "BooleanLiteral",
4380
- "offset": 802,
4381
- "length": 5,
4382
- "value": "false"
4383
- },
4384
- {
4385
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4386
- "kind": "IntegerLiteral",
4387
- "offset": 953,
4388
- "length": 1,
4389
- "value": "0"
4390
- },
4391
- {
4392
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4393
- "kind": "IntegerLiteral",
4394
- "offset": 1004,
4395
- "length": 1,
4396
- "value": "0"
4397
- },
4398
- {
4399
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4400
- "kind": "BooleanLiteral",
4401
- "offset": 1089,
4402
- "length": 5,
4403
- "value": "false"
4404
- },
4405
- {
4406
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4407
- "kind": "IntegerLiteral",
4408
- "offset": 1194,
4409
- "length": 1,
4410
- "value": "0"
4411
- },
4412
- {
4413
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4414
- "kind": "FloatLiteral",
4415
- "offset": 1280,
4416
- "length": 3,
4417
- "value": "4.0"
4418
- },
4419
- {
4420
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4421
- "kind": "IntegerLiteral",
4422
- "offset": 1416,
4423
- "length": 1,
4424
- "value": "0"
4425
- },
4426
- {
4427
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4428
- "kind": "FloatLiteral",
4429
- "offset": 1468,
4430
- "length": 3,
4431
- "value": "1.0"
4432
- },
4433
- {
4434
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4435
- "kind": "IntegerLiteral",
4436
- "offset": 1547,
4437
- "length": 1,
4438
- "value": "0"
4439
- },
4440
- {
4441
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4442
- "kind": "IntegerLiteral",
4443
- "offset": 1622,
4444
- "length": 1,
4445
- "value": "0"
4446
- },
4447
- {
4448
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4449
- "kind": "IntegerLiteral",
4450
- "offset": 1717,
4451
- "length": 1,
4452
- "value": "0"
4453
- },
4454
- {
4455
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4456
- "kind": "IntegerLiteral",
4457
- "offset": 1797,
4458
- "length": 1,
4459
- "value": "0"
4460
- },
4461
- {
4462
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4463
- "kind": "FloatLiteral",
4464
- "offset": 1848,
4465
- "length": 3,
4466
- "value": "8.0"
4467
- },
4468
- {
4469
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4470
- "kind": "FloatLiteral",
4471
- "offset": 1949,
4472
- "length": 3,
4473
- "value": "2.0"
4474
- },
4475
- {
4476
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4477
- "kind": "IntegerLiteral",
4478
- "offset": 1999,
4479
- "length": 1,
4480
- "value": "0"
4481
- },
4482
- {
4483
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4484
- "kind": "BooleanLiteral",
4485
- "offset": 2029,
4486
- "length": 5,
4487
- "value": "false"
4488
- },
4489
- {
4490
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4491
- "kind": "IntegerLiteral",
4492
- "offset": 2075,
4493
- "length": 1,
4494
- "value": "0"
4495
- },
4496
- {
4497
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4498
- "kind": "IntegerLiteral",
4499
- "offset": 2146,
4500
- "length": 1,
4501
- "value": "0"
4502
- },
4503
- {
4504
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4505
- "kind": "IntegerLiteral",
4506
- "offset": 2197,
4507
- "length": 1,
4508
- "value": "0"
4509
- },
4510
- {
4511
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4512
- "kind": "StringLiteral",
4513
- "offset": 2240,
4514
- "length": 6,
4515
- "value": "\"cold\""
4516
- },
4517
- {
4518
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4519
- "kind": "BooleanLiteral",
4520
- "offset": 2312,
4521
- "length": 5,
4522
- "value": "false"
4523
- },
4524
- {
4525
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4526
- "kind": "BooleanLiteral",
4527
- "offset": 2616,
4528
- "length": 5,
4529
- "value": "false"
4530
- },
4531
- {
4532
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4533
- "kind": "IntegerLiteral",
4534
- "offset": 2694,
4535
- "length": 1,
4536
- "value": "0"
4537
- },
4538
- {
4539
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4540
- "kind": "FloatLiteral",
4541
- "offset": 2788,
4542
- "length": 3,
4543
- "value": "0.3"
4544
- },
4545
- {
4546
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4547
- "kind": "IntegerLiteral",
4548
- "offset": 2869,
4549
- "length": 1,
4550
- "value": "0"
4551
- },
4552
- {
4553
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4554
- "kind": "BooleanLiteral",
4555
- "offset": 2930,
4556
- "length": 5,
4557
- "value": "false"
4558
- },
4559
- {
4560
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4561
- "kind": "Array",
4562
- "offset": 2994,
4563
- "length": 2,
4564
- "value": "[]"
4565
- },
4566
- {
4567
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4568
- "kind": "StringLiteral",
4569
- "offset": 3046,
4570
- "length": 16,
4571
- "value": "\"stt.tts.serial\""
4572
- },
4573
- {
4574
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4575
- "kind": "BooleanLiteral",
4576
- "offset": 3135,
4577
- "length": 5,
4578
- "value": "false"
4579
- },
4580
- {
4581
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4582
- "kind": "BooleanLiteral",
4583
- "offset": 3248,
4584
- "length": 5,
4585
- "value": "false"
4586
- },
4587
- {
4588
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4589
- "kind": "Array",
4590
- "offset": 3910,
4591
- "length": 203,
4592
- "value": "[\"onSpeechResults\", \"onSpeechStart\", \"onSpeechPartialResults\", \"onSpeechError\", \"onSpeechEnd\", \"onSpeechRecognized\", \"onSpeechVolumeChanged\"]"
4593
- },
4594
- {
4595
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4596
- "kind": "IntegerLiteral",
4597
- "offset": 4150,
4598
- "length": 1,
4599
- "value": "0"
4600
- },
4601
- {
4602
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4603
- "kind": "IntegerLiteral",
4604
- "offset": 4341,
4605
- "length": 1,
4606
- "value": "0"
4607
- },
4608
- {
4609
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4610
- "kind": "BooleanLiteral",
4611
- "offset": 12625,
4612
- "length": 4,
4613
- "value": "true"
4614
- },
4615
- {
4616
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
4617
- "kind": "FloatLiteral",
4618
- "offset": 35961,
4619
- "length": 3,
4620
- "value": "0.7"
4621
4621
  }
4622
4622
  ]
4623
4623
  }