Skip to content

LocalVoice 2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 17:03
· 12 commits to main since this release

Added

  • The hotkey is recorded, not picked: click the field in Settings ›
    Dictation
    , press the keys and hit Return. It can now be a key combination
    such as ⌥Space or modifiers pressed together such as ⌃⌘, as well as a
    modifier tap gesture. The popover shows the keys as you press them and
    refuses a combination without a modifier. New config key dictate;
    hotkey = ctrl,3 keeps working.
  • Hold to talk: next to the hotkey, Toggle, Hold to Talk (hold while
    you speak, let go to insert) or Hybrid (a short press toggles, a long
    one is hold-to-talk). Config key dictate-mode.
  • Settings › Recording › Sounds turns off the short sounds that mark the
    start and end of a recording (config key sounds, on by default).
  • Settings › General › Appearance: System, Light or Dark for every
    LocalVoice window and the recording pill.
  • Nemotron Unified 0.6B (626 MB), NVIDIA's newest small model for 25
    European languages and the successor to Parakeet TDT 0.6B v3 and Nemotron 3.5
    ASR Streaming. It runs offline on the Neural Engine in the engine helper and,
    unlike Parakeet, takes Deutsch, English or automatic as its language.

Changed

  • LocalVoice no longer asks for Input Monitoring: setup is Microphone and
    Accessibility. Tap gestures (Control three times) and modifier chords are
    noticed through an event tap that Accessibility covers and that passes every
    key on unchanged; the grant applies at once, so Reopen and
    Quit & Reopen are gone from setup. An existing Input Monitoring entry is
    no longer used and can be removed in System Settings.
  • Dictation runs in the app, in Swift, and no Python process runs at all: the
    shortcuts hand their commands to the recording state machine directly, the
    app drives the microphone helper, runs Silero VAD v6.2.1 itself (same
    weights, the same speech decisions as the NumPy version on every block of
    the benchmark recordings), cuts the segments, talks to the engine helper,
    inserts the text and drives the pill in-process. The rules are the
    service's: the 0.45 s onset roll, 512-sample VAD blocks with the 0.012 RMS
    fallback, the one-second silence cut, the decode at each pause and its
    reuse, the live preview, the queued stop and cancel of hold to talk,
    media pause beside the microphone open, idle unload with a background
    reload. The bundle has no Python runtime, no ctrlSPEAK copy and no
    run-ctrlspeak, and drops the ctrlspeak-overlay helper: the dev build
    is 155 MB instead of 201 MB. The engine helper and the microphone helper
    stay separate processes (the microphone because CoreAudio's teardown
    deadlock cannot be broken from inside the process, in Swift either; see
    how it works).
  • After a paste the clipboard gets back what it held before, one second
    later and only if nothing else was copied meanwhile. The transcript used to
    stay on the clipboard; it still does when no text field can take it
    ("Copied").
  • ⌥Esc stops dictation without opening the Model Library with a "could not
    start" error; Restart in the menu turns it back on.
  • A wedged dictation (a command stuck for 90 s) no longer ends a process:
    the app shows the pill, ends the microphone and engine helpers and starts
    dictation afresh, once; a second wedge right after shows the start error.
  • Settings are read where dictation uses them, so a defaults write of the
    vocabulary, language, sounds, media pause or live preview applies from the
    next recording, not only after a relaunch. The global language key, read
    only by the service when it ran without the app, is no longer read.
  • Without the keyboard event tap, key-combination hotkeys still work
    through Carbon; there is no pynput listener to fall back to for tap
    gestures and modifier chords any more.
  • build-dev-app.py always builds the portable app (--portable and
    --python are gone); build-app.sh needs only the engine build, a
    deployment target and optionally the Silero weights, and --verify refuses
    a bundle with Python in it. scripts/localvoice-transcribe.swift replaces
    smoke-model.py and smoke-parakeet.py. Dev builds can run a whole
    dictation from a WAV file without permissions (LOCALVOICE_TEST_WAV).
  • Whisper runs natively on whisper.cpp
    v1.9.6 (ggml on Metal, built from source into the engine helper) instead of
    mlx-whisper in Python. The models are new downloads: whisper.cpp's ggml
    files of Whisper Large V3 Turbo, 874 MB in 8 bits (whisper-turbo, as
    accurate as full precision on the benchmark set) and 574 MB in 5 bits
    (whisper-turbo-q5), under new model IDs (were whisper-turbo-fp16 and
    whisper-turbo-q4). Download one again in the Model Library; the old MLX
    folders are no longer used and can be deleted from
    ~/Library/Application Support/LocalVoice/Models, and a saved Whisper
    selection or language.whisper-turbo-* setting has to be chosen again.
    Speed and text are about as before: on an M5 Pro 10, 30 and 60 seconds of
    speech take 0.28, 0.45 and 0.83 s (MLX: 0.23, 0.43 and 0.78 s), Auto costs
    no extra time, and the word error rate on the benchmark set is 6.7 % for
    both (8-bit and 5-bit), as before. Auto still chooses only between German and
    English, and the retry and hallucination guards stay. Silence or faint
    noise no longer turns into "Vielen Dank." or "Thank you.". The vocabulary
    prompt holds the last 223 tokens, as before.
  • Whisper hears a long utterance in one piece: speech that runs past 30
    seconds without a pause is no longer cut into 30-second parts before
    transcription (up to 10 minutes; whisper.cpp moves its own window and keeps
    the text so far as context). The cut could put an extra word at the seam
    ("we will make the update. two recordings"). The vocabulary stays in front
    of Whisper for the whole utterance, and what it used to read into the quiet
    end of a long one ("Vielen Dank.") is dropped. On two-minute recordings
    without a vocabulary the word error rate falls from 8.6 % to 7.4 %; with one
    it stays at 5 %, and a 60-second utterance can take 0.2 s longer. Qwen and
    Parakeet still get 30 seconds per request.
  • Qwen3-ASR runs natively: the helper that ran Parakeet and Nemotron is now
    one engine helper, localvoice-engine (was localvoice-parakeet), and runs
    Qwen3-ASR 1.7B (8-bit) on the GPU with
    speech-swift 0.0.30 and MLX
    Swift, from the same model files. Speed and text match the Python backend;
    the first dictation after loading is no longer about a second slower. The
    Python package mlx-qwen3-asr is no longer in the runtime, and unloading
    the model ends the helper and frees its memory.
  • LocalVoice requires macOS 15 (speech-swift needs it); the native helpers
    were built for macOS 13 and 14 before.
  • Builds compile MLX's Metal kernels (mlx.metallib, next to the helper),
    which needs Xcode's Metal toolchain (xcodebuild -downloadComponent MetalToolchain). build-app.sh takes --engine, --engine-license,
    --engine-resources, --mlx-metallib and --engine-notices
    (--parakeet-* before); build-dev-app.py --engine replaces --worker;
    scripts/build-engine.sh replaces build-parakeet.sh. The launch.conf key
    is engine and the service reads LOCALVOICE_ENGINE.
  • The model store is native: the Model Library checks, downloads, verifies
    and removes models in the app (Swift, URLSession and CryptoKit) instead of
    running localvoice_models.py, so no Python process starts for it. The
    catalogue, pinned revisions, SHA256s and the store location are the same.
    Checking installed models hashes them on all cores and only once per app
    run, and a download is not hashed again after it finished. The app
    verifies the selected model before it starts the service and passes its
    directory (LOCALVOICE_MODEL_DIR) and the engine helper; the service no
    longer reads the store. A model directory that is incomplete or corrupt
    shows Download again, which repairs it. For development,
    scripts/localvoice-models.swift is the store on the command line;
    smoke-model.py and smoke-parakeet.py take --model-dir.
    LOCALVOICE_MODELS_DIR now only works in dev builds (and in that tool).

