How Chinwag runs Whisper on your Mac's GPU
A technical tour: whisper.cpp on Metal behind a localhost server, a Core Audio tap for calls, sherpa-onnx speakers, and a network audit.
Chinwag is a free, open-source Mac app for dictation and call transcripts. It runs Whisper large-v3-turbo through whisper.cpp on the Mac's GPU, captures the other side of calls with a Core Audio process tap, and tells speakers apart with sherpa-onnx. Nothing is uploaded. This post walks through how the pieces fit, with the actual numbers from the source.
The app is about 6,100 lines of Swift, built with the Xcode Command Line Tools rather than full Xcode.
Which model does it run, and how?
Chinwag uses ggml-large-v3-turbo-q5_0.bin, the 5-bit quantised build of Whisper large-v3-turbo published with whisper.cpp. The file is 574 MB and is downloaded once, from Hugging Face, on first launch.
Instead of linking whisper.cpp into the app, Chinwag ships whisper.cpp's own whisper-server as a helper binary in Contents/Helpers. The release build compiles it from source at a pinned tag (v1.9.6) with:
GGML_METAL=ONandGGML_METAL_EMBED_LIBRARY=ON, so inference runs on the GPU and the Metal shaders are inside the binary;GGML_BLAS=ONfor the parts that run on the CPU;BUILD_SHARED_LIBS=OFF, so the helper is one self-contained file to sign.
The app starts the server on launch, bound to 127.0.0.1 on port 8178, with the model loaded and the thread count set to the number of cores minus two (at least four). It keeps the model in memory, so a dictation doesn't pay the load time.
Each dictation is a 16 kHz WAV posted to the server's /inference endpoint, with temperature 0 and a prompt built from your vocabulary list. Whisper treats the prompt as earlier context, which nudges it towards spelling your names the way you wrote them.
Running the model as a separate process has two benefits. A crash in inference can't take the app down, and if the server stops answering, Chinwag restarts it and retries. The request timeout scales with the clip length, so a frozen engine is noticed in seconds.
How does push-to-talk feel instant?
Two details matter more than raw inference speed:
- The microphone stays warm. Chinwag captures with AVAudioEngine and, by default, keeps a short rolling buffer, so it has the 0.3 seconds before you pressed the key. Some USB webcams take about a second to wake their microphone, which otherwise cuts off your first word.
- The key is a single modifier. The default hotkey is Right ⌥, watched through modifier-flag events. A quick tap starts hands-free mode, holding it is push-to-talk, and pressing any other key while it's held cancels, so normal shortcuts still work.
When the text comes back, Chinwag puts it on the clipboard and sends ⌘V to the focused app. That needs the Accessibility permission. If no text field has focus, it shows the text in a small card instead of pasting into nothing.
How are calls captured without a bot?
A call has two sides, recorded separately:
- You: the microphone.
- Them: whatever the Mac is playing. Since macOS 14.4 an app can create a Core Audio process tap. Chinwag creates a stereo global tap (
CATapDescription), wraps it in a private aggregate device alongside the default output, and reads from that. macOS asks once for System Audio Recording permission.
Keeping the sides apart means "You" is never confused with anyone else. Each side is written to disk as 16 kHz WAV during the call, so a crash loses nothing (Chinwag can repair a WAV whose header was never finalised). After the call, the audio is packed into AAC at about 14 MB per side per hour.
For live text, each side goes through a simple segmenter working in 100 ms frames:
- a turn ends after 0.8 seconds of quiet, or is cut at about 20 seconds;
- while a turn is going, it's sent for transcription in pieces of 4 to 8 seconds, cut at a short pause where possible, so lines appear during the call;
- when the turn ends, its whole audio is transcribed once more, which gives a cleaner final line than the joined-up pieces.
The transcript is saved to disk as lines arrive. That is what lets an AI read a call that's still going (more on that below).
How does it tell speakers apart?
After the call, the "Them" side goes through sherpa-onnx's offline speaker diarisation, run as a bundled command-line tool. It uses two small models: pyannote segmentation 3.0 (int8) to find where speech changes, and NVIDIA NeMo TitaNet small to turn each stretch into a voice embedding. Clusters become Speaker 1, Speaker 2 and so on.
When you rename a speaker, Chinwag keeps a voiceprint for that name. In later calls, a close match is named automatically, and the transcript marks it as a guess. Both models and the tool are downloaded at build time and checked against pinned SHA-256 hashes.
What does the AI tidy-up do?
Two passes clean the text:
- Rules. Filler words such as "um" are removed, and your vocabulary's "sounds like" entries fix near misses.
- An optional language model pass. On macOS 26 with Apple Intelligence, Chinwag runs a light tidy-up with Apple's on-device model through the FoundationModels framework.
The second pass taught us something. We first gave the model the vocabulary list as "names that may appear". It then replaced names it didn't know with names from the list. Now the list goes only to Whisper, the model is told to leave names alone, and its output is thrown away if it adds a capitalised word that wasn't in the raw transcript. History keeps the raw text next to the cleaned text, so you can tell a Whisper mistake from a tidy-up mistake.
How do you know nothing is uploaded?
By keeping the list of network requests short enough to check. Chinwag makes three kinds:
- The model download, once, from Hugging Face.
- An update check, once a day, which asks GitHub's API for the latest release. You can turn it off.
- The update itself, only when you click Update.
Every request to a host other than localhost goes through a counter that adds up the bytes sent. The sidebar shows the total as "Uploaded, ever", and it stays at 0. The privacy section of the site lists the exact source lines that open network connections, so you can check them with grep.
The updater is careful too. It installs a new version only if the download matches the SHA-256 checksum GitHub lists for it, it's signed by the same Apple developer team, and spctl accepts it as notarised.
How is it signed and shipped?
The release script signs from the inside out with the hardened runtime: the sherpa-onnx libraries, the diarisation tool, whisper-server, then the app. It builds a disk image, sends it to Apple's notary service, and staples the ticket. The site and GitHub release list the SHA-256 of the disk image so you can check your download.
Can an AI read the transcripts?
Yes, if you choose. Running Chinwag --mcp starts a small Model Context Protocol server on stdin and stdout. It's newline-delimited JSON-RPC, implemented in under 170 lines of Swift with no dependencies. It offers four tools that read (list_calls, get_call, search and recent_dictations) and one that asks the running app to transcribe a call again (retranscribe_call, which keeps the old transcript unless the new one is as good or better). It reads only Chinwag's own files and opens no port.
For Claude Desktop, Chinwag ships a .mcpb extension. Its manifest points at a short shell script that finds Chinwag.app (in /Applications, ~/Applications or via Spotlight) and runs it with --mcp. The handshake includes the app icon as a data: URL, so the AI app doesn't fetch anything. Setup is in ask Claude about your meeting notes.
The AI app sends what it reads to its own servers, so that is the one place your words leave the Mac, and only when you ask.
Can I build it myself?
Yes. You need Homebrew and the Xcode Command Line Tools:
git clone https://github.com/mcvalosborne/chinwag ~/chinwag && ~/chinwag/install.sh
That installs whisper.cpp, downloads the model and builds ~/Applications/Chinwag.app. The code is MIT-licensed. Issues and pull requests are welcome on GitHub.
Try it: download Chinwag, or read the source.
Try Chinwag. Free dictation and call notes for Mac. No account, nothing uploaded. Version 0.9.4, Apple silicon, macOS 14 or later.
Download for Mac · free