A wake word detection system for Rhasspy
Project description
A wakeword detector for Rhasspy.
The Rhasspy project already has several wake word detectors to choose from. Unfortunately the existing wake word detectors fall in two categories: the not very good and the limited.
OpenWakeWordListener is sensitive, accurate, fast, and you can choose any wake word you like - you can even have multiple wake words or offload the wake word detection to another computer entirely. The trade-off is that OpenWakeWordListener requires more computing resources.
Installation
pip install openwakewordlistener
Configuring Rhasspy
- Open the Rhasspy web UI.
- Click the little cog icon in the left margin to open the settings.
- To the right of "MQTT", press the drop-down menu and select "External".
- To the right of "Wake Word" press the drop-down menu and select "Hermes MQTT".
- Click "Save Settings"
That's it! While you're in the settings, make note of which MQTT settings Rhasspy uses - you need to use the same settings for OpenWakeWordListener.
If you are running Rhasspy as a Home Assistant add-on, make sure you have also installed the Mosquitto MQTT broker add-on.
Running
To run the detector standalone:
python -m openwakewordlistener
Give the -h command line switch for a list of command line arguments.
Including in your own project
After installing the package, all you have to do is:
-
Import the package:
from openwakewordlistener import wakeword_listener -
Instantiate a listener:
listener = wakeword_listener.WakeWordListener() -
Start the listener:
listener.run()
Dependencies
OpenWakeWordListener uses Silero VAD for speech detection and Whisper for speech decoding.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openwakewordlistener-0.0.6.tar.gz.
File metadata
- Download URL: openwakewordlistener-0.0.6.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a46bc9f9bfaf0fb7e06169193d1e9426d1edc803024f2398406dcde82fafbb8
|
|
| MD5 |
88106117071e8b020e1be4ac16dd5908
|
|
| BLAKE2b-256 |
9c5013f05e6ae7a2ce2dc3082eeb6d372cf47fa1f44b10a2d4ca103680803af8
|
File details
Details for the file openwakewordlistener-0.0.6-py3-none-any.whl.
File metadata
- Download URL: openwakewordlistener-0.0.6-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9890bd165e4c320fcfd7eb01117e994be73976c2f69d51b04b6edc3cbd05f7d5
|
|
| MD5 |
f64f4d865ab7158546fdf3c3628063e5
|
|
| BLAKE2b-256 |
3e71d414abaa80c086269b5f2ffc473d45aa11e23b95688fb21b3c5d19395491
|