react-native-davoice-tts 1.0.219 → 1.0.220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/TTSRNBridge.podspec +1 -1
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +7 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +2863 -2777
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +22 -20
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +22 -20
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +14 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +86 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +86 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeResources +33 -33
- package/package.json +1 -1
|
@@ -26,6 +26,26 @@ public enum AudioPlaybackHook {
|
|
|
26
26
|
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
27
27
|
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
28
28
|
}
|
|
29
|
+
@objc public protocol STTDelegate {
|
|
30
|
+
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
31
|
+
}
|
|
32
|
+
@objc @_inheritsConvenienceInitializers @objcMembers final public class STT : ObjectiveC.NSObject, Speech.SFSpeechRecognizerDelegate {
|
|
33
|
+
@objc weak final public var delegate: (any DavoiceTTS.STTDelegate)?
|
|
34
|
+
@objc final public var continuous: Swift.Bool
|
|
35
|
+
@objc public static let supportedEvents: [Swift.String]
|
|
36
|
+
@objc final public func unPauseMicrophone()
|
|
37
|
+
@objc final public func pauseMicrophone()
|
|
38
|
+
@objc final public func isSpeechAvailable(_ completion: @escaping (Swift.Bool) -> Swift.Void)
|
|
39
|
+
@objc final public func isRecognizing() -> Swift.Bool
|
|
40
|
+
@objc final public func startSpeech(localeStr: Swift.String?)
|
|
41
|
+
@objc final public func stopSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
42
|
+
@objc final public func cancelSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
43
|
+
@objc final public func destroySpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
44
|
+
@objc final public func teardown()
|
|
45
|
+
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
46
|
+
@objc override dynamic public init()
|
|
47
|
+
@objc deinit
|
|
48
|
+
}
|
|
29
49
|
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class SwiftSoundQueue : ObjectiveC.NSObject, AVFAudio.AVAudioPlayerDelegate {
|
|
30
50
|
@objc deinit
|
|
31
51
|
public static let shared: DavoiceTTS.SwiftSoundQueue
|
|
@@ -57,24 +77,6 @@ public enum AudioPlaybackHook {
|
|
|
57
77
|
@objc final public func destroy()
|
|
58
78
|
@objc final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0)
|
|
59
79
|
@objc final public func synthesize_top(_ _text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID) throws -> AVFAudio.AVAudioPCMBuffer
|
|
60
|
-
|
|
61
|
-
@objc public
|
|
62
|
-
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
63
|
-
}
|
|
64
|
-
@objc @_inheritsConvenienceInitializers @objcMembers final public class STT : ObjectiveC.NSObject, Speech.SFSpeechRecognizerDelegate {
|
|
65
|
-
@objc weak final public var delegate: (any DavoiceTTS.STTDelegate)?
|
|
66
|
-
@objc final public var continuous: Swift.Bool
|
|
67
|
-
@objc public static let supportedEvents: [Swift.String]
|
|
68
|
-
@objc final public func unPauseMicrophone()
|
|
69
|
-
@objc final public func pauseMicrophone()
|
|
70
|
-
@objc final public func isSpeechAvailable(_ completion: @escaping (Swift.Bool) -> Swift.Void)
|
|
71
|
-
@objc final public func isRecognizing() -> Swift.Bool
|
|
72
|
-
@objc final public func startSpeech(localeStr: Swift.String?)
|
|
73
|
-
@objc final public func stopSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
74
|
-
@objc final public func cancelSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
75
|
-
@objc final public func destroySpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
76
|
-
@objc final public func teardown()
|
|
77
|
-
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
78
|
-
@objc override dynamic public init()
|
|
79
|
-
@objc deinit
|
|
80
|
+
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
81
|
+
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
80
82
|
}
|
|
Binary file
|
|
@@ -26,6 +26,26 @@ public enum AudioPlaybackHook {
|
|
|
26
26
|
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
27
27
|
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
28
28
|
}
|
|
29
|
+
@objc public protocol STTDelegate {
|
|
30
|
+
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
31
|
+
}
|
|
32
|
+
@objc @_inheritsConvenienceInitializers @objcMembers final public class STT : ObjectiveC.NSObject, Speech.SFSpeechRecognizerDelegate {
|
|
33
|
+
@objc weak final public var delegate: (any DavoiceTTS.STTDelegate)?
|
|
34
|
+
@objc final public var continuous: Swift.Bool
|
|
35
|
+
@objc public static let supportedEvents: [Swift.String]
|
|
36
|
+
@objc final public func unPauseMicrophone()
|
|
37
|
+
@objc final public func pauseMicrophone()
|
|
38
|
+
@objc final public func isSpeechAvailable(_ completion: @escaping (Swift.Bool) -> Swift.Void)
|
|
39
|
+
@objc final public func isRecognizing() -> Swift.Bool
|
|
40
|
+
@objc final public func startSpeech(localeStr: Swift.String?)
|
|
41
|
+
@objc final public func stopSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
42
|
+
@objc final public func cancelSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
43
|
+
@objc final public func destroySpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
44
|
+
@objc final public func teardown()
|
|
45
|
+
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
46
|
+
@objc override dynamic public init()
|
|
47
|
+
@objc deinit
|
|
48
|
+
}
|
|
29
49
|
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class SwiftSoundQueue : ObjectiveC.NSObject, AVFAudio.AVAudioPlayerDelegate {
|
|
30
50
|
@objc deinit
|
|
31
51
|
public static let shared: DavoiceTTS.SwiftSoundQueue
|
|
@@ -57,24 +77,6 @@ public enum AudioPlaybackHook {
|
|
|
57
77
|
@objc final public func destroy()
|
|
58
78
|
@objc final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0)
|
|
59
79
|
@objc final public func synthesize_top(_ _text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID) throws -> AVFAudio.AVAudioPCMBuffer
|
|
60
|
-
|
|
61
|
-
@objc public
|
|
62
|
-
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
63
|
-
}
|
|
64
|
-
@objc @_inheritsConvenienceInitializers @objcMembers final public class STT : ObjectiveC.NSObject, Speech.SFSpeechRecognizerDelegate {
|
|
65
|
-
@objc weak final public var delegate: (any DavoiceTTS.STTDelegate)?
|
|
66
|
-
@objc final public var continuous: Swift.Bool
|
|
67
|
-
@objc public static let supportedEvents: [Swift.String]
|
|
68
|
-
@objc final public func unPauseMicrophone()
|
|
69
|
-
@objc final public func pauseMicrophone()
|
|
70
|
-
@objc final public func isSpeechAvailable(_ completion: @escaping (Swift.Bool) -> Swift.Void)
|
|
71
|
-
@objc final public func isRecognizing() -> Swift.Bool
|
|
72
|
-
@objc final public func startSpeech(localeStr: Swift.String?)
|
|
73
|
-
@objc final public func stopSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
74
|
-
@objc final public func cancelSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
75
|
-
@objc final public func destroySpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
76
|
-
@objc final public func teardown()
|
|
77
|
-
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
78
|
-
@objc override dynamic public init()
|
|
79
|
-
@objc deinit
|
|
80
|
+
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
81
|
+
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
80
82
|
}
|
|
Binary file
|
|
@@ -322,6 +322,13 @@ SWIFT_CLASS("_TtC10DavoiceTTS10DaVoiceTTS")
|
|
|
322
322
|
- (void)destroy;
|
|
323
323
|
- (void)speak:(NSString * _Nonnull)txt sid:(int32_t)sid;
|
|
324
324
|
- (AVAudioPCMBuffer * _Nullable)synthesize_top:(NSString * _Nonnull)_text speakerId:(int32_t)speakerId token:(NSUUID * _Nonnull)token error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
325
|
+
/// Queue an external WAV file for playback via the same AEC path/queue used by speak().
|
|
326
|
+
/// If called repeatedly, items are queued in order. <code>onLastUtteranceFinished</code> fires
|
|
327
|
+
/// after THIS file finishes (unless you enqueue more later and mark those as last).
|
|
328
|
+
- (void)playWav:(NSURL * _Nonnull)url markAsLastUtterance:(BOOL)markAsLastUtterance;
|
|
329
|
+
/// Queue an in-memory PCM buffer (any format) for playback via the same AEC path/queue.
|
|
330
|
+
/// We resample/normalize, write a temp WAV, then enqueue it (so it uses the engine hook).
|
|
331
|
+
- (void)playBuffer:(AVAudioPCMBuffer * _Nonnull)buffer markAsLastUtterance:(BOOL)markAsLastUtterance;
|
|
325
332
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
326
333
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
327
334
|
@end
|
|
@@ -692,6 +699,13 @@ SWIFT_CLASS("_TtC10DavoiceTTS10DaVoiceTTS")
|
|
|
692
699
|
- (void)destroy;
|
|
693
700
|
- (void)speak:(NSString * _Nonnull)txt sid:(int32_t)sid;
|
|
694
701
|
- (AVAudioPCMBuffer * _Nullable)synthesize_top:(NSString * _Nonnull)_text speakerId:(int32_t)speakerId token:(NSUUID * _Nonnull)token error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
702
|
+
/// Queue an external WAV file for playback via the same AEC path/queue used by speak().
|
|
703
|
+
/// If called repeatedly, items are queued in order. <code>onLastUtteranceFinished</code> fires
|
|
704
|
+
/// after THIS file finishes (unless you enqueue more later and mark those as last).
|
|
705
|
+
- (void)playWav:(NSURL * _Nonnull)url markAsLastUtterance:(BOOL)markAsLastUtterance;
|
|
706
|
+
/// Queue an in-memory PCM buffer (any format) for playback via the same AEC path/queue.
|
|
707
|
+
/// We resample/normalize, write a temp WAV, then enqueue it (so it uses the engine hook).
|
|
708
|
+
- (void)playBuffer:(AVAudioPCMBuffer * _Nonnull)buffer markAsLastUtterance:(BOOL)markAsLastUtterance;
|
|
695
709
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
696
710
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
697
711
|
@end
|
|
@@ -3484,6 +3484,78 @@
|
|
|
3484
3484
|
"throwing": true,
|
|
3485
3485
|
"funcSelfKind": "NonMutating"
|
|
3486
3486
|
},
|
|
3487
|
+
{
|
|
3488
|
+
"kind": "Function",
|
|
3489
|
+
"name": "playWav",
|
|
3490
|
+
"printedName": "playWav(_:markAsLastUtterance:)",
|
|
3491
|
+
"children": [
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "TypeNominal",
|
|
3494
|
+
"name": "Void",
|
|
3495
|
+
"printedName": "()"
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"kind": "TypeNominal",
|
|
3499
|
+
"name": "URL",
|
|
3500
|
+
"printedName": "Foundation.URL",
|
|
3501
|
+
"usr": "s:10Foundation3URLV"
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
"kind": "TypeNominal",
|
|
3505
|
+
"name": "Bool",
|
|
3506
|
+
"printedName": "Swift.Bool",
|
|
3507
|
+
"hasDefaultArg": true,
|
|
3508
|
+
"usr": "s:Sb"
|
|
3509
|
+
}
|
|
3510
|
+
],
|
|
3511
|
+
"declKind": "Func",
|
|
3512
|
+
"usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)playWav:markAsLastUtterance:",
|
|
3513
|
+
"mangledName": "$s10DavoiceTTS07DaVoiceB0C7playWav_19markAsLastUtterancey10Foundation3URLV_SbtF",
|
|
3514
|
+
"moduleName": "DavoiceTTS",
|
|
3515
|
+
"declAttributes": [
|
|
3516
|
+
"Final",
|
|
3517
|
+
"AccessControl",
|
|
3518
|
+
"ObjC",
|
|
3519
|
+
"RawDocComment"
|
|
3520
|
+
],
|
|
3521
|
+
"funcSelfKind": "NonMutating"
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"kind": "Function",
|
|
3525
|
+
"name": "playBuffer",
|
|
3526
|
+
"printedName": "playBuffer(_:markAsLastUtterance:)",
|
|
3527
|
+
"children": [
|
|
3528
|
+
{
|
|
3529
|
+
"kind": "TypeNominal",
|
|
3530
|
+
"name": "Void",
|
|
3531
|
+
"printedName": "()"
|
|
3532
|
+
},
|
|
3533
|
+
{
|
|
3534
|
+
"kind": "TypeNominal",
|
|
3535
|
+
"name": "AVAudioPCMBuffer",
|
|
3536
|
+
"printedName": "AVFAudio.AVAudioPCMBuffer",
|
|
3537
|
+
"usr": "c:objc(cs)AVAudioPCMBuffer"
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"kind": "TypeNominal",
|
|
3541
|
+
"name": "Bool",
|
|
3542
|
+
"printedName": "Swift.Bool",
|
|
3543
|
+
"hasDefaultArg": true,
|
|
3544
|
+
"usr": "s:Sb"
|
|
3545
|
+
}
|
|
3546
|
+
],
|
|
3547
|
+
"declKind": "Func",
|
|
3548
|
+
"usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)playBuffer:markAsLastUtterance:",
|
|
3549
|
+
"mangledName": "$s10DavoiceTTS07DaVoiceB0C10playBuffer_19markAsLastUtteranceySo16AVAudioPCMBufferC_SbtF",
|
|
3550
|
+
"moduleName": "DavoiceTTS",
|
|
3551
|
+
"declAttributes": [
|
|
3552
|
+
"Final",
|
|
3553
|
+
"AccessControl",
|
|
3554
|
+
"ObjC",
|
|
3555
|
+
"RawDocComment"
|
|
3556
|
+
],
|
|
3557
|
+
"funcSelfKind": "NonMutating"
|
|
3558
|
+
},
|
|
3487
3559
|
{
|
|
3488
3560
|
"kind": "Constructor",
|
|
3489
3561
|
"name": "init",
|
|
@@ -5652,6 +5724,20 @@
|
|
|
5652
5724
|
"offset": 55239,
|
|
5653
5725
|
"length": 1,
|
|
5654
5726
|
"value": "0"
|
|
5727
|
+
},
|
|
5728
|
+
{
|
|
5729
|
+
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
|
|
5730
|
+
"kind": "BooleanLiteral",
|
|
5731
|
+
"offset": 66233,
|
|
5732
|
+
"length": 4,
|
|
5733
|
+
"value": "true"
|
|
5734
|
+
},
|
|
5735
|
+
{
|
|
5736
|
+
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
|
|
5737
|
+
"kind": "BooleanLiteral",
|
|
5738
|
+
"offset": 67199,
|
|
5739
|
+
"length": 4,
|
|
5740
|
+
"value": "true"
|
|
5655
5741
|
}
|
|
5656
5742
|
]
|
|
5657
5743
|
}
|
|
@@ -77,4 +77,6 @@ public enum AudioPlaybackHook {
|
|
|
77
77
|
@objc final public func destroy()
|
|
78
78
|
@objc final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0)
|
|
79
79
|
@objc final public func synthesize_top(_ _text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID) throws -> AVFAudio.AVAudioPCMBuffer
|
|
80
|
+
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
81
|
+
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
80
82
|
}
|
|
Binary file
|
|
@@ -77,4 +77,6 @@ public enum AudioPlaybackHook {
|
|
|
77
77
|
@objc final public func destroy()
|
|
78
78
|
@objc final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0)
|
|
79
79
|
@objc final public func synthesize_top(_ _text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID) throws -> AVFAudio.AVAudioPCMBuffer
|
|
80
|
+
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
81
|
+
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
80
82
|
}
|
|
@@ -3484,6 +3484,78 @@
|
|
|
3484
3484
|
"throwing": true,
|
|
3485
3485
|
"funcSelfKind": "NonMutating"
|
|
3486
3486
|
},
|
|
3487
|
+
{
|
|
3488
|
+
"kind": "Function",
|
|
3489
|
+
"name": "playWav",
|
|
3490
|
+
"printedName": "playWav(_:markAsLastUtterance:)",
|
|
3491
|
+
"children": [
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "TypeNominal",
|
|
3494
|
+
"name": "Void",
|
|
3495
|
+
"printedName": "()"
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"kind": "TypeNominal",
|
|
3499
|
+
"name": "URL",
|
|
3500
|
+
"printedName": "Foundation.URL",
|
|
3501
|
+
"usr": "s:10Foundation3URLV"
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
"kind": "TypeNominal",
|
|
3505
|
+
"name": "Bool",
|
|
3506
|
+
"printedName": "Swift.Bool",
|
|
3507
|
+
"hasDefaultArg": true,
|
|
3508
|
+
"usr": "s:Sb"
|
|
3509
|
+
}
|
|
3510
|
+
],
|
|
3511
|
+
"declKind": "Func",
|
|
3512
|
+
"usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)playWav:markAsLastUtterance:",
|
|
3513
|
+
"mangledName": "$s10DavoiceTTS07DaVoiceB0C7playWav_19markAsLastUtterancey10Foundation3URLV_SbtF",
|
|
3514
|
+
"moduleName": "DavoiceTTS",
|
|
3515
|
+
"declAttributes": [
|
|
3516
|
+
"Final",
|
|
3517
|
+
"AccessControl",
|
|
3518
|
+
"ObjC",
|
|
3519
|
+
"RawDocComment"
|
|
3520
|
+
],
|
|
3521
|
+
"funcSelfKind": "NonMutating"
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"kind": "Function",
|
|
3525
|
+
"name": "playBuffer",
|
|
3526
|
+
"printedName": "playBuffer(_:markAsLastUtterance:)",
|
|
3527
|
+
"children": [
|
|
3528
|
+
{
|
|
3529
|
+
"kind": "TypeNominal",
|
|
3530
|
+
"name": "Void",
|
|
3531
|
+
"printedName": "()"
|
|
3532
|
+
},
|
|
3533
|
+
{
|
|
3534
|
+
"kind": "TypeNominal",
|
|
3535
|
+
"name": "AVAudioPCMBuffer",
|
|
3536
|
+
"printedName": "AVFAudio.AVAudioPCMBuffer",
|
|
3537
|
+
"usr": "c:objc(cs)AVAudioPCMBuffer"
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"kind": "TypeNominal",
|
|
3541
|
+
"name": "Bool",
|
|
3542
|
+
"printedName": "Swift.Bool",
|
|
3543
|
+
"hasDefaultArg": true,
|
|
3544
|
+
"usr": "s:Sb"
|
|
3545
|
+
}
|
|
3546
|
+
],
|
|
3547
|
+
"declKind": "Func",
|
|
3548
|
+
"usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)playBuffer:markAsLastUtterance:",
|
|
3549
|
+
"mangledName": "$s10DavoiceTTS07DaVoiceB0C10playBuffer_19markAsLastUtteranceySo16AVAudioPCMBufferC_SbtF",
|
|
3550
|
+
"moduleName": "DavoiceTTS",
|
|
3551
|
+
"declAttributes": [
|
|
3552
|
+
"Final",
|
|
3553
|
+
"AccessControl",
|
|
3554
|
+
"ObjC",
|
|
3555
|
+
"RawDocComment"
|
|
3556
|
+
],
|
|
3557
|
+
"funcSelfKind": "NonMutating"
|
|
3558
|
+
},
|
|
3487
3559
|
{
|
|
3488
3560
|
"kind": "Constructor",
|
|
3489
3561
|
"name": "init",
|
|
@@ -5652,6 +5724,20 @@
|
|
|
5652
5724
|
"offset": 55239,
|
|
5653
5725
|
"length": 1,
|
|
5654
5726
|
"value": "0"
|
|
5727
|
+
},
|
|
5728
|
+
{
|
|
5729
|
+
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
|
|
5730
|
+
"kind": "BooleanLiteral",
|
|
5731
|
+
"offset": 66233,
|
|
5732
|
+
"length": 4,
|
|
5733
|
+
"value": "true"
|
|
5734
|
+
},
|
|
5735
|
+
{
|
|
5736
|
+
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
|
|
5737
|
+
"kind": "BooleanLiteral",
|
|
5738
|
+
"offset": 67199,
|
|
5739
|
+
"length": 4,
|
|
5740
|
+
"value": "true"
|
|
5655
5741
|
}
|
|
5656
5742
|
]
|
|
5657
5743
|
}
|
|
@@ -77,4 +77,6 @@ public enum AudioPlaybackHook {
|
|
|
77
77
|
@objc final public func destroy()
|
|
78
78
|
@objc final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0)
|
|
79
79
|
@objc final public func synthesize_top(_ _text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID) throws -> AVFAudio.AVAudioPCMBuffer
|
|
80
|
+
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
81
|
+
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
80
82
|
}
|
|
Binary file
|
|
@@ -77,4 +77,6 @@ public enum AudioPlaybackHook {
|
|
|
77
77
|
@objc final public func destroy()
|
|
78
78
|
@objc final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0)
|
|
79
79
|
@objc final public func synthesize_top(_ _text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID) throws -> AVFAudio.AVAudioPCMBuffer
|
|
80
|
+
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
81
|
+
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
80
82
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/DavoiceTTS-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
gC/w4jxD58Pf2TzBWYNzznfibD8=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Info.plist</key>
|
|
12
12
|
<data>
|
|
@@ -14,43 +14,43 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
im9xcl8XxpimX9fDmbncaNwWiHk=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
qFqcQU5338BpBmE3kSxksreBBqc=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
lHV31haalw5bA0OjPci287utPYg=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
qFqcQU5338BpBmE3kSxksreBBqc=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
1Un3/blPllW+A+NqSRY2IjGXBXA=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
im9xcl8XxpimX9fDmbncaNwWiHk=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
MYsAjja+gmRDEREblhq8EHUp8Q0=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
D/VLGMg7kTyroGY6XAsCIr4Y1RE=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
MYsAjja+gmRDEREblhq8EHUp8Q0=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
nfDwuvW34ZhqpF5T3XGPqTzst4o=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/module.modulemap</key>
|
|
56
56
|
<data>
|
|
@@ -63,121 +63,121 @@
|
|
|
63
63
|
<dict>
|
|
64
64
|
<key>hash</key>
|
|
65
65
|
<data>
|
|
66
|
-
|
|
66
|
+
gC/w4jxD58Pf2TzBWYNzznfibD8=
|
|
67
67
|
</data>
|
|
68
68
|
<key>hash2</key>
|
|
69
69
|
<data>
|
|
70
|
-
|
|
70
|
+
udPs/cet2NyvjgQD74ekLsYxZ+W+QXpm7XcvioPbq2E=
|
|
71
71
|
</data>
|
|
72
72
|
</dict>
|
|
73
73
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
74
74
|
<dict>
|
|
75
75
|
<key>hash</key>
|
|
76
76
|
<data>
|
|
77
|
-
|
|
77
|
+
im9xcl8XxpimX9fDmbncaNwWiHk=
|
|
78
78
|
</data>
|
|
79
79
|
<key>hash2</key>
|
|
80
80
|
<data>
|
|
81
|
-
|
|
81
|
+
MrdQAzZQctrcN8g/s21L+syHNLbtmNXE5EdI9Y+QmMk=
|
|
82
82
|
</data>
|
|
83
83
|
</dict>
|
|
84
84
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
85
85
|
<dict>
|
|
86
86
|
<key>hash</key>
|
|
87
87
|
<data>
|
|
88
|
-
|
|
88
|
+
qFqcQU5338BpBmE3kSxksreBBqc=
|
|
89
89
|
</data>
|
|
90
90
|
<key>hash2</key>
|
|
91
91
|
<data>
|
|
92
|
-
|
|
92
|
+
bVH23cid+53N4AHeUXhcSF/RXPLKp5SpGIOJhHTIvEo=
|
|
93
93
|
</data>
|
|
94
94
|
</dict>
|
|
95
95
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
96
96
|
<dict>
|
|
97
97
|
<key>hash</key>
|
|
98
98
|
<data>
|
|
99
|
-
|
|
99
|
+
lHV31haalw5bA0OjPci287utPYg=
|
|
100
100
|
</data>
|
|
101
101
|
<key>hash2</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
yWePa4OmCqTa5H9Z3QNIj1Dak9pT4LSFjX9kXpuRqSI=
|
|
104
104
|
</data>
|
|
105
105
|
</dict>
|
|
106
106
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
107
107
|
<dict>
|
|
108
108
|
<key>hash</key>
|
|
109
109
|
<data>
|
|
110
|
-
|
|
110
|
+
qFqcQU5338BpBmE3kSxksreBBqc=
|
|
111
111
|
</data>
|
|
112
112
|
<key>hash2</key>
|
|
113
113
|
<data>
|
|
114
|
-
|
|
114
|
+
bVH23cid+53N4AHeUXhcSF/RXPLKp5SpGIOJhHTIvEo=
|
|
115
115
|
</data>
|
|
116
116
|
</dict>
|
|
117
117
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
118
118
|
<dict>
|
|
119
119
|
<key>hash</key>
|
|
120
120
|
<data>
|
|
121
|
-
|
|
121
|
+
1Un3/blPllW+A+NqSRY2IjGXBXA=
|
|
122
122
|
</data>
|
|
123
123
|
<key>hash2</key>
|
|
124
124
|
<data>
|
|
125
|
-
|
|
125
|
+
s0v2EglcArdX1ayTh0suDBz1K9UgIOffM94RDUA90To=
|
|
126
126
|
</data>
|
|
127
127
|
</dict>
|
|
128
128
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
129
129
|
<dict>
|
|
130
130
|
<key>hash</key>
|
|
131
131
|
<data>
|
|
132
|
-
|
|
132
|
+
im9xcl8XxpimX9fDmbncaNwWiHk=
|
|
133
133
|
</data>
|
|
134
134
|
<key>hash2</key>
|
|
135
135
|
<data>
|
|
136
|
-
|
|
136
|
+
MrdQAzZQctrcN8g/s21L+syHNLbtmNXE5EdI9Y+QmMk=
|
|
137
137
|
</data>
|
|
138
138
|
</dict>
|
|
139
139
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
140
140
|
<dict>
|
|
141
141
|
<key>hash</key>
|
|
142
142
|
<data>
|
|
143
|
-
|
|
143
|
+
MYsAjja+gmRDEREblhq8EHUp8Q0=
|
|
144
144
|
</data>
|
|
145
145
|
<key>hash2</key>
|
|
146
146
|
<data>
|
|
147
|
-
|
|
147
|
+
kR6bJ2TaRj3hAhaVWtpWvyFSQVAvS3MDwgWs9KyYdvo=
|
|
148
148
|
</data>
|
|
149
149
|
</dict>
|
|
150
150
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
151
151
|
<dict>
|
|
152
152
|
<key>hash</key>
|
|
153
153
|
<data>
|
|
154
|
-
|
|
154
|
+
D/VLGMg7kTyroGY6XAsCIr4Y1RE=
|
|
155
155
|
</data>
|
|
156
156
|
<key>hash2</key>
|
|
157
157
|
<data>
|
|
158
|
-
|
|
158
|
+
Xf2Fbt2fUTjI2hAJ8hWxMCT3u/16Zv+gNqub+txzxUU=
|
|
159
159
|
</data>
|
|
160
160
|
</dict>
|
|
161
161
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
162
162
|
<dict>
|
|
163
163
|
<key>hash</key>
|
|
164
164
|
<data>
|
|
165
|
-
|
|
165
|
+
MYsAjja+gmRDEREblhq8EHUp8Q0=
|
|
166
166
|
</data>
|
|
167
167
|
<key>hash2</key>
|
|
168
168
|
<data>
|
|
169
|
-
|
|
169
|
+
kR6bJ2TaRj3hAhaVWtpWvyFSQVAvS3MDwgWs9KyYdvo=
|
|
170
170
|
</data>
|
|
171
171
|
</dict>
|
|
172
172
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
173
173
|
<dict>
|
|
174
174
|
<key>hash</key>
|
|
175
175
|
<data>
|
|
176
|
-
|
|
176
|
+
nfDwuvW34ZhqpF5T3XGPqTzst4o=
|
|
177
177
|
</data>
|
|
178
178
|
<key>hash2</key>
|
|
179
179
|
<data>
|
|
180
|
-
|
|
180
|
+
1xdWMQUprGWbUQeCw0WQEYVqyOBGYCcKIdBbFTY9Xeo=
|
|
181
181
|
</data>
|
|
182
182
|
</dict>
|
|
183
183
|
<key>Modules/module.modulemap</key>
|