react-native-wakeword 1.1.61 → 1.1.62

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.
Files changed (18) hide show
  1. package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar +0 -0
  2. package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar.md5 +1 -1
  3. package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar.sha1 +1 -1
  4. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  5. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +916 -153
  6. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +12 -2
  7. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +12 -2
  8. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  9. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +916 -153
  10. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +12 -2
  11. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +12 -2
  12. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +916 -153
  13. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +12 -2
  14. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +12 -2
  15. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeDirectory +0 -0
  16. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements-1 +0 -0
  17. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +24 -24
  18. package/package.json +1 -1
@@ -99,10 +99,13 @@ public struct SpeakerVerificationConfig : Swift.Codable {
99
99
  public var frameSize: Swift.Int
100
100
  public var tailSeconds: Swift.Float
101
101
  public var maxTailSeconds: Swift.Float
102
+ public var meanComboEnabled: Swift.Bool
103
+ public var meanComboMaxK: Swift.Int
104
+ public var meanComboMaxTotal: Swift.Int
102
105
  public var logLevel: KeyWordDetection.SVLogLevel
103
106
  public init(from decoder: any Swift.Decoder) throws
104
107
  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)
108
+ 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, meanComboEnabled: Swift.Bool = true, meanComboMaxK: Swift.Int = 3, meanComboMaxTotal: Swift.Int = 2000, logLevel: KeyWordDetection.SVLogLevel = .debug)
106
109
  }
107
110
  public struct SpeakerEnrollment : Swift.Codable {
108
111
  public let enrollmentId: Swift.String
@@ -110,10 +113,13 @@ public struct SpeakerEnrollment : Swift.Codable {
110
113
  public let configSnapshot: KeyWordDetection.SpeakerVerificationConfig
111
114
  public let enrolledEmbeddings: [[Swift.Float]]
112
115
  public let meanEmbedding: [Swift.Float]
116
+ public let meanComboEmbeddings: [[Swift.Float]]
117
+ public let meanComboLabels: [Swift.String]
118
+ public init(enrollmentId: Swift.String, createdAtEpochMs: Swift.Int64, configSnapshot: KeyWordDetection.SpeakerVerificationConfig, enrolledEmbeddings: [[Swift.Float]], meanEmbedding: [Swift.Float], meanComboEmbeddings: [[Swift.Float]] = [], meanComboLabels: [Swift.String] = [])
119
+ public init(from decoder: any Swift.Decoder) throws
113
120
  public func serialize() throws -> Foundation.Data
114
121
  public static func deserialize(_ data: Foundation.Data) throws -> KeyWordDetection.SpeakerEnrollment
115
122
  public func encode(to encoder: any Swift.Encoder) throws
116
- public init(from decoder: any Swift.Decoder) throws
117
123
  }
118
124
  public struct SVPendingInfo {
119
125
  public let bufferedSamples: Swift.Int
@@ -124,6 +130,10 @@ public struct SpeakerVerificationResult {
124
130
  public let scoreBest: Swift.Float
125
131
  public let scoreMean: Swift.Float
126
132
  public let scoreWorst: Swift.Float
133
+ public let scoreBestRaw: Swift.Float
134
+ public let scoreBestMeancombo: Swift.Float
135
+ public let bestKind: Swift.String
136
+ public let bestId: Swift.String
127
137
  public let isMatch: Swift.Bool
128
138
  public let embeddingDim: Swift.Int
129
139
  public let usedSeconds: Swift.Float
@@ -99,10 +99,13 @@ public struct SpeakerVerificationConfig : Swift.Codable {
99
99
  public var frameSize: Swift.Int
100
100
  public var tailSeconds: Swift.Float
101
101
  public var maxTailSeconds: Swift.Float
102
+ public var meanComboEnabled: Swift.Bool
103
+ public var meanComboMaxK: Swift.Int
104
+ public var meanComboMaxTotal: Swift.Int
102
105
  public var logLevel: KeyWordDetection.SVLogLevel
103
106
  public init(from decoder: any Swift.Decoder) throws
104
107
  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)
108
+ 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, meanComboEnabled: Swift.Bool = true, meanComboMaxK: Swift.Int = 3, meanComboMaxTotal: Swift.Int = 2000, logLevel: KeyWordDetection.SVLogLevel = .debug)
106
109
  }
107
110
  public struct SpeakerEnrollment : Swift.Codable {
108
111
  public let enrollmentId: Swift.String
@@ -110,10 +113,13 @@ public struct SpeakerEnrollment : Swift.Codable {
110
113
  public let configSnapshot: KeyWordDetection.SpeakerVerificationConfig
111
114
  public let enrolledEmbeddings: [[Swift.Float]]
112
115
  public let meanEmbedding: [Swift.Float]
116
+ public let meanComboEmbeddings: [[Swift.Float]]
117
+ public let meanComboLabels: [Swift.String]
118
+ public init(enrollmentId: Swift.String, createdAtEpochMs: Swift.Int64, configSnapshot: KeyWordDetection.SpeakerVerificationConfig, enrolledEmbeddings: [[Swift.Float]], meanEmbedding: [Swift.Float], meanComboEmbeddings: [[Swift.Float]] = [], meanComboLabels: [Swift.String] = [])
119
+ public init(from decoder: any Swift.Decoder) throws
113
120
  public func serialize() throws -> Foundation.Data
114
121
  public static func deserialize(_ data: Foundation.Data) throws -> KeyWordDetection.SpeakerEnrollment
115
122
  public func encode(to encoder: any Swift.Encoder) throws
116
- public init(from decoder: any Swift.Decoder) throws
117
123
  }
118
124
  public struct SVPendingInfo {
119
125
  public let bufferedSamples: Swift.Int
@@ -124,6 +130,10 @@ public struct SpeakerVerificationResult {
124
130
  public let scoreBest: Swift.Float
125
131
  public let scoreMean: Swift.Float
126
132
  public let scoreWorst: Swift.Float
133
+ public let scoreBestRaw: Swift.Float
134
+ public let scoreBestMeancombo: Swift.Float
135
+ public let bestKind: Swift.String
136
+ public let bestId: Swift.String
127
137
  public let isMatch: Swift.Bool
128
138
  public let embeddingDim: Swift.Int
129
139
  public let usedSeconds: Swift.Float
@@ -18,11 +18,11 @@
18
18
  </data>
19
19
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
20
20
  <data>
21
- 1Hpu1hyjei+B6KVyV/afA9dy3g0=
21
+ 0FBkROeCmDv42vSWwB6F00Do0Qs=
22
22
  </data>
23
23
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
24
24
  <data>
25
- s9fm1OO8QBO6n166HDhSwsILbrA=
25
+ J/GubsYuWbAcAAYE85yUjPTCGc4=
26
26
  </data>
27
27
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
28
28
  <data>
@@ -30,19 +30,19 @@
30
30
  </data>
31
31
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
32
32
  <data>
33
- s9fm1OO8QBO6n166HDhSwsILbrA=
33
+ J/GubsYuWbAcAAYE85yUjPTCGc4=
34
34
  </data>
35
35
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
36
36
  <data>
37
- 6852gM/nWGAd48/UGZqk0hcba4Y=
37
+ U+Iu3w0WPl2M4cfT2APPddQsAl8=
38
38
  </data>
39
39
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
40
40
  <data>
41
- 1Hpu1hyjei+B6KVyV/afA9dy3g0=
41
+ 0FBkROeCmDv42vSWwB6F00Do0Qs=
42
42
  </data>
43
43
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
44
44
  <data>
45
- +mOVH2XqDar7lCwm4Y/agXLV/HA=
45
+ gf3ixnYyr2SLuE07O10b0MNFTE8=
46
46
  </data>
47
47
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
48
48
  <data>
@@ -50,11 +50,11 @@
50
50
  </data>
51
51
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
52
52
  <data>
53
- +mOVH2XqDar7lCwm4Y/agXLV/HA=
53
+ gf3ixnYyr2SLuE07O10b0MNFTE8=
54
54
  </data>
55
55
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
56
56
  <data>
57
- VO6w7s0Zt5HAFoPltAawTfImlxY=
57
+ 1CndaMwmyiKRCXQ4qbKPfMBpg0M=
58
58
  </data>
59
59
  <key>Modules/module.modulemap</key>
60
60
  <data>
@@ -89,22 +89,22 @@
89
89
  <dict>
90
90
  <key>hash</key>
91
91
  <data>
92
- 1Hpu1hyjei+B6KVyV/afA9dy3g0=
92
+ 0FBkROeCmDv42vSWwB6F00Do0Qs=
93
93
  </data>
94
94
  <key>hash2</key>
95
95
  <data>
96
- QWwXLvQfYkAHY2rvYY296rQWRu9u54ptxyQAzitNXfI=
96
+ UTOE8A8a71PuHZ7KOaqDhMjmIVlqPTq0OTU1NQh+gXk=
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
- s9fm1OO8QBO6n166HDhSwsILbrA=
103
+ J/GubsYuWbAcAAYE85yUjPTCGc4=
104
104
  </data>
105
105
  <key>hash2</key>
106
106
  <data>
107
- C8tE5+Zgj06GSPi893dwdDWZeA/qmGylgcHUFNx121Y=
107
+ A6pFA620uAimUra+CRus6stJS7yqpzc9huKBlLYBMzQ=
108
108
  </data>
109
109
  </dict>
110
110
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
@@ -122,44 +122,44 @@
122
122
  <dict>
123
123
  <key>hash</key>
124
124
  <data>
125
- s9fm1OO8QBO6n166HDhSwsILbrA=
125
+ J/GubsYuWbAcAAYE85yUjPTCGc4=
126
126
  </data>
127
127
  <key>hash2</key>
128
128
  <data>
129
- C8tE5+Zgj06GSPi893dwdDWZeA/qmGylgcHUFNx121Y=
129
+ A6pFA620uAimUra+CRus6stJS7yqpzc9huKBlLYBMzQ=
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
- 6852gM/nWGAd48/UGZqk0hcba4Y=
136
+ U+Iu3w0WPl2M4cfT2APPddQsAl8=
137
137
  </data>
138
138
  <key>hash2</key>
139
139
  <data>
140
- b7mvwOGRRrhdDyD7W3izUEKkoAtOFcA8H3zvFXMzVeI=
140
+ nZb9pXCbQjE+GPveAGWUpv821j203h7rz1ghWW9LJoU=
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
- 1Hpu1hyjei+B6KVyV/afA9dy3g0=
147
+ 0FBkROeCmDv42vSWwB6F00Do0Qs=
148
148
  </data>
149
149
  <key>hash2</key>
150
150
  <data>
151
- QWwXLvQfYkAHY2rvYY296rQWRu9u54ptxyQAzitNXfI=
151
+ UTOE8A8a71PuHZ7KOaqDhMjmIVlqPTq0OTU1NQh+gXk=
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
- +mOVH2XqDar7lCwm4Y/agXLV/HA=
158
+ gf3ixnYyr2SLuE07O10b0MNFTE8=
159
159
  </data>
160
160
  <key>hash2</key>
161
161
  <data>
162
- Ied4GuiRS46YV1YoihMjRqwwj5uKhlZR2mNR18Yijj0=
162
+ rPXTms7YUZipexangD1fpkrR0F9cRI7da8NQahrqbf8=
163
163
  </data>
164
164
  </dict>
165
165
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
@@ -177,22 +177,22 @@
177
177
  <dict>
178
178
  <key>hash</key>
179
179
  <data>
180
- +mOVH2XqDar7lCwm4Y/agXLV/HA=
180
+ gf3ixnYyr2SLuE07O10b0MNFTE8=
181
181
  </data>
182
182
  <key>hash2</key>
183
183
  <data>
184
- Ied4GuiRS46YV1YoihMjRqwwj5uKhlZR2mNR18Yijj0=
184
+ rPXTms7YUZipexangD1fpkrR0F9cRI7da8NQahrqbf8=
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
- VO6w7s0Zt5HAFoPltAawTfImlxY=
191
+ 1CndaMwmyiKRCXQ4qbKPfMBpg0M=
192
192
  </data>
193
193
  <key>hash2</key>
194
194
  <data>
195
- KyJZ74FzHrgGSdNsQszDmCaOcRVUdIg+Q7B5hM1POFA=
195
+ JurDtncLsZKCCf+Vn+tmkYaDChQvXQWbwrPPbz4blQI=
196
196
  </data>
197
197
  </dict>
198
198
  <key>Modules/module.modulemap</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wakeword",
3
- "version": "1.1.61",
3
+ "version": "1.1.62",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",