ricky0123 / vad

Voice activity detector (VAD) for the browser with a simple API
https://www.vad.ricky0123.com
Other
757 stars 116 forks source link

Is it possible to filter by sound loudness? #83

Open xiaoqiang1999 opened 6 months ago

xiaoqiang1999 commented 6 months ago

Hello! This library has been very helpful to us. Thank you and your team for their work.

But I encountered a question, can it filter according to the sound loudness of the sound? Is there a filtering threshold for sound loudness?

If not, would you consider adding this feature?

Thank you for your reply.

kyb3r commented 6 months ago

Do you mean filtering for minimum speech length?

xiaoqiang1999 commented 6 months ago

Do you mean filtering for minimum speech length?

No, I mean the loudness of the sound, filtering out the sound below a certain loudness. But it seems that this can be achieved indirectly by configuring positiveSpeedThreshold and negativeSpeehThreshold?