#include <iir_hpf.h>
Collaboration diagram for SPUC::iir_hpf< Numeric, Coeff >:

Public Member Functions | |
| iir_hpf (Coeff A=0, long b=0) | |
| void | set_coeff (Coeff A) |
| Coeff | get_a0 () |
| Coeff | get_b0 () |
| void | print () |
| Print out coefficients. | |
| Numeric | clock (Numeric input) |
| Input new sample and calculate output. | |
| void | reset () |
| Reset. | |
Protected Attributes | |
| Coeff | gain |
| Coeff | a |
| Numeric | out |
| Numeric | previous_out |
| Numeric | previous_in |
| quantiser< Numeric > | Q |
The filter is the first order high pass digital filter generated by the bilinear transform of a first order analog filter.
where A is real
| SPUC::iir_hpf< Numeric, Coeff >::iir_hpf | ( | Coeff | A = 0, |
|
| long | b = 0 | |||
| ) | [inline] |
| Numeric SPUC::iir_hpf< Numeric, Coeff >::clock | ( | Numeric | input | ) | [inline] |
Input new sample and calculate output.
| Coeff SPUC::iir_hpf< Numeric, Coeff >::get_a0 | ( | ) | [inline] |
| Coeff SPUC::iir_hpf< Numeric, Coeff >::get_b0 | ( | ) | [inline] |
| void SPUC::iir_hpf< Numeric, Coeff >::print | ( | void | ) | [inline] |
Print out coefficients.
| void SPUC::iir_hpf< Numeric, Coeff >::reset | ( | void | ) | [inline] |
Reset.
| void SPUC::iir_hpf< Numeric, Coeff >::set_coeff | ( | Coeff | A | ) | [inline] |
Coeff SPUC::iir_hpf< Numeric, Coeff >::a [protected] |
Coeff SPUC::iir_hpf< Numeric, Coeff >::gain [protected] |
Numeric SPUC::iir_hpf< Numeric, Coeff >::out [protected] |
Numeric SPUC::iir_hpf< Numeric, Coeff >::previous_in [protected] |
Numeric SPUC::iir_hpf< Numeric, Coeff >::previous_out [protected] |
quantiser<Numeric> SPUC::iir_hpf< Numeric, Coeff >::Q [protected] |
1.4.7