Skip to content
Arrow7000Public

About

Your Mac's own sound, as an input any app can use. Record system audio with Screenshot (⌘⇧5) and more. No audio driver needed.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

InnerEar icon

InnerEar

Your Mac's own sound, as an input any app can use. No audio driver needed.

Most Mac apps can't hear what your Mac is playing: unless they've specifically built in system-audio capture, all they can record from is microphones. InnerEar adds an input device called System Audio that carries whatever your Mac is playing, so anything with a microphone picker can use it.

The headline use: the built-in Screenshot app (⌘⇧5) can finally record screen recordings with desktop audio. It also works for QuickTime, Audacity, browser apps, transcription tools, ffmpeg and more (see Caveats for permissions).

  • No virtual audio driver (BlackHole, Soundflower), no Multi-Output Device, no sudo
  • Your output stays untouched: volume keys, AirPods and speakers all keep working
  • Set and forget: runs at login, restarts itself if anything goes wrong
  • ~100 lines of Swift, no dependencies

Requirements

  • macOS 14.2 or later (tested on macOS 26 Tahoe)
  • Xcode Command Line Tools (xcode-select --install)

Install

git clone https://github.com/Arrow7000/inner-ear.git
cd inner-ear
./install.sh

macOS will ask whether InnerEar may record system audio. Click Allow.

Then press ⌘⇧5, open Options, and under Microphone pick System Audio. Screenshot remembers the choice, so you only do this once.

Uninstall

./uninstall.sh

How it works

macOS 14.2 added Core Audio process taps, an official API for capturing the system audio mix. Apps normally use a tap privately, inside their own process. InnerEar instead wraps a global tap in a public aggregate device, which makes it visible to every app as an ordinary input device.

InnerEar runs as a LaunchAgent. It holds the device open and otherwise does nothing: no audio is processed unless something is recording from the device.

The device contains only the tap, so it's input-only: it never shows up as an output, and it keeps working as you switch between speakers, headphones and AirPods.

Caveats

  • Other apps need System Audio Recording permission. Screenshot is exempt (at least on macOS 26), but any other app reading System Audio must itself be allowed to record system audio. Apps that support this (e.g. Chrome) will ask the first time; just click Allow. Apps that don't (e.g. command-line tools like ffmpeg) silently get silence: add them, or the terminal running them, under System Settings → Privacy & Security → Screen & System Audio Recording → System Audio Recording Only (+). Note that the screen-recording list above it doesn't count.
  • This relies on observed behavior. Screenshot being able to read the device without its own permission isn't documented by Apple. A future macOS update could change it.
  • System audio only. Picking System Audio means your mic isn't recorded.
  • Rebuilding re-prompts. InnerEar is ad-hoc signed, so macOS treats each rebuild as a new app and asks for permission again.

Troubleshooting

  • Device missing? Check ~/Library/Logs/InnerEar.log and launchctl print gui/$(id -u)/arrow7000.innerear. Apps that were open while InnerEar (re)started may need relaunching to see the device.
  • Recording is silent? Make sure both InnerEar and the app you're recording with are allowed under System Settings → Privacy & Security → Screen & System Audio Recording → System Audio Recording Only. To get the prompt again, run tccutil reset AudioCapture arrow7000.innerear then ./install.sh.

Prior art

  • BlackHole: virtual audio driver; the classic way to do this, with more setup.
  • AudioCap: sample code for recording with process taps from within an app.
  • audiotee: CLI that streams system audio to stdout using process taps.

License

MIT

About

Your Mac's own sound, as an input any app can use. Record system audio with Screenshot (⌘⇧5) and more. No audio driver needed.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages