client_config.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "mode": "client",
  3. "debug_mode": false,
  4. "data_directory": "data",
  5. "config_file": "config/client_config.json",
  6. "satellite": {
  7. "server_host": "localhost",
  8. "server_port": 2101,
  9. "auto_reconnect": true,
  10. "reconnect_interval": 5,
  11. "satellite_id": null,
  12. "room_name": "default",
  13. "alias_name": "trixy-satellite",
  14. "mac_address": null,
  15. "local_wakeword_processing": true,
  16. "local_voice_recognition": false,
  17. "buffer_audio_locally": true,
  18. "stream_quality": "high",
  19. "compression_enabled": true
  20. },
  21. "audio": {
  22. "sample_rate": 16000,
  23. "channels": 1,
  24. "bit_depth": 16,
  25. "frame_size": 1024,
  26. "max_recording_duration": 60,
  27. "silence_threshold": 0.01,
  28. "silence_duration": 3.0,
  29. "pre_recording_buffer": 1.0,
  30. "enable_noise_reduction": true,
  31. "enable_auto_gain": true,
  32. "gain_level": 1.0,
  33. "vad_enabled": true,
  34. "vad_aggressiveness": 2,
  35. "vad_frame_duration": 30,
  36. "music_sample_rate": 48000,
  37. "music_channels": 2,
  38. "music_bit_depth": 16
  39. },
  40. "ml": {
  41. "wakeword_model_path": "models/wakeword/mein_modell2/mein_modell2.pth",
  42. "voice_recognition_model_path": "",
  43. "wakeword_threshold": 0.8,
  44. "voice_recognition_threshold": 0.7,
  45. "model_cache_size": 3,
  46. "enable_gpu": true,
  47. "gpu_device_id": 0,
  48. "batch_size": 1,
  49. "max_inference_time": 5.0,
  50. "training_data_path": "trainer/data",
  51. "model_output_path": "models",
  52. "training_batch_size": 32,
  53. "training_epochs": 100,
  54. "learning_rate": 0.001
  55. },
  56. "logging": {
  57. "log_level": "info",
  58. "log_format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
  59. "date_format": "%Y-%m-%d %H:%M:%S",
  60. "enable_file_logging": true,
  61. "log_file_path": "logs/trixy.log",
  62. "max_log_file_size": 10485760,
  63. "log_file_backup_count": 5,
  64. "enable_console_logging": true,
  65. "console_log_level": "info",
  66. "enable_event_logging": true,
  67. "event_log_file": "logs/events.log",
  68. "enable_performance_logging": false,
  69. "performance_log_file": "logs/performance.log",
  70. "debug_mode": false,
  71. "verbose_errors": false,
  72. "log_stack_traces": false
  73. },
  74. "enable_local_processing": true,
  75. "local_model_cache_size": 50,
  76. "audio_buffer_size": 8192,
  77. "status_report_interval": 30,
  78. "health_check_interval": 10
  79. }