We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26c8a3d commit 9cf9eecCopy full SHA for 9cf9eec
1 file changed
faster_whisper/vad.py
@@ -404,9 +404,9 @@ def batched_vad(
404
chunk_len = len(chunks[0])
405
a_second = window_size_samples * 31
406
407
- if chunk_len > a_second * 3:
+ if chunk_len > a_second * 6:
408
overlap_samples = a_second * 3
409
- elif chunk_len > a_second * 1:
+ elif chunk_len > a_second * 2:
410
overlap_samples = a_second * 1
411
else:
412
overlap_samples = window_size_samples
0 commit comments