From f22b4957e0cb53b0c31c0fcf6e2eedccea1ccd62 Mon Sep 17 00:00:00 2001 From: Sweaterdog Date: Sat, 7 Jun 2025 17:25:33 -0700 Subject: [PATCH] Update settings.js Changed some of the values for a better STT experience --- settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.js b/settings.js index b260f69..38304d8 100644 --- a/settings.js +++ b/settings.js @@ -52,10 +52,10 @@ const settings = { "stt_agent_name": "", // agent name for STT messages, if empty it will send the STT to all bots // STT Audio Detection Settings - "stt_rms_threshold": 8000, // Higher = less sensitive to background noise + "stt_rms_threshold": 1000, // Higher = less sensitive to background noise "stt_silence_duration": 2000, // 2 seconds of silence before stopping "stt_min_audio_duration": 0.5, // Minimum audio duration in seconds - "stt_max_audio_duration": 15, // Maximum audio duration in seconds + "stt_max_audio_duration": 45, // Maximum audio duration in seconds "stt_debug_audio": false, // Enable to see audio levels and tune threshold "stt_cooldown_ms": 2000, // Minimum time between recordings (increased) "stt_speech_threshold_ratio": 0.15, // Percentage of samples that must be above threshold to consider it speech