cleoanka
TR

apps · mac

Auricle

Per-app volume, EQ, boost and output routing: a menu bar mixer for macOS.

Plaque

What Apple never shipped

macOS has no per-app volume. Sound settings give the whole system one Output volume slider. Even apps with their own volume control cannot go above it: Apple’s own guide says in-app settings “can only be equal to or less than the computer’s output volume”. The Apple Community thread “Can we have individual volume controls for each app please?” makes the same request.

What Apple shipped later

macOS Sonoma 14.2 (11 December 2023) added a public Core Audio API, AudioHardwareCreateProcessTap, which lets an app capture another app’s audio without installing a driver. Auricle is built on it and runs on macOS 14.4 and later.

Sources

  1. Apple, Mac User Guide (macOS Tahoe 26): “Change the sound output settings on Mac”
  2. Apple Developer Documentation, macOS 14.2+: AudioHardwareCreateProcessTap(_:_:)
  3. Apple, released 11 December 2023: “About the security content of macOS Sonoma 14.2”
  4. Apple Community: “Can we have individual volume controls for each app please?”

What it does

Audio never leaves your Mac. Auricle records nothing, stores no audio and makes no network connections. Tapped samples live in memory only for the milliseconds it takes to process them and hand them back to the output device.

How it works, and why it is not in the App Store

The long write-up of the same mechanism: Core Audio process taps. The interactive version: the Auricle lab.

The problem: one knob

macOS runs sound through one knob. To keep a video call going while turning the music down a little, or to send notification sounds to your headphones and the call to the speakers, you need the system to give you a lane per app; it does not. For years this was done by apps that installed a virtual audio device or a HAL plug-in. The process tap API that arrived in macOS 14.2 made it possible without a driver.

Catching one app’s audio

For every app you control, Auricle creates a process tap (AudioHardwareCreateProcessTap). The tap is set to .mutedWhenTapped: the app’s audio no longer goes straight to the speakers, it only flows into the tap. The tap is attached to a private aggregate device together with the real output device, with drift compensation between the two clocks. Because it is private, that aggregate device does not show up in other apps’ device lists.

An IOProc on the HAL realtime thread then takes the tapped audio and plays it back to the output. Everything in between is your settings:

  1. ramped gain (so volume changes do not click),
  2. a 10-band EQ (a vDSP biquad cascade; peaking filters from 32 Hz to 16 kHz, ±12 dB per band),
  3. boost from 0 to +12 dB,
  4. a hard clip: samples above full scale are cut to it.

+12 dB is roughly four times the amplitude. There is no limiter in between: on a quiet app you will not hear it, but boost an already loud app too far and you hear distortion. Auricle does not hide that.

The rules of the realtime thread

The audio thread works to a budget of a few milliseconds, and any wait there is heard as a click. So:

  • buffers are allocated up front; nothing is allocated while rendering;
  • new settings from the UI wait to one side, and the audio thread only tries the lock (os_unfair_lock_trylock); if it cannot take it, it carries on with the previous settings;
  • EQ coefficients are staged the same way and swapped in on the realtime thread.

The master chain without double processing

The system-wide Boost and EQ work the same way through a global tap. That global tap excludes Auricle itself and every app that already has its own tap, so nothing is heard twice. The trade-off, stated plainly: an app with its own settings bypasses the master chain, so master EQ does not stack on top of per-app EQ.

Which process is the app?

Browsers often play audio from separate helper processes. Auricle finds the processes that play audio by listening to Core Audio’s process objects (no polling). To fold a helper into its parent app it optionally calls a private libsystem symbol (responsibility_get_pid_responsible_for_pid); if the symbol is missing it falls back to the process’s own ID. That detail matters in the App Store section below.

Permission and signature

Process taps sit behind macOS’s “System Audio Recording” permission. Without it per-app control and meters cannot work. macOS ties that grant to the app’s code signature. Today’s releases are ad-hoc signed, so updating to a new build may ask again. A Developer ID signed, notarized build keeps a stable signature: the grant survives updates and Gatekeeper does not block the first launch.

Why direct, and why not the Mac App Store yet

