Skip to content

Releases: vincentneo/LosslessSwitcher

Version 3?

01 Mar 13:37

Choose a tag to compare

Version 3? Pre-release
Pre-release

An early peek to the next version of LosslessSwitcher!

  • Borrows the Process() way of getting logs, rather than relying on OSLogStore, from #195, special thanks to @FantasticSkyBaby, which hopefully solves #115
  • Hopefully fixes #190, #134?
  • Best effort to match sample rate with track, aims to fix #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 #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.

Version 2

28 Feb 16:24
a7d3539

Choose a tag to compare

This release includes the bit depth display provided in #189.
LosslessSwitcher v2 is no longer considered as beta, starting with this release.

Special thanks to @pdevh for #189!

Shell Script Support, Sample Rate Preferences

22 Feb 07:13

Choose a tag to compare

Here are the new features of this release:

  • The remaining missing feature from LosslessSwitcher 1.x: Select Script, is back!
  • Suggestion from issue #197 is implemented as a user selectable preference, if they prefer to switch to the closest sample rate multiple that the system supports, rather than the nearest highest sample rate (e.g. 176.4kHz -> 88.2kHz, rather than 96kHz, if 96kHz is the maximum)
  • Merged fix from #194 (remains to be seen if it helps)

Thanks to @jiangying000 and @goncalvesnelson for #194 & #197!

Performance & Quit

25 Jun 06:42

Choose a tag to compare

Performance & Quit Pre-release
Pre-release

Selecting of menu options should no longer be laggy and the quit option is now back.

First Beta for Version 2.0

23 Jun 08:49

Choose a tag to compare

Pre-release

Requires macOS Sequoia 15.0 or later.

With this build, it should:

  • Not show a blank window
  • Work in macOS 15.4 (I've tested it myself with macOS 15.4.1)

What doesn't work:

  • No "Select Script" menu for now

I've named this version 2.0 so that it should be clear that for users on 14 or below, they should use v1, 15 and above for v2.

Sequoia Empty Window

29 Sep 17:01

Choose a tag to compare

Sequoia Empty Window Pre-release
Pre-release

This beta release is yet another attempt to fix the empty window issue as mentioned by many in #146.

Unfortunately, I wasn't able to replicate the exact issue, when tested with macOS 15.0 (24A335), so this release's 'fix' is based on yet another guess.

Built for Sequoia beta users

02 Sep 16:13

Choose a tag to compare

Pre-release

This beta version is somewhat equivalent to version 1.1, build 18, with 2 differences:

  • It's built using the latest Xcode 16 beta 6 (i.e. macOS Sequoia SDK), just in case the high CPU usage/freeze have something to do with this.
  • Very minor code change as recommended by Xcode.

In response to #146.

Version 1.1

10 Mar 08:05
2c9ea5e

Choose a tag to compare

I think the 'beta' of v1.1 has basically been dragged for way too long now, so build 18 will become the release build for v1.1.

Improvements from v1.0.0

  • Improved sample rate detection
  • Option to explicitly select an audio device
  • Bit Depth detection mode
  • Option to run script when sample rate change
  • Ability for third party scripts to obtain latest sample rate via AppleScript

Menu for scripting

07 Dec 15:50

Choose a tag to compare

Menu for scripting Pre-release
Pre-release

In this release of LosslessSwitcher,

A new menu has been added to allow for selected shell script to run, with the first argument being the latest sample rate.
Describing the scripting menu

Notes

  • Selected shell scripts must have a shebang declared, such as #!/bin/bash
  • The script will run when the app launches for the first time.
  • The script file selection window may sometimes show underneath your current active window. (it's how macOS works)

For HQ Player developers / Call via AppleScript

06 Dec 15:19

Choose a tag to compare

Just a simple release that adds a way to obtain the latest sample rate via AppleScript.
Effectively it covers #108 use case.

Example:

tell application "LosslessSwitcher"
	set rate to get latest sample rate
	do shell script "echo " & rate
end tell

Returns:
"44100" on a 44.1kHz track.

Note: on first call/launch, -1 will be returned.

For context: https://community.roonlabs.com/t/using-any-audio-source-with-hqplayer-spotify-amazon-apple-music-youtube-music-deezer-soundcloud-2023/244358/352