react-native-davoice-tts 1.0.216 → 1.0.218
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/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +3363 -3363
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +20 -20
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +20 -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/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +5 -5
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +5 -5
- 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 +6 -6
- package/package.json +1 -1
|
@@ -14,6 +14,26 @@ import _StringProcessing
|
|
|
14
14
|
import _SwiftConcurrencyShims
|
|
15
15
|
import onnxruntime_objc
|
|
16
16
|
import phonemes
|
|
17
|
+
@objc public protocol STTDelegate {
|
|
18
|
+
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
19
|
+
}
|
|
20
|
+
@objc @_inheritsConvenienceInitializers @objcMembers final public class STT : ObjectiveC.NSObject, Speech.SFSpeechRecognizerDelegate {
|
|
21
|
+
@objc weak final public var delegate: (any DavoiceTTS.STTDelegate)?
|
|
22
|
+
@objc final public var continuous: Swift.Bool
|
|
23
|
+
@objc public static let supportedEvents: [Swift.String]
|
|
24
|
+
@objc final public func unPauseMicrophone()
|
|
25
|
+
@objc final public func pauseMicrophone()
|
|
26
|
+
@objc final public func isSpeechAvailable(_ completion: @escaping (Swift.Bool) -> Swift.Void)
|
|
27
|
+
@objc final public func isRecognizing() -> Swift.Bool
|
|
28
|
+
@objc final public func startSpeech(localeStr: Swift.String?)
|
|
29
|
+
@objc final public func stopSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
30
|
+
@objc final public func cancelSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
31
|
+
@objc final public func destroySpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
32
|
+
@objc final public func teardown()
|
|
33
|
+
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
34
|
+
@objc override dynamic public init()
|
|
35
|
+
@objc deinit
|
|
36
|
+
}
|
|
17
37
|
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
18
38
|
public typealias IsEngineReady = () -> Swift.Bool
|
|
19
39
|
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
@@ -58,23 +78,3 @@ public enum AudioPlaybackHook {
|
|
|
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
80
|
}
|
|
61
|
-
@objc public protocol STTDelegate {
|
|
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
|
-
}
|
|
@@ -14,6 +14,26 @@ import _StringProcessing
|
|
|
14
14
|
import _SwiftConcurrencyShims
|
|
15
15
|
import onnxruntime_objc
|
|
16
16
|
import phonemes
|
|
17
|
+
@objc public protocol STTDelegate {
|
|
18
|
+
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
19
|
+
}
|
|
20
|
+
@objc @_inheritsConvenienceInitializers @objcMembers final public class STT : ObjectiveC.NSObject, Speech.SFSpeechRecognizerDelegate {
|
|
21
|
+
@objc weak final public var delegate: (any DavoiceTTS.STTDelegate)?
|
|
22
|
+
@objc final public var continuous: Swift.Bool
|
|
23
|
+
@objc public static let supportedEvents: [Swift.String]
|
|
24
|
+
@objc final public func unPauseMicrophone()
|
|
25
|
+
@objc final public func pauseMicrophone()
|
|
26
|
+
@objc final public func isSpeechAvailable(_ completion: @escaping (Swift.Bool) -> Swift.Void)
|
|
27
|
+
@objc final public func isRecognizing() -> Swift.Bool
|
|
28
|
+
@objc final public func startSpeech(localeStr: Swift.String?)
|
|
29
|
+
@objc final public func stopSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
30
|
+
@objc final public func cancelSpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
31
|
+
@objc final public func destroySpeech(_ completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
32
|
+
@objc final public func teardown()
|
|
33
|
+
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
34
|
+
@objc override dynamic public init()
|
|
35
|
+
@objc deinit
|
|
36
|
+
}
|
|
17
37
|
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
18
38
|
public typealias IsEngineReady = () -> Swift.Bool
|
|
19
39
|
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
@@ -58,23 +78,3 @@ public enum AudioPlaybackHook {
|
|
|
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
80
|
}
|
|
61
|
-
@objc public protocol STTDelegate {
|
|
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
|
-
}
|
|
Binary file
|
|
@@ -5105,14 +5105,14 @@
|
|
|
5105
5105
|
"kind": "IntegerLiteral",
|
|
5106
5106
|
"offset": 46140,
|
|
5107
5107
|
"length": 2,
|
|
5108
|
-
"value": "
|
|
5108
|
+
"value": "20"
|
|
5109
5109
|
},
|
|
5110
5110
|
{
|
|
5111
5111
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
|
|
5112
5112
|
"kind": "IntegerLiteral",
|
|
5113
5113
|
"offset": 46145,
|
|
5114
5114
|
"length": 2,
|
|
5115
|
-
"value": "
|
|
5115
|
+
"value": "30"
|
|
5116
5116
|
},
|
|
5117
5117
|
{
|
|
5118
5118
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
|
|
@@ -5635,21 +5635,21 @@
|
|
|
5635
5635
|
{
|
|
5636
5636
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
5637
5637
|
"kind": "BooleanLiteral",
|
|
5638
|
-
"offset":
|
|
5638
|
+
"offset": 16561,
|
|
5639
5639
|
"length": 4,
|
|
5640
5640
|
"value": "true"
|
|
5641
5641
|
},
|
|
5642
5642
|
{
|
|
5643
5643
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
5644
5644
|
"kind": "BooleanLiteral",
|
|
5645
|
-
"offset":
|
|
5645
|
+
"offset": 35383,
|
|
5646
5646
|
"length": 5,
|
|
5647
5647
|
"value": "false"
|
|
5648
5648
|
},
|
|
5649
5649
|
{
|
|
5650
5650
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
5651
5651
|
"kind": "FloatLiteral",
|
|
5652
|
-
"offset":
|
|
5652
|
+
"offset": 47379,
|
|
5653
5653
|
"length": 3,
|
|
5654
5654
|
"value": "0.7"
|
|
5655
5655
|
}
|
|
@@ -5105,14 +5105,14 @@
|
|
|
5105
5105
|
"kind": "IntegerLiteral",
|
|
5106
5106
|
"offset": 46140,
|
|
5107
5107
|
"length": 2,
|
|
5108
|
-
"value": "
|
|
5108
|
+
"value": "20"
|
|
5109
5109
|
},
|
|
5110
5110
|
{
|
|
5111
5111
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
|
|
5112
5112
|
"kind": "IntegerLiteral",
|
|
5113
5113
|
"offset": 46145,
|
|
5114
5114
|
"length": 2,
|
|
5115
|
-
"value": "
|
|
5115
|
+
"value": "30"
|
|
5116
5116
|
},
|
|
5117
5117
|
{
|
|
5118
5118
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
|
|
@@ -5635,21 +5635,21 @@
|
|
|
5635
5635
|
{
|
|
5636
5636
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
5637
5637
|
"kind": "BooleanLiteral",
|
|
5638
|
-
"offset":
|
|
5638
|
+
"offset": 16561,
|
|
5639
5639
|
"length": 4,
|
|
5640
5640
|
"value": "true"
|
|
5641
5641
|
},
|
|
5642
5642
|
{
|
|
5643
5643
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
5644
5644
|
"kind": "BooleanLiteral",
|
|
5645
|
-
"offset":
|
|
5645
|
+
"offset": 35383,
|
|
5646
5646
|
"length": 5,
|
|
5647
5647
|
"value": "false"
|
|
5648
5648
|
},
|
|
5649
5649
|
{
|
|
5650
5650
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
5651
5651
|
"kind": "FloatLiteral",
|
|
5652
|
-
"offset":
|
|
5652
|
+
"offset": 47379,
|
|
5653
5653
|
"length": 3,
|
|
5654
5654
|
"value": "0.7"
|
|
5655
5655
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
MdCHDvfQxhcRCyblUeNKNRDeAZQ=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
40
40
|
<data>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
MdCHDvfQxhcRCyblUeNKNRDeAZQ=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
60
60
|
<data>
|
|
@@ -149,11 +149,11 @@
|
|
|
149
149
|
<dict>
|
|
150
150
|
<key>hash</key>
|
|
151
151
|
<data>
|
|
152
|
-
|
|
152
|
+
MdCHDvfQxhcRCyblUeNKNRDeAZQ=
|
|
153
153
|
</data>
|
|
154
154
|
<key>hash2</key>
|
|
155
155
|
<data>
|
|
156
|
-
|
|
156
|
+
T2NGCpMZxmeCph6tAThW2SbNI9xOy+hFGLPDXLoRj0o=
|
|
157
157
|
</data>
|
|
158
158
|
</dict>
|
|
159
159
|
<key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
@@ -204,11 +204,11 @@
|
|
|
204
204
|
<dict>
|
|
205
205
|
<key>hash</key>
|
|
206
206
|
<data>
|
|
207
|
-
|
|
207
|
+
MdCHDvfQxhcRCyblUeNKNRDeAZQ=
|
|
208
208
|
</data>
|
|
209
209
|
<key>hash2</key>
|
|
210
210
|
<data>
|
|
211
|
-
|
|
211
|
+
T2NGCpMZxmeCph6tAThW2SbNI9xOy+hFGLPDXLoRj0o=
|
|
212
212
|
</data>
|
|
213
213
|
</dict>
|
|
214
214
|
<key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|