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

Reducing the output level from a DAC

systemshock

Member
Joined
Mar 30, 2019
Messages
19
Likes
26
Hello!

I am currently facing a challenge with my setup and would be grateful if I can get an advice on the issue. The post came out quite long. That's because I tried to describe the situation as accurately as possible. Coming from an engineering background (albeit a software one), I understand that there are no absolute solutions and unless the context of the situation is known, a question usually results in an "it depends" answer ;)

My question is about finding an effective way to lower the output level of my DAC, without sacrificing quality. I did a research on the subject and I think I have found a workable solution, but would be grateful if I can get an advice on whether I am on the right track here.

What I have is the Khadas Tone Board, connected to a JDS Atom amp. Connected to the Atom I have a pair of JBL 305 active monitors (connected to the pre-outs of the Atom) and Alessandro MS-Pro headphones. The MS-Pros are a modified version of the Grado RS-1 and are manufactured by Grado for Alessandro.

Like other Grado headphones, the MS-Pro is really easy to drive. In fact, so easy, that in order to be able to listen to them at all (without damaging my hearing), I usually have to bring down the volume all the way down. This is true on any device, e.g. on my phone, computer, etc.

In this particular case, this means that I have to bring down the volume of the Khadas board (on my PC) to just 20-30% or less and also to have the volume on the Atom at about 7-8 o'clock. It stays basically just a few millimeters above the point at which the device turns on. If I turn the dial even a little bit back, I go to that state of the amp, where the sound of the headphones gets distorted (e.g. you can hear something on the right, but almost nothing on the left).

Listening to the headphones with this setup is quite problematic. On one hand, the volume cannot be finely controlled at all. Even a slight rotation of the dial increases or decreases it way too much. One way to counter it is to set the volume on the computer to a very low value, e.g. 7%. This allows me to operate the Atom volume dial properly. However, at this level, it should be resulting in a significant loss of bit-depth. Whether this is objectively degrading the sound quality in a perceptible way or not, is another question. To me it seems so.

For reference, I had a similar issue with the JBL 305s before purchasing the atom, although not at that extreme level. I had to turn their sensitivity down (they have a switch, which lets me drop it from -10db to +4) and their amp at volume of 4/10, while keeping the software volume of the Khadas at 70% on the computer. Now with the Atom, this problem is solved and I can finally get the Khadas at 100% on the computer and I can also set the monitors, to, say 5/10.

Unless I am missing something here, it seems that to fix the situation, I have to somehow reduce the output from the Khadas Tone Board. I did some research on what can be done and came with three possible solutions:

1. One that was pretty obvious from the start was to look for a way to reduce the volume on the Khadas board itself. There is a thread on the Khadas forums about that. The good news is that controlling the volume in hardware is, in fact, possible. There is (although a very rudimentary) demo of how to do it and back in November they wrote "We will make an accessory for this hardware volume control, which will probably be completed next month." Unfortunately, as of the time of writing of this post, there is still no info on when/if such an accessory will be released. Also, the mod in question seems to be far from being applicable to general daily use. Also, it has not been stated how the volume level is being controlled. E.g. is it a "proper" hardware control, or is it similar to how the Windows volume control works and the bit-depth gets reduced.

2. To use In-Line Attenuators, like this one from Rothwell. However, from what I have found from different reviews, they tend to distort the sound and also they are not cheap. For quite a similar price I can go for the third option, which is:

3. To use a passive attenuating pre-amp. After doing a bit of research, I came down with two options, which seem to be able to solve the problem and both promise to be pretty nearly transparent (I understand that with a passive attenuator some distortion may be expected):

- JDS Labs Ol Switcher;
- JBL M-Patch 2.

So, to sum things up: Am I missing something in the big picture? Is there another, more simple solution, which never occurred to me? Also, if someone has experience with the Ol Switcher or the M-Patch 2, can you share your thoughts on the device?

Thanks in advance for any help provided!
 
Last edited:

RayDunzl

Grand Contributor
Central Scrutinizer
Joined
Mar 9, 2016
Messages
13,247
Likes
17,162
Location
Riverview FL
The essential difference between in-line attenuators and a passive (potentiometer based) volume pot is adjustability.

Both put the signal across a pair of resistances, and split the input voltage.

Part of the signal voltage is "lost" across R1, depending on the ratio of the resistance of the resistors.



