From 9e36733c106f47247ebfd2580b2f1696cc6b425b Mon Sep 17 00:00:00 2001 From: msqr1 <134968689+msqr1@users.noreply.github.com> Date: Mon, 1 Sep 2025 20:51:18 -0700 Subject: [PATCH] Remove async --- .gitignore | 3 +- Examples/fromMic.html | 70 ++++++++++++----------- Vosklet.d.ts | 66 +++++++++++++++++++++ Vosklet.js | 120 +++++++++++++++++++------------------- Vosklet.wasm | Bin 2321867 -> 2331938 bytes src/Bindings.cc | 42 +++++++------- src/CommonModel.cc | 46 +++++++++------ src/Recognizer.cc | 130 +++++++++++++++++------------------------- src/Recognizer.h | 24 ++++---- src/Util.cc | 111 ++++++++++-------------------------- src/Util.h | 32 ++--------- src/Wrapper.js | 70 +++++++++-------------- src/make | 12 ++-- 13 files changed, 341 insertions(+), 385 deletions(-) create mode 100644 Vosklet.d.ts diff --git a/.gitignore b/.gitignore index 80b3a04..6cb02eb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ openblas openfst emsdk test.js -test.wasm \ No newline at end of file +test.wasm +src/*.o \ No newline at end of file diff --git a/Examples/fromMic.html b/Examples/fromMic.html index 208ec10..48ddb7b 100644 --- a/Examples/fromMic.html +++ b/Examples/fromMic.html @@ -1,43 +1,45 @@ -
- - + + + + - // Connect transferer to microphone - micNode.connect(transferer); - } - - - -