摘要 |
A digital high-pass filter derived from a digital low-pass filter of conventional design. The digital low-pass filter periodically calculates respective low-pass filter output values. Corresponding high-pass filter output values are then calculated by subtracting the low-pass filter output values from input samples provided by digitizing an input signal. The high-pass filter output values are then used to generate samples which are applied to a digital-to-analog converter for outputting a high-pass filtered replica of the input signal. The digital high-pass filter compensates for sudden, relatively large changes in the input signal by comparing the low-pass filter output value to the input sample and, in the event that there is a large discrepancy therebetween, setting the low-pass filter output value to the input sample before calculating the high-pass filter output value.
|