Skip to content

About

Native macOS menu bar app for Sony WH-1000XM6 headphones: noise control, battery, EQ and more

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

XM6 Control app icon

XM6 Control

A native macOS menu bar app for Sony WH-1000XM6 headphones.
Noise control, battery, EQ and more, without picking up your phone.

Download macOS 14+ Swift MIT License

XM6 Control menu bar panel showing battery, listening mode, Speak-to-Chat, audio quality, sound adjustments and saved profiles    Expanded panel with the ten-band custom equalizer, DSEE Extreme and the sound quality preference

Note

This is an independent, unofficial app. It is not affiliated with or endorsed by Sony. The control protocol is reverse engineered, so behaviour can depend on headphone firmware.

Features

  • Listening mode: switch between Noise Cancellation, Ambient Sound (with a 1–20 level slider) and Off.
  • Battery at a glance: the percentage appears in the menu bar and panel, along with charging state. You get a notification at 20% and again at 10%.
  • Sound adjustments: choose an EQ preset, edit the ten-band custom EQ (−6 to +6 dB), and toggle DSEE Extreme.
  • Speak-to-Chat: turn it on or off.
  • Audio quality: see the codec your headphones report, and choose between preferring sound quality or a stable connection.
  • Saved profiles: save a combination of settings and reapply it with one click. The profile that matches your headphones' current settings gets a checkmark.
  • Global shortcuts (optional): ⌃⌥⌘ + N / A / O select Noise Cancelling, Ambient or Off; M cycles through them.
  • Quiet by design: the app lives only in the menu bar, with no Dock icon. It reconnects automatically after sleep and can launch at login.
  • Private: no accounts, servers, analytics or third-party dependencies. Settings stay on your Mac.

Controls appear only when your headphones advertise them and answer a status read. A setting is treated as applied only after the headphones report the new value back, not just when they acknowledge the command.

Install

  1. Download XM6-Control-x.y.z.dmg from the latest release.
  2. Open the DMG and drag XM6 Control into Applications.
  3. Pair your WH-1000XM6 in System Settings → Bluetooth if you haven't already.
  4. Open XM6 Control and allow Bluetooth access when macOS asks.

Important

Release builds are ad-hoc signed and not notarized, so macOS blocks the first launch. To open the app anyway, do one of the following:

  • Right-click (or Control-click) the app in Applications, choose Open, then confirm.
  • Or go to System Settings → Privacy & Security, scroll down, and click Open Anyway.

If you'd rather not do that, build it from source.

The headphones icon appears in your menu bar. Click it to open the panel. Headphone Settings… at the bottom opens preferences, where you can enable launch at login, battery alerts and global shortcuts. If Bluetooth access was denied, enable XM6 Control in System Settings → Privacy & Security → Bluetooth and reopen it.

How it works

Architecture diagram: the menu bar panel sends commands through the HeadphoneKit session and SonyProtocol framing over an RFCOMM channel to the WH-1000XM6; every write is confirmed by a fresh readback.

The app opens the Sony control service on your already-paired headphones over Bluetooth RFCOMM. It speaks the same framed protocol as Sony's companion app: battery, noise control, EQ, Speak-to-Chat, DSEE and connection-quality commands. macOS still manages audio playback and output selection. The app never routes audio or changes pairing.

Component Responsibility
SonyProtocol Packet framing, parsing, command encoding and decoded device state
HeadphoneKit IOBluetooth service discovery, RFCOMM transport, connection and request lifecycle
XM6Control SwiftUI menu bar panel, preferences, notifications, shortcuts and reconnect handling
XM6Probe Command-line hardware discovery and diagnostics
Tests Protocol and session behaviour checks

Reconnect attempts back off and are bounded. Sleep closes the control session, and waking the Mac reconnects. If a profile step fails readback, the remaining steps are skipped and an error is shown; earlier confirmed changes stay in effect. The custom EQ editor never overwrites a saved Sony User EQ slot.

Compatibility

Status
Headphones Sony WH-1000XM6. Other models are not supported.
Tested firmware 3.1.5
macOS 14 Sonoma or later. Tested on macOS 27 (Apple Silicon).
Verified on hardware Status reads, ANC / Ambient / Off changes, sound quality ↔ stable connection
Tested in code only EQ, Speak-to-Chat and DSEE writes are covered by protocol and session tests. Their status reads work live, but the writes haven't been tried on real headphones.
Not supported Multipoint management, firmware updates, LDAC on the Mac's built-in Bluetooth

See docs/TESTING.md for the full verification log. The Audio quality panel shows the codec the headphones report. It does not switch the Mac to LDAC: macOS's built-in Bluetooth doesn't offer it. docs/HIGH_QUALITY_AUDIO.md explains why and covers external LDAC transmitters.

Build from source

You need macOS 14 or later and the Xcode Command Line Tools with Swift 5.9 or later (xcode-select --install).

git clone https://github.com/Sigvarth1/XM6Control.git
cd XM6Control
./scripts/build-app.sh
open "dist/XM6 Control.app"

The script makes release builds for your Mac, generates the icon, and produces ad-hoc signed XM6 Control.app and XM6 Probe.app in dist/.

  • Universal (Apple Silicon + Intel): ./scripts/build-app.sh --universal
  • Stable local signing: XM6_SIGN_IDENTITY="Apple Development: …" ./scripts/build-app.sh. With a consistent signature, macOS keeps the Bluetooth permission across rebuilds.
  • Restricted environments: pass --disable-sandbox if SwiftPM can't create its nested sandbox.

Rebuilding or moving an ad-hoc signed app can make macOS ask for Bluetooth permission or login-item approval again.

Signed distribution (optional)

You need your own Developer ID Application certificate and an existing notarytool keychain profile. The scripts never look up or create credentials.

XM6_SIGN_IDENTITY="Developer ID Application: Your Name (TEAMID)" ./scripts/build-app.sh --universal
XM6_NOTARY_PROFILE="your-existing-profile" ./scripts/notarize-app.sh

The notarization script rejects ad-hoc signatures. It submits both apps, staples and validates their tickets, then creates dist/XM6-Control.zip.

Development

swift test                       # protocol and session tests
./scripts/probe.sh --status      # read headphone status from the command line

Preview the panel with sample data and no headphones:

open "dist/XM6 Control.app" --args --demo --preview-window

Quit any running copy first, or macOS reuses it. Add --screenshot --expand-sections to produce the chrome-free captures used in this README.

The probe shares the app's transport and protocol code, and each command says whether it only reads status or changes a setting:

./scripts/probe.sh --set-noise ambient --ambient-level 10
./scripts/probe.sh --set-noise nc
  • Quit the menu bar app first, so the two don't compete for the control channel.
  • On macOS 26 and later, use scripts/probe.sh rather than swift run XM6Probe. Terminal-launched executables can't open classic RFCOMM channels on those releases. The script launches XM6 Probe.app through LaunchServices instead.

Protocol notes live in docs/PROTOCOL.md. Experimental LDAC research is in experiments/LDACProbe and docs/EXPERIMENTAL_LDAC_PLAN.md.

License

MIT. Protocol layouts were cross-checked against MIT-licensed reference work; attribution is in docs/PROTOCOL.md and ships inside the app bundle.

Sony, WH-1000XM6, DSEE Extreme and LDAC are trademarks of Sony Group Corporation. This project is not affiliated with Sony.

About

Native macOS menu bar app for Sony WH-1000XM6 headphones: noise control, battery, EQ and more

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages