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

No awake or done sounds #218

Closed
SvenSvenson38 opened this issue Sep 11, 2024 · 5 comments
Closed

No awake or done sounds #218

SvenSvenson38 opened this issue Sep 11, 2024 · 5 comments

Comments

@SvenSvenson38
Copy link

SvenSvenson38 commented Sep 11, 2024

I've tried multiple configurations of the --awake-wav in my satellite config, but i've not had any sound at any point. I'd like to make a custom sound, but have been trying to just get anything working first. Audio is fine as I get my voice assistant through the speaker without any issue, and the LED service works, it's just the audio feedback isn't coming through. Below is my configuration file. Thanks in advance
edited to reflect current syntax


[Unit]
Description=Wyoming Satellite
Wants=network-online.target
After=network-online.target
Requires=wyoming-openwakeword.service
Requires=2mic_leds.service

[Service]
Type=simple
ExecStart=/home/voicesatellite/wyoming-satellite/script/run \
--name 'my satellite' \
--uri 'tcp://0.0.0.0:10700' \
--event-uri 'tcp://127.0.0.1:10500' \
--mic-auto-gain 5 \
--mic-noise-suppression 2 \
--mic-command 'arecord -D plughw:CARD=seeed2micvoicec,DEV=0 -r 16000 -c 1 -f S16_LE -t raw' \
--snd-command 'aplay -D plughw:CARD=seeed2micvoicec,DEV=0 -r 22050 -c 1 -f S16_LE -t raw'
--wake-uri 'tcp://127.0.0.1:10400' \
--wake-word-name 'hey_woodhouse' \
--awake-wav sounds/awake.wav \
--done-wav sounds/done.wav \
--vad
WorkingDirectory=/home/voicesatellite/wyoming-satellite
Restart=always
RestartSec=1

[Install]
WantedBy=default.target

@dreed47
Copy link

dreed47 commented Sep 11, 2024

try adding the full path to the sound files

          --awake-wav '/opt/wyoming-satellite/sounds/awake.wav' \
          --done-wav '/opt/wyoming-satellite/sounds/done.wav' \
          --timer-finished-wav '/opt/wyoming-satellite/sounds/timer_finished.wav'

@SvenSvenson38
Copy link
Author

Thanks, but no luck with that either! No adjustment to that, with or without quotes, or the shortened path. The LED timers also change too fast, so without sound it's unclear if it's still listening!

@CBDesignS
Copy link

if you have split the command line then it looks like you are missing \ on each of the split lines

have a read of #189

@SvenSvenson38
Copy link
Author

Hey,
for some reason they didn't past in, but they are there and i have edited to show properly! Interestingly though, i can't put one after the --snd-command line or i lose wake word recognition.. I wonder if this also explains my issue trying to get on device wake word recognition working. Would that cause anything after that line to be ignored, and therefore it's streaming everything through to HA and not locally?

@SvenSvenson38
Copy link
Author

Issue resolved! Basically, removing all splits fixed both issues! I'm unsure why (there were no random spaces etc) but without any splits i can reorder everything as well and have no issues with dropping any service. Strange...

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

3 participants