- Category
- Utilities
- Publisher
- oochernyshev
- Repository
- Open repository
- Release
- Open release
- Current version
- v2.0.3
- Release date
- 2026-11-30
- Package size
- macOS 0.0 MB · Windows 0.0 MB
lockmic
System wide microphone mute for macOS — menu bar icon, global hotkeys, and an on screen HUD. Works in Zoom, Teams, Meet, FaceTime, browsers, and every other app by muting input devices via Core Audio.
README
LockMic
System-wide microphone mute for macOS — menu bar icon, global hotkeys, and an on-screen HUD. Works in Zoom, Teams, Meet, FaceTime, browsers, and every other app by muting input devices via Core Audio.
Owner: WIXEE.AI · License: MIT · Version: 2.0.3
Available through the Mac App Store, Homebrew, and a direct DMG. See ARCHITECTURE.md for design details.
Features
- System-level mute via Core Audio (not app-specific mute buttons)
- Mute all input devices by default (optional: default input only)
- While muted, also sets each device's input volume to 0 (restored on unmute) so apps that unmute the hardware while starting capture, like Messages voice recording, still record silence
- Virtual devices (
transportType == Virtual) are listed but ignored for mute control - Menu bar icon — click to toggle, right-click for menu
- Global hotkeys (customizable):
- Toggle: ⌘⇧M (and optional ⌘F5)
- Mute only / Unmute only (off by default)
- Push to flip: hold to invert mute, release to restore (off by default; default ⌥Space)
- Push to talk: hold to unmute, release to restore (off by default; default ⇧Space)
- Push to mute: hold to mute, release to restore (off by default; default ⇧⌥Space)
- Start recording: ⌘⇧R
- Stop recording: ⌥⌘⇧R
- Dismiss meeting card: ⌃⌥⌘D
- Conflict warnings when two enabled shortcuts share the same keys
- On-screen HUD on mute/unmute (optional toast)
- Floating HUD (optional): always visible on each display
- Drag to reposition (per display, remembered)
- Click to toggle mute
- Right-click to hide/show on a display (also in menu bar)
- Sound feedback on mute/unmute (optional)
- Launch at login (optional)
- Optional meeting countdown from Calendar: a floating card two minutes before an event, with snooze, OK, and an escalating alert sound
- Preferences: General, Devices, Recording, Alerts, Keyboard, About
- Re-applies mute when apps unmute the hardware, on device switch, and every 2 seconds as a safety net
- Record the default microphone with system playback into a dated AAC mix (optional); optionally stop after 30s / 1m / 2m of silence
Requirements
- macOS 14 Sonoma or later
- Xcode 15+ (to build)
- XcodeGen:
brew install xcodegen
Languages
UI follows the macOS system language. Bundled localizations:
23 languages — English (default) plus Czech, Danish, German, Greek, Spanish, Finnish, French, Hungarian, Italian, Japanese, Korean, Norwegian (Bokmål), Dutch, Polish, Portuguese, Romanian, Russian, Serbian (Latinica), Swedish, Turkish, Ukrainian, Chinese (Simplified).
One file per language under Resources/Localization/ (xx.lproj/Localizable.strings). See that folder’s README for the full table.
Code looks up keys via L10n (Sources/LockMic/Util/L10n.swift). To test: Xcode scheme → Options → App Language, or System Settings → Language & Region.
Website
Marketing site lives in website/public/ and deploys to Firebase Hosting via Cloud Build (cloudbuild.yaml, firebase.json).
# Local preview
cd website/public && python3 -m http.server 8080
See website/README.md for Firebase setup and CI deploy.
Build & run
Full local-build and publish-a-release guide: BUILD_AND_DEPLOY.md. Ship with ./Scripts/release.sh X.Y.Z -m "summary" (RELEASE.md).
Start or restart (kills any running instance; builds if the app is missing):
./Scripts/start.sh
Rebuild then restart:
./Scripts/start.sh --build
Build only:
./Scripts/build_homebrew.sh
open build/LockMic.app
Package a release zip/DMG:
./Scripts/package_dmg.sh
# → build/dist/LockMic-2.0.3.zip (+ .dmg, sha256)
Install via Homebrew
LockMic is not in the official Homebrew core cask list yet. Install from this repo’s tap:
brew tap oochernyshev/lockmic https://github.com/oochernyshev/lockmic
brew trust --cask oochernyshev/lockmic/lockmic
brew update
brew reinstall --cask --yes lockmic || brew install --cask lockmic
open /Applications/LockMic.app
Same commands to install, update, or restore a deleted app. Homebrew 6 install --force still skips if the cask version is already current, so reinstall is required after deleting the .app.
Homebrew 6+ requires trusting third-party casks once (brew trust --cask … trusts only LockMic, not every package in the tap).
From a local clone (no tap):
brew reinstall --cask --yes --force ./Casks/lockmic.rb || brew install --cask ./Casks/lockmic.rb
Uninstall (dragging the app to Trash is not enough):
brew uninstall --cask lockmic
Cask: Casks/lockmic.rb (must stay under root Casks/ for the tap to work).
Direct releases are Developer ID signed and notarized for Gatekeeper.
Local build without a public release
./Scripts/build_homebrew.sh
open build/LockMic.app
Usage
| Action | How |
|---|---|
| Toggle mute | Click menu bar icon, ⌘⇧M, ⌘F5, or click the floating HUD |
| Push to talk | Hold PTT shortcut (Preferences → Keyboard; off by default) |
| Push to mute | Hold PTM shortcut (Preferences → Keyboard; off by default) |
| Push to flip | Hold to invert mute, release restores (off by default) |
| Menu / Preferences | Right-click (or Control-click) the menu bar icon |
| Menu bar icon hidden | Dock appears automatically · left-click toggles mute · right-click opens the same menu (Preferences, floating HUD, …) |
| Floating HUD move | Drag the indicator (each display is independent) |
| Floating HUD hide/show | Right-click the indicator, menu bar / Dock menu → Floating HUD |
| Start / stop recording | Menu → Start Recording / Stop Recording · ⌘⇧R / ⌥⌘⇧R (also HUD right-click) |
| Quit | Menu → Quit LockMic |
Preferences
| Section | Options |
|---|---|
| General | Status, HUD toast, floating HUD, sound, launch at login, show in Dock |
| Devices | Mute-all vs default-only, live input list (virtual = ignored) |
| Recording | Folder, quality, follow-default mic/output, keep stem files after mix |
| Keyboard | Toggle / mute / unmute / start / stop recording / flip / PTT / PTM; optional ⌘F5; conflicts; reset |
| About | Logo, version, WIXEE.AI, website, MIT license |
Development in VS Code
- Install Xcode +
xcodegen - Optional: SweetPad
- Generate & build:
./Scripts/build_homebrew.shor./Scripts/start.sh --build - Edit sources under
Sources/LockMic/
Project layout
Sources/LockMic/ Swift app (App, Core, UI)
Resources/ Info.plist, entitlements, Assets (AppIcon, AppLogo)
Scripts/ start, build, package
homebrew/Casks/ Cask formula template
LICENSE MIT
ARCHITECTURE.md System design
BUILD_AND_DEPLOY.md Local build and GitHub / Homebrew / website release
RELEASE.md Short ship checklist
logo.png Source artwork (generates icon sizes)
Privacy
Muting, unmuting, push-to-talk and the HUD work through Core Audio only and need no microphone permission. LockMic does not record audio unless you turn on recording.
Recording is optional and only starts when you explicitly start it (menu, hotkey, or HUD). When you do, macOS asks for microphone access (to capture the default mic) and system audio capture access (to capture playback). The result is saved as a dated AAC file in the folder you choose in Preferences → Recording, on your Mac. LockMic does not upload recordings.
License
MIT — Copyright © 2026 WIXEE.AI
Open-core: this free app is MIT-licensed. Future Pro features may be offered separately by WIXEE.AI under different terms.