streamer45 / silero-vad-go

A Golang (CGO) implementation of a Silero VAD powered speech detector
MIT License
23 stars 11 forks source link

"unexpected speech end" #17

Open juanpmarin opened 1 week ago

juanpmarin commented 1 week ago

Hi, thank you for your awesome job with this project. I'm trying to use vad with an audio stream, I'm building chunks of 256 samples, and then execute Detect on every chunk. It is normal that speaking starts in a chunk, and ends in another chunk, but you have a validation that triggers the error "unexpected speech end" if an end is found in a chunk without start.