settings.yml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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-13samples.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 engines configuration
  23. # Available engine are:
  24. # - google (via SpeechRecognition)
  25. # - wit
  26. # - bing
  27. # - apiai
  28. # - houndify
  29. # - cmusphinx (must be installed first)
  30. speech_to_text:
  31. - google:
  32. language: "fr-FR"
  33. - wit:
  34. key: "fakekey" # example : "B5JI3YUSLYOYWNIDBINBVM34XUODME2K"
  35. - bing: # API not working : credential fails ..
  36. key: "fakekey" # example : "9e48ddaf75904838bedc11aea6b36fb0"
  37. - apiai:
  38. key: "fakekey" # example : "e0cbff154af44944a6b9f82c0668b527"
  39. language: "fr"
  40. - houndify:
  41. key: "fakekey" # example : "7zj90T7qAV74OYXk4X4vI2Xhk7wPsJu4aEZ0G5Ll-BMmV1JGtFpCxtSH9SmTY4G3bpEJ7a5y_GTQid-CAKI6vw=="
  42. client_id: "fakeclientid" # example : "lN4JXeaSticbSo9-llczbA=="
  43. #- cmusphinx
  44. # ---------------------------
  45. # Text to speech
  46. # ---------------------------
  47. # This is the default TTS that will be used by Kalliope to talk.
  48. default_text_to_speech: "pico2wave"
  49. # where we store generated audio files from TTS engine to reuse them
  50. cache_path: "/tmp/kalliope_tts_cache"
  51. # Text to Speech engines configuration
  52. # Available engine are:
  53. # - pico2wave
  54. # - acapela # MP3
  55. # - googletts # MP3
  56. # - voicerss # MP3
  57. text_to_speech:
  58. - pico2wave:
  59. language: "fr-FR"
  60. cache: True
  61. - acapela:
  62. language: "sonid15"
  63. voice: "Manon"
  64. cache: True
  65. - googletts:
  66. language: "fr"
  67. cache: True
  68. - voicerss:
  69. language: "fr-fr"
  70. cache: True
  71. # ---------------------------
  72. # players
  73. # ---------------------------
  74. # This is the sound player that will be used by default
  75. default_player: "mplayer"
  76. # players configuration
  77. # Available engine are:
  78. # - mplayer
  79. # - pyalsaaudio # no mp3
  80. # - pyaudioplayer # no mp3
  81. # - sounddeviceplayer # no mp3
  82. players:
  83. - mplayer: {}
  84. - pyalsaaudio:
  85. device: "default"
  86. convert_to_wav: True
  87. - pyaudioplayer:
  88. convert_to_wav: True
  89. - sounddeviceplayer:
  90. convert_to_wav: True
  91. # ---------------------------
  92. # Wake up answers
  93. # ---------------------------
  94. # When Kalliope detect the hotword/trigger, he will select randomly a phrase in the following list
  95. # to notify the user that he's listening for orders
  96. random_wake_up_answers:
  97. - "Oui monsieur?"
  98. - "Je vous écoute"
  99. - "Monsieur?"
  100. - "Que puis-je faire pour vous?"
  101. - "J'écoute"
  102. - "Oui?"
  103. # You can play a sound when Kalliope detect the hotword/trigger instead of saying something from
  104. # the `random_wake_up_answers`.
  105. # Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
  106. # The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
  107. #random_wake_up_sounds:
  108. # - "sounds/ding.wav"
  109. # - "sounds/dong.wav"
  110. # - "/my/personal/full/path/my_file.mp3"
  111. # ---------------------------
  112. # On ready notification
  113. # ---------------------------
  114. # 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
  115. # This parameter define if you play the on ready answer:
  116. # - always: every time Kalliope is ready to be awaken
  117. # - never: never play a sound or sentences when kalliope is ready
  118. # - once: at the first start of Kalliope
  119. play_on_ready_notification: never
  120. # 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
  121. on_ready_answers:
  122. - "Kalliope is ready"
  123. - "Waiting for order"
  124. # You can play a sound instead of a sentence.
  125. # Remove the `on_ready_answers` parameters by commenting it out and use this one instead.
  126. # Place here the path of the sound file. Files must be .wav or .mp3 format.
  127. on_ready_sounds:
  128. - "sounds/ding.wav"
  129. - "sounds/dong.wav"
  130. # ---------------------------
  131. # Rest API
  132. # ---------------------------
  133. rest_api:
  134. active: False
  135. port: 5000
  136. password_protected: True
  137. login: admin
  138. password: secret
  139. allowed_cors_origin: False
  140. # ---------------------------
  141. # Default Synapse
  142. # ---------------------------
  143. # Specify an optional default synapse response in case your order is not found.
  144. default_synapse: "default-synapse"
  145. # ---------------------------
  146. # Resource directory path
  147. #
  148. # Accepted types :
  149. # - neuron
  150. # - stt
  151. # - tts
  152. # - trigger /!\ we do not manage trigger properly yet...
  153. # ---------------------------
  154. #resource_directory:
  155. # neuron: "/var/tmp/resources/neurons"
  156. # stt: "resources/stt"
  157. # tts: "resources/tts"
  158. # trigger: "resources/trigger"
  159. # ---------------------------
  160. # Global files variables
  161. # /!\ If a variable is defined in different files, the last file defines the value.
  162. # ---------------------------
  163. #var_files:
  164. # - variables.yml
  165. # - variables2.yml
  166. # ---------------------------
  167. # Raspberry Pi GPIO settings
  168. # ---------------------------
  169. #rpi:
  170. # pin_mute_button: 24
  171. # pin_led_started: 23
  172. # pin_led_muted: 17
  173. # pin_led_talking: 27
  174. # pin_led_listening: 22