Shipping local voice with whisper.cpp

How PaneScale does dictation and voice commands without sending audio anywhere — model pinning, temporary recordings and commands we deliberately left out.

Long prompts are tiring to type. Speaking them is faster, and for many people more natural. But a microphone in a developer tool raises a fair question: where does the audio go? In PaneScale the answer is: nowhere.

This article explains how local voice works in PaneScale — the model, the downloads, the life of a recording, how commands are understood — and the commands we chose not to build.

Why local, and why now

A few years ago, good speech recognition meant a cloud service. OpenAI’s Whisper changed that: a speech model trained on a very large and varied set of audio, released openly, that transcribes many languages well. whisper.cpp then made it practical on ordinary computers — a lean C and C++ implementation that runs on a normal CPU without a graphics card.

For a developer tool, local is not only a privacy feature. It also means voice works offline, has no per-minute cost, and has no account to sign into. The trade-off is speed on slower machines, which is why the choice of model matters.

Local transcription

Voice runs on whisper.cpp, a fast C++ implementation of OpenAI’s Whisper speech model that runs on an ordinary CPU. Two models are offered:

ModelSizeCharacter
Whisper Base142 MiBFast, multilingual
Whisper Turbo547 MiBMore accurate, still multilingual

Nothing is downloaded until you click. The whisper.cpp program comes from its official release; the models come from Hugging Face over HTTPS.

Choosing a model

Both models understand many languages; the difference is accuracy against speed.

  • Whisper Base is the quick choice for short prompts and commands. On a typical laptop CPU a sentence is transcribed in a moment, and its mistakes are usually small enough to fix while you read.
  • Whisper Turbo is noticeably better with technical vocabulary, accents and long dictation, and takes a little longer. If you dictate whole paragraphs — a task description, a review comment — it is usually worth the wait.

You can download both and switch in Settings at any time. The language can be set to automatic detection or fixed to English, German, Arabic, French or Spanish; a fixed language avoids the occasional wrong guess on very short recordings.

Pinned downloads

Every model is checked against a pinned SHA-256 hash and size before PaneScale uses it. If the file on the server ever changed — corrupted, replaced, truncated — PaneScale would refuse it instead of running an unknown model on your machine.

Pinning is a small amount of code with a large effect. A model file is a few hundred megabytes of numbers nobody reads; without a pinned hash, there is no way to tell a corrupted download from a genuine one, let alone a replaced one. With it, the model on your disk is provably the one that was tested.

The recording lifecycle

  1. The microphone is captured in the app and converted to 16 kHz mono — what Whisper expects.
  2. The audio is written to a temporary WAV file.
  3. whisper.cpp transcribes it.
  4. The temporary file is deleted immediately.

Only the text remains. A recording can be up to ten minutes long, which covers even very long prompts.

Audio is recorded only while the voice panel shows Listening. There is no wake word and no background listening: PaneScale hears you when you press the button or Space, and stops when you press it again.

Dictation lands where you are

The transcribed text is inserted where your cursor was: a terminal pane, the chat composer, a workflow brief, a task card. If the field can’t accept text, it goes to the clipboard so nothing is lost.

In a terminal pane, the text is typed without pressing Enter. That small detail matters: you read what was understood before the agent receives it, and fix a misheard word with the keyboard.

With Voice Anywhere turned on, the same works outside PaneScale: Ctrl+Alt+Space starts recording in any app, and the text is typed into the window in front, without touching the clipboard. On Linux this needs xdotool (X11) or wtype (Wayland); macOS has no system-wide shortcut.

Commands, carefully

Voice commands act on PaneScale itself: change the layout, start an agent, queue something for tonight, ask what needs you. They are matched against a small set of phrases in English and German. If you almost said a command, PaneScale suggests the closest one instead of guessing.

A few rules make commands feel natural without making them dangerous:

  • Filler words are ignored. “Please”, “hey” and similar words don’t change the meaning, so “hey, show four panes please” works.
  • Two commands can be chained with “and” or “then”: “open code and show four panes”.
  • A single wrong letter is corrected — “show four paynes” runs the command. When the match is less certain, PaneScale asks Did you mean …? instead of acting.
  • Commands never type into a terminal. In command mode, what you say acts on the app; it can never become a prompt for an agent by accident.

What we left out

Some commands would be convenient and are deliberately missing: delete, approve, merge, push, deploy, publish. A misheard word should never be able to publish your code. Those actions stay clicks, behind approvals where it matters.

When it doesn’t hear you

Most problems have one of three causes:

  • No microphone access. On Windows, desktop apps need permission under Settings → Privacy & security → Microphone. Without it, nothing is recorded at all.
  • Nothing recognized. Speak closer to the microphone; laptop microphones pick up fans and keyboards easily.
  • Commands don’t react, dictation does. Check that the panel is in Command mode; dictation never triggers commands, by design.

Try it

Settings → Voice & dictation: install whisper.cpp, download Whisper Base, pick your language. Then open the voice panel, press Space and say “show four panes”.

Questions about voice

Does voice need an internet connection?

Only once, to download whisper.cpp and a model. After that, dictation and commands work entirely offline.

Can it understand code?

It transcribes speech, so it is best for prose: task descriptions, review comments, explanations. Function and file names work when you say them clearly, and Whisper Turbo handles technical vocabulary better than Base. For exact code, typing is still faster.

Is a GPU required?

No. whisper.cpp runs on the CPU. A faster CPU makes transcription quicker, but any computer that runs PaneScale can run voice.

Sources

More articles

Checkpoints that never touch your branch

How PaneScale snapshots a working copy byte for byte without moving HEAD, the index or any branch — and why rewinding refuses to overwrite your edits.

Why the second pane opens instantly

Starting a coding CLI takes seconds. Pre-warmed sessions hide that wait — here is how we do it without eating your memory.

Measured, not estimated

Why the Token Guardian shows “not reported” instead of a guess — and how real budgets stop runs instead of turning numbers red.