• 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!

The final truth about DSP Volume Control in Roon

Mulder

Addicted to Fun and Learning
Forum Donor
Joined
Sep 2, 2020
Messages
633
Likes
880
Location
Gothenburg, Sweden
I'm not a technician, and I have some difficulty understanding what's written in this thread. So, if you will, I have a question about something I do not understand as a pure amateur when it comes to these things. But as I understand it, a digital volume control in ROON (or any other program) only lowers the signal strength that leaves the computer or streamer and enters the DAC. The signal-to-noise ratio in the DAC is the same regardless? Or? So the noise floor mentioned in the white paper that started this thread, does it say anything at all about the signal noise ratio in the DAC? Or is the digital volume-control in a DAC just another software volume control, but just in another place than ROON or any other computer software? Or in other words: which is better - a software-based volume control, or a volume control in the DAC? Can that question be answered in the way that happens in the current wite-paper? Can anyone explain in a less technical way how this is connected?
 

JohnYang1997

Master Contributor
Technical Expert
Audio Company
Joined
Dec 28, 2018
Messages
7,175
Likes
18,297
Location
China
I'm not a technician, and I have some difficulty understanding what's written in this thread. So, if you will, I have a question about something I do not understand as a pure amateur when it comes to these things. But as I understand it, a digital volume control in ROON (or any other program) only lowers the signal strength that leaves the computer or streamer and enters the DAC. The signal-to-noise ratio in the DAC is the same regardless? Or? So the noise floor mentioned in the white paper that started this thread, does it say anything at all about the signal noise ratio in the DAC? Or is the digital volume-control in a DAC just another software volume control, but just in another place than ROON or any other computer software? Or in other words: which is better - a software-based volume control, or a volume control in the DAC? Can that question be answered in the way that happens in the current wite-paper? Can anyone explain in a less technical way how this is connected?
For best performance, get a better DAC with lower noise floor and higher SNR or get a high performing analogue preamp after the DAC.

If the context is limited to digital volume control, an ideal digital volume control needs to have 2 or more bits than the actual measured ENOB of the DAC output. Meaning, 24bit fixed point is good enough. It also means that any 24bit or higher bit dac's own volume control is also good enough.
Even though when you use digital volume control you always lose SNR when you attenuate. An attenuation of 6dB always leads to SNR-6dB.

TLDR, DAC's own volume control is the perfect digital volume control. Add low noise preamp to reserve SNR when attenuate.
 

bennetng

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

danadam

Addicted to Fun and Learning
Joined
Jan 20, 2017
Messages
976
Likes
1,519
Kind of a divergent topic, but what is your intuition on 25 bits for floating point? I believe that the IEEE spec is a 23 bit mantissa, 8 bit exponent, and 1 sign bit. That would simplistically give you 24 bits of precision when comparing to something like fixed point. I could possibly see how the lowest exponent bit could be considered an additional bit. Thoughts?
@mansr answer: https://sourceforge.net/p/sox/bugs/292/#3d10
The reported value can be understood as the number of bits a signed fixed-point format would require to represent the the range -1 to +1 with the same worst-case precision. For floating-point formats, the worst precision is at the ends of this range. Starting at +1.0 (0x3f800000), expressing the next smaller value (0x3f7fffff) as signed fixed-point does indeed require 25 bits.
Alternatively, consider the 24-bit signed integer representation. Its maximum value (0x7fffff) as a 32-bit float is 0x4afffffe. The adjacent float values differ by 0.5. It follows that the floating-point format has a precision equivalent to 25-bit signed integer.
 

Dennis_FL

Addicted to Fun and Learning
Forum Donor
Joined
Feb 21, 2020
Messages
531
Likes
421
So I can get Nirvana by Roon-->DAC-->Amp-->Speakers and hopefully not blow up the house fiddlin' with the DSP volume.

I can sell my AVR receiver. What to do with my sub and my Tchaikovsky 1812 recording?
 

tuckers

Member
Joined
Aug 26, 2019
Messages
6
Likes
3
@DrCWO,
Wow, thanks for using my original post on the Roon forum as a jumping off point :)

Part of the reason to make that post was to prompt discussion about Roon's volume control, as I didn't think they explained the function completely in their support and KB areas.

Since I use only digital attenuation in my system which needs to occur before my DAC, this was an important topic to me. I have the Holo May dac, which has no inbuilt volume attenuation. I also play a lot of DSD files and use parametric EQ for my 100db efficient open baffle speakers. Roon is the only reasonable solution I found that can apply EQ to DSD files without converting to PCM. Using the Headroom Management attenuation (up to -30db) in the EQ also allows me to have some pure DSD attenuation that send the data to the DAC for pure DSD playback. The May plays DSD directly in NOS mode.

The Roon volume control converts DSD to PCM. So I only use it when I need more than -30db. Which is quiet listening at night for me most of the time, and since its at such a low volume, I am less concerned about such things. Just my solution. With PCM files, I'm totally fine with Roons volume control.
 

tuckers

Member
Joined
Aug 26, 2019
Messages
6
Likes
3
How would it do that? You cannot do anything with DSD data without conversion to multibit.

From the Kitsune Website:
DSD IS NATIVELY SUPPORTED FOR THE FIRST TIME ON THIS R2R DISCRETE DAC
HOLO Audio is the world’s first to support DSD natively on R2R DAC, so far the only one. This is not the DSD converted to PCM before digital-analog converter, but directly by the discrete components of the DSD digital to analog converter. Supported currently on MAC (DOP)and Linux (DOP), and Windows/PC (Direct Native and DOP).

https://www.kitsunehifi.com/product/holo-audio-may-dac/
 

voodooless

Grand Contributor
Forum Donor
Joined
Jun 16, 2020
Messages
10,371
Likes
18,279
Location
Netherlands
The statement was about Roon, not a DAC.
 

m8o

Senior Member
Forum Donor
Joined
Jan 28, 2019
Messages
348
Likes
224
My conclusion is that there is nothing at all to worry about DSP volume in the Roon Bridge

Shouldn't it read "... in the Roon Core"? DSP volume is done in the Core, no? Or have I been mistaken all this time? (which is always a possibility)
 

tuckers

Member
Joined
Aug 26, 2019
Messages
6
Likes
3
Shouldn't it read "... in the Roon Core"? DSP volume is done in the Core, no? Or have I been mistaken all this time? (which is always a possibility)
On Roon Endpoints (perhaps not Chromecast or other methods) the volume control is done locally on the hardware, not the Core. However, it is Roon's DSP algorithm on the local device. I have confirmed this with support when I was having issues with DSP etc.
 
  • Like
Reactions: m8o

m8o

Senior Member
Forum Donor
Joined
Jan 28, 2019
Messages
348
Likes
224
On Roon Endpoints (perhaps not Chromecast or other methods) the volume control is done locally on the hardware, not the Core. However, it is Roon's DSP algorithm on the local device. I have confirmed this with support when I was having issues with DSP etc.
Thank you for taking the time to set me straight.
 

Zenek73

Member
Joined
Jan 16, 2022
Messages
40
Likes
21
Hello :)
To be honest I would feel more safe having physical knob than only tablet controlling volume...
The thred is really complex for me even if I thought I know sth more than usually abut audio ;)
Currently I have cheap active speakers with MF DAC - so I shoulde be worried about such image (green sign of audiophile death)? Only 16b as input data and not very high-end DAC 24/96 (and tbh I believe I dont need sth more bit-rich).

1668255186145.png
 
OP
DrCWO

DrCWO

Active Member
Audio Company
Forum Donor
Joined
Nov 14, 2020
Messages
260
Likes
366
Green is all OK and far from audiophile death :)
You always get it if DSP volume is in the signal chain. It only means that the output of Roon is no more bit perfect. You always loose bit perfect output if you apply any DSP. I think this is easy to understand.
The question is how many bits reach your ears? Best current DACs give 21Bits. Applying DSP volume of -12dB means you loose 2Bits out of 24! This is still less than you loose with the best DAC on this planet!
And think of your amplifier. If it is able to deliver 16Bit it will be good. Sure AHB2 from Benchmark delivers more but this is not your scenario.

So no worries about the green dot!
I live happily with it since a long time and I am very far away from audiophile death.

Edit:
If you look at MF MX-DAC review here you learn hat it delivers 17Bit. I don’t know which model you own. So you have seven Bit to loose until you will encounter audible degradation, this is a DSP volume of -42dB :)
 
Last edited:

Dennis_FL

Addicted to Fun and Learning
Forum Donor
Joined
Feb 21, 2020
Messages
531
Likes
421
Roon still reduces signal path from lossless to high quality when using volume control under 100%. I use a convolution filter and it also reduces signal path quality in addition to converting DSD to PCM. But as directly above, it sounds great !!!!

I try not not look at the color of the dot.
 
OP
DrCWO

DrCWO

Active Member
Audio Company
Forum Donor
Joined
Nov 14, 2020
Messages
260
Likes
366
Roon still reduces signal path from lossless to high quality when using volume control under 100%. I use a convolution filter and it also reduces signal path quality in addition to converting DSD to PCM. But as directly above, it sounds great !!!!

I try not not look at the color of the dot.
It is a display only ;)
An analog volume control also reduces volume in regard to noise and adds much more unwanted issues.
Please make sure you enabled the Clipping Indicator in the DSP Headroom settings if you use convolution. if it shows a red dot (instead of a green one) you should enter some negative value in Headroom Management to make sure you get no clipping.
Best DrCWO
 

Tafelberg

Member
Forum Donor
Joined
Oct 18, 2022
Messages
15
Likes
8
Related question: What happens if I'm using a dac connected to a PC or Mac, and I use the computer's volume control to turn down the volume, while playing a 16-bit file. Does Windows or Mac internally attenuate at 16-bit resolution, or are things upsampled by the OS?
Was this question ever answered? I have the same question... is there any loss of music 'quality' if you use the Windows volume controller to control the volume?
 
Top Bottom