react-native-davoice-tts 1.0.208 → 1.0.210

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