Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outputting sound after wake word (satellite) #47

Closed
lightsabata opened this issue Aug 30, 2023 · 1 comment
Closed

Outputting sound after wake word (satellite) #47

lightsabata opened this issue Aug 30, 2023 · 1 comment

Comments

@lightsabata
Copy link

Hi everyone !
i've managed to config a satellite connected to my home assistant server, it work like a charm but i would like to enhance my experience with a sound after triggering the wake word program.
ive tried to add a command on my configuration with no luck.

Is anybody knows a tweak to do this ?

Here's my satellite configuration:

satellites:
  default:
    mic:
      name: arecord
    wake:
      name: porcupine2
      after: 
        command: |
          aplay "${data_dir}/wake_alfred.wav"
    remote:
      name: home_assistant
    snd:
      name: aplay

Thanks

@lightsabata
Copy link
Author

lightsabata commented Aug 30, 2023

With the argument when running the satellite script --wake-after-wav with and absolute path to a .wav file, we can outputting a sound after wake word:

script/run bin/satellite_run.py --debug --loop --wake-after-wav "/PATH/TO/.WAV"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant