# LosslessSwitcher

A macOS menu bar app that automatically matches an audio device’s sample rate to the lossless song playing in Apple Music.

> This is the Markdown version of the LosslessSwitcher page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/losslessswitcher>

- **Latest version**: `2.0,2`
- **Homepage**: <https://github.com/vincentneo/LosslessSwitcher>
- **Categories**: [Utilities](https://opennavo.com/categories/utilities)
- **Install**: `brew install --cask losslessswitcher`
- **30-day installs**: 36
- **Homebrew**: Still offered by Homebrew; paused by OpenNavo
- **Download URL**: <https://github.com/vincentneo/LosslessSwitcher/releases/download/2.0/LosslessSwitcher2.app.zip>
- **SHA-256**: `bf2cd61b9afa1a0caa7a491b25ccb2cc12f09db3b9831c0d814854083dceae8a`

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "com.vincent-neo.LosslessSwitcher"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "LosslessSwitcher.app"
      ],
      "target": "/Applications/LosslessSwitcher.app"
    },
    "phase": "install",
    "sources": [
      "LosslessSwitcher.app"
    ],
    "target": "/Applications/LosslessSwitcher.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": "~/Library/Preferences/com.vincent-neo.LosslessSwitcher.plist"
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 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](https://github.com/vincentneo/LosslessSwitcher) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/l/losslessswitcher.rb)

## System requirements

- macOS 15 or later · Version: 2.0,2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/losslessswitcher.rb> · Checked 2026-12-06
  - <https://github.com/vincentneo/LosslessSwitcher/releases/download/2.0/LosslessSwitcher2.app.zip>
  - SHA-256: `bf2cd61b9afa1a0caa7a491b25ccb2cc12f09db3b9831c0d814854083dceae8a`
- macOS 15 or later · Version: 2.0,2 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/losslessswitcher.rb> · Checked 2026-12-06
  - <https://github.com/vincentneo/LosslessSwitcher/releases/download/2.0/LosslessSwitcher2.app.zip>
  - SHA-256: `bf2cd61b9afa1a0caa7a491b25ccb2cc12f09db3b9831c0d814854083dceae8a`

## LosslessSwitcher security facts

Only facts that can be checked, each with its source and date. This is not a safety certification. To check the files you downloaded, scan them on your Mac with OpenNavo.

- <https://github.com/vincentneo/LosslessSwitcher> · Open source: Yes — <https://github.com/vincentneo/LosslessSwitcher> · Checked 2026-11-13

## Uninstall

- `brew uninstall --cask losslessswitcher`

A 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`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/Preferences/com.vincent-neo.LosslessSwitcher.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/losslessswitcher.rb> · These entries come from the Homebrew definition, checked 2026-12-06. They say what it declares, not what is on your Mac.

## Latest release notes

### 3.0-beta1 (2026-03-01)

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.

## Facts and sources

- <https://opennavo.com/apps/losslessswitcher>
- <https://opennavo.com/apps/losslessswitcher/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/losslessswitcher.rb> · Checked 2026-12-06
- <https://formulae.brew.sh/cask/losslessswitcher>
- <https://github.com/vincentneo/LosslessSwitcher> · Checked 2026-11-13
