Jump to content
IGNORED

Article: Apple Music's Lossless and Hi-Res Mess


Recommended Posts

3 hours ago, Marco Klobas said:

Yes, usually LUMIN handles AirPlay in lossless and works fine.

 

In this specific case is Apple Music that converts to AAC before sending the AirPlay stream.

 

Current firmware for all models of Lumin network streamers only supports ALAC and does not accept AAC in the current implementation of AirPlay 1.

Peter Lie

LUMIN Firmware Lead

Link to comment

My speculation is that in this scenario you're getting an AAC stream from the service, then it gets converted to ALAC and is sent to Lumin.  Perhaps watching a network traffic monitor may prove or disprove this speculation.

 

So it's best to choose the system wide AirPlay instead, such that the app shows it's lossless.  In this usage, please set the Mac to 44.1kHz since Lumin AirPlay is currently fixed at 44.1kHz.

Peter Lie

LUMIN Firmware Lead

Link to comment

On iPhone and iPad, after enabling lossless in settings, and use the built-in iOS device speaker to play, we can see Lossless logo in the list of tracks for an album.

 

My question is, when you bring up the playing screen where you see a larger album art, and only the current playing track name is shown (instead of a list of tracks), do you see the Lossless logo?  I cannot for most of the albums I tried (over a dozen, including Taylor Swift).  I suspect this is a regional thing, or perhaps I did something wrong.

 

Thanks.

Peter Lie

LUMIN Firmware Lead

Link to comment
10 hours ago, R1200CL said:

 

Summary:

 

First link: anything over 16/44.1 is Hi-Res (matches Qobuz definition)

 

Second link: Hi-Res must be 24-bit and must be 48kHz or higher

 

Third link: my interpretation is that the author prefers 24/96 for Hi-Res, and dismisses 24/48 as not Hi-Res (matches Apple definition)

 

Peter Lie

LUMIN Firmware Lead

Link to comment

That's debug logs from self compiled non-public (NDA) source code with root access to hardware, so it is not reproducible by anyone else.

 

