mirror of
https://github.com/pstrueb/piper.git
synced 2026-04-24 00:34:50 +00:00
Increase threshold
This commit is contained in:
committed by
Michael Hansen
parent
1ee3d7c7c5
commit
e5c9683ce9
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user