react-native-davoice-tts 1.0.307 → 1.0.308
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 +103 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/Info.plist +5 -5
- 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 +10163 -7774
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +75 -35
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +75 -35
- 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 +2588 -199
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +40 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +40 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +2588 -199
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +40 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +40 -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 +24 -39
- package/package.json +1 -1
- package/speech/index.ts +24 -0
|
@@ -195,6 +195,44 @@ public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertibl
|
|
|
195
195
|
@objc final public func destroy()
|
|
196
196
|
@objc(speak:sid:) final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0)
|
|
197
197
|
@objc(speak:sid:speed:) final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0, speed: Swift.Float)
|
|
198
|
+
public struct SpeechCleanupConfig {
|
|
199
|
+
public var hiss: Swift.Float
|
|
200
|
+
public var staticNoise: Swift.Float
|
|
201
|
+
public var whiteNoise: Swift.Float
|
|
202
|
+
public var rfNoise: Swift.Float
|
|
203
|
+
public var attackMs: Swift.Double
|
|
204
|
+
public var releaseMs: Swift.Double
|
|
205
|
+
public var noiseFloor: Swift.Float
|
|
206
|
+
public var brightenComp: Swift.Float
|
|
207
|
+
public init(hiss: Swift.Float = 0, staticNoise: Swift.Float = 0, whiteNoise: Swift.Float = 0, rfNoise: Swift.Float = 0, attackMs: Swift.Double = 2.5, releaseMs: Swift.Double = 45.0, noiseFloor: Swift.Float = 0.005, brightenComp: Swift.Float = 0.15)
|
|
208
|
+
public static let off: DavoiceTTS.DaVoiceTTS.SpeechCleanupConfig
|
|
209
|
+
public static let medium: DavoiceTTS.DaVoiceTTS.SpeechCleanupConfig
|
|
210
|
+
public static let aggressive: DavoiceTTS.DaVoiceTTS.SpeechCleanupConfig
|
|
211
|
+
}
|
|
212
|
+
public struct NoiseReductionConfig {
|
|
213
|
+
public var hissAmount: Swift.Float
|
|
214
|
+
public var staticAmount: Swift.Float
|
|
215
|
+
public var whiteNoiseAmount: Swift.Float
|
|
216
|
+
public var rfNoiseAmount: Swift.Float
|
|
217
|
+
public var noiseFloor: Swift.Float
|
|
218
|
+
public var attackMs: Swift.Double
|
|
219
|
+
public var releaseMs: Swift.Double
|
|
220
|
+
public var preserveBrightness: Swift.Float
|
|
221
|
+
public init(hissAmount: Swift.Float = 0.0, staticAmount: Swift.Float = 0.0, whiteNoiseAmount: Swift.Float = 0.0, rfNoiseAmount: Swift.Float = 0.0, noiseFloor: Swift.Float = 0.006, attackMs: Swift.Double = 3.0, releaseMs: Swift.Double = 45.0, preserveBrightness: Swift.Float = 0.75)
|
|
222
|
+
public static let off: DavoiceTTS.DaVoiceTTS.NoiseReductionConfig
|
|
223
|
+
public static let speechCleanup: DavoiceTTS.DaVoiceTTS.NoiseReductionConfig
|
|
224
|
+
}
|
|
225
|
+
public enum SpeechCleanupPreset {
|
|
226
|
+
case off
|
|
227
|
+
case light
|
|
228
|
+
case medium
|
|
229
|
+
case aggressive
|
|
230
|
+
public static func == (a: DavoiceTTS.DaVoiceTTS.SpeechCleanupPreset, b: DavoiceTTS.DaVoiceTTS.SpeechCleanupPreset) -> Swift.Bool
|
|
231
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
232
|
+
public var hashValue: Swift.Int {
|
|
233
|
+
get
|
|
234
|
+
}
|
|
235
|
+
}
|
|
198
236
|
@objc final public func synthesize_top(_ _text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID, speed_adjuster: Swift.Float) throws -> AVFAudio.AVAudioPCMBuffer
|
|
199
237
|
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
200
238
|
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
@@ -202,3 +240,5 @@ public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertibl
|
|
|
202
240
|
extension DavoiceTTS.SVLogLevel : Swift.Equatable {}
|
|
203
241
|
extension DavoiceTTS.SVLogLevel : Swift.Hashable {}
|
|
204
242
|
extension DavoiceTTS.SVLogLevel : Swift.RawRepresentable {}
|
|
243
|
+
extension DavoiceTTS.DaVoiceTTS.SpeechCleanupPreset : Swift.Equatable {}
|
|
244
|
+
extension DavoiceTTS.DaVoiceTTS.SpeechCleanupPreset : Swift.Hashable {}
|
|
@@ -195,6 +195,44 @@ public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertibl
|
|
|
195
195
|
@objc final public func destroy()
|
|
196
196
|
@objc(speak:sid:) final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0)
|
|
197
197
|
@objc(speak:sid:speed:) final public func speak(_ txt: Swift.String, sid: Swift.Int32 = 0, speed: Swift.Float)
|
|
198
|
+
public struct SpeechCleanupConfig {
|
|
199
|
+
public var hiss: Swift.Float
|
|
200
|
+
public var staticNoise: Swift.Float
|
|
201
|
+
public var whiteNoise: Swift.Float
|
|
202
|
+
public var rfNoise: Swift.Float
|
|
203
|
+
public var attackMs: Swift.Double
|
|
204
|
+
public var releaseMs: Swift.Double
|
|
205
|
+
public var noiseFloor: Swift.Float
|
|
206
|
+
public var brightenComp: Swift.Float
|
|
207
|
+
public init(hiss: Swift.Float = 0, staticNoise: Swift.Float = 0, whiteNoise: Swift.Float = 0, rfNoise: Swift.Float = 0, attackMs: Swift.Double = 2.5, releaseMs: Swift.Double = 45.0, noiseFloor: Swift.Float = 0.005, brightenComp: Swift.Float = 0.15)
|
|
208
|
+
public static let off: DavoiceTTS.DaVoiceTTS.SpeechCleanupConfig
|
|
209
|
+
public static let medium: DavoiceTTS.DaVoiceTTS.SpeechCleanupConfig
|
|
210
|
+
public static let aggressive: DavoiceTTS.DaVoiceTTS.SpeechCleanupConfig
|
|
211
|
+
}
|
|
212
|
+
public struct NoiseReductionConfig {
|
|
213
|
+
public var hissAmount: Swift.Float
|
|
214
|
+
public var staticAmount: Swift.Float
|
|
215
|
+
public var whiteNoiseAmount: Swift.Float
|
|
216
|
+
public var rfNoiseAmount: Swift.Float
|
|
217
|
+
public var noiseFloor: Swift.Float
|
|
218
|
+
public var attackMs: Swift.Double
|
|
219
|
+
public var releaseMs: Swift.Double
|
|
220
|
+
public var preserveBrightness: Swift.Float
|
|
221
|
+
public init(hissAmount: Swift.Float = 0.0, staticAmount: Swift.Float = 0.0, whiteNoiseAmount: Swift.Float = 0.0, rfNoiseAmount: Swift.Float = 0.0, noiseFloor: Swift.Float = 0.006, attackMs: Swift.Double = 3.0, releaseMs: Swift.Double = 45.0, preserveBrightness: Swift.Float = 0.75)
|
|
222
|
+
public static let off: DavoiceTTS.DaVoiceTTS.NoiseReductionConfig
|
|
223
|
+
public static let speechCleanup: DavoiceTTS.DaVoiceTTS.NoiseReductionConfig
|
|
224
|
+
}
|
|
225
|
+
public enum SpeechCleanupPreset {
|
|
226
|
+
case off
|
|
227
|
+
case light
|
|
228
|
+
case medium
|
|
229
|
+
case aggressive
|
|
230
|
+
public static func == (a: DavoiceTTS.DaVoiceTTS.SpeechCleanupPreset, b: DavoiceTTS.DaVoiceTTS.SpeechCleanupPreset) -> Swift.Bool
|
|
231
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
232
|
+
public var hashValue: Swift.Int {
|
|
233
|
+
get
|
|
234
|
+
}
|
|
235
|
+
}
|
|
198
236
|
@objc final public func synthesize_top(_ _text: Swift.String, speakerId: Swift.Int32 = 0, token: Foundation.UUID, speed_adjuster: Swift.Float) throws -> AVFAudio.AVAudioPCMBuffer
|
|
199
237
|
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
200
238
|
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
@@ -202,3 +240,5 @@ public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertibl
|
|
|
202
240
|
extension DavoiceTTS.SVLogLevel : Swift.Equatable {}
|
|
203
241
|
extension DavoiceTTS.SVLogLevel : Swift.Hashable {}
|
|
204
242
|
extension DavoiceTTS.SVLogLevel : Swift.RawRepresentable {}
|
|
243
|
+
extension DavoiceTTS.DaVoiceTTS.SpeechCleanupPreset : Swift.Equatable {}
|
|
244
|
+
extension DavoiceTTS.DaVoiceTTS.SpeechCleanupPreset : Swift.Hashable {}
|