This commit is contained in:
dingfeng.wong
2025-07-22 22:21:06 +08:00
parent 15657df63f
commit ae7b7d0869
3 changed files with 73 additions and 3 deletions
+22
View File
@@ -288,6 +288,22 @@ The following wake words are supported:
- porcupine
- terminator
### Wake Word Engines
Two wake word engines are supported:
- **openwakeword** (default) - Open source, free to use, good accuracy
- **pvporcupine** - Picovoice's Porcupine engine, highly optimized
Choose the engine based on your requirements:
```bash
# Use OpenWakeWord (default)
tooling stt listen --wakeword-engine openwakeword
# Use Porcupine for better performance
tooling stt listen --wakeword-engine pvporcupine
```
### Available Models
| Model | Speed | Accuracy | Memory | Use Case |
@@ -311,6 +327,7 @@ Options:
--save-to-file PATH Save transcriptions to a file
--sensitivity FLOAT Wake word sensitivity (0.0 to 1.0) [default: 0.6]
--device TEXT Device to use (auto, cuda, cpu) [default: auto]
--wakeword-engine TEXT Wake word engine (openwakeword, pvporcupine) [default: openwakeword]
--verbose Show verbose output and configuration
--help Show this message and exit
```
@@ -342,6 +359,11 @@ tooling stt test --duration 5 --model tiny
tooling stt listen --language es --sensitivity 0.8 --wake-word "hey google"
```
**Use different wake word engine:**
```bash
tooling stt listen --wakeword-engine pvporcupine --wake-word alexa
```
### How it Works
1. **Initialization**: Loads the selected Whisper model and sets up audio processing