How to Record Audio From One App on a Mac
macOS can record a single app's sound without a virtual audio device. Here is a free command-line tool that does it and saves each clip as its own file, plus when OBS is the better choice.
Key Takeaways
- On macOS 13 or later you can record one app's sound without BlackHole or any other virtual audio device.
- The free wxvoice tool does this from the terminal: wxvoice record <folder> --app <bundle-id>. It saves each sound as its own M4A and WAV file.
- In our test, a tone playing in another app the whole time did not appear in the recording.
- If you want a window with buttons, or one long recording with video, use OBS instead.
To record one app's sound on a Mac, you do not need BlackHole or any other virtual audio device. macOS 13 and later can capture a single app directly. This guide uses wxvoice, a free command-line tool we wrote for saving WeChat voice messages. It works with other apps through one option.
Which method should you use?
| You want | Use |
|---|---|
| Several short sounds, each in its own file | wxvoice. It cuts the recording wherever the app goes silent for one second |
| One long recording, or sound with video | OBS, which can also capture a single app |
| Everything the Mac plays | A virtual device such as BlackHole. Notifications and other apps are recorded too |
How do you record one app from the terminal?
1. Build the tool
If you do not have Apple's command line tools, run xcode-select --install first.
git clone https://github.com/basedlsg/wechat-voice-export.git
cd wechat-voice-export
swift build -c release2. Allow audio recording
Open System Settings > Privacy & Security > Screen & System Audio Recording and turn on your terminal app. If it is not in the list, run .build/release/wxvoice doctor once to add it. Quit and reopen the terminal, then return to the folder with cd wechat-voice-export.
3. Find the app's bundle ID
macOS identifies each app by an ID. This prints the one for QuickTime Player:
osascript -e 'id of app "QuickTime Player"'4. Start recording, then play the sound
Open the app first. Use a new, empty folder for each recording.
.build/release/wxvoice record ~/Desktop/clips --app com.apple.QuickTimePlayerX5. Press Ctrl-C
You get one M4A and one WAV file per sound, plus session.wav, the whole recording in one piece.
Does it really leave other apps out?
We played two spoken clips in QuickTime Player while a constant tone played from a different program. wxvoice saved exactly two clips, and the gaps between them were completely silent. If the tone had leaked in, there would have been no silence to cut at.
That test ran on macOS 26.2 on an Apple Silicon Mac. The clips were 2.98 and 2.74 seconds long.
What should you watch for?
- Music and long audio can be split. One second of complete silence starts a new file. Raise the limit with
--gap 5, or usesession.wav. - The files are mono. Left and right are mixed together. For stereo, use OBS.
- Very short sounds are skipped. Anything under half a second is ignored unless you lower
--min-clip. - Copyright still applies. Record only what you are allowed to keep.
Keep Reading
Frequently Asked Questions
Can you record audio from one app on a Mac without BlackHole?
Yes. Since macOS 13, Apple's ScreenCaptureKit framework lets a program capture the sound of a chosen app. wxvoice and OBS can both record a single app without a virtual audio device.
Why does recording audio need the screen recording permission?
macOS uses one permission, Screen & System Audio Recording, for capturing the screen and other apps' sound. wxvoice uses it only for sound and does not save any picture.
Does the Mac's volume affect the recording?
Not in our test. The recorded level was the same with the Mac's volume at 52% and at 100%. We have not tested it with the sound muted.
Does it work with Chrome, Safari, or Spotify?
We have tested WeChat and QuickTime Player. The method is not specific to them, but try a short clip first with any other app.
Free Tools
Tell us what you're building — book a free scoping call.
Pick a time that works and walk us through your project — 30 minutes, straight to the point. You leave with a concrete plan, timeline, and cost. No sales pitch — if we're not the right fit, we'll say so.
Get new playbooks by email
Occasional, no-fluff field notes on building production AI — new guides and tools, straight to your inbox. Unsubscribe anytime.