Remove portaudio-go in Go API examples. (#2317)
Replace the deprecated portaudio-go integration with malgo in the Go real-time speech recognition example and correct version string typos in the Node.js examples. - Fixed “verison” typo in Node.js console logs. - Swapped out portaudio-go for malgo in the Go microphone example, introducing initRecognizer, callback-driven streaming, and sample conversion. - Removed portaudio-go from go.mod.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Copyright (c) 2024 Xiaomi Corporation
|
||||
const sherpa_onnx = require('sherpa-onnx-node');
|
||||
console.log(`verison : ${sherpa_onnx.version}`);
|
||||
console.log(`version : ${sherpa_onnx.version}`);
|
||||
console.log(`git sha1: ${sherpa_onnx.gitSha1}`);
|
||||
console.log(`git date: ${sherpa_onnx.gitDate}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user