调整录音音量检测最小阈值

This commit is contained in:
soul-walker 2024-05-16 17:31:54 +08:00
parent f4c7f4474c
commit 67b2d70a4f

View File

@ -11,7 +11,7 @@ var capture: AudioEffectCapture
## 待语音识别的文本
var targetText: String
## 音量最小阈值
const VolumeMin = 0.03
const VolumeMin = 0.05
## 长时间没有说话阈值
const LongTimeNoVoice = 1
var hasVoice = false