client_config.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. {
  2. "server": {
  3. "host": "localhost",
  4. "port": 2101,
  5. "reconnect_interval_seconds": 5.0,
  6. "connection_timeout_seconds": 10.0
  7. },
  8. "audio": {
  9. "sample_rate": 16000,
  10. "channels": 1,
  11. "bit_depth": 16,
  12. "music_sample_rate": 44100,
  13. "music_channels": 2,
  14. "music_bit_depth": 16,
  15. "input_device": null,
  16. "output_device": null,
  17. "buffer_size": 4096,
  18. "output_volume": 60,
  19. "output_muted": false,
  20. "input_volume": 80,
  21. "input_muted": false,
  22. "output_mixer_control": "",
  23. "input_mixer_control": "",
  24. "output_speakers": [],
  25. "output_combine_sink_name": "trixy_combined",
  26. "input_microphones": [],
  27. "input_mix_sink_name": "trixy_mics_combined"
  28. },
  29. "wakeword": {
  30. "models": [
  31. "hey_jarvis"
  32. ],
  33. "threshold": 0.8,
  34. "model_directory": "models/wakeword",
  35. "use_onnx": true,
  36. "enabled": true,
  37. "silence_timeout_seconds": 1.8,
  38. "max_recording_seconds": 60.0,
  39. "no_speech_timeout_seconds": 5.0,
  40. "pre_buffer_seconds": 0.5,
  41. "wakeword_cooldown_seconds": 3.0
  42. },
  43. "identity": {
  44. "room": "Living Room",
  45. "alias": "Patrick",
  46. "mac_address": ""
  47. },
  48. "logging": {
  49. "level": "INFO",
  50. "log_directory": "logs"
  51. },
  52. "led": {
  53. "enabled": false,
  54. "gpio_pin": 18,
  55. "led_count": 1,
  56. "type": "single",
  57. "brightness": 80,
  58. "states": {
  59. "boot": {
  60. "color": {
  61. "r": 0,
  62. "g": 255,
  63. "b": 0
  64. },
  65. "animation": "solid",
  66. "speed": 100
  67. },
  68. "standby": {
  69. "color": {
  70. "r": 0,
  71. "g": 60,
  72. "b": 0
  73. },
  74. "animation": "solid",
  75. "speed": 100
  76. },
  77. "wakeword": {
  78. "color": {
  79. "r": 0,
  80. "g": 0,
  81. "b": 255
  82. },
  83. "animation": "double-blink",
  84. "speed": 120
  85. },
  86. "listening": {
  87. "color": {
  88. "r": 255,
  89. "g": 0,
  90. "b": 0
  91. },
  92. "animation": "solid",
  93. "speed": 100
  94. },
  95. "thinking": {
  96. "color": {
  97. "r": 255,
  98. "g": 165,
  99. "b": 0
  100. },
  101. "animation": "pulse",
  102. "speed": 80
  103. },
  104. "speaking": {
  105. "color": {
  106. "r": 0,
  107. "g": 100,
  108. "b": 255
  109. },
  110. "animation": "breathe",
  111. "speed": 60
  112. },
  113. "error": {
  114. "color": {
  115. "r": 255,
  116. "g": 0,
  117. "b": 0
  118. },
  119. "animation": "triple-blink",
  120. "speed": 150
  121. },
  122. "disconnect": {
  123. "color": {
  124. "r": 255,
  125. "g": 0,
  126. "b": 0
  127. },
  128. "animation": "pulse",
  129. "speed": 40
  130. }
  131. }
  132. },
  133. "config_port": 2105,
  134. "config_listener_enabled": false,
  135. "assets_directory": "assets",
  136. "profile": "default"
  137. }