Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

make vad less permissive

CJ Paisa479ae36254e
diff --git a/src-tauri/src/managers/audio.rs b/src-tauri/src/managers/audio.rs
index 8ba40cb8..d0d2f27a 100644
--- a/src-tauri/src/managers/audio.rs
+++ b/src-tauri/src/managers/audio.rs
@@ -213,7 +213,7 @@ impl AudioRecordingManager {
if let Ok(mut vad) = vad_clone.lock() {
match vad.compute(&chunk) {
Ok(result) => {
- if result.prob > 0.1 {
+ if result.prob > 0.3 {
let mut buffer = buffer_clone.lock().unwrap();
buffer.extend_from_slice(&chunk);
}