Removed

  • Parakeet V3 and Nemotron Streaming. Parakeet Ultra is the same Parakeet
    retrained to be better in every language, and Nemotron Unified replaces the
    streaming model, which was the least accurate for German. A saved choice of
    either opens the Models section once to pick another; their files stay in
    ~/Library/Application Support/LocalVoice/Models/ until removed by hand.
  • The Python dictation service (patches/ctrlspeak-1.8.0), the bundled
    Python runtime and everything that built or verified it (build-runtime,
    the runtime archive and its pins, the ctrlSPEAK source archive and
    UPSTREAM_VERSION, the Python entitlements), run-ctrlspeak, the command
    channel between app and service (LOCALVOICE_SETTINGS, set, the
    LOCALVOICE_* start environment), the overlay socket, the session lock
    file and the ready file. The Python tests are ported to Swift test
    executables that check.sh runs; the Python build and release tools stay.
  • mlx, mlx-whisper, tiktoken and the packages only they needed
    (regex, more-itertools, tqdm) are no longer in the bundled runtime;
    no model runs in Python any more.
  • localvoice_models.py and its CLI, the launch.conf keys model_python and
    model_store, and certifi in the runtime (only the store used it).
    Models in the Hugging Face cache (~/.cache/huggingface) are no longer
    found or used in place; download them in the Model Library.
  • The legacy Homebrew installer (install.sh --legacy-homebrew,
    uninstall.sh) and the scripts that only served it (doctor.sh,
    restart.sh, setup-permissions.sh), along with the launcher's
    LaunchAgent mode. LocalVoice is the app; setup
    shows how to move an old install over. preview-overlay.sh now builds the
    pill from source instead of using the Homebrew copy.
  • The language badge on the recording pill and the compact setting that hid
    it. LocalVoice.app never showed the badge; it was left over from the legacy
    install. The language is chosen per model in Settings.
  • The config file ~/.config/localvoice/config, its Open Config File…
    link and Cmd+, while recording. Settings are now kept in the app's macOS
    user defaults (com.localvoice.app); the keys are the same, and
    defaults write changes them from Terminal (configuration).
    An existing config file is not read; set your choices again in Settings.

