ricky0123 / vad

Voice activity detector (VAD) for the browser with a simple API

Home Page:https://www.vad.ricky0123.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Max segment duration

AmgadHasan opened this issue · comments

Is there a way to limit the duration of the segments produced by VAD?
Sometimes I get segments that are relatively long (50s-60s). Is there a way to get each of these segments to be multiple shorter segments ?

I'm talking about something like this
https://github.com/snakers4/silero-vad/blob/94504ece54c8caeebb808410b08ae55ee82dba82/utils_vad.py#L197

This is possible to do, you'll have to adjust the algorithm in the FrameProcessor