k2-fsa / sherpa-onnx

Speech-to-text, text-to-speech, and speaker recognition using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, Raspberry Pi, RISC-V, x86_64 servers, websocket server/client, C/C++, Python, Kotlin, C#, Go, NodeJS, Java, Swift, Dart, JavaScript
https://k2-fsa.github.io/sherpa/onnx/index.html
Apache License 2.0
1.78k stars 240 forks source link

Fix sherpa-onnx-node-version in node examples #879

Closed csukuangfj closed 1 month ago

csukuangfj commented 1 month ago

Also, use Date.now() to replace performance.now() since performance is not available in earlier versions of node.