Assets Setup Guide
This document explains how to set up the required assets (wake word models and sound files).
Included Assets
All required wake word models and sound files are already included in the repository:
Wake Word Models (microWakeWord)
okay_nabu.tflite- "Okay Nabu" (default)stop.tflite- "Stop"alexa.tflite- "Alexa"hey_jarvis.tflite- "Hey Jarvis"hey_home_assistant.tflite- "Hey Home Assistant"hey_luna.tflite- "Hey Luna"hey_mycroft.tflite- "Hey Mycroft"okay_computer.tflite- "Okay Computer"choo_choo_homie.tflite- "Choo Choo Homie"
Wake Word Models (openWakeWord)
Located in wakewords/openWakeWord/:
alexa_v0.1.tflite- Alexahey_jarvis_v0.1.tflite- Hey Jarvishey_mycroft_v0.1.tflite- Hey Mycrofthey_rhasspy_v0.1.tflite- Hey Rhasspyok_nabu_v0.1.tflite- Okay Nabu
Sound Files
wake_word_triggered.flac- Played when wake word is detectedtimer_finished.flac- Played when timer finishes
Wake Word Models
The application uses two wake word engines:
- microWakeWord: Lightweight, good for embedded systems
- openWakeWord: More accurate, uses more resources
Adding Custom Wake Words
microWakeWord Models
- Download a model from microWakeWord releases
- Place the
.tflitefile in thewakewords/directory - Create a corresponding
.jsonfile:
{
"type": "microWakeWord",
"wake_word": "Your Wake Word",
"trained_languages": ["en"]
}
openWakeWord Models
- Download a model from home-assistant-wakewords-collection
- Place the
.tflitefile in thewakewords/directory - Create a corresponding
.jsonfile:
{
"type": "openWakeWord",
"wake_word": "Your Wake Word",
"model": "your_wake_word.tflite",
"trained_languages": ["en"]
}
Popular Wake Words
Here are some popular wake words you can add:
Sound Files
The application uses sound files for feedback:
Included Files
- wake_word_triggered.flac - Played when wake word is detected
- timer_finished.flac - Played when timer finishes
Customizing Sound Files
You can replace these files with your own:
- Keep them short (1-2 seconds)
- Use FLAC or WAV format
- Sample rate: 16kHz or 44.1kHz
- Mono or stereo
Example Using Online Tools
- Go to TTSMP3
- Enter text like "I'm listening" or "Timer finished"
- Generate and download as MP3
- Convert to FLAC using Online Audio Converter
- Replace the file in
sounds/directory
Directory Structure
After setup, your directory should look like:
reachy_mini_ha_voice/
βββ wakewords/
β βββ okay_nabu.json
β βββ okay_nabu.tflite # Downloaded
β βββ stop.json
β βββ stop.tflite # Downloaded
β βββ hey_jarvis.json # Optional
β βββ hey_jarvis.tflite # Optional
βββ sounds/
βββ wake_word_triggered.flac # You provide
βββ timer_finished.flac # You provide
Troubleshooting
Wake Word Not Detected
- Check that the
.tflitefile exists - Verify the
.jsonconfiguration is correct - Try a different wake word
- Check microphone input volume
Sound Not Playing
- Verify the sound file exists and is not empty
- Check audio output device is configured
- Try playing the file manually:
aplay sounds/wake_word_triggered.flac
Model Loading Errors
- Ensure the model is compatible with your architecture
- Check that TensorFlow Lite is installed correctly
- Verify the model file is not corrupted