react-native-wakeword 1.0.57 → 1.0.59
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/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar +0 -0
- package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar.md5 +1 -1
- package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar.sha1 +1 -1
- package/android/src/main/java/com/davoice/keywordspotting/KeyWordRNBridge.java +18 -0
- package/ios/KeyWordDetection.xcframework/Info.plist +5 -5
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +317 -55
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +1 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +317 -55
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +317 -55
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +20 -20
- package/package.json +6 -5
- package/wakewords/KeyWordRNBridge.d.ts +1 -1
- package/wakewords/index.d.ts +4 -4
- package/wakewords/useModel.d.ts +5 -12
|
@@ -761,6 +761,191 @@
|
|
|
761
761
|
}
|
|
762
762
|
]
|
|
763
763
|
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "Var",
|
|
766
|
+
"name": "eventSink",
|
|
767
|
+
"printedName": "eventSink",
|
|
768
|
+
"children": [
|
|
769
|
+
{
|
|
770
|
+
"kind": "TypeNominal",
|
|
771
|
+
"name": "Optional",
|
|
772
|
+
"printedName": "(([Swift.String : Any]) -> ())?",
|
|
773
|
+
"children": [
|
|
774
|
+
{
|
|
775
|
+
"kind": "TypeFunc",
|
|
776
|
+
"name": "Function",
|
|
777
|
+
"printedName": "([Swift.String : Any]) -> ()",
|
|
778
|
+
"children": [
|
|
779
|
+
{
|
|
780
|
+
"kind": "TypeNominal",
|
|
781
|
+
"name": "Void",
|
|
782
|
+
"printedName": "()"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"kind": "TypeNominal",
|
|
786
|
+
"name": "Dictionary",
|
|
787
|
+
"printedName": "[Swift.String : Any]",
|
|
788
|
+
"children": [
|
|
789
|
+
{
|
|
790
|
+
"kind": "TypeNominal",
|
|
791
|
+
"name": "String",
|
|
792
|
+
"printedName": "Swift.String",
|
|
793
|
+
"usr": "s:SS"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"kind": "TypeNominal",
|
|
797
|
+
"name": "ProtocolComposition",
|
|
798
|
+
"printedName": "Any"
|
|
799
|
+
}
|
|
800
|
+
],
|
|
801
|
+
"usr": "s:SD"
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
}
|
|
805
|
+
],
|
|
806
|
+
"usr": "s:Sq"
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
"declKind": "Var",
|
|
810
|
+
"usr": "s:16KeyWordDetection0a5WordsC0C9eventSinkySDySSypGcSgvp",
|
|
811
|
+
"mangledName": "$s16KeyWordDetection0a5WordsC0C9eventSinkySDySSypGcSgvp",
|
|
812
|
+
"moduleName": "KeyWordDetection",
|
|
813
|
+
"declAttributes": [
|
|
814
|
+
"HasInitialValue",
|
|
815
|
+
"HasStorage",
|
|
816
|
+
"AccessControl"
|
|
817
|
+
],
|
|
818
|
+
"hasStorage": true,
|
|
819
|
+
"accessors": [
|
|
820
|
+
{
|
|
821
|
+
"kind": "Accessor",
|
|
822
|
+
"name": "Get",
|
|
823
|
+
"printedName": "Get()",
|
|
824
|
+
"children": [
|
|
825
|
+
{
|
|
826
|
+
"kind": "TypeNominal",
|
|
827
|
+
"name": "Optional",
|
|
828
|
+
"printedName": "(([Swift.String : Any]) -> ())?",
|
|
829
|
+
"children": [
|
|
830
|
+
{
|
|
831
|
+
"kind": "TypeFunc",
|
|
832
|
+
"name": "Function",
|
|
833
|
+
"printedName": "([Swift.String : Any]) -> ()",
|
|
834
|
+
"children": [
|
|
835
|
+
{
|
|
836
|
+
"kind": "TypeNominal",
|
|
837
|
+
"name": "Void",
|
|
838
|
+
"printedName": "()"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"kind": "TypeNominal",
|
|
842
|
+
"name": "Dictionary",
|
|
843
|
+
"printedName": "[Swift.String : Any]",
|
|
844
|
+
"children": [
|
|
845
|
+
{
|
|
846
|
+
"kind": "TypeNominal",
|
|
847
|
+
"name": "String",
|
|
848
|
+
"printedName": "Swift.String",
|
|
849
|
+
"usr": "s:SS"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"kind": "TypeNominal",
|
|
853
|
+
"name": "ProtocolComposition",
|
|
854
|
+
"printedName": "Any"
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
"usr": "s:SD"
|
|
858
|
+
}
|
|
859
|
+
]
|
|
860
|
+
}
|
|
861
|
+
],
|
|
862
|
+
"usr": "s:Sq"
|
|
863
|
+
}
|
|
864
|
+
],
|
|
865
|
+
"declKind": "Accessor",
|
|
866
|
+
"usr": "s:16KeyWordDetection0a5WordsC0C9eventSinkySDySSypGcSgvg",
|
|
867
|
+
"mangledName": "$s16KeyWordDetection0a5WordsC0C9eventSinkySDySSypGcSgvg",
|
|
868
|
+
"moduleName": "KeyWordDetection",
|
|
869
|
+
"implicit": true,
|
|
870
|
+
"accessorKind": "get"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"kind": "Accessor",
|
|
874
|
+
"name": "Set",
|
|
875
|
+
"printedName": "Set()",
|
|
876
|
+
"children": [
|
|
877
|
+
{
|
|
878
|
+
"kind": "TypeNominal",
|
|
879
|
+
"name": "Void",
|
|
880
|
+
"printedName": "()"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"kind": "TypeNominal",
|
|
884
|
+
"name": "Optional",
|
|
885
|
+
"printedName": "(([Swift.String : Any]) -> ())?",
|
|
886
|
+
"children": [
|
|
887
|
+
{
|
|
888
|
+
"kind": "TypeFunc",
|
|
889
|
+
"name": "Function",
|
|
890
|
+
"printedName": "([Swift.String : Any]) -> ()",
|
|
891
|
+
"children": [
|
|
892
|
+
{
|
|
893
|
+
"kind": "TypeNominal",
|
|
894
|
+
"name": "Void",
|
|
895
|
+
"printedName": "()"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"kind": "TypeNominal",
|
|
899
|
+
"name": "Dictionary",
|
|
900
|
+
"printedName": "[Swift.String : Any]",
|
|
901
|
+
"children": [
|
|
902
|
+
{
|
|
903
|
+
"kind": "TypeNominal",
|
|
904
|
+
"name": "String",
|
|
905
|
+
"printedName": "Swift.String",
|
|
906
|
+
"usr": "s:SS"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"kind": "TypeNominal",
|
|
910
|
+
"name": "ProtocolComposition",
|
|
911
|
+
"printedName": "Any"
|
|
912
|
+
}
|
|
913
|
+
],
|
|
914
|
+
"usr": "s:SD"
|
|
915
|
+
}
|
|
916
|
+
]
|
|
917
|
+
}
|
|
918
|
+
],
|
|
919
|
+
"usr": "s:Sq"
|
|
920
|
+
}
|
|
921
|
+
],
|
|
922
|
+
"declKind": "Accessor",
|
|
923
|
+
"usr": "s:16KeyWordDetection0a5WordsC0C9eventSinkySDySSypGcSgvs",
|
|
924
|
+
"mangledName": "$s16KeyWordDetection0a5WordsC0C9eventSinkySDySSypGcSgvs",
|
|
925
|
+
"moduleName": "KeyWordDetection",
|
|
926
|
+
"implicit": true,
|
|
927
|
+
"accessorKind": "set"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"kind": "Accessor",
|
|
931
|
+
"name": "Modify",
|
|
932
|
+
"printedName": "Modify()",
|
|
933
|
+
"children": [
|
|
934
|
+
{
|
|
935
|
+
"kind": "TypeNominal",
|
|
936
|
+
"name": "Void",
|
|
937
|
+
"printedName": "()"
|
|
938
|
+
}
|
|
939
|
+
],
|
|
940
|
+
"declKind": "Accessor",
|
|
941
|
+
"usr": "s:16KeyWordDetection0a5WordsC0C9eventSinkySDySSypGcSgvM",
|
|
942
|
+
"mangledName": "$s16KeyWordDetection0a5WordsC0C9eventSinkySDySSypGcSgvM",
|
|
943
|
+
"moduleName": "KeyWordDetection",
|
|
944
|
+
"implicit": true,
|
|
945
|
+
"accessorKind": "_modify"
|
|
946
|
+
}
|
|
947
|
+
]
|
|
948
|
+
},
|
|
764
949
|
{
|
|
765
950
|
"kind": "Constructor",
|
|
766
951
|
"name": "init",
|
|
@@ -1172,6 +1357,62 @@
|
|
|
1172
1357
|
"declKind": "Import",
|
|
1173
1358
|
"moduleName": "KeyWordDetection"
|
|
1174
1359
|
},
|
|
1360
|
+
{
|
|
1361
|
+
"kind": "Import",
|
|
1362
|
+
"name": "AVFoundation",
|
|
1363
|
+
"printedName": "AVFoundation",
|
|
1364
|
+
"declKind": "Import",
|
|
1365
|
+
"moduleName": "KeyWordDetection"
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"kind": "Import",
|
|
1369
|
+
"name": "os.log",
|
|
1370
|
+
"printedName": "os.log",
|
|
1371
|
+
"declKind": "Import",
|
|
1372
|
+
"moduleName": "KeyWordDetection"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"kind": "Import",
|
|
1376
|
+
"name": "onnxruntime_objc",
|
|
1377
|
+
"printedName": "onnxruntime_objc",
|
|
1378
|
+
"declKind": "Import",
|
|
1379
|
+
"moduleName": "KeyWordDetection"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"kind": "Import",
|
|
1383
|
+
"name": "Foundation",
|
|
1384
|
+
"printedName": "Foundation",
|
|
1385
|
+
"declKind": "Import",
|
|
1386
|
+
"moduleName": "KeyWordDetection"
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"kind": "Import",
|
|
1390
|
+
"name": "AVFoundation",
|
|
1391
|
+
"printedName": "AVFoundation",
|
|
1392
|
+
"declKind": "Import",
|
|
1393
|
+
"moduleName": "KeyWordDetection"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"kind": "Import",
|
|
1397
|
+
"name": "os.log",
|
|
1398
|
+
"printedName": "os.log",
|
|
1399
|
+
"declKind": "Import",
|
|
1400
|
+
"moduleName": "KeyWordDetection"
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"kind": "Import",
|
|
1404
|
+
"name": "onnxruntime_objc",
|
|
1405
|
+
"printedName": "onnxruntime_objc",
|
|
1406
|
+
"declKind": "Import",
|
|
1407
|
+
"moduleName": "KeyWordDetection"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"kind": "Import",
|
|
1411
|
+
"name": "Foundation",
|
|
1412
|
+
"printedName": "Foundation",
|
|
1413
|
+
"declKind": "Import",
|
|
1414
|
+
"moduleName": "KeyWordDetection"
|
|
1415
|
+
},
|
|
1175
1416
|
{
|
|
1176
1417
|
"kind": "Import",
|
|
1177
1418
|
"name": "CommonCrypto",
|
|
@@ -1297,112 +1538,98 @@
|
|
|
1297
1538
|
{
|
|
1298
1539
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1299
1540
|
"kind": "IntegerLiteral",
|
|
1300
|
-
"offset":
|
|
1541
|
+
"offset": 7128,
|
|
1301
1542
|
"length": 2,
|
|
1302
1543
|
"value": "30"
|
|
1303
1544
|
},
|
|
1304
1545
|
{
|
|
1305
1546
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1306
1547
|
"kind": "BooleanLiteral",
|
|
1307
|
-
"offset":
|
|
1548
|
+
"offset": 7323,
|
|
1308
1549
|
"length": 5,
|
|
1309
1550
|
"value": "false"
|
|
1310
1551
|
},
|
|
1311
1552
|
{
|
|
1312
1553
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1313
1554
|
"kind": "IntegerLiteral",
|
|
1314
|
-
"offset":
|
|
1555
|
+
"offset": 7479,
|
|
1315
1556
|
"length": 1,
|
|
1316
1557
|
"value": "0"
|
|
1317
1558
|
},
|
|
1318
1559
|
{
|
|
1319
1560
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1320
1561
|
"kind": "IntegerLiteral",
|
|
1321
|
-
"offset":
|
|
1562
|
+
"offset": 7620,
|
|
1322
1563
|
"length": 2,
|
|
1323
1564
|
"value": "10"
|
|
1324
1565
|
},
|
|
1325
1566
|
{
|
|
1326
1567
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1327
1568
|
"kind": "IntegerLiteral",
|
|
1328
|
-
"offset":
|
|
1569
|
+
"offset": 7625,
|
|
1329
1570
|
"length": 2,
|
|
1330
1571
|
"value": "97"
|
|
1331
1572
|
},
|
|
1332
1573
|
{
|
|
1333
1574
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1334
1575
|
"kind": "IntegerLiteral",
|
|
1335
|
-
"offset":
|
|
1336
|
-
"length": 3,
|
|
1337
|
-
"value": "512"
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1341
|
-
"kind": "IntegerLiteral",
|
|
1342
|
-
"offset": 7772,
|
|
1343
|
-
"length": 3,
|
|
1344
|
-
"value": "512"
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1348
|
-
"kind": "IntegerLiteral",
|
|
1349
|
-
"offset": 7838,
|
|
1576
|
+
"offset": 7767,
|
|
1350
1577
|
"length": 5,
|
|
1351
1578
|
"value": "16000"
|
|
1352
1579
|
},
|
|
1353
1580
|
{
|
|
1354
1581
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1355
1582
|
"kind": "IntegerLiteral",
|
|
1356
|
-
"offset":
|
|
1583
|
+
"offset": 7824,
|
|
1357
1584
|
"length": 2,
|
|
1358
1585
|
"value": "10"
|
|
1359
1586
|
},
|
|
1360
1587
|
{
|
|
1361
1588
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1362
1589
|
"kind": "IntegerLiteral",
|
|
1363
|
-
"offset":
|
|
1590
|
+
"offset": 7906,
|
|
1364
1591
|
"length": 2,
|
|
1365
1592
|
"value": "80"
|
|
1366
1593
|
},
|
|
1367
1594
|
{
|
|
1368
1595
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1369
1596
|
"kind": "IntegerLiteral",
|
|
1370
|
-
"offset":
|
|
1597
|
+
"offset": 7942,
|
|
1371
1598
|
"length": 2,
|
|
1372
1599
|
"value": "16"
|
|
1373
1600
|
},
|
|
1374
1601
|
{
|
|
1375
1602
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1376
1603
|
"kind": "BooleanLiteral",
|
|
1377
|
-
"offset":
|
|
1604
|
+
"offset": 7974,
|
|
1378
1605
|
"length": 5,
|
|
1379
1606
|
"value": "false"
|
|
1380
1607
|
},
|
|
1381
1608
|
{
|
|
1382
1609
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1383
1610
|
"kind": "IntegerLiteral",
|
|
1384
|
-
"offset":
|
|
1611
|
+
"offset": 8424,
|
|
1385
1612
|
"length": 2,
|
|
1386
1613
|
"value": "10"
|
|
1387
1614
|
},
|
|
1388
1615
|
{
|
|
1389
1616
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1390
1617
|
"kind": "IntegerLiteral",
|
|
1391
|
-
"offset":
|
|
1618
|
+
"offset": 8481,
|
|
1392
1619
|
"length": 1,
|
|
1393
1620
|
"value": "0"
|
|
1394
1621
|
},
|
|
1395
1622
|
{
|
|
1396
1623
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1397
1624
|
"kind": "IntegerLiteral",
|
|
1398
|
-
"offset":
|
|
1625
|
+
"offset": 8527,
|
|
1399
1626
|
"length": 1,
|
|
1400
1627
|
"value": "0"
|
|
1401
1628
|
},
|
|
1402
1629
|
{
|
|
1403
1630
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
|
|
1404
1631
|
"kind": "IntegerLiteral",
|
|
1405
|
-
"offset":
|
|
1632
|
+
"offset": 8612,
|
|
1406
1633
|
"length": 4,
|
|
1407
1634
|
"value": "5000"
|
|
1408
1635
|
},
|
|
@@ -1444,93 +1671,86 @@
|
|
|
1444
1671
|
{
|
|
1445
1672
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1446
1673
|
"kind": "StringLiteral",
|
|
1447
|
-
"offset":
|
|
1674
|
+
"offset": 715,
|
|
1448
1675
|
"length": 17,
|
|
1449
1676
|
"value": "\"silero_vad.onnx\""
|
|
1450
1677
|
},
|
|
1451
1678
|
{
|
|
1452
1679
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1453
1680
|
"kind": "BooleanLiteral",
|
|
1454
|
-
"offset":
|
|
1681
|
+
"offset": 872,
|
|
1455
1682
|
"length": 5,
|
|
1456
1683
|
"value": "false"
|
|
1457
1684
|
},
|
|
1458
1685
|
{
|
|
1459
1686
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1460
1687
|
"kind": "FloatLiteral",
|
|
1461
|
-
"offset":
|
|
1688
|
+
"offset": 914,
|
|
1462
1689
|
"length": 3,
|
|
1463
1690
|
"value": "0.8"
|
|
1464
1691
|
},
|
|
1465
1692
|
{
|
|
1466
1693
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1467
1694
|
"kind": "FloatLiteral",
|
|
1468
|
-
"offset":
|
|
1695
|
+
"offset": 993,
|
|
1469
1696
|
"length": 3,
|
|
1470
1697
|
"value": "0.8"
|
|
1471
1698
|
},
|
|
1472
1699
|
{
|
|
1473
1700
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1474
1701
|
"kind": "FloatLiteral",
|
|
1475
|
-
"offset":
|
|
1702
|
+
"offset": 1083,
|
|
1476
1703
|
"length": 3,
|
|
1477
1704
|
"value": "0.0"
|
|
1478
1705
|
},
|
|
1479
1706
|
{
|
|
1480
1707
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1481
1708
|
"kind": "FloatLiteral",
|
|
1482
|
-
"offset":
|
|
1709
|
+
"offset": 1187,
|
|
1483
1710
|
"length": 4,
|
|
1484
|
-
"value": "0.
|
|
1711
|
+
"value": "0.45"
|
|
1485
1712
|
},
|
|
1486
1713
|
{
|
|
1487
1714
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1488
1715
|
"kind": "IntegerLiteral",
|
|
1489
|
-
"offset":
|
|
1490
|
-
"length": 4,
|
|
1491
|
-
"value": "1024"
|
|
1492
|
-
},
|
|
1493
|
-
{
|
|
1494
|
-
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1495
|
-
"kind": "IntegerLiteral",
|
|
1496
|
-
"offset": 1487,
|
|
1716
|
+
"offset": 1438,
|
|
1497
1717
|
"length": 1,
|
|
1498
1718
|
"value": "0"
|
|
1499
1719
|
},
|
|
1500
1720
|
{
|
|
1501
1721
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1502
1722
|
"kind": "IntegerLiteral",
|
|
1503
|
-
"offset":
|
|
1723
|
+
"offset": 1485,
|
|
1504
1724
|
"length": 4,
|
|
1505
1725
|
"value": "1000"
|
|
1506
1726
|
},
|
|
1507
1727
|
{
|
|
1508
1728
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1509
1729
|
"kind": "IntegerLiteral",
|
|
1510
|
-
"offset":
|
|
1730
|
+
"offset": 1539,
|
|
1511
1731
|
"length": 1,
|
|
1512
1732
|
"value": "0"
|
|
1513
1733
|
},
|
|
1514
1734
|
{
|
|
1515
1735
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1516
|
-
"kind": "
|
|
1517
|
-
"offset":
|
|
1518
|
-
"length":
|
|
1519
|
-
"value": "
|
|
1736
|
+
"kind": "Array",
|
|
1737
|
+
"offset": 1641,
|
|
1738
|
+
"length": 2,
|
|
1739
|
+
"value": "[]"
|
|
1520
1740
|
},
|
|
1521
1741
|
{
|
|
1522
1742
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1523
|
-
"kind": "
|
|
1524
|
-
"offset":
|
|
1525
|
-
"length":
|
|
1526
|
-
"value": "
|
|
1743
|
+
"kind": "Array",
|
|
1744
|
+
"offset": 1692,
|
|
1745
|
+
"length": 2,
|
|
1746
|
+
"value": "[]"
|
|
1527
1747
|
},
|
|
1528
1748
|
{
|
|
1529
1749
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
1530
1750
|
"kind": "IntegerLiteral",
|
|
1531
|
-
"offset":
|
|
1751
|
+
"offset": 1740,
|
|
1532
1752
|
"length": 1,
|
|
1533
|
-
"value": "
|
|
1753
|
+
"value": "5"
|
|
1534
1754
|
},
|
|
1535
1755
|
{
|
|
1536
1756
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
|
|
@@ -1560,6 +1780,48 @@
|
|
|
1560
1780
|
"length": 3,
|
|
1561
1781
|
"value": "512"
|
|
1562
1782
|
},
|
|
1783
|
+
{
|
|
1784
|
+
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/Constants.swift",
|
|
1785
|
+
"kind": "IntegerLiteral",
|
|
1786
|
+
"offset": 49,
|
|
1787
|
+
"length": 4,
|
|
1788
|
+
"value": "1024"
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/Constants.swift",
|
|
1792
|
+
"kind": "IntegerLiteral",
|
|
1793
|
+
"offset": 147,
|
|
1794
|
+
"length": 5,
|
|
1795
|
+
"value": "16000"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/SlieroVadOnnxModel.swift",
|
|
1799
|
+
"kind": "Array",
|
|
1800
|
+
"offset": 229,
|
|
1801
|
+
"length": 7,
|
|
1802
|
+
"value": "[16000]"
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/SlieroVadOnnxModel.swift",
|
|
1806
|
+
"kind": "IntegerLiteral",
|
|
1807
|
+
"offset": 267,
|
|
1808
|
+
"length": 1,
|
|
1809
|
+
"value": "0"
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/SlieroVadOnnxModel.swift",
|
|
1813
|
+
"kind": "IntegerLiteral",
|
|
1814
|
+
"offset": 306,
|
|
1815
|
+
"length": 1,
|
|
1816
|
+
"value": "0"
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/SlieroVadOnnxModel.swift",
|
|
1820
|
+
"kind": "Dictionary",
|
|
1821
|
+
"offset": 353,
|
|
1822
|
+
"length": 3,
|
|
1823
|
+
"value": "[]"
|
|
1824
|
+
},
|
|
1563
1825
|
{
|
|
1564
1826
|
"filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/LicenseManager.swift",
|
|
1565
1827
|
"kind": "StringLiteral",
|
|
@@ -26,6 +26,7 @@ import os
|
|
|
26
26
|
}
|
|
27
27
|
@objc public class KeyWordsDetection : ObjectiveC.NSObject {
|
|
28
28
|
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
29
|
+
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
29
30
|
@objc public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
30
31
|
@objc public func replaceKeywordDetectionModel(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
31
32
|
@objc public func getKeywordDetectionModel() -> Swift.String
|
|
@@ -26,6 +26,7 @@ import os
|
|
|
26
26
|
}
|
|
27
27
|
@objc public class KeyWordsDetection : ObjectiveC.NSObject {
|
|
28
28
|
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
29
|
+
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
29
30
|
@objc public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
30
31
|
@objc public func replaceKeywordDetectionModel(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
31
32
|
@objc public func getKeywordDetectionModel() -> Swift.String
|