You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works if run manually via cli so am fairly sure it should work within the service, but maybe it doesn't run async wakeword detection if tts is streaming?
Any help would be appreciated to be able to interrupt the assistant if needed.
The text was updated successfully, but these errors were encountered:
Hi, I am trying to make it so that if it detects a new instance of the wake word it kills the ongoing tts message.
My satellite is configured as such right now, can't seem to get the right flags unfortunately.
[Unit]
Description=Wyoming Satellite
Wants=network-online.target
After=network-online.target
Requires=wyoming-openwakeword.service
Requires=2mic_leds.service
After=wyoming-openwakeword.service
After=2mic_leds.service
[Service]
Type=simple
#Environment="PULSE_SERVER=unix:/run/user/1000/pulse/native"
ExecStart=/home/leo/wyoming-satellite/script/run
--name 'Raspy Satelite'
--area 'Bedroom'
--uri 'tcp://0.0.0.0:10700'
--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 16000 -c 1 -f S16_LE -t raw'
--snd-command-rate 16000
--snd-volume-multiplier 0.1
--mic-auto-gain 2
--mic-noise-suppression 3
--mic-volume-multiplier 3
--wake-uri 'tcp://127.0.0.1:10400'
--wake-word-name 'jarvis'
--detection-command 'examples/commands/detection_script.sh'
--wake-refractory-seconds 0.1
--mic-no-mute-during-awake-wav
--event-uri 'tcp://127.0.0.1:10500'
WorkingDirectory=/home/leo/wyoming-satellite
Restart=always
User=leo
RestartSec=1
[Install]
WantedBy=default.target
This is my detection_script.sh
#!/usr/bin/env sh
ps -A | grep aplay | awk '{print $1}' | xargs kill
It works if run manually via cli so am fairly sure it should work within the service, but maybe it doesn't run async wakeword detection if tts is streaming?
Any help would be appreciated to be able to interrupt the assistant if needed.
The text was updated successfully, but these errors were encountered: