r/coolgithubprojects • u/shutterandsprue • 4h ago
Made a simple per-app audio mixer for streaming on macOS. Sharing in case it helps someone else
galleryHey all,
Something about me first: I'm not a "real" Mac developer. I vibe coded this for my own streaming setup. It's been working well for me, so I thought I'd share it in case anyone else is dealing with the same headache.
If you've streamed from a Mac, you probably know the problem. macOS has no built-in way to control how loud each app is, let alone send a different mix to your stream than to your headphones. I was setting things up in Audio MIDI Setup, plus a few other places, and every change meant digging through several windows. What I wanted was one control panel I could open quickly and run everything from.
So I built Cablebay. It's basically a small mixing desk for your Mac:
- Every app that plays sound gets its own channel strip with a level meter
- Each channel has two faders: one for what you hear, one for what goes to your stream
- The stream mix shows up as a virtual mic ("Mixer Stream") you can pick in OBS, Discord, Zoom and so on
- That means you can play music quietly for yourself while it's louder on stream, or keep a Discord call in your ears but off the stream
- Your mics can be channels too
- There's a little patch bay where you drag cables to send an app to a specific output. I know that's a bit extra, but I like it
- It lives in the menu bar or a floating panel, so it's always one click away
- Optionally, it switches back to your chosen output when AirPods connect and macOS changes it on you
Some honest caveats:
- It's ad-hoc signed. I don't pay for an Apple Developer account, so macOS will warn you the first time and you'll need right-click → Open (or Privacy & Security → Open Anyway).
- It needs the "Screen & System Audio Recording" permission. That's how macOS lets apps tap other apps' audio. It never records your screen. The code is all on GitHub if you'd rather check that yourself.
- The virtual mic is an optional driver install that needs your password.
- macOS 14.2 or newer only.
- I'm one person and I built this for my own setup, so there will be bugs and edge cases I haven't hit. If something breaks, please tell me and I'll try to fix it.
There are polished paid tools for this, like Loopback and SoundSource, and if you need something rock solid they're probably the better choice. This is just a free, open-source option for people who want something simpler, all in one place.
It's free and MIT licensed, and there's a one-click uninstall in the settings if it's not for you.
GitHub: https://github.com/nimasarabi/Cablebay
Feedback is very welcome, including "this doesn't work with my setup." Thanks for reading!