123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- ---
- # ---------------------------
- # Kalliope default settings
- # Use YAML syntax
- # ---------------------------
- # ---------------------------
- # Trigger
- # ---------------------------
- # This is the trigger that will catch your magic work to wake up Kalliope
- default_trigger: "snowboy"
- # Trigger engine configuration
- # Available engine are:
- # - snowboy
- triggers:
- - snowboy:
- pmdl_file: "trigger/snowboy/resources/kalliope-FR-40samples.pmdl"
- # ---------------------------
- # Speech to text
- # ---------------------------
- # This is the STT that will be used by default
- default_speech_to_text: "google"
- # Speech to text options
- #recognition_options:
- # energy_threshold: 4000
- # adjust_for_ambient_noise_second: 1
- # Speech to Text engines configuration
- # Available engine are:
- # - google (via SpeechRecognition)
- # - wit
- # - bing
- # - apiai
- # - houndify
- # - cmusphinx (must be installed first)
- speech_to_text:
- - google:
- language: "fr-FR"
- - wit:
- key: "fakekey" # example : "B5JI3YUSLYOYWNIDBINBVM34XUODME2K"
- - bing: # API not working : credential fails ..
- key: "fakekey" # example : "9e48ddaf75904838bedc11aea6b36fb0"
- - apiai:
- key: "fakekey" # example : "e0cbff154af44944a6b9f82c0668b527"
- language: "fr"
- - houndify:
- key: "fakekey" # example : "7zj90T7qAV74OYXk4X4vI2Xhk7wPsJu4aEZ0G5Ll-BMmV1JGtFpCxtSH9SmTY4G3bpEJ7a5y_GTQid-CAKI6vw=="
- client_id: "fakeclientid" # example : "lN4JXeaSticbSo9-llczbA=="
- #- cmusphinx
- # ---------------------------
- # Text to speech
- # ---------------------------
- # This is the default TTS that will be used by Kalliope to talk.
- default_text_to_speech: "pico2wave"
- # where we store generated audio files from TTS engine to reuse them
- cache_path: "/tmp/kalliope_tts_cache"
- # Text to Speech engines configuration
- # Available engine are:
- # - pico2wave
- # - acapela # MP3
- # - googletts # MP3
- # - voicerss # MP3
- text_to_speech:
- - pico2wave:
- language: "fr-FR"
- cache: True
- - googletts:
- language: "fr"
- cache: True
- - voicerss:
- language: "fr-fr"
- key: "API_Key"
- cache: True
- - watson:
- username: "me"
- password: "password"
- voice: "fr-FR_ReneeVoice"
- # ---------------------------
- # players
- # ---------------------------
- # This is the sound player that will be used by default
- default_player: "mplayer"
- # players configuration
- # Available engine are:
- # - mplayer
- # - pyalsaaudio # no mp3
- # - pyaudioplayer # no mp3
- # - sounddeviceplayer # no mp3
- players:
- - mplayer: {}
- - pyalsaaudio:
- device: "default"
- convert_to_wav: True
- - pyaudioplayer:
- convert_to_wav: True
- - sounddeviceplayer:
- convert_to_wav: True
- # ---------------------------
- # Hooks
- # ---------------------------
- hooks:
- on_start: "on-start-synapse"
- on_waiting_for_trigger:
- on_triggered: "on-triggered-synapse"
- on_start_listening:
- on_stop_listening:
- on_order_found:
- on_order_not_found: "order-not-found-synapse"
- on_processed_synapses:
- on_deaf:
- on_undeaf:
- on_start_speaking:
- on_stop_speaking:
- # ---------------------------
- # Rest API
- # ---------------------------
- rest_api:
- active: False
- port: 5000
- password_protected: True
- login: admin
- password: secret
- allowed_cors_origin: False
- # ---------------------------
- # Resource directory path
- #
- # Accepted types :
- # - neuron
- # - stt
- # - tts
- # - trigger /!\ we do not manage trigger properly yet...
- # - signal
- # ---------------------------
- #resource_directory:
- # neuron: "/var/tmp/resources/neurons"
- # stt: "resources/stt"
- # tts: "resources/tts"
- # trigger: "resources/trigger"
- # signal: "resources/signal"
- # ---------------------------
- # Global files variables
- # /!\ If a variable is defined in different files, the last file defines the value.
- # ---------------------------
- #var_files:
- # - variables.yml
- # - variables2.yml
- # -------------
- # Options
- # -------------
- options:
- deaf: False
- mute: False
|