Changed

  • The model table reads at a glance. Each model shows who made it and when it
    came out instead of a description, and two columns rate how accurately it
    transcribes German and English with one to five dots, taken from the Hugging
    Face Open ASR Leaderboard (each dot less is about a fifth more wrong words
    than the best model offered). Pointing at a rating shows the error rate and
    its source; models the leaderboard does not list are marked as estimates.
  • LocalVoice looks for updates once a day by default instead of asking first;
    the switch under Settings › General › Updates turns it off. Copies of
    1.4.0 still ask once before their first check.
  • The recording pill answers the hotkey at once: a small circle appears while
    the microphone opens and grows into the pill as soon as it records, instead
    of the pill fading in only after the microphone was ready.
  • Inserted text is confirmed by the pill folding into a circle with a green
    check, without the "Text inserted" label. Every pill now leaves by folding
    back into a point instead of fading out. When recording stops, the pill
    pauses at full size for a moment (grey dot, timer stopped); a quick result
    goes straight to its circle or message from there. Only a slow transcription
    folds the pill into a circle with a neutral arc running round it, which
    spirals into the check once the text lands, and that fold always finishes
    before a result replaces it. A discarded recording (Esc)
    folds into a red cross the same way; the clipboard pill just says
    "Copied". Errors and "No speech detected" keep their text.
  • The website's Homebrew command sits in its own box with a copy button.
  • The website's demo is the pill itself, large and on its own: it grows from
    the circle, records, transcribes in the circle and lands two sentences at a
    free-standing cursor. The mock editor window and the demo controls are gone;
    with reduced motion the pill stands still.
  • The app now detects the hotkey itself and drives the dictation service over
    its stdin; the service's own keyboard listener only runs when it is started
    on its own.

Fixed

  • Enter and Esc pressed to end a recording no longer also reach the app you
    are typing in (Enter used to send the message in Slack and similar apps).
  • Two dictations in quick succession no longer leave the first transcript on
    the clipboard: what you had copied before comes back after both. A copy that
    timed out behind a stalled pasteboard is dropped instead of overwriting what
    you copy later.
  • When dictation restarts itself after a stall, the recording that stalled no
    longer blocks the hotkey or pastes late into whatever has the focus.
  • With Keep microphone open, a microphone that was unplugged or failed to
    open is opened again at the next recording instead of recording nothing, a
    recording whose microphone goes away ends with what was said, and a
    microphone chosen during a recording is used from the next one.
  • Quitting during a model download no longer leaves the partial download on
    disk.
  • A vocabulary with quotes or backslashes close to the size limit no longer
    makes every Whisper or Qwen3-ASR request fail.
  • The recording pill no longer shows as a grey rectangle with blurred bands
    above and below it, cut off left and right. It happened on the recording
    after a short result such as "Copied" had followed live text: the pill's
    window stayed at that result's width.
  • Settings comes back to the front after macOS's dialog asking to control
    Spotify or Music (Pause Media) is answered, instead of staying behind
    other windows.

Install

  1. Download LocalVoice-v2.0.0-arm64.dmg and open it.
  2. Drag LocalVoice onto Applications.
  3. Open the app and follow Permissions…. Signed builds keep their permissions across updates.

Signed with Developer ID and notarized by Apple. Requires an Apple Silicon Mac with macOS 15 or later.
Models are downloaded from the app's Models… window.

Update

Releases after 1.3.0 update themselves: a new version appears in the menu bar menu and under
Settings › General › Updates and installs in place, usually as a patch of a few MB. Permissions, models
and settings stay. Coming from 1.3.0 or older, install this one over it once as above.