6 ms·
>Montgomery talks about quantization noise. He doesn’t assume infinite precision. In [0], at time 23:50, he states that there is only one band limited signal t
by ChrisLomont 4y ago
>Montgomery talks about quantization noise. He doesn’t assume infinite precision.
In [0], at time 23:50, he states that there is only one band limited signal that passes through each sample point - this requires infinite precision for reasons I explained elsewhere. It's a theoretical idealization that makes math easier, just like frictionless physics, using the ideal gas law, approximating sin(x) by x for small x, and so on. It's nice, but it's not what happens in practice.
> DAC output is not stairstep. There’s an analog reconstruction filter that filters out the ultrasonic components, thereby getting back the original smooth waveform. You should read up on DAC design.
I wrote that the physical playback device, such as a speaker, adds ultrasonic noise due to simple physics. If this were not the case, there'd be very little need for such variety in speaker costs - they'd all just magically reproduce the perfect waveform. But they don't.
As to DACs, they most certainly do not work as you claim - and it's demonstrably impossible as I explained since sine is a transcendental function, and you lost information needed since you don't have infinite precision samples.
Let's pick a common DAC, say an Analog Devices AD5780, datasheet here [1]. Page 18 has the circuit diagram for - a resistor bank. That's a stairstep (minus some physical noise at the transitions). If you look over the previous pages (Vout is the out signal you want to look at), it clearly outputs a fixed, discrete voltage for a fixed input. Every common chip does this.
Care to point to a chip that guarantees "getting back the original smooth waveform"? I'd love to see the datasheet on such a device.
One can design or buy DACs for $500, $1000, and more, but these are not what most people use. And even these exist in such variety because, as you guessed it, they cannot reproduce perfectly original waveforms, otherwise there'd be no need for such cost or variety. They all make tradeoffs and assumptions to cater to specific needs. Sure, they are very good, but they don't reproduce "the original smooth waveform".
As to analog filters providing magic, they too are not what you think - they're making assumptions and deviate from perfection with tradeoffs. I'd guess Analog Devices engineers can say it better than I : "A reconstruction filter is used at the output of the DAC to attenuate image frequencies. However, a physical filter cannot be implemented with ideal stop band rejection extending out to infinite frequency. This is due to component parasitic effects as well as the physical limitations of printed circuit board layout" [2].
The perfect filter for the output is a sinc (yes, with a 'c'). Anything else simply is not the output you desire. But the problem with sinc is it has infinite support, so is not usable in practice. Filtering on a DAC is therefore a finite support approximation to the sinc filter, and introduces error. Read here [3] for more, or look at a textbook on it. [3] also explains quite clearly that in reality none of this ends up exact as you claim.
Your claims are idealizations that are not met in reality.
"You should read up on DAC design". Indeed.
So, have the spec sheet for this perfect reconstruction DAC you claim exists? I'd like to see one.
[0] https://www.youtube.com/watch?v=cIQ9IXSUzuM https://www.youtube.com/watch?v=cIQ9IXSUzuM
[1] https://www.analog.com/media/en/technical-documentation/data-sheets/ad5780.pdf https://www.analog.com/media/en/technical-documentation/data...
[2] https://www.analog.com/media/en/technical-documentation/application-notes/351016224an_837.pdf https://www.analog.com/media/en/technical-documentation/appl...
[3] https://en.wikipedia.org/wiki/Reconstruction_filter https://en.wikipedia.org/wiki/Reconstruction_filter
- aaaaaaaaaaab 4y ago1. Noone said that the anti-imaging filter was literally built into the DAC package. 2. The analog reconstruction filter doesn’t need ideal stopband rejection. An oversampling DAC [0] pushes the image frequencies far beyond the passband, so a gentle analog filter is sufficient to suppress it to the noise floor. 3. Noone said anything about mathematically perfect reproduction. Of course there is quantization noise. Of course there is clock jitter. And so on. But the cumulative effect of these is still way below the detectability threshold of the human ear. And the noise floor of a digital system is still way lower than what’s achievable with an analog one. [0] https://www.analog.com/media/en/training-seminars/tutorials/mt-017.pdf https://www.analog.com/media/en/training-seminars/tutorials/...
- pja 4y agoYeah, you can‘t just ignore the analogue circuitry that you’re expected to put in place around the bare DAC. It’s part of the design!
- ChrisLomont 4y agoYou: "Noone said anything about mathematically perfect reproduction." Also you: "thereby getting back the original smooth waveform". I don't think you're using the word "original" correctly. And now we agree - the reproduction is not perfect. That is exactly what I wrote to begin with. >Noone said that the anti-imaging filter was literally built into the DAC package. That's right - I did not write that, so don't imply I did. I demonstrated that the DAC chip does not do it, then demonstrated that any possible outside filter cannot do it. This is counter to your claim, but matches what I originally wrote. >And the noise floor of a digital system is still way lower than what’s achievable with an analog one. Not true - both can be run easily down to thermal background radiation noise floor, then both need things like liquid cooling and other techniques if you want to go below (physics experiments run into this stuff and have to push both digital and analog signal noise floors vastly below probably any audio systems). There is no inherent noise floor for either system.
- pja 4y ago> There is no inherent noise floor for either system. This is silly. Every system has a current noise floor based on whatever the thermodynamics of the system are. If you can push the artifacts of your output below that then they will be indistinguishable from the noise. That’s the point.