settings_test.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. ---
  2. # ---------------------------
  3. # Kalliope default settings
  4. # Use YAML syntax
  5. # ---------------------------
  6. # ---------------------------
  7. # Trigger
  8. # ---------------------------
  9. # This is the trigger that will catch your magic work to wake up Kalliope
  10. default_trigger: "snowboy"
  11. # Trigger engine configuration
  12. # Available engine are:
  13. # - snowboy
  14. triggers:
  15. - snowboy:
  16. pmdl_file: "trigger/snowboy/resources/kalliope-FR-6samples.pmdl"
  17. # ---------------------------
  18. # Speech to text
  19. # ---------------------------
  20. # This is the STT that will be used by default
  21. default_speech_to_text: "google"
  22. speech_to_text:
  23. - google:
  24. language: "fr-FR"
  25. # ---------------------------
  26. # Text to speech
  27. # ---------------------------
  28. # This is the default TTS that will be used by Kalliope to talk.
  29. default_text_to_speech: "pico2wave"
  30. # where we store generated audio files from TTS engine to reuse them
  31. cache_path: "/tmp/kalliope_tts_cache"
  32. text_to_speech:
  33. - pico2wave:
  34. language: "fr-FR"
  35. cache: True
  36. - voxygen:
  37. voice: "Agnes"
  38. cache: True
  39. # ---------------------------
  40. # players
  41. # ---------------------------
  42. # This is the sound player that will be used by default
  43. default_player: "mplayer"
  44. # players configuration
  45. # Available engine are:
  46. # - mplayer
  47. # - pyalsaaudio
  48. # - pyaudioplayer
  49. # - sounddeviceplayer
  50. players:
  51. - mplayer: {}
  52. - pyalsaaudio:
  53. device: "default"
  54. # ---------------------------
  55. # Rest API
  56. # ---------------------------
  57. rest_api:
  58. active: True
  59. port: 5000
  60. password_protected: True
  61. login: admin
  62. password: secret
  63. allowed_cors_origin: False
  64. # ---------------------------
  65. # Hooks
  66. # ---------------------------
  67. hooks:
  68. on_start:
  69. - "on-start-synapse"
  70. - "bring-led-on"
  71. on_waiting_for_trigger: "test"
  72. on_triggered:
  73. - "on-triggered-synapse"
  74. on_start_listening:
  75. on_stop_listening:
  76. on_order_found:
  77. on_order_not_found:
  78. - "order-not-found-synapse"
  79. on_processed_synapses:
  80. on_deaf: []
  81. on_undeaf: []
  82. on_mute: []
  83. on_unmute: []
  84. on_start_speaking:
  85. on_stop_speaking:
  86. # ---------------------------
  87. # resource directory path
  88. # ---------------------------
  89. resource_directory:
  90. neuron: "/tmp/kalliope/tests/kalliope_resources_dir/neurons"
  91. stt: "/tmp/kalliope/tests/kalliope_resources_dir/stt"
  92. tts: "/tmp/kalliope/tests/kalliope_resources_dir/tts"
  93. trigger: "/tmp/kalliope/tests/kalliope_resources_dir/trigger"
  94. # ---------------------------
  95. # Global files variables
  96. # /!\ If a variable is defined in different files, the last file defines the value.
  97. # ---------------------------
  98. var_files:
  99. - "../Tests/settings/variables.yml"
  100. options:
  101. deaf: True
  102. mute: False