vincentneo / LosslessSwitcher

Automated Apple Music Lossless Sample Rate Switching for Audio Devices on Macs.
GNU General Public License v3.0
1.15k stars 83 forks source link

macOS 14.x Compatibility #127

Open WadeWu55 opened 8 months ago

WadeWu55 commented 8 months ago

Hi,

I just updated my m2 MacBook Air to Mac OS version 14.3, then I find this app does not work with this version at all. My previous system language is Chinese and the app work well with Mac OS version 14.2. I already change my system language to English and restart Mac plus Apple Music several times, unfortunately it still does not work. could you please help me with this?

TomHyp3 commented 7 months ago

Same Problem here. Doesn‘t work under Sonoma 14.3 on a Mac Mini M2.

TomHyp3 commented 7 months ago

After a few restarts and a new installation, it strangely runs again. My systemlanguage is in german btw.

WadeWu55 commented 7 months ago

After a few restarts and a new installation, it strangely runs again. My systemlanguage is in german btw.

That is great. I have reinstalled my system to 13.6.4, it works well again!

vyconm commented 7 months ago

hm, I am also running 14.3 and do not have any issues running the latest beta. Logs would be helpful

vincentneo commented 6 months ago

I did a quick test with macOS 14.4 and LosslessSwitcher 1.1, seems to work fine.

Ikimura commented 5 months ago

Version 1.1 - Build 18. 14.4.1 (23E224) + Apple M2 + Apple Music. Works unstable. Mostly only when downgrades.

vyconm commented 5 months ago

If you have issues, please try to be more specific, like:

Due to the nature of this app, there are a lot of variables and issue points that do not come from the software itself, but things like Audio Interfaces, User Settings etc., and they need to be isolated to really help development.

Ikimura commented 5 months ago

Version 1.1 - Build 18. 14.4.1 (23E224) + Apple M2 + Apple Music. Player Swinsian Output Mac book speaker. 24-bit / 192 kHz FLAC sample.

3

vincentneo commented 5 months ago

@vyconm thanks for this comment!

It’s always important to know more specific info about what’s going to fully understand the issue!

vincentneo commented 5 months ago

Player Swinsian 192kHz FLAC

@Ikimura Are you using Swinsian for playback of a FLAC file? LosslessSwitcher is only designed and intended for use with the official Apple Music app, when streaming Lossless content.

Ikimura commented 5 months ago

Player Swinsian 192kHz FLAC

@Ikimura Are you using Swinsian for playback of a FLAC file? LosslessSwitcher is only designed and intended for use with the official Apple Music app, when streaming Lossless content.

The same for Apple Music & Lossless content but LosslessSwitcher shows 44.1kHz. 4 5

MasterRahool commented 5 months ago

Player Swinsian 192kHz FLAC

@Ikimura Are you using Swinsian for playback of a FLAC file? LosslessSwitcher is only designed and intended for use with the official Apple Music app, when streaming Lossless content.

The same for Apple Music & Lossless content but LosslessSwitcher shows 44.1kHz. 4 5

Are you saying you're playing a 44.1k track on Apple Music but Lossless Switcher is showing 48k?

Ikimura commented 5 months ago

Player Swinsian 192kHz FLAC

@Ikimura Are you using Swinsian for playback of a FLAC file? LosslessSwitcher is only designed and intended for use with the official Apple Music app, when streaming Lossless content.

The same for Apple Music & Lossless content but LosslessSwitcher shows 44.1kHz. 4 5

Are you saying you're playing a 44.1k track on Apple Music but Lossless Switcher is showing 48k?

No, I was assuming that Apple Music uses highest option from settings i.e.24-bit/192kHz for the content but looks like 90% of content is 48 at best or Switcher doesn't work for me.

MasterRahool commented 5 months ago

No, I was assuming that Apple Music uses highest option from settings i.e.24-bit/192kHz for the content but looks like 90% of content is 48 at best or Switcher doesn't work for me.

ah yeah most music is CD Quality with some more 48k albums in the mix, higher options should have the "Hi-Res Lossless" logo on the album page

vincentneo commented 5 months ago

No, I was assuming that Apple Music uses highest option from settings i.e.24-bit/192kHz for the content but looks like 90% of content is 48 at best or Switcher doesn't work for me.

@Ikimura you should be able to tell the exact sample rate of the currently playing album by clicking on the lossless icon (in Apple Music app)

example: https://discussions.apple.com/thread/252844950?answerId=255356260022&sortBy=best#255356260022

In Apple context: Lossless can refer to non lossy compressed, 44.1 or 48kHz audio. Hi Res Lossless refers to non lossy compressed, 96 or 192kHz audio. (Theoretically, 88.2 and 176.4 as well, though I don’t think I’ve seen it before)

Ikimura commented 5 months ago

Still found few cases of mismatch. 6 7

MasterRahool commented 5 months ago

Are they mismatched when playing the full album or are they in a playlist and LSS is doing the error where it pulls the following track's info?

(I have a handful of 88k albums saved, only 176k I know of is Abraxas by Santana)

Ikimura commented 5 months ago

Are they mismatched when playing the full album or are they in a playlist and LSS is doing the error where it pulls the following track's info?

In both cases. Even your example shows different data.

9
vincentneo commented 5 months ago

@Ikimura Can I check with you on whether if bit depth switching makes a difference in your case (and whether if it is on/off in your case?) thanks

Screenshot
MasterRahool commented 5 months ago

hmmm....so playing 176k songs switches to 96, and other tracks switch to 48 max?

is the DAC (via USB?) manually selected?

In a previous screenshot it showed macbook air being the device, Mac speakers support 44, 48, 88, and 96k which would explain a 96 ceiling on a 176k track (but not a 48k ceiling previously mentioned)

vincentneo commented 5 months ago

Mac speakers support 44, 48, 88, and 96k which would explain a 96 ceiling on a 176k track (but not a 48k ceiling previously mentioned)

I just realised the speakers caps at 96kHz, but yes that would explain it, as thats the next best option.

Ikimura commented 5 months ago

I just realised the speakers caps at 96kHz

ok, it explains a lot. Still catching the issue with 44/48. With both "Bit depth switching" enabled and disabled.

Screenshot 2024-04-15 at 6 29 04 PM Screenshot 2024-04-15 at 6 28 02 PM

Update: Clandestina (feat. Emma Peters) [Cocaina Remix] - this one has a really strange behavior. It starts with 44.1 then jumps to 48, and then if I change timing (aka rewind) e.g. 1:30 -> 2:50 it shows again 44.1