• Welcome to ASR. 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!

DC filter effect on the null RMS metric

pkane

Master Contributor
Forum Donor
Joined
Aug 18, 2017
Messages
6,271
Likes
11,942
Location
North-East
Those familiar with DeltaWave and the Gearspace thread on null testing have likely seen mine (and others) comments that the null RMS metric can be skewed by filter phase differences caused by the DAC and/or the ADC in the loopback. What follows is an investigation into the effect that such a DC filter might have on the null measurement.

Since a hardware DC filter usually is just an HP filter with a corner frequency at or below 1Hz,
1743612251823.png

a simple software emulation of this circuit can be a minimum-phase high-pass filter.

Based on a recent conversation with @manisandher, I added the ability to apply such a filter in DeltaWave. The next step was to analyze the effect that this can have on various devices.

Here are a few recent loopback results posted on the Gearspace thread, processed with and without the DC filter correction using DeltaWave:

Device
RMS Null​
RMS Null (DC filter removed)​
HP frequency​
Improvement​
Audio Alchemy DDE v1.0 => Presonus Studio 192
-39.9dB​
-49.9dB​
1.10Hz​
-10.0dB​
Fostex VC8 (0dB)
-46.1dB​
-64.2dB​
0.75Hz​
-18.1dB​
Metric Halo LIO 3D
-58.1dB​
-84.9dB​
0.35Hz​
-26.8dB​
Metric Halo 2882 3D
-35.2dB​
-57.0dB​
1.60Hz​
-21.9dB​
Presonus Studio 192 int sync
-49.6dB​
-72.6dB​
0.58Hz​
-23.0dB​

Notice that the null RMS has improved, and in some cases, significantly (from -58dB to -85dB, for example).

There are also a number of cases where there was no, or very little improvement observed. This may indicate that there was no DC-blocking filter in the circuit, it was not minimum phase, or that possibly the loopback RMS value was dominated by something else.

Filter corner frequency in each case was picked by trial-and-error, so as to linearize the phase response as much as possible. Here's an example of what Fostex VC8 loopback phase looks like without filter correction:
1743614312611.png


And after minimum-phase HP filter correction:
1743614386664.png


Based on these results, it would appear that a DC filter (very commonly found in ADC devices) can have a significant impact on the null RMS metric.

I also tested these loopbacks by applying a linear-phase equivalent of the minim-phase filter. In all cases, a linear-phase HP filter had no, or very little effect on the null RMS value. From this I conclude that it's not the amplitude response of the DC-blocking filter that is causing the observed improvement, but primarily, the phase.
 
Those familiar with DeltaWave and the Gearspace thread on null testing have likely seen mine (and others) comments that the null RMS metric can be skewed by filter phase differences caused by the DAC and/or the ADC in the loopback. What follows is an investigation into the effect that such a DC filter might have on the null measurement.

Since a hardware DC filter usually is just an HP filter with a corner frequency at or below 1Hz,
View attachment 441334
a simple software emulation of this circuit can be a minimum-phase high-pass filter.

Based on a recent conversation with @manisandher, I added the ability to apply such a filter in DeltaWave. The next step was to analyze the effect that this can have on various devices.

Here are a few recent loopback results posted on the Gearspace thread, processed with and without the DC filter correction using DeltaWave:

Device
RMS Null​
RMS Null (DC filter removed)​
HP frequency​
Improvement​
Audio Alchemy DDE v1.0 => Presonus Studio 192
-39.9dB​
-49.9dB​
1.10Hz​
-10.0dB​
Fostex VC8 (0dB)
-46.1dB​
-64.2dB​
0.75Hz​
-18.1dB​
Metric Halo LIO 3D
-58.1dB​
-84.9dB​
0.35Hz​
-26.8dB​
Metric Halo 2882 3D
-35.2dB​
-57.0dB​
1.60Hz​
-21.9dB​
Presonus Studio 192 int sync
-49.6dB​
-72.6dB​
0.58Hz​
-23.0dB​

Notice that the null RMS has improved, and in some cases, significantly (from -58dB to -85dB, for example).

There are also a number of cases where there was no, or very little improvement observed. This may indicate that there was no DC-blocking filter in the circuit, it was not minimum phase, or that possibly the loopback RMS value was dominated by something else.

Filter corner frequency in each case was picked by trial-and-error, so as to linearize the phase response as much as possible. Here's an example of what Fostex VC8 loopback phase looks like without filter correction:
View attachment 441349

