A virtual audio device and patchbay for macOS that combines channels from several audio interfaces into one device, in the order you choose.
Status: experimental (0.2.0). StudioPatch installs a Core Audio driver and a privileged helper. It has been tested on one studio setup and has no prebuilt releases: you build and sign it yourself. Read Docs/STATUS.md before relying on it.
If you record with more than one audio interface on a Mac, your DAW usually sees either one interface at a time or a macOS aggregate device that lists every channel of every interface in a fixed order. Neither gives you a short, named list of exactly the inputs and outputs you use.
StudioPatch gives your DAW a single device called StudioPatch with exactly the channels you choose. You decide in a routing matrix which hardware channel feeds which device channel, and the DAW shows your own names, such as "Vocal mic" or "RE-201", for them.
- One virtual device, your channel layout. 0–128 inputs and 0–128 outputs, chosen independently, filled from any channel of any connected interface.
- Routing matrix for each direction. One source per destination, unlimited fan-out, and no mixing, gain or other processing.
- Your names in the DAW. Label interface inputs and outputs across presets, then copy names in either direction between Source and Destination. Mismatching labels are orange; click the one to keep. Virtual channel labels can also be edited directly.
- Low added latency. The Sync Source interface is read directly through shared memory, without resampling. At a 32-sample engine buffer, the current margins add a calculated 1.333 ms round trip at 96 kHz or 2.667 ms at 48 kHz (policy and earlier measurements).
- Honest latency reporting, so DAW recording compensation keeps working.
- Sample rate follows your DAW. Change the rate in the DAW or the panel; the Sync Source and locked interfaces follow. If the Sync Source cannot change, everything stays at the previous rate and you are told why.
- A regular Mac app with menu bar status. StudioPatch appears in the Dock and ⌘Tab. Click the menu bar icon and choose Open StudioPatch to bring it forward. Quitting the app leaves the separate status icon and audio running. The logo follows the menu bar appearance, with turquoise available in Settings.
- Survives unplugging. A disconnected interface keeps its routes and labels (greyed out). The preset’s virtual device leaves Core Audio until every selected interface is back and routing is ready; a notification reports the removal.
- Autosave and presets. Every change is saved immediately; named presets let you switch between setups.
The StudioPatch device in Audio MIDI Setup: every channel carries the label set in StudioPatch.
Audio interfaces ◄──► StudioPatchService ◄── shared memory ──► StudioPatch driver ◄──► Your DAW
(background engine) (inside Core Audio)
▲
StudioPatch.app (control panel: routing, labels, presets)
The control panel saves your configuration. A background service does the real-time audio work, and a Core Audio driver publishes the virtual device. A small root helper (the broker) connects the service and the driver to the same shared memory after checking their code signatures. Details are in Docs/ARCHITECTURE.md.
- macOS 14 Sonoma or later (developed and tested on Apple Silicon)
- Xcode or the Command Line Tools, CMake 3.20+, Python 3
- An Apple code-signing certificate (a free Apple Development certificate works)
- Administrator rights to install the driver
git clone https://github.com/stephanterning/StudioPatch.git
cd StudioPatch
export STUDIOPATCH_SIGNING_IDENTITY="Apple Development: Your Name (TEAMID1234)"
bash Scripts/build.sh # build, run tests, sign into Dist/
sudo bash Scripts/install-transport.sh # broker
sudo bash Scripts/install-driver.sh # Core Audio driver
bash Scripts/install-service.sh # background service (no sudo)Restart the Mac, open Dist/StudioPatch.app, select your interfaces and a Sync Source, and choose StudioPatch as the audio device in your DAW.
Review the install scripts before running them with sudo, and keep the clone where it is: the background service runs from Dist/. Updating, uninstalling and troubleshooting are covered in Docs/INSTALLATION.md.
Just want to look at the code or run the tests? You don't need a certificate. See CONTRIBUTING.md.
- Installation: build, sign, install, update, uninstall
- User guide: routing, labels, sync, presets
- Architecture: components, signal path, source map
- Latency: measurements and how to measure
- Status and limitations: what is verified and what is not
- Contributing: tests, code rules, hardware testing
StudioPatch is licensed under the GNU Affero General Public License v3.0 only.
It includes libASPL by Victor Gaydov and contributors (MIT License, with Apple sample-code licenses), vendored with local changes in Vendor/libASPL/.
StudioPatch is an independent project and is not affiliated with Apple, RME or Allen & Heath.

