audio-trigger/config/config.yaml
2025-08-25 11:42:16 +08:00

30 lines
602 B
YAML

SoundInputStream:
device: default
channels: 1
sample_rate: 16000
dtype: int16
blocksize: 256
latency: low
WakeWordRunner:
model_paths:
- models/hi_amy.onnx
- models/hey_amy.onnx
- models/hello_amy.onnx
sample_rate: 16000
threshold: 0.3
cooldown_sec: 1.5
reset_sec: 3.0
url: http://192.168.1.10:13080/kws/wake
ASRRunner:
asr_model: paraformer-zh-streaming
punc_model: ct-punc
disable_update: True
device: cpu
encoder_chunk_look_back: 4
decoder_chunk_look_back: 1
max_duration: 20
max_empty_txt_count: 3
url: http://192.168.1.10:13080/kws/execute