Skip to content

Commit 01aace3

Browse files
committed
Tweak silero settings
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 5f2c837 commit 01aace3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/go/vad/silero/vad.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ func (vad *VAD) Load(opts *pb.ModelOptions) error {
2121
SampleRate: 16000,
2222
//WindowSize: 1024,
2323
Threshold: 0.5,
24-
MinSilenceDurationMs: 0,
25-
SpeechPadMs: 0,
24+
MinSilenceDurationMs: 100,
25+
SpeechPadMs: 30,
2626
})
2727
if err != nil {
2828
return fmt.Errorf("create silero detector: %w", err)

0 commit comments

Comments
 (0)