|
Digital Drive: Re: This Wasn't as Bad as Expected... by csown Upsamplers, DACs, jitter, shakes and analogue withdrawals, this is it. |
For Sale Ads |
66.92.131.183
In Reply to: This Wasn't as Bad as Expected... posted by Todd Krieger on August 25, 2003 at 21:31:58:
> I think what you mean by a "damping envelope" as the filter function itself. But the function does the *opposite* of damp. It **induces** "ringing." As stated before, to reduce modulation, which flattens HF response. And the "ringing" helps reject artifacts above half the sample rate frequency.It's a matter of definition here. You are restricting "damping" to time domain artifacts only. But it can be applied to any domain. For 1x sampling, this occurs in the frequency domain. In transmission electron microscopy, for example, there is a thing called the contrast transfer function. The chromatic aberration of the objective lens yields an attenuation of the contrast transfer out to high frequencies. This is a damping envelope also.
> If you took a 20-bit 8x oversampling DAC (very common in the late '90's), and removed the actual D/A portion of the DAC following the oversampling section, and just used the oversampled signal as the output, you would have created an 20/352 upsampler. And aside from synchronous conversion in this case, the filter process is basically the same. Or in other words, an upsampler is an oversampling DAC minus the D/A section.
This is not true. Upsampling is asynchronous oversampling, i.e., it is oversampling using non-integer multiples of the sampling frequency. This is what gives rise to all the effects Doug specifies in his paper; it doesn't have anything to do with the analog post-filter at all.
> I've heard from the late Julian Dunn, the upsample conversion can be "synchronous" by being 320x oversampled followed by 147x downconversion. I think in reality, there are *two* conversions, which is somewhat "lossy" compared to synchronous conversion.
How is this synchronous? Explain this in more detail. Upsampling is by definition asynchronous to f s .
> You cannot have a steeper rolloff than the "sinc"/"brickwall" filter function. The "sinc" function and the "brickwall" filter are one and the same. If you widened the FIR window, covering more of the "sinc" function, the "more-perfect" the brickwall filter's steep cutoff becomes.
The brickwall term describes the analog post-filter, not the behavior of the digital filter. It's called brickwall because it has to be steep enough to wipe out the first image starting at about 24KHz. It does not have to reflect the same slope of the image stop, in fact it can't. Remember, you supposedly can't hear above 20KHz, but the 44KHz-sampled audio can represent 22KHz signals. The response of CD thus goes up to 22KHz, then mirrors itself immediately above this band. The target stop band starts at 20KHz, but there is still information above. The brickwall filter thus tries to attenuate starting at 20KHz to near-nothing by 24KHz. That's why it's called brickwall, not because it looks like the stop band effect of the FIR filter.
If you use the FIR without the gradual post-filter, there is flat response to 22KHz, then nothing, then stuff starting at x* f s , where x=the oversampling coefficient. This is not brickwall behavior, this is just oversampling.
> You are getting carried away with "damping." In digital audio, there is *no* damping going on. It may *appear* damped relative to a "sinc" filter, but it is *not* damped in the classic sense.
> The ringing is not "reduced," but *induced* by the digital filter. The FIR function is what *injects* a ringing pattern into the signal. A "time-resolute" filter (Wadia), which has a more-gradual rolloff, injects less "ringing" than a classic "sinc" filter. As I said earlier, this induced "ringing" attains a flatter response by reducing HF modulation and to attain rejection of artifacts above half the sample frequency.You're still mixing up time domain effects with frequency domain effects - in other words, limiting your analysis only to how fourier coefficients comprise impulse response. Sinc rolloff is *not* the FIR impulse curve. The FIR impulse curve is described by a sinc function which arises due to the finite number of fourier components. Again, this is not the sinc rolloff.
"which means you are getting ringing at frequencies quite closer to the audible band than you would have gotten if you simply used standard FIR"
> The ringing frequency is half the base sample rate frequency. No way to get around that. Otherwise one would not get the proper "brickwall" response.Not true with an upsampler. Due to asynchronicity, the ringing frequencies are not half the sample rate. The fourier coefficients in the upsampler's reconstructed impulse are different from those in the FIR's reconstructed impulse.
> The non oversampling DAC just takes the *raw* CD data, and converts it directly to an analog signal. The image about half the sample frequency is attenuated solely by the analog post filter, as opposed to mostly by the digital oversampling filter. The analog post filter should have a steeper cutoff slope to reject most of that image.
See Werner's post below. "convert directly to analog signal" means impulses. This is NOT what happens in non-OS; the non-OS conversion uses ZOH.
"Incidentally, I think the crux of this issue is that your interpretation of time smear is that it is due to poor impulse response (i.e., pre-ringing). I believe it is also due to absolute phase error, but these two issues are inextricably linked with each other."
> The phase error is more of a function of the *symmetry* of the FIR coefficients than the amount of ringing that takes place. One FIR DAC could be a classic sinc with ringing, another FIR DAC could be a "time-resolute" function with almost no ringing, yet both have zero average phase error.This is obvious. My point was that you are associating time smear only with impulse response. Impulse response contains information about the phase error, but it doesn't explicitly tell you anything about real world musical transient response. You need to see the behavior of the phase response across the audible band to understand the effect on time smear (as per my definition of time smear above).
"To me, time smear is a much broader term which looks to be different from your perspective."
> "Time smear" is simply the ringing components of the DAC's time response.Defined by whom? Ringing components are supposedly inaudible. Like I said in the previous message, transients in real music are not anything like the impulse function (or the FIR-filtered approximation), they are spectrally complex. Group delay of specific, individual components (not the sum of all fourier components) contributes to the "time smear", not just supersonic ringing!
"Brickwall filter is an ambiguous term."
> No it is not. It is a sharp cutoff filter made expressly to reject the images above half the sample rate frequency.My point above (The brickwall term describes the analog post-filter..., etc.).
"The point of the post-filter ("brickwall" or not) is to roll off steeply enough to exclude high frequency images."
> The post-filter is almost *never* a "brickwall" filter. (Unless if it's also the main filter, like on the first Sony players.) Because the "brickwall" filter has already taken place in the oversampling DAC or upsampler.Which is the brickwall to you, the post-filter or the oversampler? You're inconsistent about this, and it completely brings into question your previous points about "brickwall" being in every DAC. Here, you say that brickwall filter takes place in the digital filter itself. Prior to this, you said that all DACs are using brickwall filters nowadays (except non-OS). Any way you think about it, there is a contradiction. And saying that an upsampler is a brickwall filter is patently wrong.
"A gradual rolloff filter with oversampling can be construed as a brickwall filter as well, because it rolls of quickly enough to exclude the first image."
> If it rolls off quickly enough to reject the first image, it is *not* a gradual filter. A "brickwall" filter is *not* a gradual filter. The near-perfect vertical slope is where the term "brickwall" comes from. Conversely, a gradual filter does *not* completely reject the first image.Yes it does! The gradual rolloff filter does reject the first image of the FIR filter.
"I think you're still missing what linearizing means. I believe you're thinking about something like a trapezoidal filter. It's not the same as interpolation, i.e., connecting the samples."
> All digital filters have interpolation. Once can create a "trapezoidal" response by altering the filter coefficients in the DAC's "kernel." But the DAC would *still* interpolate in the "trapezoidal" case.About interpolation, that is obvious and has nothing to do with how to obtain differential linearity with "frequency-dependent high-frequency image" dither, which you still aren't understanding. I know that you understand classic dither, which I termed noise floor dither in my previous post, same thing as "hiding the LSB in noise". Perhaps this is a better interpretation of differential linearization:
Noise floor is a DC phenomenon, and you put a random LSB signal on top of it to "linearize" the LSB error. Now extrapolate this to a high frequency tone, say a constant zero order hold at X volts. Now during each ZOH timeslice, the upsampler modulates this with a series of dither levels, made up of frequencies that are non-integer multiples of the sample output frequency. This is what I termed "plateau dither" previously.
But dither has no use whatsoever in the D/A process itself, unless one wants to merely raise the noise floor.
Yes it does have use in the D/A process, because it linearizes the noise floor. With an upsampler and also with 1x sampler, it also linearizes the D/A conversion.
It is impossible for the max phase error of a symmetric FIR filter to *exceed* 90 degrees (which is pi/2). With an analog filter, full pass band to full stop band shifts the phase angle -180 degrees. (This is what I meant by "subtractive.")
Additive and subtractive are the same thing. With a symmetric FIR filter, the phase at the stop band is -Pi/2. A super-steep high-order analog post-filter will add a phase shift of up to -Pi. You have already gone non-linear (unstable) with this system way before the stop band. I'm sure lots of mid-80's CDP's sounded terrible because of this. Not to mention the phase shift in the ultrasonics, which can intermodulate into the audible band *out of phase*.
Best,-Chris
This post is made possible by the generous support of people like you and our sponsors:
Topic - upsampling article - solidgore 08:08:38 08/22/03 ( 47)
- Re: upsampling article - Werner 05:31:36 08/27/03 ( 0)
Erroneous Stuff... - Todd Krieger 14:23:36 08/22/03 ( 44)
- Re: Erroneous Stuff... - csown 21:44:29 08/22/03 ( 43)
- Re: Erroneous Stuff... - Todd Krieger 23:39:51 08/22/03 ( 42)
- Re: Erroneous Stuff... - csown 10:56:04 08/23/03 ( 40)
- Re: Erroneous Stuff... - Todd Krieger 21:24:51 08/23/03 ( 39)
- Re: Erroneous Stuff... - csown 23:37:53 08/23/03 ( 38)
- Re: Erroneous Stuff... - Todd Krieger 15:37:44 08/24/03 ( 34)
- Re: Erroneous Stuff... - csown 16:17:17 08/25/03 ( 33)
- This Wasn't as Bad as Expected... - Todd Krieger 21:31:58 08/25/03 ( 31)
- Re: This Wasn't as Bad as Expected... - csown 08/26/03 21:03:54 08/26/03 ( 26)
- A DAC's "Brickwall Filter" is *Not* the Analog Post Filter... - Todd Krieger 01:04:25 08/27/03 ( 14)
- PMD-100 was one with selectable dither - Wavy Davy 07:29:59 08/27/03 ( 8)
- Re: PMD-100 was one with selectable dither - Todd Krieger 09:18:47 08/27/03 ( 7)
- You can lead a horse to water ..... - Wavy Davy 19:54:26 08/27/03 ( 6)
- But Can't Make Him Drink.... - Todd Krieger 22:10:25 08/27/03 ( 5)
- Re: But Can't Make Him Drink.... - Werner 22:19:27 08/27/03 ( 4)
- High Resolution Signal versus Upsampled Signal - Todd Krieger 22:52:10 08/27/03 ( 3)
- Re: High Resolution Signal versus Upsampled Signal - Werner 23:02:15 08/27/03 ( 2)
- Think About It... - Todd Krieger 00:57:23 08/28/03 ( 1)
- Re: Think About It... - Werner 01:38:26 08/28/03 ( 0)
- Re: A DAC's "Brickwall Filter" is *Not* the Analog Post Filter... - Werner 03:58:47 08/27/03 ( 4)
- Domain Dementia... - Todd Krieger 09:10:29 08/27/03 ( 3)
- Re: Domain Dementia... - csown 10:36:24 08/27/03 ( 2)
- Re: Domain Dementia... - Todd Krieger 12:37:14 08/27/03 ( 1)
- sigh ... - Werner 22:43:03 08/27/03 ( 0)
- Re: This Wasn't as Bad as Expected... - Werner 22:27:06 08/26/03 ( 10)
- Defining upsampling. - csown 08:33:56 08/27/03 ( 9)
- Re: Defining upsampling. - Werner 22:52:31 08/27/03 ( 0)
- Re: Defining upsampling. - Ted Smith 16:07:46 08/27/03 ( 7)
- Re: Defining upsampling. - rfbrw 06:59:09 08/28/03 ( 6)
- Re: Defining upsampling. - Werner 08:20:46 08/28/03 ( 5)
- Re: Defining upsampling. - rfbrw 19:44:47 08/28/03 ( 3)
- Re: Defining upsampling. - Werner 22:36:48 08/28/03 ( 2)
- Re: Defining upsampling. - rfbrw 15:04:47 08/29/03 ( 1)
- Re: Defining upsampling. - Werner 22:34:07 09/2/03 ( 0)
- Re: Defining upsampling. - Todd Krieger 11:31:43 08/28/03 ( 0)
- Re: This Wasn't as Bad as Expected... - Werner 23:34:54 08/25/03 ( 3)
- ZOH... - csown 16:50:11 08/26/03 ( 2)
- Re: ZOH... - Werner 22:32:08 08/26/03 ( 1)
- Re: ZOH... - csown 07:43:04 08/27/03 ( 0)
- I'm Not Ignoring You... - Todd Krieger 18:33:48 08/25/03 ( 0)
Upsampling sample provided by philips 963sa - gialitt 02:25:34 08/24/03 ( 2)
- Re: Upsampling sample provided by philips 963sa - Todd Krieger 21:59:55 08/25/03 ( 1)
- Re: Upsampling Products - gialitt 08:53:05 08/26/03 ( 0)
Followed by confused stuff (nt) - rfbrw 07:22:40 08/23/03 ( 0)
Good article in general... - csown 13:23:21 08/22/03 ( 0)