Second-order all-pass filter. More...
#include <Filter.h>
Public Member Functions | |
AllPass2 (Tp frq=1000, Tp wid=100) | |
Tv | operator() (Tv i0) |
Filter sample. | |
void | freq (Tp v) |
Set frequency. | |
void | width (Tp v) |
Set bandwidth. | |
void | zero () |
Zero delay elements. |
Second-order all-pass filter.
This all-pass filter shifts phases from 0 to 2 pi from 0 to Nyquist. The center frequency controls where the phase is shifted by pi.
Tv | value (sample) type |
Tp | parameter type |
Ts | sync type |
AllPass2 | ( | Tp | frq = 1000 , |
Tp | wid = 100 |
||
) |
[in] | frq | Center frequency |
[in] | wid | Bandwidth |