hlevring commited on
Commit
c4adb85
·
1 Parent(s): c859b38

Update sherpa-onnx-vad.js

Browse files
Files changed (1) hide show
  1. sherpa-onnx-vad.js +4 -4
sherpa-onnx-vad.js CHANGED
@@ -159,11 +159,11 @@ function createVad(Module, myConfig) {
159
 
160
  const tenVad = {
161
  model: '',
162
- threshold: 0.25,
163
- minSilenceDuration: 0.25,
164
- minSpeechDuration: 0.25,
165
  maxSpeechDuration: 20,
166
- windowSize: 512,
167
  };
168
 
169
  let config = {
 
159
 
160
  const tenVad = {
161
  model: '',
162
+ threshold: 0.60,
163
+ minSilenceDuration: 0.10,
164
+ minSpeechDuration: 0.20,
165
  maxSpeechDuration: 20,
166
+ windowSize: 256,
167
  };
168
 
169
  let config = {