react-native-davoice-tts 1.0.332 → 1.0.336
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/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar +0 -0
- package/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar.md5 +1 -1
- package/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar.sha1 +1 -1
- package/ios/SpeechBridge/SpeechBridge.m +2 -2
- 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 +1 -1
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +4218 -4113
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +18 -18
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +18 -18
- 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 +2 -2
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +8020 -7915
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +52 -52
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +52 -52
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +8020 -7915
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +52 -52
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +52 -52
- 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 +27 -27
- package/package.json +1 -1
- package/speech/index.ts +91 -70
|
@@ -17,11 +17,6 @@ import _SwiftConcurrencyShims
|
|
|
17
17
|
import onnxruntime_objc
|
|
18
18
|
import phonemes
|
|
19
19
|
import ObjectiveC.runtime
|
|
20
|
-
@_inheritsConvenienceInitializers @objc final public class LicenseManager : ObjectiveC.NSObject {
|
|
21
|
-
@objc public static func isLicenseValid(licenseKey: Swift.String) -> Swift.Bool
|
|
22
|
-
@objc override dynamic public init()
|
|
23
|
-
@objc deinit
|
|
24
|
-
}
|
|
25
20
|
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class SwiftSoundQueue : ObjectiveC.NSObject, AVFAudio.AVAudioPlayerDelegate {
|
|
26
21
|
@objc deinit
|
|
27
22
|
public static let shared: DavoiceTTS.SwiftSoundQueue
|
|
@@ -74,6 +69,7 @@ import ObjectiveC.runtime
|
|
|
74
69
|
@objc final public var useShortSpeakerVerificationTailWindow: Swift.Bool
|
|
75
70
|
@objc final public var shortSpeakerVerificationTailSeconds: Swift.Float
|
|
76
71
|
@objc final public var speakerPreRollFlushMaxSeconds: Swift.Double
|
|
72
|
+
@objc override dynamic public init()
|
|
77
73
|
@objc deinit
|
|
78
74
|
@objc public static let supportedEvents: [Swift.String]
|
|
79
75
|
@objc final public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
@@ -97,20 +93,11 @@ import ObjectiveC.runtime
|
|
|
97
93
|
@objc final public func destroySpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
98
94
|
@objc final public func teardown()
|
|
99
95
|
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
100
|
-
@objc override dynamic public init()
|
|
101
96
|
}
|
|
102
|
-
|
|
103
|
-
public
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
public typealias CurrentEngineProvider = () -> AVFAudio.AVAudioEngine?
|
|
107
|
-
public enum AudioPlaybackHook {
|
|
108
|
-
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
109
|
-
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
110
|
-
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
111
|
-
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
112
|
-
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
113
|
-
public static var isMicPaused: (() -> Swift.Bool)?
|
|
97
|
+
@_inheritsConvenienceInitializers @objc final public class LicenseManager : ObjectiveC.NSObject {
|
|
98
|
+
@objc public static func isLicenseValid(licenseKey: Swift.String) -> Swift.Bool
|
|
99
|
+
@objc override dynamic public init()
|
|
100
|
+
@objc deinit
|
|
114
101
|
}
|
|
115
102
|
public enum SVLogLevel : Swift.Int, Swift.Codable {
|
|
116
103
|
case off, error, warn, info, debug, trace
|
|
@@ -214,6 +201,19 @@ public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertibl
|
|
|
214
201
|
@objc override dynamic public init()
|
|
215
202
|
@objc deinit
|
|
216
203
|
}
|
|
204
|
+
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
205
|
+
public typealias IsEngineReady = () -> Swift.Bool
|
|
206
|
+
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
207
|
+
public typealias StopEnginePlayback = () -> Swift.Void
|
|
208
|
+
public typealias CurrentEngineProvider = () -> AVFAudio.AVAudioEngine?
|
|
209
|
+
public enum AudioPlaybackHook {
|
|
210
|
+
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
211
|
+
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
212
|
+
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
213
|
+
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
214
|
+
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
215
|
+
public static var isMicPaused: (() -> Swift.Bool)?
|
|
216
|
+
}
|
|
217
217
|
extension DavoiceTTS.SVLogLevel : Swift.Equatable {}
|
|
218
218
|
extension DavoiceTTS.SVLogLevel : Swift.Hashable {}
|
|
219
219
|
extension DavoiceTTS.SVLogLevel : Swift.RawRepresentable {}
|
|
@@ -17,11 +17,6 @@ import _SwiftConcurrencyShims
|
|
|
17
17
|
import onnxruntime_objc
|
|
18
18
|
import phonemes
|
|
19
19
|
import ObjectiveC.runtime
|
|
20
|
-
@_inheritsConvenienceInitializers @objc final public class LicenseManager : ObjectiveC.NSObject {
|
|
21
|
-
@objc public static func isLicenseValid(licenseKey: Swift.String) -> Swift.Bool
|
|
22
|
-
@objc override dynamic public init()
|
|
23
|
-
@objc deinit
|
|
24
|
-
}
|
|
25
20
|
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class SwiftSoundQueue : ObjectiveC.NSObject, AVFAudio.AVAudioPlayerDelegate {
|
|
26
21
|
@objc deinit
|
|
27
22
|
public static let shared: DavoiceTTS.SwiftSoundQueue
|
|
@@ -74,6 +69,7 @@ import ObjectiveC.runtime
|
|
|
74
69
|
@objc final public var useShortSpeakerVerificationTailWindow: Swift.Bool
|
|
75
70
|
@objc final public var shortSpeakerVerificationTailSeconds: Swift.Float
|
|
76
71
|
@objc final public var speakerPreRollFlushMaxSeconds: Swift.Double
|
|
72
|
+
@objc override dynamic public init()
|
|
77
73
|
@objc deinit
|
|
78
74
|
@objc public static let supportedEvents: [Swift.String]
|
|
79
75
|
@objc final public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
@@ -97,20 +93,11 @@ import ObjectiveC.runtime
|
|
|
97
93
|
@objc final public func destroySpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
98
94
|
@objc final public func teardown()
|
|
99
95
|
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
100
|
-
@objc override dynamic public init()
|
|
101
96
|
}
|
|
102
|
-
|
|
103
|
-
public
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
public typealias CurrentEngineProvider = () -> AVFAudio.AVAudioEngine?
|
|
107
|
-
public enum AudioPlaybackHook {
|
|
108
|
-
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
109
|
-
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
110
|
-
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
111
|
-
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
112
|
-
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
113
|
-
public static var isMicPaused: (() -> Swift.Bool)?
|
|
97
|
+
@_inheritsConvenienceInitializers @objc final public class LicenseManager : ObjectiveC.NSObject {
|
|
98
|
+
@objc public static func isLicenseValid(licenseKey: Swift.String) -> Swift.Bool
|
|
99
|
+
@objc override dynamic public init()
|
|
100
|
+
@objc deinit
|
|
114
101
|
}
|
|
115
102
|
public enum SVLogLevel : Swift.Int, Swift.Codable {
|
|
116
103
|
case off, error, warn, info, debug, trace
|
|
@@ -214,6 +201,19 @@ public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertibl
|
|
|
214
201
|
@objc override dynamic public init()
|
|
215
202
|
@objc deinit
|
|
216
203
|
}
|
|
204
|
+
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
205
|
+
public typealias IsEngineReady = () -> Swift.Bool
|
|
206
|
+
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
207
|
+
public typealias StopEnginePlayback = () -> Swift.Void
|
|
208
|
+
public typealias CurrentEngineProvider = () -> AVFAudio.AVAudioEngine?
|
|
209
|
+
public enum AudioPlaybackHook {
|
|
210
|
+
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
211
|
+
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
212
|
+
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
213
|
+
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
214
|
+
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
215
|
+
public static var isMicPaused: (() -> Swift.Bool)?
|
|
216
|
+
}
|
|
217
217
|
extension DavoiceTTS.SVLogLevel : Swift.Equatable {}
|
|
218
218
|
extension DavoiceTTS.SVLogLevel : Swift.Hashable {}
|
|
219
219
|
extension DavoiceTTS.SVLogLevel : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -357,6 +357,7 @@ SWIFT_CLASS("_TtC10DavoiceTTS3STT")
|
|
|
357
357
|
@property (nonatomic) BOOL useShortSpeakerVerificationTailWindow;
|
|
358
358
|
@property (nonatomic) float shortSpeakerVerificationTailSeconds;
|
|
359
359
|
@property (nonatomic) double speakerPreRollFlushMaxSeconds;
|
|
360
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
360
361
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSArray<NSString *> * _Nonnull supportedEvents;)
|
|
361
362
|
+ (NSArray<NSString *> * _Nonnull)supportedEvents SWIFT_WARN_UNUSED_RESULT;
|
|
362
363
|
- (BOOL)setLicenseWithLicenseKey:(NSString * _Nonnull)licenseKey SWIFT_WARN_UNUSED_RESULT;
|
|
@@ -382,7 +383,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSArray<NSStri
|
|
|
382
383
|
- (void)destroySpeech:(void (^ _Nullable)(BOOL))completion;
|
|
383
384
|
- (void)teardown;
|
|
384
385
|
- (void)speechRecognizer:(SFSpeechRecognizer * _Nonnull)speechRecognizer availabilityDidChange:(BOOL)available;
|
|
385
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
386
386
|
@end
|
|
387
387
|
|
|
388
388
|
SWIFT_PROTOCOL("_TtP10DavoiceTTS11STTDelegate_")
|
|
@@ -780,6 +780,7 @@ SWIFT_CLASS("_TtC10DavoiceTTS3STT")
|
|
|
780
780
|
@property (nonatomic) BOOL useShortSpeakerVerificationTailWindow;
|
|
781
781
|
@property (nonatomic) float shortSpeakerVerificationTailSeconds;
|
|
782
782
|
@property (nonatomic) double speakerPreRollFlushMaxSeconds;
|
|
783
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
783
784
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSArray<NSString *> * _Nonnull supportedEvents;)
|
|
784
785
|
+ (NSArray<NSString *> * _Nonnull)supportedEvents SWIFT_WARN_UNUSED_RESULT;
|
|
785
786
|
- (BOOL)setLicenseWithLicenseKey:(NSString * _Nonnull)licenseKey SWIFT_WARN_UNUSED_RESULT;
|
|
@@ -805,7 +806,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSArray<NSStri
|
|
|
805
806
|
- (void)destroySpeech:(void (^ _Nullable)(BOOL))completion;
|
|
806
807
|
- (void)teardown;
|
|
807
808
|
- (void)speechRecognizer:(SFSpeechRecognizer * _Nonnull)speechRecognizer availabilityDidChange:(BOOL)available;
|
|
808
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
809
809
|
@end
|
|
810
810
|
|
|
811
811
|
SWIFT_PROTOCOL("_TtP10DavoiceTTS11STTDelegate_")
|