调整录音音量检测最小阈值
This commit is contained in:
parent
f4c7f4474c
commit
67b2d70a4f
@ -11,7 +11,7 @@ var capture: AudioEffectCapture
|
|||||||
## 待语音识别的文本
|
## 待语音识别的文本
|
||||||
var targetText: String
|
var targetText: String
|
||||||
## 音量最小阈值
|
## 音量最小阈值
|
||||||
const VolumeMin = 0.03
|
const VolumeMin = 0.05
|
||||||
## 长时间没有说话阈值
|
## 长时间没有说话阈值
|
||||||
const LongTimeNoVoice = 1
|
const LongTimeNoVoice = 1
|
||||||
var hasVoice = false
|
var hasVoice = false
|
||||||
|
Loading…
Reference in New Issue
Block a user