LosslessSwitcher
A macOS menu bar app that automatically matches an audio device’s sample rate to the lossless song playing in Apple Music.
No new version for more than 90 days, so OpenNavo has paused recommending and installing it. Homebrew still offers this app.
brew install --cask losslessswitcher- 30-day installs
- 36
- 1-year installs
- 429
- Last 365 days
- Latest version
- 2.0
- Download size
- 827KB
- zip
- Release cadence
- Irregular
- 0 releases in 30 days
About
LosslessSwitcher monitors Apple Music playback and automatically changes the current audio device’s sample rate to match the lossless track. When playback moves to a track with a different sample rate, the app attempts to switch the device accordingly.
- Reads Apple Music logs to identify the playing song’s sample rate and applies it to the current audio device.
- Runs from the macOS menu bar; its interface can show the parsed sample rate, including directly in the menu bar item.
- Bit-depth switching is also supported, but the developer says enabling it reduces detection accuracy and does not recommend it.
To install this Homebrew cask, run brew install --cask losslessswitcher. The app requires macOS Sequoia (15) or later according to the cask. Apple Music must have Lossless mode enabled, and the account running the app must be an administrator. The project describes version 2 support for Sequoia 15.4 and later as beta. Audio may briefly pause during sample-rate changes; frequent checking may also increase battery use on MacBooks.
Sources: Project · Homebrew cask
At a glance
- System
- macOS 15 or later
- Chip
- Apple silicon · Intel
- Auto-updates
- No
- Repository
- Open source · GPL-3.0 · Updated 182 days ago★2K
- Homebrew
- Still offered by Homebrew; paused by OpenNavo
- Also known as
- losslessswitcher
- Homepage
- github.com/vincentneo/LosslessSwitcher
- Token
- losslessswitcher
Checked
What’s new in 3.0-beta1
New · From GitHub Releases
Version 3?
An early peek to the next version of LosslessSwitcher!
- Borrows the Process() way of getting logs, rather than relying on OSLogStore, from https://github.com/vincentneo/LosslessSwitcher/issues/195, special thanks to @FantasticSkyBaby, which hopefully solves https://github.com/vincentneo/LosslessSwitcher/discussions/115
- Hopefully fixes https://github.com/vincentneo/LosslessSwitcher/issues/190, https://github.com/vincentneo/LosslessSwitcher/issues/134?
- Best effort to match sample rate with track, aims to fix https://github.com/vincentneo/LosslessSwitcher/issues/159
IMPORTANT: a profile is needed, which can be downloaded and installed from https://eclecticlight.co/2023/03/08/removing-privacy-censorship-from-the-log/ Profile Direct Link: https://eclecticlight.co/wp-content/uploads/2023/03/enablelogprivatedata.zip
You should always exercise caution by reading the above blog post to know what you're installing. Do also note that the profile is external, not made by me, and not signed by me either.
This profile lets the app map sample rate data to whichever track its supposed to belong to, which helps with the https://github.com/vincentneo/LosslessSwitcher/issues/159 issue.
Why is the profile needed? In Apple logs, some fields are marked as <private> without it. One of these fields that is privatised is the track name, which comes with the sample rate and bit depth log message.
For beta 1, it will not work properly without the profile (I tried). This is because I'm slightly drained right now after a day spent on this, not logically clear how to infer which data belongs to which track, if that makes sense to you.
As per always, I make no guarantees that it will work. Hopefully it does though.
How to install LosslessSwitcher on Mac
Homebrew installs the app in your Applications folder.
Install without Homebrew
Download the same file Homebrew uses: Install Details
Uninstall LosslessSwitcher and optional data cleanup
brew uninstall --cask losslessswitcherA regular uninstall removes the app and keeps its settings and caches.
Deep clean (optional)
brew uninstall --zap --cask losslessswitcher--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.
Questions about LosslessSwitcher
Is LosslessSwitcher safe?
LosslessSwitcher is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 36 times through Homebrew in the last 30 days.
Is LosslessSwitcher open source?
LosslessSwitcher’s source code is public on GitHub (vincentneo/LosslessSwitcher) under the GPL-3.0 license.
How do I completely uninstall LosslessSwitcher on a Mac?
Run brew uninstall --cask losslessswitcher. It quits the app. To delete its settings and caches as well, run brew uninstall --zap --cask losslessswitcher. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes ~/.
Does LosslessSwitcher run on Apple silicon (M1 and later) Macs?
Homebrew installs it on both Apple silicon and Intel Macs, from the same download. It needs macOS 15 or later.
Where does LosslessSwitcher store its settings and data?
Its settings are in ~/. These locations come from Homebrew’s clean-up list.
What is the latest version of LosslessSwitcher?
The latest version is 2.0, added to Homebrew on Mar 6, 2026. Run brew upgrade --cask losslessswitcher to update it.
Similar Apps
- ProcessSpyA macOS process monitor with CPU and memory history, process inspection, hierarchy views, and search.
- AlmightyA macOS app for configuring system settings and tweaks, with searchable actions, workflows, and keyboard shortcuts.
- KeymanA macOS input method for typing in other languages with Keyman keyboard layouts.
- XnapperA native macOS screenshot app with automatic image balancing, background styling, and tools to redact sensitive information.