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

Public Member Functions | |
| iir_shelf (Coeff A0, Coeff A1, Coeff B, long rb=0) | |
| iir_shelf (float_type ca, float_type cb) | |
| Coeff | get_a0 () |
| Coeff | get_a1 () |
| Coeff | get_b () |
| Numeric | clock (Numeric input) |
| Input new sample and calculate output. | |
| void | set_round_bits (long x) |
| int | get_round_bits () |
| void | reset () |
| Reset. | |
Protected Attributes | |
| long | round_bits |
| Coeff | a0 |
| Coeff | a1 |
| Coeff | b |
| Numeric | out |
| Numeric | previous_out |
| Numeric | previous_in |
| quantiser< Numeric > | Q |
The filter is assumed of the form
which becomes
| SPUC::iir_shelf< Numeric, Coeff >::iir_shelf | ( | Coeff | A0, | |
| Coeff | A1, | |||
| Coeff | B, | |||
| long | rb = 0 | |||
| ) | [inline] |
| SPUC::iir_shelf< Numeric, Coeff >::iir_shelf | ( | float_type | ca, | |
| float_type | cb | |||
| ) | [inline] |
| Numeric SPUC::iir_shelf< Numeric, Coeff >::clock | ( | Numeric | input | ) | [inline] |
Input new sample and calculate output.
| Coeff SPUC::iir_shelf< Numeric, Coeff >::get_a0 | ( | ) | [inline] |
| Coeff SPUC::iir_shelf< Numeric, Coeff >::get_a1 | ( | ) | [inline] |
| Coeff SPUC::iir_shelf< Numeric, Coeff >::get_b | ( | ) | [inline] |
| int SPUC::iir_shelf< Numeric, Coeff >::get_round_bits | ( | ) | [inline] |
| void SPUC::iir_shelf< Numeric, Coeff >::reset | ( | void | ) | [inline] |
Reset.
| void SPUC::iir_shelf< Numeric, Coeff >::set_round_bits | ( | long | x | ) | [inline] |
Coeff SPUC::iir_shelf< Numeric, Coeff >::a0 [protected] |
Coeff SPUC::iir_shelf< Numeric, Coeff >::a1 [protected] |
Coeff SPUC::iir_shelf< Numeric, Coeff >::b [protected] |
Numeric SPUC::iir_shelf< Numeric, Coeff >::out [protected] |
Numeric SPUC::iir_shelf< Numeric, Coeff >::previous_in [protected] |
Numeric SPUC::iir_shelf< Numeric, Coeff >::previous_out [protected] |
quantiser<Numeric> SPUC::iir_shelf< Numeric, Coeff >::Q [protected] |
long SPUC::iir_shelf< Numeric, Coeff >::round_bits [protected] |
1.4.7