And after minimum-phase HP filter correction:
View attachment 441350

Based on these results, it would appear that a DC filter (very commonly found in ADC devices) can have a significant impact on the null RMS metric.

I also tested these loopbacks by applying a linear-phase equivalent of the minim-phase filter. In all cases, a linear-phase HP filter had no, or very little effect on the null RMS value. From this I conclude that it's not the amplitude response of the DC-blocking filter that is causing the observed improvement, but primarily, the phase.
Good work! An unexpected (or uncompensated) 90-degree phase shift from the capacitor could certainly mess up the null.
 
All of which means the issues on the anti-imaging filter on the high end, and the low end anti-aliasing filter both ruin nulls. I recall it being discussed before how the raw null results over at Gearspace in that long thread basically are useless for comparing ADC/DAC quality using raw nulls. I've thought the guy doing that should switch to your software and show some of your other metrics plus show the nulls with your software correcting for such issues. It would make the info far more interesting though take a bit of explanation to those who just want one number. You do have that other info listed on your web page.
 
All of which means the issues on the anti-imaging filter on the high end, and the low end anti-aliasing filter both ruin nulls. I recall it being discussed before how the raw null results over at Gearspace in that long thread basically are useless for comparing ADC/DAC quality using raw nulls. I've thought the guy doing that should switch to your software and show some of your other metrics plus show the nulls with your software correcting for such issues. It would make the info far more interesting though take a bit of explanation to those who just want one number. You do have that other info listed on your web page.

The encouraging thing is that PK Metric appears to be largely immune to the effect of the minimum-phase DC filter, unlike raw RMS null.

PK Metric produces a much more consistent result regardless of whether the DC filter is there or removed. For example:

Metric Halo LIO 3D -
DC filter in the path RMS null=-58.1dB, PKMetric=-82.4dBr
DC filter removed RMS null=-84.9dB, PKMetric=-82.7dBr
 
The encouraging thing is that PK Metric appears to be largely immune to the effect of the minimum-phase DC filter, unlike raw RMS null.

PK Metric produces a much more consistent result regardless of whether the DC filter is there or removed. For example:

Metric Halo LIO 3D -
DC filter in the path RMS null=-58.1dB, PKMetric=-82.4dBr
DC filter removed RMS null=-84.9dB, PKMetric=-82.7dBr
The PK metric is the best I've seen in relating null testing to what the null sounds like. It is the metric I pay attention to. When I speak of how the null sounds I'm referring to adding digital gain to the null and pushing it up to where you can hear it. Whether it is perfect or not it is much more useful than raw nulls or A-wtd nulls.
 
A nomogram I've made some time ago:
View attachment 441441
;-)

Because DeltaWave is now able to ‘undo’ the damage done to null value by a minimum phase DC filter, all previously measured interface null results can be so corrected regardless of filter corner frequency (assuming an MP filter was indeed part of the corruption). And it doesn’t require bypassing the filter on the PCB ;)
 
@pkane where can I download the version with this update? And where in the settings is it ? Can you share a screenshot pls
 
Because DeltaWave is now able to ‘undo’ the damage done to null value by a minimum phase DC filter, all previously measured interface null results can be so corrected regardless of filter corner frequency (assuming an MP filter was indeed part of the corruption). And it doesn’t require bypassing the filter on the PCB ;)
I am not sure they want them undone on that gearspace thread though. Some there claim the DC filter is audible. So then I guess this is also a convenient tool to create AB for testing that.
 
@pkane where can I download the version with this update? And where in the settings is it ? Can you share a screenshot pls
The initial version is on DeltaWave website. You have to apply the minimum phase HP filter to the reference waveform. I have a newer version that I'll publish in a few days that can compute and apply the inverse of the of that same filter to the comparison waveform. Either way, the result is the same, but I philosophically I prefer to keep the reference unchanged during processing.

Download:
https://deltaw.org/DeltaWaveSetup.zip

Here are the settings I use when applying DC filter to reference file (in the next version, the "Invert Phase" option will also be available that allows the same to be inverted and applied to comparison file):
1743677995996.png


1743678107953.png


These settings would apply a minim-phase HP filter with frequency of 0.58Hz. You'll need to determine the proper frequency for the specific loopback chain by adjusting it and looking at the phase plot. Again, the goal is to make it as close to a horizontal line below 20kHz as possible. As in below:

