Преглед на файлове

reorganize settings.yml

nico преди 8 години
родител
ревизия
ae9b6a1eb9
променени са 1 файла, в които са добавени 44 реда и са изтрити 28 реда
  1. 44 28
      settings.yml

+ 44 - 28
settings.yml

@@ -4,32 +4,26 @@
 # Use YAML syntax
 # ---------------------------
 
-
+# ---------------------------
+# Trigger
+# ---------------------------
 # This is the trigger that will catch your magic work to wake up Kalliope
 default_trigger: "snowboy"
-# This is the STT that will be used by default
-default_speech_to_text: "google"
-# This is the default TTS that will be used by Kalliope to talk.
-default_text_to_speech: "pico2wave"
 
-# When Kalliope detect the hotword/trigger, he will select randomly a phrase in the following list
-# to notify the user that he's listening for orders
-random_wake_up_answers:
-  - "Oui monsieur?"
-  - "Je vous écoute"
-  - "Monsieur?"
-  - "Que puis-je faire pour vous?"
-  - "J'écoute"
-  - "Oui?"
+# Trigger engine configuration
+# Available engine are:
+# - snowboy
+triggers:
+  - snowboy:
+      pmdl_file: "trigger/snowboy/resources/kalliope-FR-6samples.pmdl"
+      
 
-# You can play a sound when Kalliope detect the hotword/trigger instead of saying something from
-# the `random_wake_up_answers`.
-# Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
-# The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
-random_wake_up_sounds:
-  - "ding.wav"
-  - "dong.wav"
-  # - "/my/personal/full/path/my_file.mp3"
+# ---------------------------
+# Speech to text
+# ---------------------------
+
+# This is the STT that will be used by default
+default_speech_to_text: "google"
 
 # Spreech to Text engines configuration
 # Available engine are:
@@ -50,6 +44,12 @@ speech_to_text:
       client_id: "lN4JXeaSticbSo9-llczbA=="
 
 
+# ---------------------------
+# Text to speech
+# ---------------------------
+# This is the default TTS that will be used by Kalliope to talk.
+default_text_to_speech: "pico2wave"
+
 # Text to Spreech engines configuration
 # Available engine are:
 # - pico2wave
@@ -73,9 +73,25 @@ text_to_speech:
       language: "fr-fr"
       cache: True
 
-# Trigger engine configuration
-# Available engine are:
-# - snowboy
-triggers:
-  - snowboy:
-      pmdl_file: "trigger/snowboy/resources/kalliope-FR-6samples.pmdl"
+
+# ---------------------------
+# Wake up answers
+# ---------------------------
+# When Kalliope detect the hotword/trigger, he will select randomly a phrase in the following list
+# to notify the user that he's listening for orders
+random_wake_up_answers:
+  - "Oui monsieur?"
+  - "Je vous écoute"
+  - "Monsieur?"
+  - "Que puis-je faire pour vous?"
+  - "J'écoute"
+  - "Oui?"
+
+# You can play a sound when Kalliope detect the hotword/trigger instead of saying something from
+# the `random_wake_up_answers`.
+# Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
+# The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
+random_wake_up_sounds:
+  - "ding.wav"
+  - "dong.wav"
+  # - "/my/personal/full/path/my_file.mp3"