| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A tiny macOS command-line tool that routes one CoreAudio input device to one output device, with a live stereo VU meter. Useful for monitoring a mic in headphones, sending an interface's input straight to speakers, or any quick "patch this into that" without launching a DAW.
While running it sets your system default input/output to the chosen devices, then restores them on exit.
Prebuilt universal binary (Apple Silicon + Intel, macOS 12+):
curl -L https://github.com/jidagraphy/patchaudio/releases/latest/download/patchaudio-darwin-universal.tar.gz \ | tar -xz && sudo mv patchaudio /usr/local/bin/
Or build from source — see below.
Requires the Swift toolchain (Xcode or Command Line Tools).
make # debug build → ./patchaudio make release # universal binary (arm64 + x86_64) → bin/patchaudio make install # builds release and copies to /usr/local/bin make clean
Interactive (pick devices from a list):
./patchaudio
Non-interactive (substring match against device names):
./patchaudio -i "scarlett" -o "airpods"
Optional flags:
Press Ctrl+C to stop. Your previous default devices are restored.
This was vibe-coded — built quickly with heavy AI assistance, not exhaustively reviewed or tested across hardware. It pokes at low-level CoreAudio APIs and reroutes your system default input/output devices while running. Use at your own risk: turn your volume down before first run, avoid mic-into-speakers combinations (it'll feed back), and don't rely on it in any setting where audio failure has real cost.
MIT — see LICENSE.
| Back | FazBrowse Home | New Git URL |