Repository navigation
v0.2.0 — Streaming, Context Engine, Adaptive Vocab
What's new
Live streaming transcription
Partial text appears in the overlay while you speak — dim and italic to distinguish it from the final result. The accurate model still produces the final inserted text when you stop.
asr:
streaming: true
streaming_model: baseOn CPU, partials update every ~1–3 seconds. On a working CUDA GPU, every ~100–300 ms.
Background warm-up
Models are preloaded in the background at startup. The tray shows ✓ Ready when warm-up finishes — no cold-start penalty on your first dictation. A CUDA inference probe now detects GPU failures at startup and falls back to CPU automatically before any dictation.
Context-aware formatting
The active application drives the cleanup style automatically.
context:
enabled: true
profiles:
"Code.exe": technical # VS Code on Windows
"*terminal*": technical
"*": standardVoice commands
Say editing commands instead of typing them: new line, new paragraph, scratch that, undo that, capitalize that.
commands:
enabled: trueAdaptive vocabulary
The app learns your corrections. Undo a mis-heard word, re-dictate the correct one. Do it twice and the mapping is saved permanently.
adaptive:
enabled: true
promote_threshold: 2Improvements
- Undo is now reliable regardless of focus. The app saves the window handle when it inserts text and re-focuses it before sending backspace keystrokes — works even if you switched to the terminal to watch logs.
- Benchmark harness (
scripts/benchmark.py) with CI-enforced latency budgets. - Settings window now shows the undo hotkey.
Bug fixes
- Streaming repeated lines / multi-minute hang after stop. The
AudioChunkeremitted the rolling 8-second window with every chunk instead of a delta. After 30 s of speaking, ~480 s of duplicate audio accumulated; the final pass hallucinated and took minutes. Fixed: chunker now emits only new audio since last emission. - ZeroDivisionError on first streaming dictation. Sample rate was read from a field initialised to
0. Fixed: read from theAudioChunkEventdirectly. - Streaming CPU backlog. Each partial
await-ed the executor inside the chunk loop, queueing 10+ jobs after stop. Fixed with a fire-and-forget pattern. - Hotkeys unreliable with Shift+letter on Windows. pynput fires
KeyCode(char=None, vk=90)when Shift is held — the old set-matching code never caught it. Rewritten to usepynput.HotKey+listener.canonical. - Overlay/tray updated from wrong thread. Qt widget updates now go through signals (queued connection).
- Overlay missing subscriptions.
PartialTranscriptEventandWarmupCompleteEventwere never subscribed — partials and "✓ Ready" never appeared.
Upgrade notes
Add the undo hotkey to your config (ctrl+alt+z is captured by NVIDIA drivers — use ctrl+shift+z):
hotkeys:
undo: ctrl+shift+zIf you see CUDA inference probe failed — switching to CPU at startup and want to suppress it:
asr:
extra:
device: cpuAll v2 features (streaming, context, commands, adaptive) are off by default — an existing v1 config.yaml works unchanged.