Automated Apple Music Lossless Sample Rate Switching for Audio Devices on Macs.
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.
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.
#!/bin/bash
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.
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!
This minor release should fix the issue mentioned in #79.
Happy sample rate switching!
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.
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!
com.apple.coremedia
messages due to lack of bit depth info.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.A few (minor) changes for this update.
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.
This is just a small update that aims to target issue #32.
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)
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!