47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"tts": {
|
|
"backend": "builtin_ttsmaker",
|
|
"builtin_speaker_id": 2,
|
|
"target_sample_rate": 16000
|
|
},
|
|
"stt": {
|
|
"backend": "custom_acoustic",
|
|
"_comment": "Pure-DSP wake detector in Voice/wake_detector.py. No ML.",
|
|
"speech_threshold": 150.0,
|
|
"min_word_duration": 0.20,
|
|
"max_word_duration": 1.50,
|
|
"post_silence": 0.30,
|
|
"wake_cooldown": 1.50,
|
|
"wake_chunk_ms": 50
|
|
},
|
|
"mic": {
|
|
"backend": "builtin_udp",
|
|
"source_index": "3",
|
|
"format": "s16le",
|
|
"rate": 16000,
|
|
"channels": 1
|
|
},
|
|
"mic_udp": {
|
|
"group": "239.168.123.161",
|
|
"port": 5555,
|
|
"buffer_max_bytes": 64000,
|
|
"read_timeout_sec": 0.04
|
|
},
|
|
"speaker": {
|
|
"dds_interface": "eth0",
|
|
"volume": 100,
|
|
"app_name": "sanad"
|
|
},
|
|
"audio": {
|
|
"data_dir": "Data/Voice/Recordings",
|
|
"log_file": "logs/voice.log"
|
|
},
|
|
"messages": {
|
|
"wake_heard": "Yes",
|
|
"no_speech": "I didn't catch that, please say it again",
|
|
"error_tts": "Speech synthesis failed",
|
|
"error_mic": "Microphone error",
|
|
"ready": "Voice system ready"
|
|
}
|
|
}
|