#include <allpass_1.h>
Public Member Functions | |
| allpass_1 (Coeff Gain=0, long s=1, long b=0) | |
| Constructor with gain and delay. | |
| Coeff | get_coefficient (void) |
| void | reset () |
| Reset. | |
| void | init (Coeff Gain, long s) |
| Initializes gain and delay. | |
| Numeric | clock (Numeric input) |
| Shift inputs by one time sample and place new sample into array. | |
Protected Types | |
| typedef mixed_type< Numeric, Coeff >::dtype | sum_type |
Protected Attributes | |
| long | size |
| number of unit sample delays | |
| long | round_bits |
| float_type | gain |
| delay< Numeric > | mult |
| delay< Numeric > | sum |
| quantiser< Numeric > | Q |
Template class for 1st-order Allpass filter. The filter is a "first-order" Allpass section of the form G(z,n) = (a*z^n + 1)/(z^n+a) The delay n can be specified
typedef mixed_type<Numeric,Coeff>::dtype SPUC::allpass_1< Numeric, Coeff >::sum_type [protected] |
| SPUC::allpass_1< Numeric, Coeff >::allpass_1 | ( | Coeff | Gain = 0, |
|
| long | s = 1, |
|||
| long | b = 0 | |||
| ) | [inline] |
Constructor with gain and delay.
| Numeric SPUC::allpass_1< Numeric, Coeff >::clock | ( | Numeric | input | ) | [inline] |
Shift inputs by one time sample and place new sample into array.
| Coeff SPUC::allpass_1< Numeric, Coeff >::get_coefficient | ( | void | ) | [inline] |
| void SPUC::allpass_1< Numeric, Coeff >::init | ( | Coeff | Gain, | |
| long | s | |||
| ) | [inline] |
Initializes gain and delay.
| void SPUC::allpass_1< Numeric, Coeff >::reset | ( | ) | [inline] |
Reset.
float_type SPUC::allpass_1< Numeric, Coeff >::gain [protected] |
delay<Numeric> SPUC::allpass_1< Numeric, Coeff >::mult [protected] |
quantiser<Numeric> SPUC::allpass_1< Numeric, Coeff >::Q [protected] |
long SPUC::allpass_1< Numeric, Coeff >::round_bits [protected] |
long SPUC::allpass_1< Numeric, Coeff >::size [protected] |
number of unit sample delays
delay<Numeric> SPUC::allpass_1< Numeric, Coeff >::sum [protected] |
1.4.7