master
- Add 'error' cue to playCue() (sawtooth 150Hz) - Return true instead of false on Enter during recording to consume the key - Suppress message send when Enter is pressed while recording
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.
Logo Variants
Smooth / vector-like
Terminal / hacker style
Description
Languages
TypeScript
92.5%
Python
7.5%


