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.34k stars 391 forks source link

vad-non-streaming-asr-paraformer in csharp can;t detect the last samples #965

Closed bnuzhouwei closed 4 months ago

bnuzhouwei commented 4 months ago

int numIter = numSamples / windowSize, can't got the last samples for decode, just modified by yourself for pass the last iter samples