1553994615905.png


1553994188772.png
1553994780595.png


Signal on pin 1, ground on 3, the output is 2, and moving the wiper splits the resistance, changing the ratio of the resistance of R1 vs R2.

I wouldn't pay too much attention to the "resistors distort the sound" crew.
 
Last edited:

Ron Texas

Master Contributor
Forum Donor
Joined
Jun 10, 2018
Messages
6,195
Likes
9,293
Turn down volume on the playback software?
 

gvl

Major Contributor
Joined
Mar 16, 2018
Messages
3,472
Likes
4,071
Location
SoCal
Turn down volume on the playback software?

+1. Good playback software will allow to a) control volume in the application using 32 bits or more b) control volume on the DAC using 32 bits (ESS volume control), both methods should not cause any truncation way down even with 24 bit material. For PCM at least. If you're listening to DSD then maybe in fact consider passive attenuators, they should not cause any "distortion" and most likely will be transparent. http://www.hlabs.com/products/attenuators/
 

Willem

Major Contributor
Joined
Jan 8, 2019
Messages
3,721
Likes
5,351
I had a similar issue with my desktop system. My source is a desktop PC into an ODAC usb DAC with a 2.1V output. For amplification I use a refurbished Quad 405-2 power amplifier with a 0.5 V input sensitivity. So I wanted two things: a convenient volume control and some attenuation. Both are provided by an Emotiva Control Freak. This is/was what is called a passive pre amp, but of course it is nothing more than a variable resistor. In the end I added some inline attenuators from Parts Express as well, to reduce the output to a level where I could no longer accidentally feed a dangerously loud signal into my amplifier and blow up my speakers (that almost happened). This also avoids using the Control Freak near maximum attenuation because such variable resistors tend to suffer from channel imbalance at low levels. Of course the latter could also have been achieved in software, but I decided that a hard wired solution was safer to avoid accidental high output. Sound quality of the set up is excellent, with Harbeth P3ESR speakers. In your case, the JDS Labs switcher looks like the most convenient solution, perhapos with added inline attenuators.
 

solderdude

Grand Contributor
Joined
Jul 21, 2018
Messages
16,004
Likes
36,220
Location
The Neitherlands
The essential difference between in-line attenuators and a passive (potentiometer based) volume pot is adjustability.

Both put the signal across a pair of resistances, and split the input voltage.

Part of the signal voltage is "lost" across R1, depending on the ratio of the resistance of the resistors.



View attachment 24324

View attachment 24323View attachment 24325

Signal on pin 1, ground on 3, the output is 2, and moving the wiper splits the resistance, changing the ratio of the resistance of R1 vs R2.

I wouldn't pay too much attention to the "resistors distort the sound" crew.

When pin 1 is the left pin on the potmeter shown above the volume control will be maximum on the CCW setting and minimum on the fully clockwise setting.
1 and 3 numbers in the schematic should be switched in this case.
For the potmeter: 3 is input, 2 = output and 1 is ground.
 

daftcombo

Major Contributor
Forum Donor
Joined
Feb 5, 2019
Messages
3,688
Likes
4,069
Listening to the headphones with this setup is quite problematic. On one hand, the volume cannot be finely controlled at all. Even a slight rotation of the dial increases or decreases it way too much. One way to counter it is to set the volume on the computer to a very low value, e.g. 7%. This allows me to operate the Atom volume dial properly. However, at this level, it should be resulting in a significant loss of bit-depth. Whether this is objectively degrading the sound quality in a perceptible way or not, is another question. To me it seems so.

Hi,
One thing is not clear: do you want to listen to music in a particular application, like Foobar2000 or JRiver? Or do you want to listen to all the sounds & music coming from the computer?
In the first case, you could probably just use the internal volume control (32bit or 64bit) of those applications.
 
OP
systemshock

systemshock

Member
Joined
Mar 30, 2019
Messages
19
Likes
26
Thank you for the replies!
Hi,
One thing is not clear: do you want to listen to music in a particular application, like Foobar2000 or JRiver? Or do you want to listen to all the sounds & music coming from the computer?
In the first case, you could probably just use the internal volume control (32bit or 64bit) of those applications.
I mainly use Foobar, but sometimes I also use other sources, like YouTube/Spotify.

