Update settings.js

Changed some of the values for a better STT experience
This commit is contained in:
Sweaterdog 2025-06-07 17:25:33 -07:00 committed by GitHub
parent 87e2e708fd
commit f22b4957e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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