Initial commit
This commit is contained in:
+60
@@ -0,0 +1,60 @@
|
||||
# Настройки системы
|
||||
system:
|
||||
# Максимальное количество записей в истории
|
||||
history_maxlen: 100
|
||||
polling_interval_ms: 1000
|
||||
logging_level: debug
|
||||
log_file: logs/app.log
|
||||
log_save_file: false
|
||||
vad:
|
||||
# Режим VAD (0-3)
|
||||
mode: 3
|
||||
sample_rate: 16000
|
||||
frame_duration_ms: 10
|
||||
ring_buffer_size: 20
|
||||
speech_threshold: 0.6
|
||||
energy_threshold: 400
|
||||
min_speech_duration_ms: 100
|
||||
record_stop_delay_sec: 1.0
|
||||
prebuffer_duration_sec: 1.0
|
||||
max_record_duration_sec: 5.0
|
||||
target_rms: 2000.0
|
||||
max_gain: 5.0
|
||||
noise_reduction_factor: 1.2
|
||||
noise_update_alpha: 0.05
|
||||
min_rms_threshold_factor: 2.0
|
||||
gain_smoothing_alpha: 0.1
|
||||
adaptive_energy_std_factor: 1.5
|
||||
adaptive_energy: true
|
||||
noise_reduction_enabled: true
|
||||
auto_gain_enabled: false
|
||||
record_on_speech: false
|
||||
stt:
|
||||
# Путь к модели Vosk
|
||||
model_path: /home/sirmrak/models/vosk-model-small-ru-0.22
|
||||
commands:
|
||||
# Путь к файлу с командами
|
||||
commands_file: /mnt/Project/my_speaker/commands/commands.yaml
|
||||
auth:
|
||||
# Имя пользователя
|
||||
username: string
|
||||
password: string
|
||||
tts:
|
||||
# Настройки TTS
|
||||
host: 192.168.200.81
|
||||
port: 10200
|
||||
timeout: 30
|
||||
pause_duration: 0.5
|
||||
post_stop_wait: 1.0
|
||||
voice: ru_RU-ruslan-medium
|
||||
save_TTS_files: false
|
||||
session:
|
||||
# Время сессии в секундах
|
||||
session_timeout_seconds: 30
|
||||
|
||||
audio_settings:
|
||||
# Настройки аудио системы
|
||||
playback_device: 2
|
||||
capture_device: 2
|
||||
playback_volume: 80
|
||||
capture_volume: 100
|
||||
Reference in New Issue
Block a user