Is there any function to detect speech and silence in Silero-Vad? #201
-
Hey there, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, You can just rewrite this function to return a single bool value if the speech was detected: Lines 119 to 130 in 7c671a7 If you do not want to mess with this function, you can just write a wrapper that provides a True value if there is more speech than the specified threshold. Also note that the VAD itself returns a bool value for a given audio chunk: Line 210 in 7c671a7 |
Beta Was this translation helpful? Give feedback.
-
The necessary parameters are listed in the above function.
Depends on the application.
Lines 153 to 156 in 7c671a7
Do not pass any chunks or start a new VAD session.
Most likely you need to tune some of there parameters, see the Lines 121 to 125 in 7c671a7 |
Beta Was this translation helpful? Give feedback.
Hi,
You can just rewrite this function to return a single bool value if the speech was detected:
silero-vad/utils_vad.py
Lines 119 to 130 in 7c671a7
If you do not want to mess with this function, you can just write a wrapper that provides a True value if there is more speech than the specified threshold.
Also note that th…