Skip to content

Commit

Permalink
Sounds revision (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpouffier authored Sep 15, 2024
1 parent 23fa7d4 commit 24c8bc5
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 2 deletions.
Binary file modified sounds/center_button_double_press.flac
Binary file not shown.
Binary file modified sounds/center_button_long_press.flac
Binary file not shown.
Binary file modified sounds/center_button_press.flac
Binary file not shown.
Binary file modified sounds/center_button_triple_press.flac
Binary file not shown.
Binary file modified sounds/device_connected.mp3
Binary file not shown.
Binary file modified sounds/jack_connected.flac
Binary file not shown.
Binary file modified sounds/jack_disconnected.flac
Binary file not shown.
Binary file modified sounds/wake_word_triggered.flac
Binary file not shown.
10 changes: 8 additions & 2 deletions voice-kit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,13 @@ script:
id: play_sound
priority: true
sound_file: !lambda return id(timer_finished_sound);
- delay: 3s
- wait_until:
lambda: |-
return id(nabu_media_player)->state == media_player::MediaPlayerState::MEDIA_PLAYER_STATE_ANNOUNCING;
- wait_until:
not:
lambda: |-
return id(nabu_media_player)->state == media_player::MediaPlayerState::MEDIA_PLAYER_STATE_ANNOUNCING;
# Script executed when we want to play sounds on the device.
- id: play_sound
Expand Down Expand Up @@ -1349,7 +1355,7 @@ micro_wake_word:
# not:
# lambda: |-
# return id(nabu_media_player)->state == media_player::MediaPlayerState::MEDIA_PLAYER_STATE_ANNOUNCING;
- delay: 600ms
- delay: 300ms
- voice_assistant.start:
wake_word: !lambda return wake_word;

Expand Down

0 comments on commit 24c8bc5

Please sign in to comment.