r/macosprogramming • • Jun 09 '25

capture system audio

what is the state of the art way to capture system audio or capture audio of specific apps? Ideally I do not want the user having to set up any virtual output/input device.

What I have found so far:

- https://developer.apple.com/documentation/coreaudio/capturing-system-audio-with-core-audio-taps

- example repo for the first bullet point: https://github.com/insidegui/AudioCap

- https://developer.apple.com/documentation/screencapturekit/capturing-screen-content-in-macos Does this work for audio capture?

Are there any other ways and what would you recommend?
Can someone please offer some guidance and pros and cons on possible ways to achieve my goal?

4 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/smughead Jun 09 '25

It doesn’t use screencapturekit, it uses core audio. It only captures the system audio. It is a completely different endpoint. If you use granola, it’s the same endpoint they’re using to capture system audio.