• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Help my understanding of Digital Volume levels

McFly

Addicted to Fun and Learning
Joined
Mar 12, 2019
Messages
905
Likes
1,877
Location
NZ
Hello Friends,

So I'm currently using an RME ADI2 DAC, which will probably be with my until I die or RME release a new model. What I can't get my head around is the digital input seems to 'clip' when using any iOS device or iMac. That is, when the RME display is set to show "Pre-FX", the signal is (on most songs) exceeding 0.0 and displaying an 'OVR' level.

So I mainly use Spotify for music at the desk, but it also (rarely) happens coming from web browsers playing radio streams and YouTube videos. I get the same overload condition playing Spotify from my iPad to the RME DAC. To test this I plugged a CD player into the unit and not once ever did a CD pass the 0.0 input level, albeit I only tried a few with varying genres.

Now my understanding was that digital volume level output from a computer, if set to max in the application and the O.S. (iMac reports no OS volume control when ADI2 DAC is connected i.e. is passing full signal), would never pass a theoretical "ceiling" and thus show 0.0 on the RME DAC input meters no matter what. My temporary solution is to lower the applications volume control, but my understanding here is that I am now losing 'bit-perfect' (yes I know it's only Spotify/internet streams but that's a topic for another debate).

To sum up;
-Some songs/internet streams behave and never exceed 0.0 when iMac -> USB -> DAC.
-Most songs/radio streams don't behave, and drive into overload when iMac -> USB -> DAC
-CD player never overloads/exceeds 0.0. CD Player -> Coax S/PDIF -> DAC
-The RME does not audibly distort even in OVR condition, is this because there is internal "Digital Headroom"? (The reason I say this is when I tried iMac Spotify to a miniDSP SHD Studio at 100% Spotify volume, I got HORRIBLE distortion, and this was with no EQ or Dirac enabled in the miniDSP)
-I tried, and have had the same result (digital clipping) from a Raspberry Pi running RopieeeXL Spotify -> miniDSP SHD studio. Have not yet tried into RME DAC.
-I am aware of intersample peaks when upsampling, but Spotify is 44.1khz and the DAC is showing 44.1khz so there should be no upsamping. Is the Mac re-sampling if thats such a thing?

Any help much appreciate.
 
Last edited:

suttondesign

Addicted to Fun and Learning
Forum Donor
Joined
Feb 4, 2019
Messages
735
Likes
1,312
Location
Bellingham, WA
my 2011 backup imac at my home office has a bad sound card and cannot pass a clean digital signal from any software or the core. my mac minis (4) pass pristine digital to various dacs, including rme, topping, and matrix.
 
OP
McFly

McFly

Addicted to Fun and Learning
Joined
Mar 12, 2019
Messages
905
Likes
1,877
Location
NZ
Upon doing more tinkering, I have been unable to get the input to overload by inserting the miniDSP SHD studio between the iMac and DAC. So Spotify iMac - USB - miniDSP studio shd (at full pass through 0.0, no EQ) - coax S/PDIF - RME ADI2 DAC. Does this mean there is a problem with the Mac sound driver, or is the miniDSP seeing the digital overload and truncating it? I can't be certain of the latter, as the 'Studio resamples all incoming digital to 96khz and outputs at 96khz. The RME' confirms this.
 

Blumlein 88

Grand Contributor
Forum Donor
Joined
Feb 23, 2016
Messages
20,747
Likes
37,568
Do you have a way of recording the digital stream being played? That is what you really need to find out where the issue is coming from.
 
OP
McFly

McFly

Addicted to Fun and Learning
Joined
Mar 12, 2019
Messages
905
Likes
1,877
Location
NZ
Can the RME DAC do that? Ill look into that
 

bennetng

Major Contributor
Joined
Nov 15, 2017
Messages
1,634
Likes
1,693

Joachim Herbert

Senior Member
Forum Donor
Joined
Jan 20, 2019
Messages
469
Likes
685
Location
Munich, Germany
1.) Any processing active on the ADI-2 DAC?
2.) Perform a factory reset, just to be sure: Press Encoder 1 and encoder 2 and the VOL key, then turn on the unit.
3.) Which Input: USB or sp/dif? If the latter, try USB.
 

Blumlein 88

