Commit graph

11 commits

Author SHA1 Message Date
Dale
e08dc45fb9 Use numpy for average 2023-04-30 14:11:44 +02:00
Dale
a586de99c6 Use mqtt.loop_start() to reconnect after network disconnect 2023-04-30 14:11:24 +02:00
Dale
c5c186accb Add moving average filter with hysteresis 2023-04-30 13:41:59 +02:00
Dale
4222295766 Detect wake words from multiple audio streams
Allows running Open Wake Word centrally (on base) and all Rhasspy satellites stream audio to the base.
2023-04-27 17:25:20 +02:00
Dale
8531cad684 Remove unused code 2023-04-24 12:13:56 +02:00
Dale Humby
b2ca24bf50 Flush prints so docker logs update 2023-04-23 17:37:04 +00:00
Dale Humby
48e652c9c1 Dockerise the application 2023-04-23 17:12:57 +00:00
Dale
7084655364 Bail if audio thread crashed
Program restart will be handled by Docker or systemd
2023-04-23 13:55:31 +02:00
Dale
c9ca033eda Cleanup config 2023-04-23 13:54:38 +02:00
Dale
eca74772de Send wake word to Rhasspy
Using Hermes MQTT.

Wake word is detected multiple times, added debug messages and some timeout code to mitigate multiple activations of Rhasspy.

config.yaml for configuration of MQTT and open wake word
2023-04-23 12:11:27 +02:00
Dale
71034cfd62 Receive Rhasspy audio on UDP and detect wake words
UDP audio receive in a thread, with wake word detection.
2023-04-22 21:42:19 +02:00