CancelWatcher accumulates raw PCM from the VAD LevelMeter (via new on_chunk callback) and runs a fast beam_size=1 transcription check every ~0.6s. When a cancel keyword is detected it immediately calls cancel_dictation() without waiting for the silence timer to expire or a full transcription to complete. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
385 B
Python
10 lines
385 B
Python
"""Blitztext for Linux — native dictation daemon.
|
|
|
|
Press a global hotkey, speak, and the transcribed (optionally LLM-rewritten)
|
|
text is typed into whatever text field currently has focus. This is the Linux
|
|
counterpart to the macOS Blitztext menu bar app: it runs natively on the host
|
|
(not in a container) so it can type into any application via xdotool.
|
|
"""
|
|
|
|
__version__ = "2.03.29"
|