There are mixers in the Mac App Store that use the same process-tap approach, so the door is not shut. The concrete reasons Auricle does not go there today:

  • A private API. App Review Guideline 2.5.1: “Apps may only use public APIs”. The helper-process mapping above uses a private symbol. A Mac App Store build has to drop that call and do the mapping through public means.
  • Sandbox not tested. Guideline 2.4.5(i) requires the sandbox. The entitlement set Auricle needs to work fully inside it has not yet been tested in a real sandboxed build.
  • Packaging with Xcode. Guideline 2.4.5(ii) requires packaging with Xcode technologies; Auricle is packaged today with SwiftPM and a build script.

Decision: direct distribution first, signed with Developer ID and notarized. The Mac App Store only after the private API is removed and a real sandboxed build has been tested. The rules: App Review Guidelines.

Honest limits

  • macOS 14.4 and later only; the tap API does not exist before 14.2.
  • Audio from an app with its own settings bypasses the master chain (above).
  • With today’s ad-hoc signed builds, launch at login is best-effort; if it fails, move the app to /Applications.
  • No limiter after boost, only a hard clip.

System requirements

Changelog

Taken from the repository’s CHANGELOG.md; no entries added. Newest first.

On main not yet released

Fixed

  • After a coreaudiod restart (sleep/wake, killall coreaudiod) each managed app could end up with two replay chains: doubled audio and a leaked IO proc. Dead chains are now discarded before the device/process refresh and rebuilt once afterwards.
  • A transient engine failure no longer disables an app’s settings until a manual retry: the engine is retried when the app relaunches or the audio devices change.
  • A settings file with missing keys (for example from another version) no longer resets all per-app settings and custom presets; missing values fall back to their defaults.
  • After a coreaudiod restart, an app whose new process object reused a numeric ID from before the restart never got a fresh “is playing” listener, so starting or stopping playback went unnoticed until some unrelated process-list change. All per-process listeners are now dropped and re-registered on restart.

For developers

  • XCTest unit-test target covering the EQ coefficient generator, model logic and settings round-tripping (no audio hardware required).
  • GitHub Actions CI (swift build -c release + swift test on macOS 14) with a version-consistency check between the VERSION file and AppInfo.version.
  • .editorconfig, .swiftlint.yml, CONTRIBUTING.md and the changelog itself.
  • The build is warning-free again.

0.2.1 2026-07-08

Changed

  • Apps routed to a specific device are now pinned: switching the top-level output device no longer affects them in any state.
  • An engine in unplugged fallback follows default-output changes immediately and snaps back the moment its device returns.

Added

  • A routing badge on app rows (→ device name) shows which apps are pinned; it turns into a warning while the routed device is unplugged.
  • Drag-to-Applications DMG with in-window install instructions (Turkish and English).

0.2.0 2026-07-08

Changed

  • UI redesign: output and input devices are always-visible stacked lists with one-click selection (Control Center style); no more dropdown pickers.
  • The per-app overflow menu is gone; each app row has a single disclosure chevron that opens an inline drawer (routing, Boost slider, 10-band EQ, Reset).

Added

  • A routed device that gets unplugged shows an honest inline warning row (settings kept; audio falls back to the system default until it returns).

0.1.1 2026-07-08

Fixed

  • The popover collapsed to an empty sliver inside the menu bar window; the scroll region is now sized from measured content.

Changed

  • System Audio Recording permission is checked at launch (immediate prompt or banner) instead of waiting for the first slider touch.
  • The audio engine logs chain-up and failures to the unified log.

0.1.0 2026-07-08

Added

  • First release: per-app volume, mute, boost (+12 dB), 10-band EQ and output-device routing.
  • System-wide master Boost and EQ, device and input control, EQ presets and per-app settings memory.
  • Universal binary (Apple silicon and Intel), macOS 14.4+.

Download

There is no signed, notarized download yet. The builds on GitHub Releases are ad-hoc signed, so Gatekeeper blocks the first launch; the README explains how to open them. Or you can build it from the source on GitHub. Signed builds, notarized by Apple, will follow once the Apple Developer registration is done.

git clone https://github.com/cleoanka/auricle.git
cd auricle
./scripts/build-app.sh

The app lands in dist/Auricle.app. If the active toolchain is the bare Command Line Tools, SwiftPM may fail to compile Package.swift; when Xcode is installed the script picks it automatically. Details in the README’s “Build from source” section.

Source code, MIT-licensed: github.com/cleoanka/auricle · support