react-native-wakeword-sid 1.1.55 → 1.1.56
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/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +45 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +8485 -2271
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +130 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +130 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +90 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +8485 -2271
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +130 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +130 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +8485 -2271
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +130 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +130 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +33 -33
- package/ios/KeyWordRNBridge/KeyWordRNBridge.m +332 -2
- package/package.json +1 -1
- package/wakewords/SpeakerVerificationRNBridge.d.ts +17 -0
- package/wakewords/SpeakerVerificationRNBridge.js +134 -19
- package/wakewords/index.d.ts +7 -1
- package/wakewords/index.js +16 -0
|
@@ -63,6 +63,133 @@ public class AVAudioWrapperFrameListener {
|
|
|
63
63
|
}
|
|
64
64
|
@objc deinit
|
|
65
65
|
}
|
|
66
|
+
@objc public protocol SpeakerVerificationNativeDelegate {
|
|
67
|
+
@objc func svOnboardingProgress(_ info: [Swift.String : Any])
|
|
68
|
+
@objc func svOnboardingDone(_ info: [Swift.String : Any])
|
|
69
|
+
@objc func svVerifyResult(_ info: [Swift.String : Any])
|
|
70
|
+
@objc func svError(_ info: [Swift.String : Any])
|
|
71
|
+
}
|
|
72
|
+
public enum SVLogLevel : Swift.Int, Swift.Codable {
|
|
73
|
+
case off, error, warn, info, debug, trace
|
|
74
|
+
public init?(rawValue: Swift.Int)
|
|
75
|
+
public typealias RawValue = Swift.Int
|
|
76
|
+
public var rawValue: Swift.Int {
|
|
77
|
+
get
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
public protocol SVLogger {
|
|
81
|
+
func log(_ level: KeyWordDetection.SVLogLevel, _ tag: Swift.String, _ msg: Swift.String)
|
|
82
|
+
}
|
|
83
|
+
final public class SVDefaultLogger : KeyWordDetection.SVLogger {
|
|
84
|
+
final public var level: KeyWordDetection.SVLogLevel
|
|
85
|
+
public init(level: KeyWordDetection.SVLogLevel = .debug)
|
|
86
|
+
final public func log(_ level: KeyWordDetection.SVLogLevel, _ tag: Swift.String, _ msg: Swift.String)
|
|
87
|
+
@objc deinit
|
|
88
|
+
}
|
|
89
|
+
public struct SpeakerVerificationConfig : Swift.Codable {
|
|
90
|
+
public var modelPath: Swift.String
|
|
91
|
+
public var sampleRate: Swift.Int
|
|
92
|
+
public var numMelBins: Swift.Int
|
|
93
|
+
public var cmn: Swift.Bool
|
|
94
|
+
public var frameLengthMs: Swift.Float
|
|
95
|
+
public var frameShiftMs: Swift.Float
|
|
96
|
+
public var nFFT: Swift.Int
|
|
97
|
+
public var decisionThreshold: Swift.Float
|
|
98
|
+
public var expectedLayoutBDT: Swift.Bool
|
|
99
|
+
public var frameSize: Swift.Int
|
|
100
|
+
public var tailSeconds: Swift.Float
|
|
101
|
+
public var maxTailSeconds: Swift.Float
|
|
102
|
+
public var logLevel: KeyWordDetection.SVLogLevel
|
|
103
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
104
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
105
|
+
public init(modelPath: Swift.String, sampleRate: Swift.Int = 16_000, numMelBins: Swift.Int = 80, cmn: Swift.Bool = true, frameLengthMs: Swift.Float = 25.0, frameShiftMs: Swift.Float = 10.0, nFFT: Swift.Int = 512, decisionThreshold: Swift.Float = 0.35, expectedLayoutBDT: Swift.Bool = false, frameSize: Swift.Int = 1280, tailSeconds: Swift.Float = 2.0, maxTailSeconds: Swift.Float = 3.0, logLevel: KeyWordDetection.SVLogLevel = .debug)
|
|
106
|
+
}
|
|
107
|
+
public struct SpeakerEnrollment : Swift.Codable {
|
|
108
|
+
public let enrollmentId: Swift.String
|
|
109
|
+
public let createdAtEpochMs: Swift.Int64
|
|
110
|
+
public let configSnapshot: KeyWordDetection.SpeakerVerificationConfig
|
|
111
|
+
public let enrolledEmbeddings: [[Swift.Float]]
|
|
112
|
+
public let meanEmbedding: [Swift.Float]
|
|
113
|
+
public func serialize() throws -> Foundation.Data
|
|
114
|
+
public static func deserialize(_ data: Foundation.Data) throws -> KeyWordDetection.SpeakerEnrollment
|
|
115
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
116
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
117
|
+
}
|
|
118
|
+
public struct SVPendingInfo {
|
|
119
|
+
public let bufferedSamples: Swift.Int
|
|
120
|
+
public let bufferedSeconds: Swift.Float
|
|
121
|
+
public let neededSeconds: Swift.Float
|
|
122
|
+
}
|
|
123
|
+
public struct SpeakerVerificationResult {
|
|
124
|
+
public let scoreBest: Swift.Float
|
|
125
|
+
public let scoreMean: Swift.Float
|
|
126
|
+
public let scoreWorst: Swift.Float
|
|
127
|
+
public let isMatch: Swift.Bool
|
|
128
|
+
public let embeddingDim: Swift.Int
|
|
129
|
+
public let usedSeconds: Swift.Float
|
|
130
|
+
public let ortRunMs: Swift.Double
|
|
131
|
+
public let featureMs: Swift.Double
|
|
132
|
+
public let totalMs: Swift.Double
|
|
133
|
+
}
|
|
134
|
+
public enum SpeakerVerificationOutput {
|
|
135
|
+
case pending(KeyWordDetection.SVPendingInfo)
|
|
136
|
+
case result(KeyWordDetection.SpeakerVerificationResult)
|
|
137
|
+
}
|
|
138
|
+
public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertible {
|
|
139
|
+
case invalidFrameSize(expected: Swift.Int, got: Swift.Int)
|
|
140
|
+
case enrollmentMissing
|
|
141
|
+
case emptyAudio
|
|
142
|
+
case onnx(Swift.String)
|
|
143
|
+
case feature(Swift.String)
|
|
144
|
+
public var description: Swift.String {
|
|
145
|
+
get
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
@objc @objcMembers final public class SpeakerVerificationEngine : ObjectiveC.NSObject {
|
|
149
|
+
final public let config: KeyWordDetection.SpeakerVerificationConfig
|
|
150
|
+
final public let logger: any KeyWordDetection.SVLogger
|
|
151
|
+
public init(config: KeyWordDetection.SpeakerVerificationConfig, logger: (any KeyWordDetection.SVLogger)? = nil) throws
|
|
152
|
+
final public func setEnrollment(_ enrollment: KeyWordDetection.SpeakerEnrollment?)
|
|
153
|
+
@objc final public func resetStreamingState()
|
|
154
|
+
final public func processFrame(frame: [Swift.Float]) throws -> KeyWordDetection.SpeakerVerificationOutput
|
|
155
|
+
final public func verifyWavFileStreaming(path: Swift.String, resetState: Swift.Bool = true) throws -> KeyWordDetection.SpeakerVerificationResult
|
|
156
|
+
@objc deinit
|
|
157
|
+
}
|
|
158
|
+
@objc @objcMembers final public class SpeakerVerificationMicController : ObjectiveC.NSObject {
|
|
159
|
+
@objc weak final public var delegate: (any KeyWordDetection.SpeakerVerificationNativeDelegate)?
|
|
160
|
+
public init(config: KeyWordDetection.SpeakerVerificationConfig) throws
|
|
161
|
+
@objc final public func beginOnboarding(enrollmentId: Swift.String, targetEmbeddingCount: Swift.Int = 3, reset: Swift.Bool = true) throws
|
|
162
|
+
@objc final public func getNextEmbeddingFromMic() throws
|
|
163
|
+
@objc final public func finalizeOnboardingNow() throws
|
|
164
|
+
@objc final public func setEnrollmentJson(_ enrollmentJson: Swift.String) throws
|
|
165
|
+
@objc final public func startVerifyFromMic(resetState: Swift.Bool = true) throws
|
|
166
|
+
@objc final public func stop()
|
|
167
|
+
@objc deinit
|
|
168
|
+
}
|
|
169
|
+
final public class SpeakerEnrollmentBuilder {
|
|
170
|
+
final public var targetEmbeddingCount: Swift.Int
|
|
171
|
+
public init(config: KeyWordDetection.SpeakerVerificationConfig, enrollmentId: Swift.String, logger: (any KeyWordDetection.SVLogger)? = nil) throws
|
|
172
|
+
final public func armForNextEmbedding(resetBuffer: Swift.Bool = true)
|
|
173
|
+
final public func disarm()
|
|
174
|
+
final public func reset()
|
|
175
|
+
final public func processEnrollmentFrame(_ frame: [Swift.Float]) throws
|
|
176
|
+
final public func isReadyToFinalize() -> Swift.Bool
|
|
177
|
+
final public func finalizeEnrollment() throws -> KeyWordDetection.SpeakerEnrollment
|
|
178
|
+
@objc deinit
|
|
179
|
+
}
|
|
180
|
+
@_inheritsConvenienceInitializers @objc(SpeakerVerificationRNFacade) final public class SpeakerVerificationRNFacade : ObjectiveC.NSObject {
|
|
181
|
+
@objc(createEngineWithModelPath:enrollmentJsonPath:options:error:) public static func createEngine(modelPath: Swift.String, enrollmentJsonPath: Swift.String, options: [Swift.String : Any], error outError: Foundation.NSErrorPointer) -> Any?
|
|
182
|
+
@objc(verifyWavWithEngine:wavPath:reset:error:) public static func verifyWav(engine: Any, wavPath: Swift.String, reset: Swift.Bool, error outError: Foundation.NSErrorPointer) -> [Swift.String : Any]?
|
|
183
|
+
@objc override dynamic public init()
|
|
184
|
+
@objc deinit
|
|
185
|
+
}
|
|
186
|
+
extension KeyWordDetection.SpeakerVerificationRNFacade {
|
|
187
|
+
@objc(createMicControllerWithConfigJson:error:) public static func createMicController(configJson: Swift.String, error outError: Foundation.NSErrorPointer) -> Any?
|
|
188
|
+
}
|
|
189
|
+
extension KeyWordDetection.SpeakerEnrollmentBuilder {
|
|
190
|
+
final public func processEnrollmentFrameDidCollect(_ frame: [Swift.Float]) throws -> Swift.Bool
|
|
191
|
+
final public func collectedCount() -> Swift.Int
|
|
192
|
+
}
|
|
66
193
|
public class AVAudioWrapperBuffer {
|
|
67
194
|
public init(size: Swift.Int)
|
|
68
195
|
public func write(samples: [Swift.Float]) -> Swift.Int16
|
|
@@ -157,3 +284,6 @@ public enum AudioPlaybackHook {
|
|
|
157
284
|
@objc override dynamic public init()
|
|
158
285
|
@objc deinit
|
|
159
286
|
}
|
|
287
|
+
extension KeyWordDetection.SVLogLevel : Swift.Equatable {}
|
|
288
|
+
extension KeyWordDetection.SVLogLevel : Swift.Hashable {}
|
|
289
|
+
extension KeyWordDetection.SVLogLevel : Swift.RawRepresentable {}
|
|
@@ -63,6 +63,133 @@ public class AVAudioWrapperFrameListener {
|
|
|
63
63
|
}
|
|
64
64
|
@objc deinit
|
|
65
65
|
}
|
|
66
|
+
@objc public protocol SpeakerVerificationNativeDelegate {
|
|
67
|
+
@objc func svOnboardingProgress(_ info: [Swift.String : Any])
|
|
68
|
+
@objc func svOnboardingDone(_ info: [Swift.String : Any])
|
|
69
|
+
@objc func svVerifyResult(_ info: [Swift.String : Any])
|
|
70
|
+
@objc func svError(_ info: [Swift.String : Any])
|
|
71
|
+
}
|
|
72
|
+
public enum SVLogLevel : Swift.Int, Swift.Codable {
|
|
73
|
+
case off, error, warn, info, debug, trace
|
|
74
|
+
public init?(rawValue: Swift.Int)
|
|
75
|
+
public typealias RawValue = Swift.Int
|
|
76
|
+
public var rawValue: Swift.Int {
|
|
77
|
+
get
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
public protocol SVLogger {
|
|
81
|
+
func log(_ level: KeyWordDetection.SVLogLevel, _ tag: Swift.String, _ msg: Swift.String)
|
|
82
|
+
}
|
|
83
|
+
final public class SVDefaultLogger : KeyWordDetection.SVLogger {
|
|
84
|
+
final public var level: KeyWordDetection.SVLogLevel
|
|
85
|
+
public init(level: KeyWordDetection.SVLogLevel = .debug)
|
|
86
|
+
final public func log(_ level: KeyWordDetection.SVLogLevel, _ tag: Swift.String, _ msg: Swift.String)
|
|
87
|
+
@objc deinit
|
|
88
|
+
}
|
|
89
|
+
public struct SpeakerVerificationConfig : Swift.Codable {
|
|
90
|
+
public var modelPath: Swift.String
|
|
91
|
+
public var sampleRate: Swift.Int
|
|
92
|
+
public var numMelBins: Swift.Int
|
|
93
|
+
public var cmn: Swift.Bool
|
|
94
|
+
public var frameLengthMs: Swift.Float
|
|
95
|
+
public var frameShiftMs: Swift.Float
|
|
96
|
+
public var nFFT: Swift.Int
|
|
97
|
+
public var decisionThreshold: Swift.Float
|
|
98
|
+
public var expectedLayoutBDT: Swift.Bool
|
|
99
|
+
public var frameSize: Swift.Int
|
|
100
|
+
public var tailSeconds: Swift.Float
|
|
101
|
+
public var maxTailSeconds: Swift.Float
|
|
102
|
+
public var logLevel: KeyWordDetection.SVLogLevel
|
|
103
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
104
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
105
|
+
public init(modelPath: Swift.String, sampleRate: Swift.Int = 16_000, numMelBins: Swift.Int = 80, cmn: Swift.Bool = true, frameLengthMs: Swift.Float = 25.0, frameShiftMs: Swift.Float = 10.0, nFFT: Swift.Int = 512, decisionThreshold: Swift.Float = 0.35, expectedLayoutBDT: Swift.Bool = false, frameSize: Swift.Int = 1280, tailSeconds: Swift.Float = 2.0, maxTailSeconds: Swift.Float = 3.0, logLevel: KeyWordDetection.SVLogLevel = .debug)
|
|
106
|
+
}
|
|
107
|
+
public struct SpeakerEnrollment : Swift.Codable {
|
|
108
|
+
public let enrollmentId: Swift.String
|
|
109
|
+
public let createdAtEpochMs: Swift.Int64
|
|
110
|
+
public let configSnapshot: KeyWordDetection.SpeakerVerificationConfig
|
|
111
|
+
public let enrolledEmbeddings: [[Swift.Float]]
|
|
112
|
+
public let meanEmbedding: [Swift.Float]
|
|
113
|
+
public func serialize() throws -> Foundation.Data
|
|
114
|
+
public static func deserialize(_ data: Foundation.Data) throws -> KeyWordDetection.SpeakerEnrollment
|
|
115
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
116
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
117
|
+
}
|
|
118
|
+
public struct SVPendingInfo {
|
|
119
|
+
public let bufferedSamples: Swift.Int
|
|
120
|
+
public let bufferedSeconds: Swift.Float
|
|
121
|
+
public let neededSeconds: Swift.Float
|
|
122
|
+
}
|
|
123
|
+
public struct SpeakerVerificationResult {
|
|
124
|
+
public let scoreBest: Swift.Float
|
|
125
|
+
public let scoreMean: Swift.Float
|
|
126
|
+
public let scoreWorst: Swift.Float
|
|
127
|
+
public let isMatch: Swift.Bool
|
|
128
|
+
public let embeddingDim: Swift.Int
|
|
129
|
+
public let usedSeconds: Swift.Float
|
|
130
|
+
public let ortRunMs: Swift.Double
|
|
131
|
+
public let featureMs: Swift.Double
|
|
132
|
+
public let totalMs: Swift.Double
|
|
133
|
+
}
|
|
134
|
+
public enum SpeakerVerificationOutput {
|
|
135
|
+
case pending(KeyWordDetection.SVPendingInfo)
|
|
136
|
+
case result(KeyWordDetection.SpeakerVerificationResult)
|
|
137
|
+
}
|
|
138
|
+
public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertible {
|
|
139
|
+
case invalidFrameSize(expected: Swift.Int, got: Swift.Int)
|
|
140
|
+
case enrollmentMissing
|
|
141
|
+
case emptyAudio
|
|
142
|
+
case onnx(Swift.String)
|
|
143
|
+
case feature(Swift.String)
|
|
144
|
+
public var description: Swift.String {
|
|
145
|
+
get
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
@objc @objcMembers final public class SpeakerVerificationEngine : ObjectiveC.NSObject {
|
|
149
|
+
final public let config: KeyWordDetection.SpeakerVerificationConfig
|
|
150
|
+
final public let logger: any KeyWordDetection.SVLogger
|
|
151
|
+
public init(config: KeyWordDetection.SpeakerVerificationConfig, logger: (any KeyWordDetection.SVLogger)? = nil) throws
|
|
152
|
+
final public func setEnrollment(_ enrollment: KeyWordDetection.SpeakerEnrollment?)
|
|
153
|
+
@objc final public func resetStreamingState()
|
|
154
|
+
final public func processFrame(frame: [Swift.Float]) throws -> KeyWordDetection.SpeakerVerificationOutput
|
|
155
|
+
final public func verifyWavFileStreaming(path: Swift.String, resetState: Swift.Bool = true) throws -> KeyWordDetection.SpeakerVerificationResult
|
|
156
|
+
@objc deinit
|
|
157
|
+
}
|
|
158
|
+
@objc @objcMembers final public class SpeakerVerificationMicController : ObjectiveC.NSObject {
|
|
159
|
+
@objc weak final public var delegate: (any KeyWordDetection.SpeakerVerificationNativeDelegate)?
|
|
160
|
+
public init(config: KeyWordDetection.SpeakerVerificationConfig) throws
|
|
161
|
+
@objc final public func beginOnboarding(enrollmentId: Swift.String, targetEmbeddingCount: Swift.Int = 3, reset: Swift.Bool = true) throws
|
|
162
|
+
@objc final public func getNextEmbeddingFromMic() throws
|
|
163
|
+
@objc final public func finalizeOnboardingNow() throws
|
|
164
|
+
@objc final public func setEnrollmentJson(_ enrollmentJson: Swift.String) throws
|
|
165
|
+
@objc final public func startVerifyFromMic(resetState: Swift.Bool = true) throws
|
|
166
|
+
@objc final public func stop()
|
|
167
|
+
@objc deinit
|
|
168
|
+
}
|
|
169
|
+
final public class SpeakerEnrollmentBuilder {
|
|
170
|
+
final public var targetEmbeddingCount: Swift.Int
|
|
171
|
+
public init(config: KeyWordDetection.SpeakerVerificationConfig, enrollmentId: Swift.String, logger: (any KeyWordDetection.SVLogger)? = nil) throws
|
|
172
|
+
final public func armForNextEmbedding(resetBuffer: Swift.Bool = true)
|
|
173
|
+
final public func disarm()
|
|
174
|
+
final public func reset()
|
|
175
|
+
final public func processEnrollmentFrame(_ frame: [Swift.Float]) throws
|
|
176
|
+
final public func isReadyToFinalize() -> Swift.Bool
|
|
177
|
+
final public func finalizeEnrollment() throws -> KeyWordDetection.SpeakerEnrollment
|
|
178
|
+
@objc deinit
|
|
179
|
+
}
|
|
180
|
+
@_inheritsConvenienceInitializers @objc(SpeakerVerificationRNFacade) final public class SpeakerVerificationRNFacade : ObjectiveC.NSObject {
|
|
181
|
+
@objc(createEngineWithModelPath:enrollmentJsonPath:options:error:) public static func createEngine(modelPath: Swift.String, enrollmentJsonPath: Swift.String, options: [Swift.String : Any], error outError: Foundation.NSErrorPointer) -> Any?
|
|
182
|
+
@objc(verifyWavWithEngine:wavPath:reset:error:) public static func verifyWav(engine: Any, wavPath: Swift.String, reset: Swift.Bool, error outError: Foundation.NSErrorPointer) -> [Swift.String : Any]?
|
|
183
|
+
@objc override dynamic public init()
|
|
184
|
+
@objc deinit
|
|
185
|
+
}
|
|
186
|
+
extension KeyWordDetection.SpeakerVerificationRNFacade {
|
|
187
|
+
@objc(createMicControllerWithConfigJson:error:) public static func createMicController(configJson: Swift.String, error outError: Foundation.NSErrorPointer) -> Any?
|
|
188
|
+
}
|
|
189
|
+
extension KeyWordDetection.SpeakerEnrollmentBuilder {
|
|
190
|
+
final public func processEnrollmentFrameDidCollect(_ frame: [Swift.Float]) throws -> Swift.Bool
|
|
191
|
+
final public func collectedCount() -> Swift.Int
|
|
192
|
+
}
|
|
66
193
|
public class AVAudioWrapperBuffer {
|
|
67
194
|
public init(size: Swift.Int)
|
|
68
195
|
public func write(samples: [Swift.Float]) -> Swift.Int16
|
|
@@ -157,3 +284,6 @@ public enum AudioPlaybackHook {
|
|
|
157
284
|
@objc override dynamic public init()
|
|
158
285
|
@objc deinit
|
|
159
286
|
}
|
|
287
|
+
extension KeyWordDetection.SVLogLevel : Swift.Equatable {}
|
|
288
|
+
extension KeyWordDetection.SVLogLevel : Swift.Hashable {}
|
|
289
|
+
extension KeyWordDetection.SVLogLevel : Swift.RawRepresentable {}
|
|
Binary file
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/KeyWordDetection-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
mIo42i0m3RRq8yt0Jf+riWU4r5Q=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/KeyWordDetection.h</key>
|
|
12
12
|
<data>
|
|
@@ -18,43 +18,43 @@
|
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
gJXfpUYLrwcB+76wLRAg9qViWWI=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
Rsy5SaT5E7PutVXhX53uW67+9Z8=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
brrtg5+awEpkOez38zVfUuK/shA=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
Rsy5SaT5E7PutVXhX53uW67+9Z8=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
wKE/3G+nppvrddzjewDeOeRSo98=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
gJXfpUYLrwcB+76wLRAg9qViWWI=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
BN7RQpwZeE/bShVKA/Rz8x5PZcQ=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
bVZpy8PiZR5ZC52P75KeIH+iq4U=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
BN7RQpwZeE/bShVKA/Rz8x5PZcQ=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
Ea8Mhh9Mt4a2jrpO3veVJb+PheE=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/module.modulemap</key>
|
|
60
60
|
<data>
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
<dict>
|
|
68
68
|
<key>hash</key>
|
|
69
69
|
<data>
|
|
70
|
-
|
|
70
|
+
mIo42i0m3RRq8yt0Jf+riWU4r5Q=
|
|
71
71
|
</data>
|
|
72
72
|
<key>hash2</key>
|
|
73
73
|
<data>
|
|
74
|
-
|
|
74
|
+
v5f1/2SzIILbIbqTVADUTRS2HqFsabz5OfJaUMSKiBE=
|
|
75
75
|
</data>
|
|
76
76
|
</dict>
|
|
77
77
|
<key>Headers/KeyWordDetection.h</key>
|
|
@@ -89,110 +89,110 @@
|
|
|
89
89
|
<dict>
|
|
90
90
|
<key>hash</key>
|
|
91
91
|
<data>
|
|
92
|
-
|
|
92
|
+
gJXfpUYLrwcB+76wLRAg9qViWWI=
|
|
93
93
|
</data>
|
|
94
94
|
<key>hash2</key>
|
|
95
95
|
<data>
|
|
96
|
-
|
|
96
|
+
HKQPpOXEW/femtFBeFYDDjK+WiSw9KT46gM3IuIwM9k=
|
|
97
97
|
</data>
|
|
98
98
|
</dict>
|
|
99
99
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
100
100
|
<dict>
|
|
101
101
|
<key>hash</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
Rsy5SaT5E7PutVXhX53uW67+9Z8=
|
|
104
104
|
</data>
|
|
105
105
|
<key>hash2</key>
|
|
106
106
|
<data>
|
|
107
|
-
|
|
107
|
+
ltzggVFoH7XNcFQ1ZWXV4X/t2/X/8arAqcE6WCmHatk=
|
|
108
108
|
</data>
|
|
109
109
|
</dict>
|
|
110
110
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
111
111
|
<dict>
|
|
112
112
|
<key>hash</key>
|
|
113
113
|
<data>
|
|
114
|
-
|
|
114
|
+
brrtg5+awEpkOez38zVfUuK/shA=
|
|
115
115
|
</data>
|
|
116
116
|
<key>hash2</key>
|
|
117
117
|
<data>
|
|
118
|
-
|
|
118
|
+
hX0YkTwu7eHgGOpPp986ZSojlOjg+kndGNZnYBsqvOA=
|
|
119
119
|
</data>
|
|
120
120
|
</dict>
|
|
121
121
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
122
122
|
<dict>
|
|
123
123
|
<key>hash</key>
|
|
124
124
|
<data>
|
|
125
|
-
|
|
125
|
+
Rsy5SaT5E7PutVXhX53uW67+9Z8=
|
|
126
126
|
</data>
|
|
127
127
|
<key>hash2</key>
|
|
128
128
|
<data>
|
|
129
|
-
|
|
129
|
+
ltzggVFoH7XNcFQ1ZWXV4X/t2/X/8arAqcE6WCmHatk=
|
|
130
130
|
</data>
|
|
131
131
|
</dict>
|
|
132
132
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
133
133
|
<dict>
|
|
134
134
|
<key>hash</key>
|
|
135
135
|
<data>
|
|
136
|
-
|
|
136
|
+
wKE/3G+nppvrddzjewDeOeRSo98=
|
|
137
137
|
</data>
|
|
138
138
|
<key>hash2</key>
|
|
139
139
|
<data>
|
|
140
|
-
|
|
140
|
+
0mHM4W3SUdmqsfErJx1bWCx0RRD+SyEGn1XPzU7KJ9U=
|
|
141
141
|
</data>
|
|
142
142
|
</dict>
|
|
143
143
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
144
144
|
<dict>
|
|
145
145
|
<key>hash</key>
|
|
146
146
|
<data>
|
|
147
|
-
|
|
147
|
+
gJXfpUYLrwcB+76wLRAg9qViWWI=
|
|
148
148
|
</data>
|
|
149
149
|
<key>hash2</key>
|
|
150
150
|
<data>
|
|
151
|
-
|
|
151
|
+
HKQPpOXEW/femtFBeFYDDjK+WiSw9KT46gM3IuIwM9k=
|
|
152
152
|
</data>
|
|
153
153
|
</dict>
|
|
154
154
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
155
155
|
<dict>
|
|
156
156
|
<key>hash</key>
|
|
157
157
|
<data>
|
|
158
|
-
|
|
158
|
+
BN7RQpwZeE/bShVKA/Rz8x5PZcQ=
|
|
159
159
|
</data>
|
|
160
160
|
<key>hash2</key>
|
|
161
161
|
<data>
|
|
162
|
-
|
|
162
|
+
RzE1HbUoVEHi3lB6nKx6WXrXBlSElu35vrDQfoyx7N4=
|
|
163
163
|
</data>
|
|
164
164
|
</dict>
|
|
165
165
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
166
166
|
<dict>
|
|
167
167
|
<key>hash</key>
|
|
168
168
|
<data>
|
|
169
|
-
|
|
169
|
+
bVZpy8PiZR5ZC52P75KeIH+iq4U=
|
|
170
170
|
</data>
|
|
171
171
|
<key>hash2</key>
|
|
172
172
|
<data>
|
|
173
|
-
|
|
173
|
+
TCIrjiBfJTgDWggyOi9MAOB6X+fsDkqLHKeZ90XXdQQ=
|
|
174
174
|
</data>
|
|
175
175
|
</dict>
|
|
176
176
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
177
177
|
<dict>
|
|
178
178
|
<key>hash</key>
|
|
179
179
|
<data>
|
|
180
|
-
|
|
180
|
+
BN7RQpwZeE/bShVKA/Rz8x5PZcQ=
|
|
181
181
|
</data>
|
|
182
182
|
<key>hash2</key>
|
|
183
183
|
<data>
|
|
184
|
-
|
|
184
|
+
RzE1HbUoVEHi3lB6nKx6WXrXBlSElu35vrDQfoyx7N4=
|
|
185
185
|
</data>
|
|
186
186
|
</dict>
|
|
187
187
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
188
188
|
<dict>
|
|
189
189
|
<key>hash</key>
|
|
190
190
|
<data>
|
|
191
|
-
|
|
191
|
+
Ea8Mhh9Mt4a2jrpO3veVJb+PheE=
|
|
192
192
|
</data>
|
|
193
193
|
<key>hash2</key>
|
|
194
194
|
<data>
|
|
195
|
-
|
|
195
|
+
YPjaTjLsn/37Hrt6z6kijE4hfsQUktyWGL1+zbVyvx0=
|
|
196
196
|
</data>
|
|
197
197
|
</dict>
|
|
198
198
|
<key>Modules/module.modulemap</key>
|