k2-fsa / sherpa-onnx

Speech-to-text, text-to-speech, speaker recognition, and VAD 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, Flutter, Object Pascal, Lazarus, Rust
https://k2-fsa.github.io/sherpa/onnx/index.html
Apache License 2.0
3.35k stars 392 forks source link

Android 动态的设置vad 参数 threshold,minSilenceDuration等参数,出现libc崩溃 #1445

Open solocoder-tech opened 5 hours ago

solocoder-tech commented 5 hours ago

你好,我这边想动态的设置threshold、minSilenceDuration 参数。做法是,用户输入后,我 先调用 vad.release后,再次重新加载模型initVadModel。此时有概率出现崩溃。请问,so库能支持这样的操作吗?

csukuangfj commented 3 hours ago

支持的.

建议发送logcat的全部log,不然,没人能帮助你。