It may be that I am overestimating the distortion caused from loss of bit-depth. I was under the impression that even if the DAC supports 24 or 32-bits, reducing the volume digitally (e.g. via Foobar or the Windows volume control) by a large amount (e.g. setting it to 15%), results in a significant compression of the dynamic range, which leads to worsened quality. When reducing it from both Foobar and the volume control, I will be applying such compression twice, using different algorithms. Unfortunately, I cannot measure the effects of that and cannot say for sure what the loss in quality is.
 

RayDunzl

Grand Contributor
Central Scrutinizer
Joined
Mar 9, 2016
Messages
13,247
Likes
17,162
Location
Riverview FL
It may be that I am overestimating the distortion caused from loss of bit-depth. I was under the impression that even if the DAC supports 24 or 32-bits, reducing the volume digitally (e.g. via Foobar or the Windows volume control) by a large amount (e.g. setting it to 15%), results in a significant compression of the dynamic range, which leads to worsened quality.

15% = -27.7dB on my Win10 and the on-board Realtek sound chip...

-27.7dB is between 4 and 5 bits.

24bit attenuation leaves you with 19 or 20 bits, 32bit attenuation leaves you with 27 or 28 bits.

Right click the slider to swap between % and dB

1554067664033.png
1554067702686.png
 
Last edited:

RayDunzl

Grand Contributor
Central Scrutinizer
Joined
Mar 9, 2016
Messages
13,247
Likes
17,162
Location
Riverview FL
When reducing it from both Foobar and the volume control, I will be applying such compression twice, using different algorithms.

The basic digital attenuation algorithm is to multiply every sample by the same suitable fraction.

-6dB = multiply every sample value by 0.5, for example.

For the attenuation in the prior post, -27.7dB, multiply each sample value by 0.04121

1554068122916.png


Various dither types may be injected, but other than that, I don't know what kind of fancy math might be involved.
 
OP
systemshock

systemshock

Member
Joined
Mar 30, 2019
Messages
19
Likes
26
15% = -27.7dB on my Win10 and the on-board Realtek sound chip...

-27.7dB is between 4 and 5 bits.

24bit attenuation leaves you with 19 or 20 bits, 32bit attenuation leaves you with 27 or 28.

Right click the slider to swap between % and dB

View attachment 24360 View attachment 24361
Wow, thanks a lot! This is a very useful feature. I think this pretty much answers my question.
 

RayDunzl

Grand Contributor
Central Scrutinizer
Joined
Mar 9, 2016
Messages
13,247
Likes
17,162
Location
Riverview FL
I wouldn't worry about it if you don't hear a problem.

1554069009357.png
 

HammerSandwich

Major Contributor
Forum Donor
Joined
Nov 22, 2018
Messages
1,137
Likes
1,498
The most likely reason to want analog attenuation is to reduce the source's noise. This happens when the combination of the source's output level + the amp's gain + headphone's/speaker's sensitivity is too high. IOW, don't worry if you're not hearing hiss.
 

Mister NumbNut

New Member
Joined
Oct 29, 2021
Messages
4
Likes
0
I've just received an SMSL M400 DAC - btw, thanks to Amir for the data rich reviews. I have similar issue to the OP ... who never reported back on which solution they adopted / its effectiveness. I'm happy with the M400 but think my old AV receiver (Yamaha RX-V450) mightn't like its 2v per channel unbalanced output (I estimate this from Amir review data). When DAC volume is max (80 somethings on the dial) at anything except on very low amp volume the upper treble (e.g., very high violin) has an unpleasant screeching quality (is it clipping? I don't know enough to tell), and turning amp volume up to a lively volume is not pleasant, and possibly not good for my speakers (Monitor Audio Silver 6 100). If I drop the DAC volume to 65-70 upper treble sounds fine, and I have some more room for amp volume adjustment up ... but, the overall sound is not as good. My questions - will a pair of -6db passive inline attenuators (Harrison Lab) drop the DAC input voltage to the amp to around 1v without sacrificing any bit depth? Should I go for -3db instead? More generally, are they likely to degrade SQ? I want the same lovely resolution I get at low amp volume - max DAC volume with the ability to listen to louder music. Thanks for any suggestions.
 

gvl

Major Contributor
Joined
Mar 16, 2018
Messages
3,472
Likes
4,071
Location
SoCal
I’m sceptical of the lower volume on the DAC negatively affecting the sound. If it sounds cleaner due to non overload then it’ll be the same with the passives.
 

AnalogSteph

Major Contributor
Joined
Nov 6, 2018
Messages
3,377
Likes
3,325
Location
.de
The BD3816K1 selector / volume IC in this receiver seems quite capable of handling input levels of about 4 Vrms - try STRAIGHT mode to see whether it's the DSP section that's messing things up by any chance. Amir got closest to 2 Vrms unbalanced at a volume setting of 77 on the M400, so I'd suggest using that. Your input clipping level would have to be well below 2 Vrms for issues to be this obvious, so I wouldn't want to rule out that one of the +/-7 V supplies locally generated specifically for the BD3816K1 may be out of spec, necessitating repair. (A comparison using Toslink input on the Yamaha may prove enlightening.)

With a DAC as high-performance as the M400, getting an analog attenuator only makes sense once you need well in excess of 10 dB.
 

Mister NumbNut

New Member
Joined
Oct 29, 2021
Messages
4
Likes
0
Thanks for such quick replies!

I’m sceptical of the lower volume on the DAC negatively affecting the sound. If it sounds cleaner due to non overload then it’ll be the same with the passives.
With a DAC as high-performance as the M400, getting an analog attenuator only makes sense once you need well in excess of 10 dB.

Perhaps well placed scepticism. My understanding of digital volume control pitfalls is muddy, to say the least, but after a bit more reading I'm guessing the M400 pads input to 32 bits(?) and therefore a fair bit of DAC volume reduction can occur to 16 bit CD quality input without reduction in analogue output quality? ... so, I think you both suggest a simple approach - just turning it down sufficient to 'clean up' the very high highs is the way to go.

@AnalogSteph thanks for the technical info / diagnostic advice re my old amp. I can't get a source (would be computer with optical out) close enough to the amp to try onboard Toslink. And yes, there could be something amiss in my amp - if I keep DAC output around 70 and don't use DAC SD Sharp filter everything sounds fantastic, and I can put up with constrained amp volume range. Use the SD Sharp filter and DAC mode and with any amp volume the high highs are noticeably ugly.

Me: "Doctor, it hurts when I do this." ... Dr: "Well, try not doing that ..."

BTW, get integration with your equipment sorted and this DAC sounds excellent!
 

gvl

Major Contributor
Joined
Mar 16, 2018
Messages
3,472
Likes
4,071
Location
SoCal
The main downside of reducing volume on the DAC to compensate for input sensitivity or too much amp gain is the lower resulting SnR. But, given a DAC such as the M400 is not noisy to begin with and the fact that amps are typically magnitudes “noisier” than DACs, you can safely go down as low as -30dB maybe more w/out much of a penalty.
 

antcollinet

Master Contributor
Forum Donor
Joined
Sep 4, 2021
Messages
7,622
Likes
12,802
Location
UK/Cheshire
I notice the amp has a gain switch on it. You do have it set to the low setting, don't you?

Alternatively if you are still considering an analogue volume control, rather than a pre-amp, you could also look at something like this:
 

Mister NumbNut

New Member
Joined
Oct 29, 2021
Messages
4
Likes
0
I notice the amp has a gain switch on it. You do have it set to the low setting, don't you?

Alternatively if you are still considering an analogue volume control, rather than a pre-amp, you could also look at something like this:

Thanks @gvl. The M400’s volume knob has a scale of 80 (… somethings) to 0 somethings, so not sure how to judge attenuation in dB? I found some specs for the DAC chip (if I got the right one … AK4499) that suggest volume range from 0dB to -127dB in .5dB steps. I speculated that means 1.6dB per step (127/80) for the M400, so 30dB reduction ~19 steps, so 61 on the dial? Anyway, you are right, at that gain the M400 output is still very nice indeed, with the amp volume up sufficiently, and there seems more volume adjustment available, and the annoying artifact is gone.

@tonycollinet, thanks for pointing this out … I’m not sure, are you referring to the impedance switch on the back? If so, which is the ‘low’ setting pls? I have it on the right hand switch position – speakers = 8 ohm or higher for single bank of fronts (my MA Silver 100s are 8 ohm) – is this the low setting? I'm not sure what effect this switch has on the amp ... does one of them throttle the power supply, and the other open it up?

Thanks for the Behringer tip, I can get one of these in Australia for $75, which seems a bargain compared to inline attenuators.
 
Top Bottom