You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 months ago | |
|---|---|---|
| assets | 2 months ago | |
| extensions | 2 months ago | |
| .gitignore | 2 months ago | |
| README.md | 2 months ago | |
| package.json | 2 months ago | |
README.md
pi-vosk-voice
Push-to-talk voice input for Pi using Vosk offline speech recognition.
Features
- Hold-to-talk recording
- Live transcription while speaking
- Partial stabilization on pauses
- Writes into the Pi editor in
pastemode - Optional
sendmode - Start/stop audio cues via SoX
- Global or project-local Pi configuration
Requirements
sox(recandplay)- Python 3
voskPython package- A downloaded Vosk model, e.g.
vosk-model-it-0.22
Configuration
Put this in ~/.pi/vosk-voice.json or .pi/vosk-voice.json:
{
"shortcut": "f12",
"enabled": true,
"mode": "paste",
"modelPath": "/home/you/.cache/vosk/vosk-model-it-0.22",
"soundsEnabled": true
}
Install in Pi
pi install /path/to/pi-vosk-voice
Then reload Pi:
/reload
Commands
/voice/voice config/voice stop/voice download-model/voice set shortcut ctrl+t/voice set mode paste/voice set sounds false
Notes
The extension uses Vosk streaming partial/final results and updates the editor progressively.

