That should be a relatively easy test to run since all you're looking for is the noise figure.
Got any specific examples of music in mind?
Wannamaker said:Using an argument derived from Wright [10, 11], we will now show that such 2RPDF dither is unique and optimal in the sense that it is the only zero-mean dither which renders the rst and second moments of the total error input independent, while minimizing the second moment. That is, when used in an NSD quantizing system, this dither incurs the least possible increase in the total error variance of any dither which eliminates input-dependent distortion and noise modulation.
It's my understanding that noise modulation is only a problem (in principle at least) with single-bit sigma-delta conversion and that multi-bit sigma-delta converters can in principle completely eliminate it. See this Lipshitz and Vanderkooy article.
I'm aware that Lipshitz and Vanderkooy claim that but the evidence put forth to support it I don't find totally convincing. That's because they point to a noise 'floor' in an FFT as unchanging and conclude from that alone that there's no noise modulation going on. Simply because the average noise is the same does not mean that the instantaneous noise is also constant.
The instantaneous value of noise is not deterministic, so it's not meaningful in terms of measurements or discussions about them.
Noise by necessity is described in terms of its statistical properties, so it's necessary to have a sequence of sampled values to determine those properties. The average value of noise is typically zero (zero mean). I believe you meant to say "RMS value of noise", rather than "average noise".
Yet we have a chaotic digital system which is entirely a deterministic one so perhaps the word 'noise' in its traditional sense (of random noise) doesn't apply. Its still an unwanted contribution nevertheless and discussions about it are germane because its a SQ issue.
No, I didn't mean to say 'RMS value of noise' rather I was pointing out that the averaged value over a time sequence long enough for an FFT to be performed (typically at least 64k points, over 1s with 44k1 sampling) is not particularly indicative of what's perceived aurally. Our ear/brain system is sensitive to much shorter durations of noise floor modulation, potentially in the region of tens of milliseconds. I'm happy to be corrected on this though.
Our ear/brain system is sensitive to much shorter durations of noise floor modulation, potentially in the region of tens of milliseconds. I'm happy to be corrected on this though.
It's not a deterministic system in the strict sense, because dither has been added. I'm assuming we're still talking about the Lipshitz article regarding A/D conversion - multi-bit vs. 1-bit.
When talking about the added dither, its average value is zero, but its RMS value is not. Average=DC. "Average value" of a signal is not meaningful when describing dither. RMS is.
Maybe that's true, maybe not. Where did this claim come from? What data is there to support it? If there is data, it might be interesting to find a way to test it.
No, you introduced that, I'm still talking about the original topic - my quibble with Monty about transparency of DACs. Do you know that the dither was introduced on a true random basis? I would suggest in simulation it normally is not (due to the relatively large inconvenience of providing hardware-based randomness), it would be the output of something like a pseudo-random bit sequence generator, entirely deterministic.
There's observation that I hear it, and observation is always primary in science. Data would be secondary to observation - how to turn my (and others') observations into data - any suggestions?
Incidentally if you're maintaining your assertion (based on the Lipshitz paper already cited) that in a multibit modulator, noise modulation can be entirely eliminated, what's your hypothesis to explain the data already cited here? That 14dB noise modulation in the DAC part of Monty's chip?
Yes, of course. Random number generators are deterministic and have a period that's non-infinite.
Knuth has studied this in detail. I'd suggest reading Knuth's works, and not just for deconstruction purposes, but for actual useful information - assuming of course that one's purpose is to do something useful.
Your claim gave the impression that someone had done controlled experiments.
But I see that no such experiments were done, so what you're talking about is a conclusion with no real basis in fact.
'random enough' is what gets the desired properties. Here's the entire random number generator most of our tools use to generate TPFD:So why the distraction from the point then? You originally were claiming that because noise was random what I was saying wasn't meaningful. But now you admit that the noise isn't random. Have you indeed learned something new here?
static unsigned int rngseed = 22222;
static inline unsigned int fast_rand() **
rngseed = (rngseed * 96314165) + 907633515;
return rngseed;
}
A test to extract the THD+N signal? That's straightforward depending on how picky you need to be, and how much control you have. If you can provide both the DAC and the ADC a common, high quality clock, and don't mind measurements being referenced to the ADC, this is indeed straightforward and I've written all the code before. Even if you can't, I expect we can still make it work, but I'd need to write code to track and compensate clock perterbations. I've not done that before, but I expect I can.Easy test? You mean I've been looking for a Holy Grail measurement and you've been drinking from the very cup for years? Care to elucidate more on this (for me very) elusive 'noise figure' ?
Incidentally if you're maintaining your assertion (based on the Lipshitz paper already cited) that in a multibit modulator, noise modulation can be entirely eliminated, what's your hypothesis to explain the data already cited here? That 14dB noise modulation in the DAC part of Monty's chip?
A test to extract the THD+N signal?
That is what I was suggesting, extracting the THD+N contribution of modulation. By my thinking, we'd need to compensate for FR, phase, delay and possibly aliasing near nyquist. We'd then have THD+N, and could watch for input-correlated changes over a sliding window... though I supect it's still mostly just going the see the harmonic distortion from nonlinearity appearing and disappearing below the overall noise floor.No, a test which extracts the noise generated by the modulator when the stimulus is music. Seems to me that we'd need a way of nulling out the original (music) signal leaving only the modulator's contributions.
If the ripples change, that indicates changes in phase and FR. Where phase is 0 degrees and FR=0dB, there's no change to the Gibbs ripples. Compensating both is straightforward so long as they're time invariant. And if they're not, we'd notice.Ripples in digital oversampling filters prior to the modulator will limit the depth of null attainable, as will any departure from linear phase - some systems have IIR filter sections preceding the modulator.
I was suggesting doing it digitally. It would be referenced to an ADC, but that doesn't seem like a showstopper.If you wanna do this as an analog-analog null test then there's a time delay built in in the digital system - how to compensate for this in the analog path?
the approximate change in the FFT noise floor, not the total broadband THD+N value.Where does your 4dB figure arise?
That is what I was suggesting, extracting the THD+N contribution of modulation. By my thinking, we'd need to compensate for FR, phase, delay and possibly aliasing near nyquist. We'd then have THD+N, and could watch for input-correlated changes over a sliding window... though I supect it's still mostly just going the see the harmonic distortion from nonlinearity appearing and disappearing below the overall noise floor.
If the ripples change, that indicates changes in phase and FR. Where phase is 0 degrees and FR=0dB, there's no change to the Gibbs ripples. Compensating both is straightforward so long as they're time invariant. And if they're not, we'd notice.
the approximate change in the FFT noise floor, not the total broadband THD+N value.
What I meant was that it will not distinguish between the two as formulated, so that's problematic.Cool, and I suspect it will show predominantly noise modulation as the dominant broadband error. Which is what experiments are for, to falsify (or not) hypotheses
Those figures were measuring steady state signals. I think you're barking up a weird tree, at least in this case.OK well this kinda provides validation for my hypothesis - estimating the noise modulation from the FFT sucks.
Yes.the noise modulation contribution of the ADC will be added in to the picture too then
if there's an effect to be separated, yes. Easy tests first.are we interested in separating out the two effects?
I don't think it will necessarily need to be as perfect an AAF as you think. Software is a powerful thing, and pre-render / analysis need not be done realtime.Or will you use an SAR type ADC to be sure of getting no ADC noise modulation? Plenty of decent parts available at ADI but they'll need a decent AAF.
the board software is changing curly brackets to asterisks... Syntax errors: not my fault!
{whatever}
{more special stuff}
The Code tags also retain blank spaces rather than close them up:
FOR X = 1 TO 10
PRINT X;
NEXT
You can force the forum software to leave what you type verbatim with the [code ] and [ /code ] tags
http://www.stereophile.com/content/contingent-dither-page-3Keith Howard article SP said:What I did for this was to generate five different noise signals—all with the same RMS amplitude but different PDFs—and add them to a piano recording ripped from the European Broadcasting Union's Sound Quality Assessment Material (SQAM) CD. In this track the inherent noise level is about –85dBFS, so the noise was added at an amplitude about 20dB greater in order to swamp it.
Varying the PDF of the added noise was achieved by summing together different numbers of random-number generators, from 2 to 5 (all this was done in software, and the processed files burned to CD-R for the listening comparison). As fig.6 shows, adding the output of two random-number generators results in noise with a triangular PDF; increasing the number of random-number generators further makes the noise more Gaussian in nature; ie, it has a PDF shaped more like the bell curve of the normal distribution. Gaussian noise is what we experience of analog processes, and might therefore be more natural to the ear than TPDF noise, whose PDF is like nothing we normally encounter in nature.