Skip to content

Commit

Permalink
Updates for version 0.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Franco Masotti committed Jan 31, 2018
1 parent be5b4fa commit 1fb3781
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 60 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ You need to have the
[Kalliope Core](https://github.com/kalliope-project/kalliope)
installed before cloning this starter kit.

This starter kit has been tested with Kalliope v0.5.0.

# Kalliope starter config it

This is an out of the box working configuration for an
Expand Down
20 changes: 17 additions & 3 deletions brain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,28 @@
- brains/systemdate.yml
- brains/neurotransmitter.yml

- name: "default-synapse"
signals:
- order: "default-synapse"
- name: "order-not-found-synapse"
signals: []
neurons:
- say:
message:
- "Non ho capito"
- "Non conosco quest'ordine"
- "Non conosco quell'ordine"

- name: "on-triggered-synapse"
signals: []
neurons:
- say:
message:
- "Si?"
- "Sto ascoltando"
- "La sto ascoltando"
- "Cosa posso fare per lei?"
- "Come posso aiutarla?"

- name: "on-start-synapse"
signals: []
neurons:
- say:
message: "In attesa di ordini"
3 changes: 1 addition & 2 deletions brains/say.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@
- order: "Ciao"
neurons:
- say:
message:
- "Ciao {{name}}"
message: "Ciao {{name}}"
2 changes: 1 addition & 1 deletion global_variables/variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

name: kalliope
name: calliope
73 changes: 19 additions & 54 deletions settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ cache_path: "/tmp/kalliope_tts_cache"
# Text to Spreech engines configuration
# Available engine are:
# - pico2wave
# - acapela
# - watson
# - pico2wave
# - googletts
# - voicerss
Expand All @@ -65,10 +65,6 @@ text_to_speech:
- pico2wave:
language: "it-IT"
cache: True
- acapela:
language: "sonid15"
voice: "Manon"
cache: True
- googletts:
language: "it"
cache: True
Expand Down Expand Up @@ -102,47 +98,20 @@ players:
convert_to_wav: True

# ---------------------------
# Wake up answers
# Hooks
# ---------------------------
# 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:
- ""
- "Sto ascoltando"
- "Ti sto ascoltando"
- "Cosa posso fare per lei"
- "Dica"
- "Come posso aiutarla"


# You can play a sound when Kalliope detect the hotword/trigger instead of saying something from
# the `random_wake_up_answers`. To active the 'random_wake_up_sounds' you must comment out the 'random_wake_up_answers'
# The file must be .wav or .mp3 format.
#random_wake_up_sounds:
# - "trigger/dong.wav"
# - "/my/personal/full/path/my_file.mp3"

# ---------------------------
# On ready notification
# ---------------------------
# 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

# This parameter define if you play the on ready answer:
# - always: every time Kalliope is ready to be awaken
# - never: never play a sound or sentences when kalliope is ready
# - once: at the first start of Kalliope
play_on_ready_notification: "never"

# 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
on_ready_answers:
- "in attesa di ordini"

# You can play a sound instead of a sentence.
# Remove the `on_ready_answers` parameters by commenting it out and use this one instead.
# Place here the path of the sound file. Files must be .wav or .mp3 format.
# on_ready_sounds:
# - "sounds/ding.wav"
# - "sounds/dong.wav"
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_mute:
on_unmute:
on_start_speaking:
on_stop_speaking:

# ---------------------------
# Rest API
Expand Down Expand Up @@ -180,12 +149,8 @@ var_files:
- global_variables/variables.yml
# - variables2.yml

# ---------------------------
# Raspberry Pi GPIO settings
# ---------------------------
#rpi:
# pin_mute_button: 24
# pin_led_started: 23
# pin_led_muted: 17
# pin_led_talking: 27
# pin_led_listening: 22
# -------------
# Start options
# -------------
#start_options:
# muted: False

0 comments on commit 1fb3781

Please sign in to comment.