Grand Contributor
Forum Donor
Joined
Feb 23, 2016
Messages
20,747
Likes
37,568
It can record the S/PDIF coax.
Ah, so it does. I just looked over the manual, and you can record the optical or coax inputs as you play them.

Also, if the OP hasn't done so, the Digicheck software from RME can be downloaded, and it should help with finding the true level of streams.
 

Blumlein 88

Grand Contributor
Forum Donor
Joined
Feb 23, 2016
Messages
20,747
Likes
37,568
So you could record the SPDIF stream from the Mini DSP by running it into the RME. Then you can take that recorded stream and run it from your computer thru the RME and see if it then overloads. Possibly there is a better way, but that occurs to me right off hand.
 

q3cpma

Major Contributor
Joined
May 22, 2019
Messages
3,060
Likes
4,418
Location
France
Hello Friends,
-I am aware of intersample peaks when upsampling, but Spotify is 44.1khz and the DAC is showing 44.1khz so there should be no upsamping. Is the Mac re-sampling if thats such a thing?
It's not only during upsampling, but also during DA conversion, at least if talking about analog clipping. Which is why true peak exists for replaygain.
 
OP
McFly

McFly

Addicted to Fun and Learning
Joined
Mar 12, 2019
Messages
905
Likes
1,877
Location
NZ
Can you rip a CD and play with some application on the Mac ?

Excellent, cant believe I didn't think of it. So I blew the dust off a USB CD drive and plugged into the iMac. Playing the same song that on Spotify would cause the DAC to overload, does not overload when played from the CD through the 'Music (formally iTunes?)' app to the DAC. Stays at -0.1 input level.

Get this. Spotify can play local files too. So ripped that CD to .WAV, loaded into spotify, played it and ... max level -0.1 input AKA not overloading.
Navigate to the stream of the exact same song (not a remaster, not an edit) and what do we get .. Overload. For those that are interested the album I am using is DAMN by Kendrick Lamar, but there are plenty more examples I can give. My music tastes are not up for discussion.

This leads me to believe the spotify stream is forced to be louder/clip for some reason. And when I was putting the miniDSP in the chain, it was truncating the clipping so the output to the DAC was corrected i.e. lowered to not overload the DAC input.


Now to get a Tidal Subscription.. and maybe cancel the spotify supscription after all these years. Shame on you Spotify. Could be jumping the gun here...
 
OP
McFly

McFly

Addicted to Fun and Learning
Joined
Mar 12, 2019
Messages
905
Likes
1,877
Location
NZ
Another silly question - Is there software that can capture and record the digital stream before it leaves the USB outlet on the iMac, or does this all have to be done by hardware external to the iMac? I'm assuming the latter due to my limited knowledge of the way the usb bridge works on the motherboard. For now I will box on with recording the SPDIF coax out of the miniDSP and try to understand what I find.
 

maverickronin

Major Contributor
Forum Donor
Joined
Jul 19, 2018
Messages
2,527
Likes
3,310
Location
Midwest, USA
Another silly question - Is there software that can capture and record the digital stream before it leaves the USB outlet on the iMac, or does this all have to be done by hardware external to the iMac? I'm assuming the latter due to my limited knowledge of the way the usb bridge works on the motherboard. For now I will box on with recording the SPDIF coax out of the miniDSP and try to understand what I find.

Software like that does exist. If you were on Windows I'd recommend Virtual Audio Cable. A quick google found similar seeming things for Mac, but I've got idea which ones are any good.

A Mac user might be able to give you a specific recommendation.
 
OP
McFly

McFly

Addicted to Fun and Learning
Joined
Mar 12, 2019
Messages
905
Likes
1,877
Location
NZ
Ah, so it does. I just looked over the manual, and you can record the optical or coax inputs as you play them.

Also, if the OP hasn't done so, the Digicheck software from RME can be downloaded, and it should help with finding the true level of streams.

I'm working on getting a windows laptop to check, Digicheck looks like it could be very useful, but no Catalina support :rolleyes:

EDIT: I get none of the spotify overload issues on a windows machine. I now suspect this is something to do with the iMac/iOS and RME relationship... as my iMac and iPad overload the RME's digital input. Might even be a Catalina thing.. but can I be bothered installing Mojave..
 
Last edited:
Top Bottom