DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

DC Blocker

Started by b2508 ●October 22, 2015
On 10/23/15 1:40 PM, gretzteam wrote:
>> On Thu, 22 Oct 2015 17:51:27 -0400, robert bristow-johnson wrote: >> >>> On 10/22/15 3:15 PM, b2508 wrote: >>>> Ok, thank you, signal is much better when I increase signal frequency >>>> or decrease bandwidth. >>>> >>>> Does anyone know how to implement this in FPGA when data arrives at >>>> every clock cycle? >>>> >>>> >>> i imagine there is someone who knows how to do that and exchanges such >>> knowledge for payment of some form. (i'm not one of them.) >> >> >> I gave the answer away for free in comp.arch.fpga :)
complete with Verilog or VHDL or whatever they program FPGAs with these days?
>> >> The trick is to use shift (which is free in an FPGA) and subtract >
for a pole that is 1 - 2^(-N) ?
>> (which is really quick in an FPGA) instead of using a multiplier >> (which incurs at least one clock of delay). >> > > I think you can shave off a storage element by some block diagram > manipulation if useful. Something like this: > > > |highpassoutput > | > | > +-------+----high precision zone --------+ > input | ,-. | +--+ ,-. | > -------+-( - --'--+*k+-------- + .......| | > | `+' +--+ `+' | | > | | | | | > | | +--------+ | +-+-+ | > | |..|..|.trunc..|....|......| z | | > | | +--------+ +---+ | > +------+---------------------------------+ > | > |lowpassoutput
i remember when this DSP trick i posted at dspguru was made better by Tim Wescott. mathematically, it came out the same as mine, but did it with fewer instructions in C or in 56K asm. maybe 1 fewer instruction. i think that was the simplest algorithm that kills the DC using error-feedback noise shaping. is that what we have above here? -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
>On 10/23/15 1:40 PM, gretzteam wrote: >>> On Thu, 22 Oct 2015 17:51:27 -0400, robert bristow-johnson wrote: >>> >>>> On 10/22/15 3:15 PM, b2508 wrote: >>>>> Ok, thank you, signal is much better when I increase signal
frequency
>>>>> or decrease bandwidth. >>>>> >>>>> Does anyone know how to implement this in FPGA when data arrives at >>>>> every clock cycle? >>>>> >>>>> >>>> i imagine there is someone who knows how to do that and exchanges
such
>>>> knowledge for payment of some form. (i'm not one of them.) >>> >>> >>> I gave the answer away for free in comp.arch.fpga :) > >complete with Verilog or VHDL or whatever they program FPGAs with these >days? > >>> >>> The trick is to use shift (which is free in an FPGA) and subtract >> > >for a pole that is 1 - 2^(-N) ? > > >>> (which is really quick in an FPGA) instead of using a multiplier >>> (which incurs at least one clock of delay). >>> >> >> I think you can shave off a storage element by some block diagram >> manipulation if useful. Something like this: >> >> >> |highpassoutput >> | >> | >> +-------+----high precision zone --------+ >> input | ,-. | +--+ ,-. | >> -------+-( - --'--+*k+-------- + .......| | >> | `+' +--+ `+' | | >> | | | | | >> | | +--------+ | +-+-+ | >> | |..|..|.trunc..|....|......| z | | >> | | +--------+ +---+ | >> +------+---------------------------------+ >> | >> |lowpassoutput > >i remember when this DSP trick i posted at dspguru was made better by >Tim Wescott. mathematically, it came out the same as mine, but did it >with fewer instructions in C or in 56K asm. maybe 1 fewer instruction. > i think that was the simplest algorithm that kills the DC using >error-feedback noise shaping. is that what we have above here? > > >-- > >r b-j rbj@audioimagination.com > >"Imagination is more important than knowledge."
I'm not sure what post is being referred to, but I believe this is the same transfer function as a 1st order IIR, just redrawn to save hardware using block diagram manipulation... --------------------------------------- Posted through http://www.DSPRelated.com
gretzteam <34989@DSPRelated> wrote:

>>On 10/23/15 1:40 PM, gretzteam wrote:
>>> |highpassoutput >>> | >>> | >>> +-------+----high precision zone --------+ >>> input | ,-. | +--+ ,-. | >>> -------+-( - --'--+*k+-------- + .......| | >>> | `+' +--+ `+' | | >>> | | | | | >>> | | +--------+ | +-+-+ | >>> | |..|..|.trunc..|....|......| z | | >>> | | +--------+ +---+ | >>> +------+---------------------------------+ >>> | >>> |lowpassoutput
>I'm not sure what post is being referred to, but I believe this is the >same transfer function as a 1st order IIR, just redrawn to save hardware >using block diagram manipulation...
There must be (at least one of) truncation, rounding, saturation or overflow associated with the adder in front of the block labeled Z that is not shown in this diagram. (Perhaps implicit in the target implementation.) Steve
>gretzteam <34989@DSPRelated> wrote: > >>>On 10/23/15 1:40 PM, gretzteam wrote: > >>>> |highpassoutput >>>> | >>>> | >>>> +-------+----high precision zone --------+ >>>> input | ,-. | +--+ ,-. | >>>> -------+-( - --'--+*k+-------- + .......| | >>>> | `+' +--+ `+' | | >>>> | | | | | >>>> | | +--------+ | +-+-+ | >>>> | |..|..|.trunc..|....|......| z | | >>>> | | +--------+ +---+ | >>>> +------+---------------------------------+ >>>> | >>>> |lowpassoutput > > >>I'm not sure what post is being referred to, but I believe this is the >>same transfer function as a 1st order IIR, just redrawn to save
hardware
>>using block diagram manipulation... > >There must be (at least one of) truncation, rounding, saturation >or overflow associated with the adder in front of the block labeled >Z that is not shown in this diagram. > >(Perhaps implicit in the target implementation.) > >Steve
I was thinking more like everything inside the 'high precision zone' box runs off the wordlength, dictated by the shift 'k'. So I guess there is technically a truncation after the shift. I'd also add 1 MSB onto the high precision zone to avoid overflow, and clip whichever output is desired back to the initial range (removing DC shouldn't increase the number range, except from some weird startup condition)... --------------------------------------- Posted through http://www.DSPRelated.com
In article <562a12a9$0$11111$c3e8da3@news.astraweb.com>,
Allan Herriman  <allanherriman@hotmail.com> wrote:
>On Thu, 22 Oct 2015 17:51:27 -0400, robert bristow-johnson wrote: > >> On 10/22/15 3:15 PM, b2508 wrote: >>> Ok, thank you, signal is much better when I increase signal frequency >>> or decrease bandwidth. >>> >>> Does anyone know how to implement this in FPGA when data arrives at >>> every clock cycle? >>> >>> >> i imagine there is someone who knows how to do that and exchanges such >> knowledge for payment of some form. (i'm not one of them.) > > >I gave the answer away for free in comp.arch.fpga :) > >The trick is to use shift (which is free in an FPGA) and subtract (which >is really quick in an FPGA) instead of using a multiplier (which incurs >at least one clock of delay).
Allan, Picking nits, and I also mentioned this over on comp.arch.fpga, but multipliers in modern FPGA's do NOT neccesarily need to consume at least one clock cycle of delay. The latest Xilinx DSP48 can do a Preadd, Multiply, and Accumulate with ALL the pipeline registers bypassed, and still hit performances in the 200 MHz range. These aren't you father's programmable logic cells... (And again, I'm not advocating this is neccesarily the way I'd solve the OP's problem). Regards, Mark
> >I was thinking more like everything inside the 'high precision zone' box >runs off the wordlength, dictated by the shift 'k'. So I guess there is >technically a truncation after the shift. > >I'd also add 1 MSB onto the high precision zone to avoid overflow, and >clip whichever output is desired back to the initial range (removing DC >shouldn't increase the number range, except from some weird startup >condition)... > >
Meant to say: "'...everything inside the 'high precision zone' box runs off the SAME EXTENDED wordlength, dictated by the shift 'k'." --------------------------------------- Posted through http://www.DSPRelated.com
On 10/23/15 2:04 PM, robert bristow-johnson wrote:
> On 10/23/15 1:40 PM, gretzteam wrote: >>> On Thu, 22 Oct 2015 17:51:27 -0400, robert bristow-johnson wrote: >>> >>>> On 10/22/15 3:15 PM, b2508 wrote: >>>>> Ok, thank you, signal is much better when I increase signal frequency >>>>> or decrease bandwidth. >>>>> >>>>> Does anyone know how to implement this in FPGA when data arrives at >>>>> every clock cycle? >>>>> >>>>> >>>> i imagine there is someone who knows how to do that and exchanges such >>>> knowledge for payment of some form. (i'm not one of them.) >>> >>> >>> I gave the answer away for free in comp.arch.fpga :) > > complete with Verilog or VHDL or whatever they program FPGAs with these > days? > >>> >>> The trick is to use shift (which is free in an FPGA) and subtract >> > > for a pole that is 1 - 2^(-N) ? > > >>> (which is really quick in an FPGA) instead of using a multiplier >>> (which incurs at least one clock of delay). >>> >> >> I think you can shave off a storage element by some block diagram >> manipulation if useful. Something like this: >> >> >> >> |highpassoutput >> | >> | >> +-------+----high precision zone --------+ >> input | ,-. | +--+ ,-. | >> -------+-( - --'--+*k+-------- + .......| | >> | `+' +--+ `+' | | >> | | | | | >> | | +--------+ | +-+-+ | >> | |..|..|.trunc..|....|......| z | | >> | | +--------+ +---+ | >> +------+---------------------------------+ >> | >> |lowpassoutput > > i remember when this DSP trick i posted at dspguru was made better by > Tim Wescott. mathematically, it came out the same as mine, but did it > with fewer instructions in C or in 56K asm. maybe 1 fewer instruction. > i think that was the simplest algorithm that kills the DC using > error-feedback noise shaping. is that what we have above here?
i think it's not. despite how lousy Google Groups has become (it was beautiful right after they took over from Deja News, but everything in computers devolves in time), i was able to find the original post of Tim's DC blocker: https://groups.google.com/forum/?hl=en#!original/comp.dsp/OyUj74kMJWU/ojctmNuR3HwJ at least it's my reference to it. it can be described concisely, in two statements, as: y[n] = x[n] - (2^(1-N)) * w[n] w[n+1] = w[n] + ( (2^(N-1))*(1-p) ) * y[n] where y[n] is the DC-blocked output, x[n] is the input and both are N-bit signed integers. w[n] is an intermediate state and is a 2N-bit signed integer. note that the only truncation (and it should always be toward -inf, which is easy in hardware) is done with the (2^(1-N))*w[n] operation. p is the pole of the 1st-order HPF and is 0 < 1-p << 1 perhaps 1-p can be set to 2^(-M) where M is around N, which would make this algorithm multiplier free. maybe even M=N-1 which would totally eliminate the (2^(N-1))*(1-p) scaler (making it 1). i dunno. maybe that's a little radical. this is the simplest, cheapest, bestest DC blocking algorithm i have ever seen, and i thought that i did a nice one. but Tim's is better. i imagine anyone who knows how to code up an FPGA would have no trouble coding this up. -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
On Sat, 24 Oct 2015 00:00:31 -0400, robert bristow-johnson wrote:

> On 10/23/15 2:04 PM, robert bristow-johnson wrote: >> On 10/23/15 1:40 PM, gretzteam wrote: >>>> On Thu, 22 Oct 2015 17:51:27 -0400, robert bristow-johnson wrote: >>>> >>>>> On 10/22/15 3:15 PM, b2508 wrote: >>>>>> Ok, thank you, signal is much better when I increase signal >>>>>> frequency or decrease bandwidth. >>>>>> >>>>>> Does anyone know how to implement this in FPGA when data arrives at >>>>>> every clock cycle? >>>>>> >>>>>> >>>>> i imagine there is someone who knows how to do that and exchanges >>>>> such knowledge for payment of some form. (i'm not one of them.) >>>> >>>> >>>> I gave the answer away for free in comp.arch.fpga :) >> >> complete with Verilog or VHDL or whatever they program FPGAs with these >> days? >> >> >>>> The trick is to use shift (which is free in an FPGA) and subtract >>> >>> >> for a pole that is 1 - 2^(-N) ? >> >> >>>> (which is really quick in an FPGA) instead of using a multiplier >>>> (which incurs at least one clock of delay). >>>> >>>> >>> I think you can shave off a storage element by some block diagram >>> manipulation if useful. Something like this: >>> >>> >>> >>> |highpassoutput | >>> | >>> +-------+----high precision zone --------+ >>> input | ,-. | +--+ ,-. | >>> -------+-( - --'--+*k+-------- + .......| | >>> | `+' +--+ `+' | | >>> | | | | | >>> | | +--------+ | +-+-+ | >>> | |..|..|.trunc..|....|......| z | | >>> | | +--------+ +---+ | >>> +------+---------------------------------+ >>> | |lowpassoutput >> >> i remember when this DSP trick i posted at dspguru was made better by >> Tim Wescott. mathematically, it came out the same as mine, but did it >> with fewer instructions in C or in 56K asm. maybe 1 fewer instruction. >> i think that was the simplest algorithm that kills the DC using >> error-feedback noise shaping. is that what we have above here? > > i think it's not. > > despite how lousy Google Groups has become (it was beautiful right after > they took over from Deja News, but everything in computers devolves in > time), i was able to find the original post of Tim's DC blocker: > > > https://groups.google.com/forum/?hl=en#!original/comp.dsp/OyUj74kMJWU/
ojctmNuR3HwJ
> > > at least it's my reference to it. > > it can be described concisely, in two statements, as: > > > y[n] = x[n] - (2^(1-N)) * w[n] > > w[n+1] = w[n] + ( (2^(N-1))*(1-p) ) * y[n] > > > where y[n] is the DC-blocked output, x[n] is the input and both are > N-bit signed integers. > > w[n] is an intermediate state and is a 2N-bit signed integer. note that > the only truncation (and it should always be toward -inf, which is easy > in hardware) is done with the (2^(1-N))*w[n] operation. > > p is the pole of the 1st-order HPF and is > > 0 < 1-p << 1 > > perhaps 1-p can be set to 2^(-M) where M is around N, which would make > this algorithm multiplier free. maybe even M=N-1 which would totally > eliminate the (2^(N-1))*(1-p) scaler (making it 1). i dunno. maybe > that's a little radical. > > this is the simplest, cheapest, bestest DC blocking algorithm i have > ever seen, and i thought that i did a nice one. but Tim's is better. > > i imagine anyone who knows how to code up an FPGA would have no trouble > coding this up.
I think that's what I've been telling the OP to do. You express it differently than I do (or at least than I am currently). Your description may be better than what I use, though. I can't really take credit for that -- I just kind of stumbled on it, and kept using it because it seems to work nice and be easy to code. -- www.wescottdesign.com
>On 10/23/15 2:04 PM, robert bristow-johnson wrote: >> On 10/23/15 1:40 PM, gretzteam wrote: >>>> On Thu, 22 Oct 2015 17:51:27 -0400, robert bristow-johnson wrote: >>>> >>>>> On 10/22/15 3:15 PM, b2508 wrote: >>>>>> Ok, thank you, signal is much better when I increase signal
frequency
>>>>>> or decrease bandwidth. >>>>>> >>>>>> Does anyone know how to implement this in FPGA when data arrives
at
>>>>>> every clock cycle? >>>>>> >>>>>> >>>>> i imagine there is someone who knows how to do that and exchanges
such
>>>>> knowledge for payment of some form. (i'm not one of them.) >>>> >>>> >>>> I gave the answer away for free in comp.arch.fpga :) >> >> complete with Verilog or VHDL or whatever they program FPGAs with
these
>> days? >> >>>> >>>> The trick is to use shift (which is free in an FPGA) and subtract >>> >> >> for a pole that is 1 - 2^(-N) ? >> >> >>>> (which is really quick in an FPGA) instead of using a multiplier >>>> (which incurs at least one clock of delay). >>>> >>> >>> I think you can shave off a storage element by some block diagram >>> manipulation if useful. Something like this: >>> >>> >>> >>> |highpassoutput >>> | >>> | >>> +-------+----high precision zone --------+ >>> input | ,-. | +--+ ,-. | >>> -------+-( - --'--+*k+-------- + .......| | >>> | `+' +--+ `+' | | >>> | | | | | >>> | | +--------+ | +-+-+ | >>> | |..|..|.trunc..|....|......| z | | >>> | | +--------+ +---+ | >>> +------+---------------------------------+ >>> | >>> |lowpassoutput >> >> i remember when this DSP trick i posted at dspguru was made better by >> Tim Wescott. mathematically, it came out the same as mine, but did it >> with fewer instructions in C or in 56K asm. maybe 1 fewer
instruction.
>> i think that was the simplest algorithm that kills the DC using >> error-feedback noise shaping. is that what we have above here? > >i think it's not. > >despite how lousy Google Groups has become (it was beautiful right after
>they took over from Deja News, but everything in computers devolves in >time), i was able to find the original post of Tim's DC blocker: > > >https://groups.google.com/forum/?hl=en#!original/comp.dsp/OyUj74kMJWU/ojctmNuR3HwJ > > > >at least it's my reference to it. > >it can be described concisely, in two statements, as: > > > y[n] = x[n] - (2^(1-N)) * w[n] > > w[n+1] = w[n] + ( (2^(N-1))*(1-p) ) * y[n] > > >where y[n] is the DC-blocked output, x[n] is the input and both are >N-bit signed integers. > >w[n] is an intermediate state and is a 2N-bit signed integer. note that
>the only truncation (and it should always be toward -inf, which is easy >in hardware) is done with the (2^(1-N))*w[n] operation. > >p is the pole of the 1st-order HPF and is > > 0 < 1-p << 1 > >perhaps 1-p can be set to 2^(-M) where M is around N, which would make >this algorithm multiplier free. maybe even M=N-1 which would totally >eliminate the (2^(N-1))*(1-p) scaler (making it 1). i dunno. maybe >that's a little radical. > >this is the simplest, cheapest, bestest DC blocking algorithm i have >ever seen, and i thought that i did a nice one. but Tim's is better. > >i imagine anyone who knows how to code up an FPGA would have no trouble >coding this up. > >-- > >r b-j rbj@audioimagination.com > >"Imagination is more important than knowledge."
Seems to me like the same thing as the block diagram I posted, but with better terminology... x[n] is the input y[n] is my 'highpass output' w[n] is the output of 'z' -> which stands for [zm1] :) w[n+1] is the input to 'z', ie the next state value. The 2^(1-N) and 2^(N-1) are what I mean by 'high precision zone' - you left pad the input by however many bits you are about to shift. There are many ways to describe this behavior, but at the end of the day, make sure you at least keep the bits required by the shift value, and a few more to avoid untraceable behavior like limit cycles that were mentioned in a previous post. I can't remember anymore but I think this works out to be identical to the noise shaping technique described in the article. For a first order loop, feeding back the 'quantization' error introduced at the ouptut works out to be the same as keeping more bits - but I'd have to go back and check. --------------------------------------- Posted through http://www.DSPRelated.com
>> On 10/23/15 2:04 PM, robert bristow-johnson wrote: >>> On 10/23/15 1:40 PM, gretzteam wrote: >>>>> On Thu, 22 Oct 2015 17:51:27 -0400, robert bristow-johnson wrote: >>>>> >>>>>> On 10/22/15 3:15 PM, b2508 wrote: >>>>>>> Ok, thank you, signal is much better when I increase signal frequency >>>>>>> or decrease bandwidth. >>>>>>> >>>>>>> Does anyone know how to implement this in FPGA when data arrives at >>>>>>> every clock cycle? >>>>>>> >>>>>>> >>>>>> i imagine there is someone who knows how to do that and exchanges such >>>>>> knowledge for payment of some form. (i'm not one of them.) >>>>> >>>>> >>>>> I gave the answer away for free in comp.arch.fpga :) >>> >>> complete with Verilog or VHDL or whatever they program FPGAs with these >>> days? >>> >>>>> >>>>> The trick is to use shift (which is free in an FPGA) and subtract >>>> >>> >>> for a pole that is 1 - 2^(-N) ? >>> >>> >>>>> (which is really quick in an FPGA) instead of using a multiplier >>>>> (which incurs at least one clock of delay). >>>>> >>>> >>>> I think you can shave off a storage element by some block diagram >>>> manipulation if useful. Something like this: >>>> >>>> >>>> >>>> |highpassoutput >>>> | >>>> | >>>> +-------+----high precision zone --------+ >>>> input | ,-. | +--+ ,-. | >>>> -------+-( - --'--+*k+-------- + .......| | >>>> | `+' +--+ `+' | | >>>> | | | | | >>>> | | +--------+ | +-+-+ | >>>> | |..|..|.trunc..|....|......| z | | >>>> | | +--------+ +---+ | >>>> +------+---------------------------------+ >>>> | >>>> |lowpassoutput >>> >>> i remember when this DSP trick i posted at dspguru was made better by >>> Tim Wescott. mathematically, it came out the same as mine, but did it >>> with fewer instructions in C or in 56K asm. maybe 1 fewer instruction. >>> i think that was the simplest algorithm that kills the DC using >>> error-feedback noise shaping. is that what we have above here? >> >> i think it's not.
and i thought wrong.
>> >> despite how lousy Google Groups has become (it was beautiful right after >> they took over from Deja News, but everything in computers devolves in >> time), i was able to find the original post of Tim's DC blocker: >> >> >> https://groups.google.com/forum/?hl=en#!original/comp.dsp/OyUj74kMJWU/ojctmNuR3HwJ >> >> >> >> at least it's my reference to it. >>
On 10/24/15 2:55 AM, Tim Wescott wrote:
> > I can't really take credit for that -- I just kind of stumbled on it, and > kept using it because it seems to work nice and be easy to code.
well, i am sorta taking credit for the idea posted at http://www.dspguru.com/dsp/tricks/fixed-point-dc-blocking-filter-with-noise-shaping but the simplification of d[n] = 2^(N-1)*x[n] - 2^(N-1)*x[n-1] y[n] = y[n] - 2^(1-N)*( 2^(N-1)*(1-p)*y[n-1] + d[n] ) to
>> >> >> y[n] = x[n] - (2^(1-N)) * w[n] >> >> w[n+1] = w[n] + ( (2^(N-1))*(1-p) ) * y[n] >>
is your idea, Tim. at least it was your post a decade ago that i first saw it.
>> >> where y[n] is the DC-blocked output, x[n] is the input and both are >> N-bit signed integers. >> >> w[n] is an intermediate state and is a 2N-bit signed integer. note that >> the only truncation (and it should always be toward -inf, which is easy >> in hardware) is done with the (2^(1-N))*w[n] operation. >> >> p is the pole of the 1st-order HPF and is >> >> 0 < 1-p << 1 >> >> perhaps 1-p can be set to 2^(-M) where M is around N, which would make >> this algorithm multiplier free. maybe even M=N-1 which would totally >> eliminate the (2^(N-1))*(1-p) scaler (making it 1). i dunno. maybe >> that's a little radical. >> >> this is the simplest, cheapest, bestest DC blocking algorithm i have >> ever seen, and i thought that i did a nice one. but Tim's is better. >> >> i imagine anyone who knows how to code up an FPGA would have no trouble >> coding this up. >>
On 10/24/15 10:20 AM, gretzteam wrote:
> > Seems to me like the same thing as the block diagram I posted,
i think you're right. i need to do with ASCII art what i tell others to do when i post ASCII math: "view with mono-spaced font".
> but with better terminology... > > x[n] is the input > y[n] is my 'highpass output' > w[n] is the output of 'z' -> which stands for [zm1] :) > w[n+1] is the input to 'z', ie the next state value. > > The 2^(1-N) and 2^(N-1) are what I mean by 'high precision zone' -
then i think you need to redraw the zone boundary only over the right-hand side. your "*k" (which is 1-p, me thinks) gets a 2^(N-1) gain factor teamed up with it and your "trunc" gets a 2^(1-N) gain factor teamed up with it. (they way i was expressing it is that everythings are integers, which is how i would code it in C and, if i spoke FPGA, is how i would code it in FPGA.)
> you left pad the input by however many bits you are about to shift. There > are many ways to describe this behavior, but at the end of the day, make > sure you at least keep the bits required by the shift value, and a few > more to avoid untraceable behavior like limit cycles that were mentioned > in a previous post.
well, no matter what, this technique kills the limit cycle that happens when the output decays to around the rounding point. the truncation-error-to-output transfer function has a zero at z=1. no DC is getting out.
> > I can't remember anymore but I think this works out to be identical to the > noise shaping technique described in the article.
it does. i remember Tim's came out to the same as mine and Randy and Rick's article was, i believe, derived from my dspguru trick (at least the IIR version, they had an FIR DC-blocker, too, i believe).
> For a first order loop, > feeding back the 'quantization' error introduced at the output works out > to be the same as keeping more bits - but I'd have to go back and check.
depends on how you feed it back. -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."