A lightweight macOS menu bar app for controlling Sony WH-1000XM4 headphones.
- Quick mode switching - Toggle between Noise Cancelling, Ambient Sound, and Off modes
- Right-click cycling - Right-click the menu bar icon to cycle through modes
- Battery monitoring - View battery level
- Auto-connect - Optionally connect to your headphones when the app launches
- Launch at login - Start automatically when you log in
Download the latest release from the Releases page.
When you first open the app, macOS will show a security warning:
This happens because the app is not notarized with Apple (which requires a paid developer account). The app is open source and you can review the code yourself.
To open the app:
- Right-click (or Control-click) on XM4Control.app
- Select "Open" from the context menu
- Click "Open" in the dialog
Or go to System Settings → Privacy & Security and click "Open Anyway".
- Clone the repository
- Open
XM4Control.xcodeprojin Xcode - Build and run (Cmd+R)
Requires:
- macOS 14.0+
- Xcode 15+
- Pair your WH-1000XM4 headphones with your Mac via System Settings → Bluetooth
- Open XM4Control settings and select your device
- Click Connect
This app communicates with Sony headphones using their proprietary Bluetooth RFCOMM protocol. It has been tested with:
- Sony WH-1000XM4
It may work with other Sony headphones that use the same protocol (XM5) but this is untested.
This is an unofficial application and is not affiliated with Sony. Use at your own risk. The author is not responsible for any consequences arising from the use of this software.

