From dc3e8f5951046a5a9d84a3671bac1042fc0feb82 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 19 Jan 2024 13:49:56 +0100 Subject: [PATCH 1/3] eng - support KWS on Win/Linux --- binding.gyp | 12 ++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/binding.gyp b/binding.gyp index 43dab94..5db51db 100644 --- a/binding.gyp +++ b/binding.gyp @@ -140,6 +140,8 @@ ".cache/SpeechSDK/runtimes/win-x64/native/Microsoft.CognitiveServices.Speech.extension.audio.sys.dll", ".cache/SpeechSDK/runtimes/win-x64/native/Microsoft.CognitiveServices.Speech.extension.embedded.sr.dll", ".cache/SpeechSDK/runtimes/win-x64/native/Microsoft.CognitiveServices.Speech.extension.embedded.sr.runtime.dll", + ".cache/SpeechSDK/runtimes/win-x64/native/Microsoft.CognitiveServices.Speech.extension.kws.dll", + ".cache/SpeechSDK/runtimes/win-x64/native/Microsoft.CognitiveServices.Speech.extension.kws.ort.dll", ".cache/SpeechSDK/runtimes/win-x64/native/Microsoft.CognitiveServices.Speech.extension.onnxruntime.dll", ], "destination": "<(PRODUCT_DIR)" @@ -152,6 +154,8 @@ ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.audio.sys.dll", ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.embedded.sr.dll", ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.embedded.sr.runtime.dll", + ".cache/SpeechSDK/runtimes/win-x64/native/Microsoft.CognitiveServices.Speech.extension.kws.dll", + ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.kws.ort.dll", ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.onnxruntime.dll", ], "destination": "<(PRODUCT_DIR)" @@ -164,6 +168,8 @@ ".cache/SpeechSDK/runtimes/win10-arm64/native/Microsoft.CognitiveServices.Speech.extension.audio.sys.dll", ".cache/SpeechSDK/runtimes/win10-arm64/native/Microsoft.CognitiveServices.Speech.extension.embedded.sr.dll", ".cache/SpeechSDK/runtimes/win10-arm64/native/Microsoft.CognitiveServices.Speech.extension.embedded.sr.runtime.dll", + ".cache/SpeechSDK/runtimes/win10-arm64/native/Microsoft.CognitiveServices.Speech.extension.kws.dll", + ".cache/SpeechSDK/runtimes/win10-arm64/native/Microsoft.CognitiveServices.Speech.extension.kws.ort.dll", ".cache/SpeechSDK/runtimes/win10-arm64/native/Microsoft.CognitiveServices.Speech.extension.onnxruntime.dll", ], "destination": "<(PRODUCT_DIR)" @@ -176,6 +182,8 @@ ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.audio.sys.so", ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.so", ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.runtime.so", + ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.kws.so" + ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.kws.ort.so" ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.onnxruntime.so", ], "destination": "<(PRODUCT_DIR)" @@ -188,6 +196,8 @@ ".cache/SpeechSDK/runtimes/linux-arm/native/libMicrosoft.CognitiveServices.Speech.extension.audio.sys.so", ".cache/SpeechSDK/runtimes/linux-arm/native/libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.so", ".cache/SpeechSDK/runtimes/linux-arm/native/libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.runtime.so", + ".cache/SpeechSDK/runtimes/linux-arm/native/libMicrosoft.CognitiveServices.Speech.extension.kws.so", + ".cache/SpeechSDK/runtimes/linux-arm/native/libMicrosoft.CognitiveServices.Speech.extension.kws.ort.so", ".cache/SpeechSDK/runtimes/linux-arm/native/libMicrosoft.CognitiveServices.Speech.extension.onnxruntime.so", ], "destination": "<(PRODUCT_DIR)" @@ -200,6 +210,8 @@ ".cache/SpeechSDK/runtimes/linux-arm64/native/libMicrosoft.CognitiveServices.Speech.extension.audio.sys.so", ".cache/SpeechSDK/runtimes/linux-arm64/native/libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.so", ".cache/SpeechSDK/runtimes/linux-arm64/native/libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.runtime.so", + ".cache/SpeechSDK/runtimes/linux-arm64/native/libMicrosoft.CognitiveServices.Speech.extension.kws.so", + ".cache/SpeechSDK/runtimes/linux-arm64/native/libMicrosoft.CognitiveServices.Speech.extension.kws.ort.so", ".cache/SpeechSDK/runtimes/linux-arm64/native/libMicrosoft.CognitiveServices.Speech.extension.onnxruntime.so", ], "destination": "<(PRODUCT_DIR)" diff --git a/package-lock.json b/package-lock.json index 7b64558..af8d3f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@vscode/node-speech", - "version": "1.1.1", + "version": "1.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@vscode/node-speech", - "version": "1.1.1", + "version": "1.1.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 467b4db..3215626 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vscode/node-speech", - "version": "1.1.1", + "version": "1.1.2", "description": "Native bindings for Micrsooft Speech SDK", "repository": { "type": "git", From 6a98687eb6837ecf526ed325d329f39b67bb9a49 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 19 Jan 2024 13:52:43 +0100 Subject: [PATCH 2/3] . --- binding.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binding.gyp b/binding.gyp index 5db51db..e46fbf8 100644 --- a/binding.gyp +++ b/binding.gyp @@ -154,7 +154,7 @@ ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.audio.sys.dll", ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.embedded.sr.dll", ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.embedded.sr.runtime.dll", - ".cache/SpeechSDK/runtimes/win-x64/native/Microsoft.CognitiveServices.Speech.extension.kws.dll", + ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.kws.dll", ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.kws.ort.dll", ".cache/SpeechSDK/runtimes/win-x86/native/Microsoft.CognitiveServices.Speech.extension.onnxruntime.dll", ], From 4ba33602a2cb95fdc478ffdf480b958744ca8f92 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 19 Jan 2024 14:02:21 +0100 Subject: [PATCH 3/3] . --- binding.gyp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/binding.gyp b/binding.gyp index e46fbf8..cd752e1 100644 --- a/binding.gyp +++ b/binding.gyp @@ -182,9 +182,9 @@ ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.audio.sys.so", ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.so", ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.runtime.so", - ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.kws.so" - ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.kws.ort.so" - ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.onnxruntime.so", + ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.kws.so", + ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.kws.ort.so", + ".cache/SpeechSDK/runtimes/linux-x64/native/libMicrosoft.CognitiveServices.Speech.extension.onnxruntime.so" ], "destination": "<(PRODUCT_DIR)" }],