Jump to content
  • The Computer Audiophile
    The Computer Audiophile

    Apple Music's Lossless and Hi-Res Mess

     


    This morning I've been testing Apple Music's new lossless and Hi-Res offerings on both my iPhone 12 Pro running iOS 14.6 and my Mac Mini (M1) running macOS 11.4. In my tests, I'm only concerned with playing the music bit perfectly, in other words without making any changes to the audio. If Apple Music says it's streaming lossless audio, then I want to stream that audio losslessly, rather than accidentally converting it to lossy AAC or MP3 etc... Whether or not people can hear the difference is a topic for another discussion. I'm just making sure I can play the music in its original form and that Apple is sending true lossless and Hi-Res to my audio devices. 

     


    Let's Dig in


    What is bit perfect and why should I care? In the simplest terms, bit perfect means that the audio hasn't been changed. The music sent, in this case from Apple Music, into the playback device hasn't been altered. The source is what has been delivered to Apple by the record labels. Apple is just the delivery company.

     

    If you care about high quality, getting the lossless streaming you're paying for from Apple Music, Qobuz, Tidal, Amazon Music, etc... then you should care about bit perfect because without it you have no idea what's happening to your audio. If this isn't a concern for you, no worries. 

     


    Testing Methodology 

     

    Device 1
    My Apple iPhone 12 Pro running iOS 14.6 and the Apple Music app. I connected the newest version of the Apple Camera Connection Kit to the iPhone, so I could attach a USB Audi interface, and feed power to the phone and interface. 

     

    Device 2
    Apple Mac Mini (M1) running macOS 11.4, and Apple Pro Display XDR, and USB audio interface connected to the ports on the back of the display. 

     
    I use the following testing methodology to test Apple Music. 

     

    The USB audio interface is a Berkeley Audio Design Alpha USB that accepts USB input and outputs audio over AES/EBU or S/PDIF (BNC). 
     
    I use a Berkeley Audio Design Alpha DAC Reference Series 3 that identifies and decodes HDCD on all sample rates from 44.1 up through 192 kHz. When an unaltered HDCD music track is played, the HDCD indicator on the DAC is illuminated. The HDCD flag is on the 16th bit for lossless CD files and the 24th bit for high resolution files. Any alteration, DSP, volume leveling, etc... changes this least significant bit and won't enable the HDCD indicator to illuminate on my DAC. Apple Music's lossless audio that I tested was 16 bit / 44.1 kHa and the Hi-Res audio was both 24 bit / 176.4 kHz and 24 bit / 192 kHz. That's the hardware piece. 
     
    With respect to source files, here's what I do. 
     
    I have a list of roughly ten known HDCD albums (although I could use more if needed). Many of these albums were only released as HDCD encoded CDs/files. There is no alternate lossless version. For example, Reference Recordings only releases CDs that are HDCD encoded. Pearl Jam's Live On Two Legs was only released as an HDCD master for its lossless CD version. 
     
    I set a baseline by playing my own local copy of the albums and make sure the HDCD indicator illuminates. I played some Reference Recordings albums through Apple Music on macOS and made sure the app could handle bit perfect playback. All was good there. On iOS, I used used other apps such as Qobuz, to play the identical music through the identical hardware. All was good through the Qobuz app. Again, there are no alternative versions of these lossless albums. It's the same music on all the services that offer lossless streaming.
     
    Absolutely there are possible holes in my methodology, but I believe I've minimized them as much as possible. If anyone can identify a hole, please let me know and I will retest. 
     

     

    Test Results
     
    On macOS, I found no way to play bit perfect lossless or Hi-Res audio from Apple Music. In addition to a couple other nonsensical issues that I'll get into later, Apple is doing something to the music it streams. 

     

    Test 1, streaming Pearl Jam's Live On Two Legs release I was able to illuminate the HDCD indicator for the first couple seconds of playback. After this, the light went out for good, even if I skipped to the next track. When I clicked the play button to start the entire album over again, the HDCD indicator illuminated again for a few seconds. If I had to guess, I'd say this is because of watermarking mandated by the major record labels. Apple has a perfect copy of the album on its servers, the perfect copy starts, but then something changes in the stream that causes the music to not be bit perfect. I'm open to all input on what this could possibly be, but watermarking is my best educated guess for now. 

     

    Test 2, streaming the Reference Recording's album Exactly Like This from Doug MacLeod, displays different behavior and bolsters my aforementioned watermarking theory. This album, from a very small independent record label that I don't believe watermarks it's music, alters between bit perfect and not bit perfect. Upon playback, the HDCD indicator is on sometimes then off for a period of time, then back on etc... I really don't have a good guess for why this happens. I originally thought maybe an adaptive bit rate issue caused it, but even after downloading the tracks to my device offline and playing them, the problem remained. 

     

    Test 3, streaming the Reference Recording's album Break The Chain from Doug MacLeod produced the identical behavior. The only difference here was that the album was Apple's Hi-Res offering at 24 bit 176.4 kHz. Again, no solid bit perfect playback. Something is happening to the music. 

     

    A note about Apple's Hi-Res offerings that makes this a real mess. On Macs running macOS / OS X, the Apple Music app looks at the sample rate in Audio Midi upon the app's launch. Whatever same rate is set there, is the sample rate that Apple Music will use for playback as long as the app is open. OK, fine you say, Apple Music lossless is probably 16 bit / 44.1 kHz and that can be set in Audio Midi. Sure, now for the mess. Apple Music Hi-Res is be definition not 16 bit / 44.1 kHz. It go up through 24 bit / 192 kHz. OK, you can run through the whole dance closing Apple Music, manually setting the sampan rate in Audio Midi, then reopening Apple Music and off you go. Oh no you can't. Apple Music doesn't tell you what the sample rate of its Hi-Res music albums. Thus, you have no idea at what sample rate to set Audio Midi. 
     

    UPDATE: To find the sample rate of the album and play it correctly you have to play a track, click the info button to reveal the sample rate, change Audio MIDI to correct sample rate, restart Apple Music, play the track again. 

     

    How did I find the same rate? Fortunately, the Apple Music app on iOS has auto sample rate switching, which enabled me to get the rate, then sixth back to my Mac to run the tests. This was good because I could see the bit perfect audio stream for the first few seconds once I had the correct sample rate set. 


    Note: the Qobuz app plays this music bit perfect on my Mac.

     

     

    On iOS, as I just mentioned, we have the high benefit of automatic sample rate switching when playing music in Apple Music. The results for Test 1, 2, and 3 were identical on iOS as they were on macOS. Bit perfect for the first few seconds of major label albums. Bit perfect on and off for Reference recordings' albums. Apple Music on iOS switched between outputting 44.1 to outputting 176.4 without an issue. If only the audio would remain bit perfect during playback, it would be a great solution. 

     

    I will note that the Qobuz iOS app played everything bit perfect, but there needs to be an asterisk. For some reason Qobuz resamples the 176.4 Doug MacLeod album Break The Chain at 192 kHz on iOS rather than 176.4. I checked Neil Young's greatest hits to make sure I cold stream 192 material bit perfectly from Qobuz and succeeded. iOS and iPhones are fully capable of bit perfect audio at 176.4 kHz, so I'm not sure why Qobuz is resampling the RR releases. 

     


    What About mQa?

     

    There is interesting news on this front. Some labels have snuck mQa material into Apple Music just like they have on other services. Users of Apple Music can search for mQa and they'll see some albums such as the Radka Toneff Fairytales album. The albums playback as mQa on a DAC in my system that is a full mQa decoder. 

     

    I checked a number of other albums that have appeared on Tidal as mQa only and didn't find mQa for these releases on Apple Music. 

     

    As readers of Audiophile Style know, I'm no fan of mQa and am very pleased it hasn't made its way into more releases or officially into Apple Music. Those who may be reading this as fans of Apple Music, rather than typical audiophile offerings, and aren't familiar with mQa, can get the gist of it and the company from the following videos.


    Part 1 - https://youtu.be/pRjsu9-Vznc
    Part 2 - https://youtu.be/NHkqWZ9jzA0

     


    Wrap Up

     

    As it stands now, Apple Music's lossless and Hi-Res offerings are a bit of a soup sandwich. You can't really stream the audio without some type of DSP going on that makes the music different from the lossless version on CD and on other lossless services. My guess is digital watermarking. In addition, it's not possible to get a consistent lossless or Hi-Res stream for other music that I tested, such as that from Reference Recordings. When I ran into similar issues with Amazon Music HD, using its apps just like I used the Apple Music apps, I was happy to find the Amazon Music HD streams lossless and Hi-Res through third party devices from Bluesound. Given that Apple doesn't integrate with Bluesound, I can't test this. Apple does integrate with Sonos, but as I found previously (link), the new Sonos Port can't stream bit perfect either, so a test on that platform would be useless. 

     

    I will happily update this article if there are holes in my tests or something else changes. As it stands now, I don't know of any holes and I stand by these conclusions. 

     

     

     




    User Feedback

    Recommended Comments



    30 minutes ago, MikeyFresh said:

    Same here, though in "working" it is only just enabled, and while you do then need to select an external DAC for output in BitPerfect's Settings (otherwise the sound comes from the Mac's internal speaker), that's where the compatibility seems to end. Unlike with iTunes, BitPerfect cannot override the Audio MIDI Setting for sample rate as it does with iTunes.

     

    I sent Richard Murison a note hoping he might be willing/able to push an update that would restore this feature of BitPerfect for use with Apple Music.

    Interesting, I will have to test again when I get home.

     

    In my initial test, the sample rate indicator on my DAC did not change despite the fact I was playing tracks from albums with different sample rates.

     

    I also noticed in clicking the Toolbar icon for BitPerfect that it did not display anything where it would normally indicate what sample rate was being played, almost as if it didn't actually think anything was playing at all.

    Share this comment


    Link to comment
    Share on other sites

    Just to be clear: I’m talking about local files, not Apple Music subscription.

    Share this comment


    Link to comment
    Share on other sites

    1 hour ago, Marco Klobas said:

    Just to be clear: I’m talking about local files, not Apple Music subscription.

    Ahhh, I misunderstood, I was testing the cloud subscription files and with those BitPerfect does not change the sample rate.

    Share this comment


    Link to comment
    Share on other sites

    @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.

    Share this comment


    Link to comment
    Share on other sites

    3 minutes ago, wklie said:

    @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 staying on via AirPlay1.

     

    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.

    Absolutely. Will take me until next week as I’m traveling right now. 

    Share this comment


    Link to comment
    Share on other sites

    Separate but related issue: I am unable to get my 5K iMac to resolve at the highest bit rate and resolutions no matter what I do with Apple Music. For whatever reason the higher rates are not options under audio midi set up. Anyone have nay bright ideas? Apple says my iMac is capable of 24/192. I am going Toslnk into some Audi Engine HD6 speakers that are also supposed to be 24/192 capable. 

     
     
    And, more on  point to this thread, I am finding that certain tracks within the same album are available in lossless while others are not. See attached screenshots. I think the technical term for this implementation is "a hot mess”.  
     
     

    Screen Shot 2021-06-17 at 11.53.33 am.png

    Screen Shot 2021-06-17 at 11.54.54 am.png

    Screen Shot 2021-06-17 at 11.55.05 am.png

    Share this comment


    Link to comment
    Share on other sites

    12 minutes ago, jjdnyc said:

    Separate but related issue: I am unable to get my 5K iMac to resolve at the highest bit rate and resolutions no matter what I do with Apple Music. For whatever reason the higher rates are not options under audio midi set up. Anyone have nay bright ideas? Apple says my iMac is capable of 24/192. I am going Toslnk into some Audi Engine HD6 speakers that are also supposed to be 24/192 capable. 

     
     
    And, more on  point to this thread, I am finding that certain tracks within the same album are available in lossless while others are not. See attached screenshots. I think the technical term for this implementation is "a hot mess”.  
     
     

    Screen Shot 2021-06-17 at 11.53.33 am.png

    Screen Shot 2021-06-17 at 11.54.54 am.png

    Screen Shot 2021-06-17 at 11.55.05 am.png

    I believe macOS limits optical output to 24/96. 

    Share this comment


    Link to comment
    Share on other sites

    6 hours ago, MikeyFresh said:

    Ahhh, I misunderstood, I was testing the cloud subscription files and with those BitPerfect does not change the sample rate.

     

    You're correct, unfortunately BitPerfect can't interact with streaming content.

    Share this comment


    Link to comment
    Share on other sites

    Adding to my earlier post, here is a strange discovery. As others have found, I lose the lossless icon in Apple Music (AM) on iOS when I stream over Airplay 2 to my 4K ATV (and we know it only streams at 256 kbps). But, I managed to recover the lossless icon in AM by streaming (lossless) from Amazon Music and then switching back to AM where the lossless icon reappears and remains in place when I then stream from AM (and I am fairly certain it is actually streaming lossless - soundstage and clarity are better). It’s almost as though I have tricked AM into streaming lossless. And yes I am then getting the “iPhone arrow” indication in this case.

     

    Separately, 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. 

    Share this comment


    Link to comment
    Share on other sites

    https://audiophilestyle.com/forums/topic/63174-article-apple-musics-lossless-and-hi-res-mess/?do=findComment&comment=1141947

     

    Hello everybody,

    I just wanted to share with you the tests carried out and present in the shairport-sync forum waiting for Chris to update us on his tests

     

    https://github.com/mikebrady/shairport-sync/issues/1205#issuecomment-859679508

     

    I report below what the author of the tests said in response to my initial question:

     

    "My tests results were as described. I can certainly tell shairport-sync delivers lossless CD quality (16 / 44.1k) to a DAC.
    Strictly speaking, streaming Apple Music Lossless over network to shairport-sync is not a lossless process. Let's imagine the chain:
    Apple lossless files may be in 24 bit 48kHz format. Before sending it over network, Apple Music app has to dither it down to 16 bit and resample to 44.1kHz because that's the limit for AirPlay 1 ALAC streaming - that is a lossy process. In case of 16 bit / 44.1kHz lossless files this process obviously doesn't have to happen. In case of 24 / 44.1kHz only dithering is required. Encoded again into ALAC it is streamed over network to shairport-sync, which employs "stuffing" process, adding or removing frames in order to keep in sync is a lossy process. But it's just dropping or adding frames, compared to AAC's MDCT it's nothing. "

     

    At this point, it is necessary to understand if the problem of the frames is only of shairport-sync or even of official Apple AirPlay.

    Share this comment


    Link to comment
    Share on other sites

    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?

     

    Share this comment


    Link to comment
    Share on other sites

    Apple says that Apple TV 4K already support lossless using HDMI or an AV receiver.

     

    Keep in mind that all Apple TV models output at fixed 48 kHz, so a 44.1 kHz song will be upsampled and a 96 kHz will be downsampled (not bit perfect).

     

    Interestingly, Apple states (my emphasis): Apple TV 4K currently doesn’t support Hi-Res Lossless (sample rates greater than 48 kHz).

     

    The "currently" maybe could mean that in the future this will change.

    Share this comment


    Link to comment
    Share on other sites

    4 hours ago, wklie said:


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

     

    It does. No hi-res option.

     

     

     

    B53F1106-B838-4793-BEC2-C48095C30D3C.jpeg

    81A805EE-B7BF-469D-8EAB-2FF61B486CF1.jpeg

    Share this comment


    Link to comment
    Share on other sites

    I’ve been playing around with the Apple TV 4K a little more this morning.

     

    I have some lossless, hi-res, and spatial audio albums downloaded to my phone. When I stream them to the Apple TV, even the spatial audio albums show up as lossless, so I am led to believe they are streaming from Apple’s servers rather than from my phone.

     

    Interestingly, the albums that are available in hi-res, even the ones that I downloaded in spatial audio, are showing up as hi-res on the Apple TV when streamed from the phone, though they are likely being downsample to 24/48 or 16/48. I don’t believe hi-res streams can be accessed through native app.


    I think that an Apple TV could be used headless to stream Apple Music lossless to an audio-only rig, but you would need a DAC with an HDMI input.

     

    98F17CCD-275B-44CB-A80C-891627D2D7BA.jpeg

    Share this comment


    Link to comment
    Share on other sites

    11 minutes ago, vortecjr said:

    I'm running some tests this morning to look into if Apple Lossless is bit perfect or bit imperfect.  

     

    Test #1 - Confirm locally stored track playback is bit perfect

    1. Locally stored cd rip at 16/44.1 streamed via mConnect to Rendu in MPD/DLNA output mode.  

    2. Signature Rendu -> Sonore ultraDigtial -> AP with output to 24/44.1 wav file (40 second capture).

    3. Repeat #2 to get a send file to compare.

    4. Compare captured wav files from #2 and #3

     

    Results from test #1 per DeltaWave (highly recommended software)

    Files are a bit-perfect match at 16 bits
    Files are a bit-perfect match at 24 bits

    Bit Perfect! 100%

     

    More to follow...

    What about Apple Music Lossless?

    Share this comment


    Link to comment
    Share on other sites

    Here is an image of the two Spectrograms side be side (left = local file, right = Apple Lossless). 

     

    image.thumb.png.754a7e3f7fd513f04bdbee5fda188432.png

     

    More to follow...

    Share this comment


    Link to comment
    Share on other sites

    I'm waiting for a mini optical to standard optical adapter to arrive to test Apple Lossless with a Apple Airport Express. The part should arrive tomorrow.  

    Share this comment


    Link to comment
    Share on other sites

    Are any Apple Music subscribers here who uploaded/matched their CD-ripped albums before Apple Music lossless was introduced?

     

    My albums streams in AAC (without the lossless icon). Even if I download the songs I can't get the ALAC version.

     

    I even tried to delete a song from my library, add it again and wait for uploading/matching. It still streams as AAC.

     

    It's as if the "old" AAC version is kept on Apple's servers without replacing it with ALAC.

    Share this comment


    Link to comment
    Share on other sites

    8 minutes ago, Marco Klobas said:

    Are any Apple Music subscribers here who uploaded/matched their CD-ripped albums before Apple Music lossless was introduced?

     

    My albums streams in AAC (without the lossless icon). Even if I download the songs I can't get the ALAC version.

     

    I even tried to delete a song from my library, add it again and wait for uploading/matching. It still streams as AAC.

     

    It's as if the "old" AAC version is kept on Apple's servers without replacing it with ALAC.

     

    I've read elsewhere that's exactly the case - you can only download AAC versions.

    Share this comment


    Link to comment
    Share on other sites




    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...