Local-Voice/config.json
2025-09-26 13:11:14 +08:00

48 lines
954 B
JSON

{
"system": {
"max_queue_size": 1000,
"process_timeout": 30,
"heartbeat_interval": 1.0,
"log_level": "INFO"
},
"audio": {
"sample_rate": 16000,
"channels": 1,
"chunk_size": 1024,
"format": "paInt16"
},
"recording": {
"min_duration": 3.0,
"max_duration": 30.0,
"silence_threshold": 3.0,
"pre_record_duration": 2.0
},
"processing": {
"enable_asr": true,
"enable_llm": true,
"enable_tts": true,
"character": "libai",
"max_tokens": 50,
"enable_chat_memory": true,
"max_history_length": 5
},
"detection": {
"zcr_min": 2400,
"zcr_max": 12000,
"consecutive_silence_count": 30,
"max_zcr_history": 50
},
"playback": {
"buffer_size": 1000,
"show_progress": true,
"progress_interval": 100,
"chunk_size": 512
},
"cleanup": {
"auto_cleanup": true,
"retention_hours": 1,
"max_files": 10,
"cleanup_interval": 120
}
}