@layercode/js-sdk 1.0.24 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3593,8 +3593,8 @@ class LayercodeClient {
|
|
|
3593
3593
|
dist.MicVAD.new({
|
|
3594
3594
|
stream: this.wavRecorder.getStream() || undefined,
|
|
3595
3595
|
model: 'v5',
|
|
3596
|
-
positiveSpeechThreshold: 0.
|
|
3597
|
-
negativeSpeechThreshold: 0.
|
|
3596
|
+
positiveSpeechThreshold: 0.7,
|
|
3597
|
+
negativeSpeechThreshold: 0.55,
|
|
3598
3598
|
redemptionFrames: 25, // Number of frames of silence before onVADMisfire or onSpeechEnd is called. Effectively a delay before restarting.
|
|
3599
3599
|
minSpeechFrames: 0,
|
|
3600
3600
|
preSpeechPadFrames: 0,
|
|
@@ -3638,8 +3638,8 @@ class LayercodeClient {
|
|
|
3638
3638
|
model: 'v5',
|
|
3639
3639
|
// baseAssetPath: '/', // Use if bundling model locally
|
|
3640
3640
|
// onnxWASMBasePath: '/', // Use if bundling model locally
|
|
3641
|
-
positiveSpeechThreshold: 0.
|
|
3642
|
-
negativeSpeechThreshold: 0.
|
|
3641
|
+
positiveSpeechThreshold: 0.7,
|
|
3642
|
+
negativeSpeechThreshold: 0.55,
|
|
3643
3643
|
redemptionFrames: 25, // Number of frames of silence before onVADMisfire or onSpeechEnd is called. Effectively a delay before restarting.
|
|
3644
3644
|
minSpeechFrames: 25,
|
|
3645
3645
|
preSpeechPadFrames: 0,
|