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



    2 minutes ago, new_media said:

     

    It should be fairly straightforward to implement. When I use Roon in exclusive mode, music goes to the DAC and all other audio goes to my Mac's built in speakers. As soon as Roon playback stops, system sounds are routed through the DAC again.

     

    I am positive Apple can, its that they don't want to.

    Share this comment


    Link to comment
    Share on other sites

    6 hours ago, The Computer Audiophile said:

    I think people running tests should capture at a minimum 30 seconds of the track. In my testing, I found the bit perfection to be hit and miss throughout each track. This makes the service Apple Music not lossless if it can't deliver an entire track bit perfect. 

    On your suggestion...I tried testing full length tracks and was not able to make them align bit perfect.  

    Share this comment


    Link to comment
    Share on other sites

    I did inspect the MQA light for the whole duration for a few tracks in Fairytales MQA CD AirPlay1 test, but of course this is a much weaker test than binary file diff.

    Share this comment


    Link to comment
    Share on other sites

    6 minutes ago, wklie said:

    I did inspect the MQA light for the whole duration for a few tracks in Fairytales MQA CD AirPlay1 test, but of course this is a much weaker test than binary file diff.

    Would be interesting to start turning the digital volume in Apple Music app down as it plays. This cuts bits of course and should remove any mQa light immediately. 

    Share this comment


    Link to comment
    Share on other sites

    In direct comparison of Apple Lossless to Amazon HD with it's semi exclusive mode, Amazon HD sounds noticeably better IMHO.

     

    The library is similar in terms of song and album availability.

     

    I won't leave Amazon until Apple gets that Exclusive Mode.....

     

    Qobuz is the sonically the best to my ears- but the catalogue is not the type of music I listen to... so it is worthless to me.

    Share this comment


    Link to comment
    Share on other sites

    Also- apple lossless is not available on a PC and my fanless pc is much quieter than my mac mini.  Amazon works with my fanless optimized PC.

     

    Apple needs a year to mature before considering.  

    Share this comment


    Link to comment
    Share on other sites

    To complete my previous test (the second one – recording through routing), a simple diff command between the trimmed original track and the trimmed registered track shows 0 differences.

    Share this comment


    Link to comment
    Share on other sites

    I repeated my first test (the one with AirPlay 1 to Shairport Sync), this time using AirServer. It's a software AirPlay 1 receiver (running on Mac in my case).

     

    The result is the same: reversing the polarity of the recorded track is muting completely the original track. My tests so far always included complete tracks, from the start to the end.

    Share this comment


    Link to comment
    Share on other sites

    5 hours ago, Marco Klobas said:

    I repeated my first test (the one with AirPlay 1 to Shairport Sync), this time using AirServer. It's a software AirPlay 1 receiver (running on Mac in my case).

     

    The result is the same: reversing the polarity of the recorded track is muting completely the original track. My tests so far always included complete tracks, from the start to the end.

    The differences i’m getting are very small and likely from the capture setup. I’m going to test Shairport-sync with stdout in the next couple days. This will simplify things and I should be able to reproduce your results. 

     

    I also have a change to the Shairport-sync configuration that I want to try on Chris’s unit to see if it helps with the HDCD stream.

    Share this comment


    Link to comment
    Share on other sites

    8 hours ago, Rsbrsvp said:

    Also- apple lossless is not available on a PC and my fanless pc is much quieter than my mac mini.  Amazon works with my fanless optimized PC.

     

    Apple needs a year to mature before considering.  


    Apple music has a web player.  FWIW

    Share this comment


    Link to comment
    Share on other sites

    I have no idea how to get lossless music in web player

    Share this comment


    Link to comment
    Share on other sites

    35 minutes ago, Rsbrsvp said:

    I have no idea how to get lossless music in web player

    In the U.S. it's music.apple.com, but I don't know if that is available in other regions or not.

    Share this comment


    Link to comment
    Share on other sites

    1 hour ago, Rsbrsvp said:

    I have no idea how to get lossless music in web player

     

    You can't get lossless anyway with Windows. Exclusive mode only mutes other system sounds and doesn't provide bit perfect exclusive access to the sound device. Signal is still being resampled by the Windows mixer. Only way to get Amazon Music HD bit perfect lossless is with a BluOS device.

    Share this comment


    Link to comment
    Share on other sites

    1 hour ago, Daren F said:

     

    You can't get lossless anyway with Windows. Exclusive mode only mutes other system sounds and doesn't provide bit perfect exclusive access to the sound device. Signal is still being resampled by the Windows mixer. Only way to get Amazon Music HD bit perfect lossless is with a BluOS device.

    I am aware than amazon exclusive does not change sample rate- but whatever it does- it sounds better than when not activated.

     

    I do not understand what people mean when they say one is not getting lossless just because the mixer is not changing the sample rate automatically.  Yes, perhaps he music is not bit perfect, but the file is not missing information as lossy music (MP3, AAC etc.) is.  To me that it Lossless; non-bit perfect lossless, perhaps modified lossless, but lossless. All the information is there- and that is lossless.

     

     

    Share this comment


    Link to comment
    Share on other sites

    1 minute ago, Rsbrsvp said:

    I am aware than amazon exclusive does not change sample rate- but whatever it does- it sounds better than when not activated.

     

    I do not understand what people mean when they say one is not getting lossless just because the mixer is not changing the sample rate automatically.  Yes, perhaps he music is not bit perfect, but the file is not missing information as lossy music (MP3, AAC etc.) is.  To me that it Lossless; non-bit perfect lossless, perhaps modified lossless, but lossless. All the information is there- and that is lossless.

     

     

    In my testing, even if the sample rate / bit depth are set perfectly, the output isn't bit perfect. There is DSP taking place somewhere. If it's not possible to play bit perfect audio, it isn't lossless. 

    Share this comment


    Link to comment
    Share on other sites

     

     

    2 minutes ago, The Computer Audiophile said:

    In my testing, even if the sample rate / bit depth are set perfectly, the output isn't bit perfect. There is DSP taking place somewhere. If it's not possible to play bit perfect audio, it isn't lossless. 

    I accept that that is your definition of lossless.  But my definition- perhaps not the accepted definition is that information has not been removed from the file as it is with MP3 and AAC.  Bit perfect is another issue.  I would like amazon to be bit perfect, and perhaps it is not; but no information has been removed from the file, rather it is modified by the mixer and not bit perfect.

     

    Look, anyone with apple music and amazon music who plays a AAC 256 file on apple and the same file on Amazon in FLAC- even without exclusive mode will hear that the FLAC is better- as it is not cutting any information.  Bit perfect would be anothe improvement, but just because amazon is not playing bit perfect does not mean that a FLAC (lossless) file has no advantage over a AAC or MP3 file.

     

    Please correct me if I am wrong....

    Share this comment


    Link to comment
    Share on other sites

    1 minute ago, Rsbrsvp said:

     

     

    I accept that that is your definition of lossless.  But my definition- perhaps not the accepted definition is that information has not been removed from the file as it is with MP3 and AAC.  Bit perfect is another issue.  I would like amazon to be bit perfect, and perhaps it is not; but no information has been removed from the file, rather it is modified by the mixer and not bit perfect.

     

    Look, anyone with apple music and amazon music who plays a AAC 256 file on apple and the same file on Amazon in FLAC- even without exclusive mode will hear that the FLAC is better- as it is not cutting any information.  Bit perfect would be anothe improvement, but just because amazon is not playing bit perfect does not mean that a FLAC (lossless) file has no advantage over a AAC or MP3 file.

     

    Please correct me if I am wrong....

     

    If we can't get bit perfect audio, how can you verify it's lossless?

    Share this comment


    Link to comment
    Share on other sites

    1 minute ago, The Computer Audiophile said:

     

    If we can't get bit perfect audio, how can you verify it's lossless?

    Excellent question that I have no idea how to answer.   However at least, based on this last comment it seems that you agree that in theory, lossless and bit perfect are not the same thing.  A file can be lossless, but modified by the mixer and therefore not bit perfect.  FLAC files are not supposed to have any information missing.  I assume amazon is not lying that their FLAC files are FLAC files.

    Share this comment


    Link to comment
    Share on other sites

    By the way, I want Amazon and apple to all be bit perfect.  I want them all to have true exclusive mode.  I want them all to share their API with Audrivana.

     

    I just don't believe that because amazon and apple are not bit perfect that their lossless music is still not better than lossy music.  My ears tell me it is better.

    Share this comment


    Link to comment
    Share on other sites

    7 minutes ago, Rsbrsvp said:

    Excellent question that I have no idea how to answer.   However at least, based on this last comment it seems that you agree that in theory, lossless and bit perfect are not the same thing.  A file can be lossless, but modified by the mixer and therefore not bit perfect.  FLAC files are not supposed to have any information missing.  I assume amazon is not lying that their FLAC files are FLAC files.

     

    Agree totally. Bit perfect and lossless are two different things. I say a service isn't lossless when it doesn't provide a way to stream it bit perfect. If there is DSP taking place somewhere, and I have no idea where that is, I can't guarantee it's lossless. 

     

    I will have an update to this with respect to Apple this week. 

     

     

    1 minute ago, Rsbrsvp said:

    By the way, I want Amazon and apple to all be bit perfect.  I want them all to have true exclusive mlde.  I want them all to share their API with Audrivana.

     

    I just don't believe that because amazon and apple are not bit perfect that their lossless music is still not better than lossy music.  My ears tell me it is better.

     

    I'm with you on this as well. In my experience, the non-bit perfect Amazon is better than the lossy MP3 Amazon. 

    Share this comment


    Link to comment
    Share on other sites

    Thanks.  I appreciate these clarifications because I want to participate in these forums using the proper definitions...

     

    As I said earlier, I guess that Spotify, apple, amazon lossless free market realities will force one or more of these services to get their bit perfect, exclusive mode acts together soon.  I hope within a year- but just guessing...

    Share this comment


    Link to comment
    Share on other sites

    By the way, my next prediction is that Tidal and Qobuz will be out of business within a few short years, especially if the big three do lossless correctly.

    Share this comment


    Link to comment
    Share on other sites

    17 minutes ago, Rsbrsvp said:

     

    Look, anyone with apple music and amazon music who plays a AAC 256 file on apple and the same file on Amazon in FLAC- even without exclusive mode will hear that the FLAC is better- as it is not cutting any information.  Bit perfect would be anothe improvement, but just because amazon is not playing bit perfect does not mean that a FLAC (lossless) file has no advantage over a AAC or MP3 file.

     

    Using the same logic, anyone with amazon music who plays a FLAC file on Amazon and the same file on Qobuz in FLAC bit perfect will hear that the Qobuz is better. So, something is lost somewhere.

     

    Amazon, Apple and MQA all use the marketing definition of lossless.

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