KSTR
Major Contributor
Corrent on all pointsIs my understanding correct?
Corrent on all pointsIs my understanding correct?
But that only works at the adc stage, or when downsampling. It is not (if I understand correctly) possible to shape the quantisation noise in an existing quantised signal by upsampling. It is already baked in.My understanding is that the primary benefit of oversampling is to improve the effective SNR with respect to quantization noise. Specifically, dithering is used to redistribute the quantization noise over a wider frequency spectrum extending well above the audible frequency range, and then the higher inaudible frequencies are filtered out. The audible difference primarily is detectable in quiet passages where the music signal is low, for example a decaying piano tone. See, e.g., https://science-of-sound.net/2016/01/quantization-noise-and-bit-depth/
AFAIK that's in AD process, not DA.My understanding is that the primary benefit of oversampling is to improve the effective SNR with respect to quantization noise. Specifically, dithering is used to redistribute the quantization noise over a wider frequency spectrum extending well above the audible frequency range, and then the higher inaudible frequencies are filtered out.
Interested to hear what you do you do about your mood, mental state, hearing, external noise etc which all probably have more impact than any of these other refinements…just sayin’want to keep every step in the chain working as perfectly as possible, so that at the end of the chain, all these "barely perceptible" and "questionable if perceptible" effects are minimized to the maximum degree, so that when summed their total is as close to imperceptible as possible.
But that only works at the adc stage, or when downsampling. It is not (if I understand correctly) possible to shape the quantisation noise in an existing quantised signal by upsampling. It is already baked in.
AFAIK that's in AD process, not DA.
That is talking about oversampling not upsampling. It is an adc process and must be done at the sampling time. Once the quantisation noise is all “in band” as it is when sampling at the nyquist frequency it cant be subsequently moved.That is contrary to my understanding. See, e.g., Figure 4.3 in the following paper and the associated description: https://www.analog.com/media/en/tra...handbooks/Technical-Tutorial-DDS/Section4.pdf
I respectfully disagree. See the following presentation titled "Digital Signal Processing Oversampled Ditgital to Analog Conversion with Noise Shaping": https://spinlab.wpi.edu/courses/ece503_2014/5-6oversampled_dac_shaped.pdfThat is talking about oversampling not upsampling. It is an adc process and must be done at the sampling time. Once the quantisation noise is all “in band” as it is when sampling at the nyquist frequency it cant be subsequently moved.
Because it is fun. I am enjoying it, and I suspect others are too.Why is this even still a discussion?
You are not required to read it. If you don't like it, just pass it by.Otherwise there's no need for this thread to continue.
Prior to getting involved with this thread, I knew oversampling was used, but had never investigated why. This thread spurred me to do more research. Between results of that research and some of the posts herein, I have learned a lot.For me, I am doing it seriously as I want to learn.
I do too, so long as it is kept civil and respectful.I love the beauty of on-line discussion.
That is shaping the noise from the downsampling from (eg) floating point to 16 bit after the dsp. Note it says just as we did diuring adc. The q noise from the original adc is still there. The only noise being shaped is the second quantisation noise from downsampling to 16 bit After the floating point dsp.I respectfully disagree. See the following presentation titled "Digital Signal Processing Oversampled Ditgital to Analog Conversion with Noise Shaping": https://spinlab.wpi.edu/courses/ece503_2014/5-6oversampled_dac_shaped.pdf
From p. 2 of that presentation: "To minimize the effects of quantization noise (and to make the reconstruction filter easier to realize) we can oversample and shape the quantization noise just as we did with analog to digital conversion."
Also, I edited the post with another reference titled "Oversampling Interpolating DACs": https://www.analog.com/media/en/training-seminars/tutorials/mt-017.pdf
From the p. 4 of that paper: "Sigma-delta DACs operate very similarly to sigma-delta ADCs, however in a sigma-delta DAC, the noise shaping function is accomplished with a digital modulator rather than an analog one." Also, take a look at the paper's summary.
Please point to which reference, and the passage of the reference, to which you are referring.That is shaping the noise from the downsampling from (eg) floating point to 16 bit after the dsp. Note it says just as we did diuring adc. The q noise from the original adc is still there. The only noise being shaped is the second quantisation noise from downsampling to 16 bit After the floating point dsp.
Also, see p. 2 of https://www.analog.com/media/en/training-seminars/tutorials/mt-017.pdf, which states:That is shaping the noise from the downsampling from (eg) floating point to 16 bit after the dsp. Note it says just as we did diuring adc. The q noise from the original adc is still there. The only noise being shaped is the second quantisation noise from downsampling to 16 bit After the floating point dsp.
your first link. First section:Please point to which reference, and the passage of the reference, to which you are referring.
Often the precision of the signal processing algorithm is higher than the precision of the DAC, e.g., floating point processing and a 16-bit DAC.
…
In these cases, we have to quantize the algorithm output before sending it to the DAC.
And to answer that section.Also, see p. 2 of https://www.analog.com/media/en/training-seminars/tutorials/mt-017.pdf, which states:
OVESAMPLING INTERPOLATING DACS
The basic concept of an oversampling/interpolating DAC is shown in Figure 2. The N-bit words of input data are received at a rate of fc. The digital interpolation filter is clocked at an oversampling frequency of Kfc, and inserts the extra data points. The effects on the output frequency spectrum are shown in Figure 2. In the Nyquist case (A), the requirements on the analog anti-imaging filter can be quite severe. By oversampling and interpolating, the requirements on the filter are greatly relaxed as shown in (B). Also, since the quantization noise is spread over a wider region with respect to the original signal bandwidth, an improvement in the signal-to-noise ratio is also achieved. By doubling the original sampling rate (K = 2), an improvement of 3 dB is obtained, and by making K = 4, an improvement of 6 dB is obtained... (emphasis added).
A modern DAC can oversample internally but we are not sure that it is applying the best algorithim in doing the oversampling.
With NOS mode, user can select the oversampling algorithm that they want.
Because it is fun. I am enjoying it, and I suspect others are too.
In addition, some of us are learning from these discussions.
You are not required to read it. If you don't like it, just pass it by.
Your understanding of the references is different than mine. Again, see p. 2 of https://www.analog.com/media/en/training-seminars/tutorials/mt-017.pdf.your first link. First section:
So for example - a signal has been digitised, sent to some DSP which then processes it in some high resolution format, but only has a 16 bit dac to deal with, so must be re-quantised to 16 bit before conversion to analogue.
Think about it. If the quantisation noise of the original digitisation were to be subsequently shaped, it would have to be possible to somehow separate it from the signal. This however is impossible.
In the original sampling the actual analogue value is (say) between ADC values 500 and 501. It is closer to 501, so 501 is chosen. The quantisation noise for this sample is the difference between the actual analogue value and 501.
Now though the data is 501. It is impossible for any future processing to know what that noise is - or even if there *is* any noise. - there is no way to tell if the actual analogue value was exactly 501 or if not, where in the range 500.5 to 501.49999 it was. The noise is now permanently in the signal and cannot be separated. The noise is indistinguishable from the signal.
Audio equipment is designed by engineers and made within the constraints set out by accountants. Perfect is the enemy of good enough !believe scientists want to find the best solution available instead of just a workable solution. Isn't it?