Skip to content

Releases: vincentneo/LosslessSwitcher

Version 1.1

10 Mar 08:05
2c9ea5e
Compare
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
Compare
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
Compare
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

Switching improvements

31 Aug 05:35
Compare
Choose a tag to compare
Pre-release

This release includes improvements with sample rate switching, from the changes in #106, which should see the reduction in doing unnecessary processing, on console messages that didn't contain the data needed for LosslessSwitcher.

Special thanks to @bonifaido for this release!

Minor fix

11 Jun 17:01
Compare
Choose a tag to compare
Minor fix Pre-release
Pre-release

This minor release should fix the issue mentioned in #79.

Happy sample rate switching!

Local file detection removal, optional bit depth

28 Mar 10:09
Compare
Choose a tag to compare

This release follows the decision made in discussion #74, to discontinue local file sample rate switching. For more information on that, please refer to discussion #74.

Bit depth switching, introduced in beta 8, is now an opt-in option. It can be found on the dropdown menu, just like other options. By default, it is switched off.

Happy listening!

Side note: Not that it matters much, but for some reason this build is about 300kb larger. Probably some change in Xcode's building.

Bit Depth switching support

03 Jan 09:45
Compare
Choose a tag to compare
Pre-release

Happy New Year!
Experimental build that switches both sample rate (e.g. 192kHz) and bit depth (e.g. 16-bit/24-bit), is now here.

Those facing issue #2, please look here!

Known Issues

  • Menu does not show bit depth info yet, please use Audio MIDI Setup to observe if bit depth has switched.
  • Detection may not be as good as prior builds (has yet to verify impact of detection, just a guess), as I've disabled a detection method via com.apple.coremedia messages due to lack of bit depth info.
  • Use of com.apple.coreaudio messages now, known to not provide info for certain sample rates in the past, but have yet to observe that in Ventura 13.1 so far.
  • Code is a mess right now!

Beta 7

28 Nov 04:07
Compare
Choose a tag to compare
Beta 7 Pre-release
Pre-release

A few (minor) changes for this update.

Changes

  1. Console messages have now been restricted to the Music process only. This is to fix #51. Since the app's core purpose is to serve Apple Music users, there are no guarantees that I would lift this restriction in the future.
  2. Minor UI fix.
  3. Toggle "Detect Local Track Rates" option is added. This option can be used to enable or disable AppleScript-based detection. Enabling it will use AppleScript to get sample rate for local tracks / playlist tracks, but disabling might be good if experienced issue #30.

About AppleScript Support

With the introduction of the toggle as mentioned in the above section, third point, users should be able to decide this for themselves, rather than fixating towards using a particular build.

Attempt to fix #32

16 Nov 16:00
Compare
Choose a tag to compare
Attempt to fix #32 Pre-release
Pre-release

This is just a small update that aims to target issue #32.

To test

  1. Explicitly select the device that you want to playback (not the auto "default device" selection).
  2. Check if device will continue to stick to your selected device, even in circumstances such as EQ / virtual device.
  3. (extra) Check if device will revert to previously selected device after plugging and unplugging said device.

Known issues

App device selection menu may glitch out showing 2 checkmarks on app restart, but that should just be a cosmetic issue right now, and should not impact usability. (will fix in future)

About AppleScript Support

  • Only build 9 contains the AppleScript changes introduced in beta 5.
  • Builds 10 and 11 will not work for local file sample rate switching as a result.
  • This is due to issue #30.

Local file sample rate detection

01 Sep 17:17
Compare
Choose a tag to compare
Pre-release

In this beta release,

#15 should be fixed via AppleScript method provided by @fjolnir (thank you!). This should allow for sample rate detection for local files.

As always, thanks for all your support in this project!