react-native-davoice-tts 1.0.199 → 1.0.201
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/android/src/main/java/com/davoice/stt/rn/STTModule.kt +12 -0
- package/ios/SpeechBridge/SpeechBridge.m +16 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DaVoiceSTT.swift1.swift__ +1134 -0
- 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 +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +1278 -1313
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +12 -10
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +12 -10
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DaVoiceSTT.swift1.swift__ +1134 -0
- 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 +4 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +2296 -2331
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +30 -28
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +30 -28
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +2296 -2331
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +30 -28
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +30 -28
- 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 +42 -27
- package/package.json +1 -1
- package/speech/index.ts +32 -0
|
@@ -42,16 +42,6 @@ import phonemes
|
|
|
42
42
|
final public func synthesize(_ text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID, terminal: Swift.Character? = nil) throws -> (AVFAudio.AVAudioPCMBuffer, Swift.Int)
|
|
43
43
|
@objc final public func synthesize_top(_ text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID) throws -> AVFAudio.AVAudioPCMBuffer
|
|
44
44
|
}
|
|
45
|
-
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
46
|
-
public typealias IsEngineReady = () -> Swift.Bool
|
|
47
|
-
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
48
|
-
public typealias StopEnginePlayback = () -> Swift.Void
|
|
49
|
-
public enum AudioPlaybackHook {
|
|
50
|
-
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
51
|
-
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
52
|
-
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
53
|
-
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
54
|
-
}
|
|
55
45
|
@objc public protocol STTDelegate {
|
|
56
46
|
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
57
47
|
}
|
|
@@ -61,6 +51,8 @@ public enum AudioPlaybackHook {
|
|
|
61
51
|
@objc public static let supportedEvents: [Swift.String]
|
|
62
52
|
@objc final public func isSpeechAvailable(_ completion: @escaping (Swift.Bool) -> Swift.Void)
|
|
63
53
|
@objc final public func isRecognizing() -> Swift.Bool
|
|
54
|
+
@objc final public func pauseMicrophone()
|
|
55
|
+
@objc final public func unPauseMicrophone()
|
|
64
56
|
@objc final public func startSpeech(localeStr: Swift.String?)
|
|
65
57
|
@objc final public func stopSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
66
58
|
@objc final public func cancelSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
@@ -70,3 +62,13 @@ public enum AudioPlaybackHook {
|
|
|
70
62
|
@objc override dynamic public init()
|
|
71
63
|
@objc deinit
|
|
72
64
|
}
|
|
65
|
+
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
66
|
+
public typealias IsEngineReady = () -> Swift.Bool
|
|
67
|
+
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
68
|
+
public typealias StopEnginePlayback = () -> Swift.Void
|
|
69
|
+
public enum AudioPlaybackHook {
|
|
70
|
+
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
71
|
+
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
72
|
+
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
73
|
+
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
74
|
+
}
|
|
@@ -42,16 +42,6 @@ import phonemes
|
|
|
42
42
|
final public func synthesize(_ text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID, terminal: Swift.Character? = nil) throws -> (AVFAudio.AVAudioPCMBuffer, Swift.Int)
|
|
43
43
|
@objc final public func synthesize_top(_ text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID) throws -> AVFAudio.AVAudioPCMBuffer
|
|
44
44
|
}
|
|
45
|
-
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
46
|
-
public typealias IsEngineReady = () -> Swift.Bool
|
|
47
|
-
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
48
|
-
public typealias StopEnginePlayback = () -> Swift.Void
|
|
49
|
-
public enum AudioPlaybackHook {
|
|
50
|
-
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
51
|
-
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
52
|
-
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
53
|
-
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
54
|
-
}
|
|
55
45
|
@objc public protocol STTDelegate {
|
|
56
46
|
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
57
47
|
}
|
|
@@ -61,6 +51,8 @@ public enum AudioPlaybackHook {
|
|
|
61
51
|
@objc public static let supportedEvents: [Swift.String]
|
|
62
52
|
@objc final public func isSpeechAvailable(_ completion: @escaping (Swift.Bool) -> Swift.Void)
|
|
63
53
|
@objc final public func isRecognizing() -> Swift.Bool
|
|
54
|
+
@objc final public func pauseMicrophone()
|
|
55
|
+
@objc final public func unPauseMicrophone()
|
|
64
56
|
@objc final public func startSpeech(localeStr: Swift.String?)
|
|
65
57
|
@objc final public func stopSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
66
58
|
@objc final public func cancelSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
@@ -70,3 +62,13 @@ public enum AudioPlaybackHook {
|
|
|
70
62
|
@objc override dynamic public init()
|
|
71
63
|
@objc deinit
|
|
72
64
|
}
|
|
65
|
+
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
66
|
+
public typealias IsEngineReady = () -> Swift.Bool
|
|
67
|
+
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
68
|
+
public typealias StopEnginePlayback = () -> Swift.Void
|
|
69
|
+
public enum AudioPlaybackHook {
|
|
70
|
+
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
71
|
+
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
72
|
+
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
73
|
+
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
74
|
+
}
|