settings_test.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. # Wake up answers
  56. # ---------------------------
  57. # When Kalliope detect the hotword/trigger, he will select randomly a phrase in the following list
  58. # to notify the user that he's listening for orders
  59. random_wake_up_answers:
  60. - "Oui monsieur?"
  61. # You can play a sound when Kalliope detect the hotword/trigger instead of saying something from
  62. # the `random_wake_up_answers`.
  63. # Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
  64. # The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
  65. random_wake_up_sounds:
  66. - "sounds/ding.wav"
  67. - "sounds/dong.wav"
  68. # ---------------------------
  69. # On ready notification
  70. # ---------------------------
  71. # This section is used to notify the user when Kalliope is waiting for a trigger detection by playing a sound or speak a sentence out loud
  72. # This parameter define if you play the on ready answer:
  73. # - always: every time Kalliope is ready to be awaken
  74. # - never: never play a sound or sentences when kalliope is ready
  75. # - once: at the first start of Kalliope
  76. play_on_ready_notification: never
  77. # The on ready notification can be a sentence. Place here a sentence or a list of sentence. If you set a list, one sentence will be picked up randomly
  78. on_ready_answers:
  79. - "Kalliope is ready"
  80. # You can play a sound instead of a sentence.
  81. # Remove the `on_ready_answers` parameters by commenting it out and use this one instead.
  82. # Place here the path of the sound file. Files must be .wav or .mp3 format.
  83. on_ready_sounds:
  84. - "sounds/ding.wav"
  85. - "sounds/dong.wav"
  86. # ---------------------------
  87. # Rest API
  88. # ---------------------------
  89. rest_api:
  90. active: True
  91. port: 5000
  92. password_protected: True
  93. login: admin
  94. password: secret
  95. allowed_cors_origin: False
  96. # ---------------------------
  97. # Default Synapse
  98. # ---------------------------
  99. # Specify an optional default synapse response in case your order is not found.
  100. default_synapse: "Default-synapse"
  101. # ---------------------------
  102. # resource directory path
  103. # ---------------------------
  104. resource_directory:
  105. neuron: "/tmp/kalliope/tests/kalliope_resources_dir/neurons"
  106. stt: "/tmp/kalliope/tests/kalliope_resources_dir/stt"
  107. tts: "/tmp/kalliope/tests/kalliope_resources_dir/tts"
  108. trigger: "/tmp/kalliope/tests/kalliope_resources_dir/trigger"
  109. # ---------------------------
  110. # Global files variables
  111. # /!\ If a variable is defined in different files, the last file defines the value.
  112. # ---------------------------
  113. var_files:
  114. - "../Tests/settings/variables.yml"