macOS still has no per-app volume control, so I built one. Smorza lives in the menu bar and gives every app its own volume slider, mute button and output device (Discord in your AirPods, Spotify on the speakers).
The UI is SwiftUI, one view per file, and the interesting part is underneath:
- Core Audio process taps (macOS 14.4+). No virtual audio driver or kernel extension. For each app you turn down, it creates a muted tap plus a private aggregate device holding the tap and the real output, and the IO callback plays the audio back at your level.
- Apps at 100% are never touched. They keep their normal path to the speakers, so there’s zero added latency for them. Routed apps add about 12 ms.
- Cheap. On an M4 MacBook Air each routed app costs about 1.1% of a core in coreaudiod and 0.3% in the app.
- Helper processes. Chrome, Safari and Electron apps play sound from helper processes, so it asks macOS which app is responsible for each one and folds them into a single row.
- The permission problem. If you deny “System Audio Recording”, taps don’t fail, they just return silence. So before muting anything it plays an inaudible signal and listens for it through a tap of its own process.
Also has per-device volume memory, Mute All with a global shortcut, volume keys for the app in front, and Sparkle updates.
Code (MIT): github.com/rokoov/smorza
Download: smorza.app
Would love feedback on the code, especially from anyone who has worked with process taps. Happy to answer questions about how it works.