Increase threshold

This commit is contained in:
Michael Hansen
2023-05-12 15:21:49 -05:00
committed by Michael Hansen
parent 1ee3d7c7c5
commit e5c9683ce9

View File

@@ -158,6 +158,7 @@ def main():
},
json_file,
indent=4,
ensure_ascii=False,
)
@@ -222,7 +223,7 @@ class ProcessUtterance:
offset_sec, duration_sec = trim_silence(
audio_16khz,
self.thread_data.detector,
threshold=0.5,
threshold=0.8,
samples_per_chunk=480,
sample_rate=vad_sample_rate,
keep_chunks_before=2,