At least for AirPlay1, I imagine someone using one of the many Open Source distributions with shairport-sync (but we're not using it) could retest it.

Peter Lie

LUMIN Firmware Lead

Link to comment
17 hours ago, Marco Klobas said:

Basically, shairport-sync (which uses AirPlay 1 protocol) handles the stream in ALAC mode, similarly as LUMIN streamers do like @wklie pointed out recently many times.

 

If Apple Music playing a lossless track from its catalogue provides an AAC stream to the AirPlay receiver – thus, "degrading" the whole lossless thing – then it's another story. The culprit is the Music app itself – the sender, not the receiver.

 

By streaming Fairytales (MQA) from iPadOS 14.6 Apple Music → AirPlay1 Lumin (at max volume) USB output → Full MQA DAC shows MQA. (successfully authenticated MQA, not possible with lossy encoding)

 

This is good enough for me in that I can tell customers that they can at least get 16/44.1 lossless from Apple Music using our products, and in this use case, neither Apple Music source is downgrading to AAC nor AirPlay1 delivery is downgrading to AAC.

Peter Lie

LUMIN Firmware Lead

Link to comment
On 6/13/2021 at 11:57 AM, Electroecstatic said:

From an engineering point of view, a sensible thing for Apple to do with HDCD files it may have as masters provided by a record label on their servers would be to get the best possible software renderer to 'decompress' the HDCD files into 24 bit ALAC files at the original sampling rate for streaming.

 

If this really happened, the HDCD indicator would be always off (which is different from the test results that found it occasionally turned on in the article).

Peter Lie

LUMIN Firmware Lead

Link to comment

@The Computer Audiophile In another forum there was a test of USB output of Apple Music Fairytales MQA CD  getting a MQA light initially but then turned off (somewhat similar to your HDCD results), but I have no problem with MQA light on an external USB MQA DAC staying on via AirPlay1 to Lumin USB output.

 

Could you retest HDCD using iOS 14.6 AirPlay1 to any streamer or Pi running the open source shairport-sync, which I checked that it accepts ALAC (and PCM only), not AAC.  Then USB output to your HDCD DAC.

Peter Lie

LUMIN Firmware Lead

Link to comment
29 minutes ago, jjdnyc said:

does anyone know whether the ATV will stream lossless when using the native Apple Music app on the ATV? There doesn’t appear to be anyway to tell what it is doing. 


Does it have a lossless or HiRes lossless setting?  Does it show the lossless icon?

 

Peter Lie

LUMIN Firmware Lead

Link to comment
On 6/20/2021 at 12:02 AM, vortecjr said:

1. Apple Lossless at 24/44.1 streamed via Apple Music App to Rendu in Shairport output mode. 

 

I suggest using Apple Music Lossless 16/44.1 for testing bit perfect delivery for now.  Some versions of, if not all, shairport works only at 16/44.1 for the AirPlay1 delivery.  Even if one changes the implementation to allow for 24 bit, it's still up to the sender to decide whether it wants to send 24 bit over AirPlay1.  I also have a suspicion that iOS 24-bit to 16-bit is dithered, not truncated.

 

I have not read all of mikebrady's post (will try to catch up), but at least one post linked from here specifically stated 16 bit.

Peter Lie

LUMIN Firmware Lead

Link to comment
15 hours ago, Marco Klobas said:

Run shairport-sync in writing mode (shairport-sync -u -o stdout > 'file-name.wav')

 

This looks really useful.  I'll see if I can make use of this technique and do further tests that are better than Apple Music MQA CD authentication, in order to further prove Apple Music Lossless 16/44.1 can be bit perfect over AirPlay1.

Peter Lie

LUMIN Firmware Lead

Link to comment
3 hours ago, new_media said:

I'm particularly concerned about the AirPlay 2 issue. I had assumed that if I downloaded lossless files to my phone, I could then stream them over AirPlay losslessly, but I keep reading that maybe they are getting converted to AAC by the app before they are streamed?


I suspect the deliberate choice to use 256kbps instead of lossless delivery is a feature, not a bug, to enhance buffering for multi room playback, especially considering many consumers have really poor WiFi networks.  If the company standpoint is that lossless superiority is not audible to the 98% majority, any means to reduce support calls about audio breaking up is advantageous.  That actually makes perfect logical sense if one assumes quality degradation is inaudible, improved functionality becomes the primary factor that deserves optimization (by decreasing bitrate).

 

In WWDC 2017 it was presented that AirPlay2 enhanced buffering allows you to take out the trash (leave the WiFi network) without music being interrupted.  At 256kbps I calculate this to allow for several minutes.  With lossless compression, this duration may roughly become one third only, which would not be sufficient for taking out the trash.  Audiophiles may ask why would they would want to take out the trash when they are enjoying the music, if you need to ask this question, this feature is not meant for you.  :)

 

Again I stress that this is my speculation only.

Peter Lie

LUMIN Firmware Lead

Link to comment
7 hours ago, Marco Klobas said:

My USB loopback test on Mac doesn’t match with Chris’s test. In my case the tracks are nulled.

 

Album/track, sample rate, bit depth, other settings, etc.  There may also be other factors such as presence of certain apps like BitPerfect, integer mode, etc.

Peter Lie

LUMIN Firmware Lead

Link to comment

Thanks for the details.

 

I'm not familiar with these software or how they are normally professionally used, so I'm a bit surprised to see 32-bit float.  I wonder if there is any virtual soundcard driver to capture the 24-bit or 16-bit integer data to make the setup simpler.

Peter Lie

LUMIN Firmware Lead

Link to comment

When I mentioned virtual soundcard driver I assumed it will somehow allow directly capturing of the bits (i.e. performs like stdout from shairport-sync), but I don't know whether this makes sense or not as I have not looked into this, and I'm not familiar with Mac OS.

Peter Lie

LUMIN Firmware Lead

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...