ChatGPT modified code for the option of using OWW

If the arguments for OWW are included, microwakeword will be disabled and OWW will be used for detection. Requires a running instance of OWW on the local machine using port 10400. If the OWW arguments are excluded, microwakeword is used for detection.

--wake-uri 'tcp://127.0.0.1:10400' \
  --wake-word-name 'marvin'
This commit is contained in:
imonlinux
2025-09-09 16:51:44 -07:00
committed by GitHub
parent 3165b0f495
commit 5d1df036f8
24 changed files with 676 additions and 33 deletions
+22
View File
@@ -0,0 +1,22 @@
[Unit]
Description=Linux Voice Assistant
Requires=wyoming-openwakeword.service
After=sound.target network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=%h/linux-voice-assistant
ExecStart=%h/linux-voice-assistant/script/run \
--name 'Linux Satellite' \
--audio-input-device seeed-2mic-voicecard \
--audio-output-device alsa/hw:2,0 \
--wake-uri 'tcp://127.0.0.1:10400' \
--wake-word-name 'marvin'
Restart=always
RestartSec=2
User=%i
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target