Without HP filter applied:
1743678455725.png


With HP filter applied:
1743678264547.png
 
The initial version is on DeltaWave website. You have to apply the minimum phase HP filter to the reference waveform. I have a newer version that I'll publish in a few days that can compute and apply the inverse of the of that same filter to the comparison waveform. Either way, the result is the same, but I philosophically I prefer to keep the reference unchanged during processing.

Download:
https://deltaw.org/DeltaWaveSetup.zip

Here are the settings I use when applying DC filter to reference file (in the next version, the "Invert Phase" option will also be available that allows the same to be inverted and applied to comparison file):
View attachment 441489

View attachment 441490

These settings would apply a minim-phase HP filter with frequency of 0.58Hz. You'll need to determine the proper frequency for the specific loopback chain by adjusting it and looking at the phase plot. Again, the goal is to make it as close to a horizontal line below 20kHz as possible. As in below:

Without HP filter applied:
View attachment 441493

With HP filter applied:
View attachment 441491
thanks will test now.

Even if we get a big improvement, in reality the DC filter is still there in the interface when we play music, no ?
 
thanks will test now.

Even if we get a big improvement, in reality the DC filter is still there in the interface when we play music, no ?

Of course. But I suspect you'll not hear the difference. You can always run an ABX or other blind test on the file with and without the DC filter to find out if it's audible.

The goal here was to figure out why some interfaces appear to have a much better null than others, even though they are just as transparent. It appears that a minimum-phase DC filter can play a significant role in the raw null RMS computation.
 
Of course. But I suspect you'll not hear the difference. You can always run an ABX or other blind test on the file with and without the DC filter to find out if it's audible.

The goal here was to figure out why some interfaces appear to have a much better null than others, even though they are just as transparent. It appears that a minimum-phase DC filter can play a significant role in the raw null RMS computation.
with the trial and error of finding best HP start freq - is there a way for you to run trials in DW, to find the best ? lol

very time consuming . im going through steps now for motu ultralite mk5

I dont mind leaving the software for 30mins as it runs through trials
 
with the trial and error of finding best HP start freq - is there a way for you to run trials in DW, to find the best ? lol

very time consuming . im going through steps now for motu ultralite mk5

I dont mind leaving the software for 30mins as it runs through trials
Not sure why it would take that long. Uncheck the "Correct clock drift" option, as that isn't needed with a self-contained interface, and that part can take a long time. Hide all other tabs, other than the few you need (say spectrum, delta waveform, and delta phase). With these options, it takes me about 30 seconds to run a test with a new filter frequency.
 
Not sure why it would take that long. Uncheck the "Correct clock drift" option, as that isn't needed with a self-contained interface, and that part can take a long time. Hide all other tabs, other than the few you need (say spectrum, delta waveform, and delta phase). With these options, it takes me about 30 seconds to run a test with a new filter frequency.
thx much faster now
 
Motu ultralite mk5, rear trs output to front mic inputs.

Without min phase HP filter:
1743654997142.png

With:
1743655019880.png
 
SSL2+ Mk2 sees better improvement

Without min phase HP filter:
1743655480487.png
1743655452265.png


With:
1743656415042.png
1743656432444.png
 

Attachments

  • 1743655355020.png
    1743655355020.png
    169.2 KB · Views: 21
  • 1743655381719.png
    1743655381719.png
    159 KB · Views: 25
Last edited:
@pkane these "DC coupled" interfaces will probably see biggest help?

Or other way around?
 
It looks like the DeltaWave HP filter is a sharp one. I don't know why, but it still seems to correct just as well as applying a 6dB filter for correcting, on the limited stuff where I have tried it by applying a 6dB filter with other software. But if the hardware filter is just first order RC I would think you would want to correct with a 6dB filter. Any thoughts on this? Maybe I am misunderstanding the DW filter.
 
It looks like the DeltaWave HP filter is a sharp one. I don't know why, but it still seems to correct just as well as applying a 6dB filter for correcting, on the limited stuff where I have tried it by applying a 6dB filter with other software. But if the hardware filter is just first order RC I would think you would want to correct with a 6dB filter. Any thoughts on this? Maybe I am misunderstanding the DW filter.
The point of the filter is to undo minimum phase across the spectrum, not actual DC blocking. The filter is constructed by first making a linear-phase/FIR filter, and then adjusting it for minimum phase.
 
Back
Top Bottom