Reshape your Mac's sound field, channel by channel. CenterField captures the system (or a single app's) audio, then lets you pour any source channel into any speaker, reinforce the center for dialogue, and trim every physical output — built for arbitrary channel layouts, not just 5.1.
macOS gives you one volume slider for a multichannel setup and no honest way to see — let alone change — what lands on each speaker. CenterField turns that black box into an instrument: a dispatch board where every physical output channel is a row you can meter, trim, test by ear, and route.
The classic use is dialogue: on a 5.1 rig the center speaker carries the voices, and when it's too quiet you're stuck. CenterField mixes a measured amount of Left + Right into the center to anchor speech — with a bass guard so you don't muddy it — without touching the rest of the field. But it goes further: send any channel anywhere (front → rears for a wider wash), high-pass a routed copy so an AVR's bass management doesn't double it at the sub, or build a per-device profile that a given output remembers and restores on reconnect.
Clean-room and self-contained. CenterField does not inspect, patch, clone, or depend on Loopback, ARK, or any other product. It uses only the public CoreAudio APIs in the macOS SDK (process taps + aggregate devices). It is not affiliated with or endorsed by anyone.
- Dispatch board, not a mixer. Each row leads with the raw device channel number (the headline) and its detected role — "Center", "Subwoofer", "Left surround", "Unassigned" — as the secondary sign, so a rig where role ≠ channel number is impossible to confuse.
- Per-channel test tones. One tap plays a pulsed 80 Hz + 660 Hz warble to exactly one physical channel, so both subs and satellites respond and you can identify a speaker by ear before you trust the map.
- Junction inspector. Select any platform to pour other channels in (inbound currents) or route it out (outbound), each with precise per-current dB and an optional high-pass crossover to strip deep bass from a routed copy.
- Express · L+R → Center. A dedicated dialogue-reinforcement control with a bass guard and a "keep the native center" option. Devices with no hardware center get a phantom-center control instead.
- Live metering. Per-channel level meters plus an RMS / frame / underrun readout so you can see which speaker is doing what.
- Presets & scenes. Ships with starting points (Flat, Center Boost, Dialogue, Night, Rear Air, Front Wash) and lets you save your own named scenes.
- Per-device profiles that persist automatically. A 5.1 AVR and a 2-channel device each remember their own appropriate mix, restored the moment that device is selected or reconnected — a 6-channel mix is never written under a stereo device. Autosaves (debounced), flushes on quit, restores on launch.
- Menu bar item. The scope reticle mirrors the essentials — start/stop, switch capture source and output device, glance at levels, apply presets — without opening the main window.
- Explore without hardware. A demo mode seeds any channel count so you can drive the whole UI with no live device attached.
- macOS 15 (Sequoia) or later — CenterField relies on the modern CoreAudio process-tap API.
- An Apple Silicon or Intel Mac.
- Any output works, but the interesting routing needs a multichannel output (a 5.1/7.1 AVR over HDMI, a multichannel interface, etc.).
- To build from source: the Swift 6 toolchain (Xcode 16 or the matching Command Line Tools).
- Download
CenterField.appfrom the Releases page. - Move it to
/Applications. - It's ad-hoc signed (not from the App Store or a paid Developer ID), so the
first launch needs a nudge past Gatekeeper: right-click the app → Open →
Open, or run once:
xattr -dr com.apple.quarantine /Applications/CenterField.app open /Applications/CenterField.app
- Grant the audio permission on first launch — see First run.
git clone https://github.com/Quinnod345/centerfield.git
cd centerfield
swift build && swift test # verify it builds and the DSP tests pass
scripts/install-app.sh # builds a release bundle → /Applications/CenterField.appOr just run it straight from the checkout:
swift run CenterFieldSee docs/building.md for signing options, the iCloud-folder gotcha the build script works around, and how to keep the audio-permission grant stable across rebuilds.
CenterField reads audio with a CoreAudio process tap, which macOS gates behind an audio-capture permission. On first launch (or the first time you press Dispatch) macOS will prompt:
"CenterField" would like to record this computer's audio.
Allow it — this is what lets CenterField see the mix it re-renders to your speakers. It does not record from a microphone. You can review or change the grant later in System Settings → Privacy & Security → Screen & System Audio Recording (older macOS lists it under Microphone). Until it's granted, the board runs but no audio flows.
- Pick your capture source and output. Use the CAPTURE menu (whole system, or one app) and the OUTPUT menu (your multichannel device), then press ▶ Dispatch to start routing.
- Confirm the channel map. Hit the Test button on a few rows. Each plays a tone to exactly one physical speaker so you can prove which channel number drives which speaker — do this before trusting anything, because on many rigs the roles are not in channel order (see the crux).
- Reinforce the center. On the Center row, open Express · L+R → Center and dial in how much Left + Right to fold into the center for dialogue. The bass guard keeps it from getting muddy; "keep native center" preserves any real center content already there.
- Pour a current. Select any platform to open the Junction Inspector. Add an inbound current (e.g. pour Left into the Left-surround for a wider front wash) at a precise dB, and set a crossover (say 100 Hz) so the routed copy is stripped of deep bass — otherwise an AVR's bass management can re-extract it and double it at the sub.
- Trim, mute, solo. Every platform row has an inline trim, mute, and solo so you can balance the physical speakers to the room.
- Save it. Store the board as a named scene, or lean on the built-in presets. Whatever you set is also saved automatically as this output device's profile and restored next time you use it.
- Live in the menu bar. The scope-reticle menu-bar item does the essentials without the main window.
The single most important idea in CenterField: a speaker's role is not its channel number. On a common macOS 5.1 layout the mapping is:
| Role | Left | Right | Sub / LFE | Center | Left surround | Right surround |
|---|---|---|---|---|---|---|
| Device channel | 1 | 2 | 3 | 4 | 5 | 6 |
If a tool assumes "center = channel 3," the center slider moves your subwoofer
and the sub slider does nothing. CenterField detects the device's real speaker
layout (kAudioDevicePropertyPreferredChannelLayout) and always shows the raw
channel number and the role together, with per-channel test tones so the map
is never ambiguous. This is why the UI leads with the big channel number.
Everything is stored in a small, human-readable JSON file:
~/Library/Application Support/CenterField/configuration.json
It keeps your preferred output device (by stable UID), capture source (by app bundle ID), saved scenes, and a per-device profile for each output. Because profiles are keyed to the device actually being rendered to, each device remembers its own mix — copy this one file to another Mac and your presets come with you. Format details: docs/configuration.md.
Explore the whole board for a layout you don't have attached by setting
CF_DEMO_LAYOUT to a channel count (audio output/test tones still need real
hardware, but the roster, mapping, and routing UI all work):
CF_DEMO_LAYOUT=6 /Applications/CenterField.app/Contents/MacOS/CenterFieldAdd CF_DEMO_SEED=1 to also preload an example mix (center reinforcement plus a
front → rear current with a 100 Hz crossover). The screenshot at the top of this
README is exactly CF_DEMO_LAYOUT=6 CF_DEMO_SEED=1.
CenterField is a small Swift package split into a pure, tested core and a SwiftUI app:
CenterFieldCore— the audio engine and DSP, no UI:CoreAudioRoutercreates a process tap on the chosen source and an aggregate device wrapping your output, and detects the speaker layout.LiveCenterRendereris the realtime IOProc that reads the tapped audio and writes the reshaped result (lock-free, ring-buffered).CenterMixeris the offline, unit-tested reference DSP;ChannelControls,ChannelSends,SpeakerChannelMap,Biquad, andSpeakerCalibratorare the building blocks.
CenterField— the SwiftUI dispatch board, junction inspector, menu bar, and view model.
The realtime signal path and the center-fill maths are written up in docs/architecture.md; the interaction model (platforms, currents, crossovers, profiles) is in docs/concepts.md.
| Doc | What's in it |
|---|---|
| docs/concepts.md | The dispatch-board model, currents, crossovers, the role-vs-channel crux, presets & per-device profiles |
| docs/architecture.md | The realtime audio pipeline, the core modules, and the center-fill DSP |
| docs/building.md | Building, testing, signing, the iCloud-xattr gotcha, and demo mode |
| docs/configuration.md | The configuration.json store format |
| docs/troubleshooting.md | No audio, wrong speaker, permission and Gatekeeper issues |
Quick hits (full list in docs/troubleshooting.md):
- No sound after Dispatch → grant the audio-capture permission (above), and make sure the chosen output isn't the same device you're capturing from.
- The center/sub slider moves the wrong speaker → run the per-channel Test tones; your device's roles almost certainly aren't in channel order. Trust the numbers, not the labels.
- "CenterField is damaged / can't be opened" → it's ad-hoc signed;
xattr -dr com.apple.quarantine /Applications/CenterField.appthen open it. - Doubled bass when routing front → rears → set a crossover (~100 Hz) on that current so the routed copy is high-passed.
Issues and PRs welcome. Keep DSP changes covered by the tests in
Tests/CenterFieldCoreTests (swift test), and see
docs/building.md for the dev loop. The core is intentionally
UI-free and testable — new signal features should land there first.
CenterField is usable and the DSP core is unit-tested, but the realtime engine is still maturing: device hot-swaps, sample-rate changes, and all-zero-tap recovery are areas being hardened. Expect the occasional rough edge, and please file what you hit.
MIT — do what you like, no warranty. If you'd prefer a different
license for your fork, swap the LICENSE file.
