|
iir1
|
#include <ChebyshevI.h>
Public Member Functions | |
| void | setup (double sampleRate, double centerFrequency, double widthFrequency, double gainDb, double rippleDb) |
| void | setup (int reqOrder, double sampleRate, double centerFrequency, double widthFrequency, double gainDb, double rippleDb) |
| void | setupN (double centerFrequency, double widthFrequency, double gainDb, double rippleDb) |
| void | setupN (int reqOrder, double centerFrequency, double widthFrequency, double gainDb, double rippleDb) |
Public Member Functions inherited from Iir::CascadeStages< MaxStages, StateType > | |
| void | reset () |
| void | setup (const double(&sosCoefficients)[MaxStages][6]) |
| template<typename Sample > | |
| Sample | filter (const Sample in) |
| const Cascade::Storage | getCascadeStorage () |
ChebyshevI bandshelf filter. Specified gain in the passband. Otherwise 0 dB.
| FilterOrder | Reserves memory for a filter of the order FilterOrder |
| StateType | The filter topology: DirectFormI, DirectFormII, ... |
|
inline |
Calculates the coefficients of the filter at the order FilterOrder
| sampleRate | Sampling rate |
| centerFrequency | Center frequency of the passband |
| widthFrequency | Width of the passband. |
| gainDb | Gain in the passband. The stopband has 0 dB. |
| rippleDb | Permitted ripples in dB in the passband. |
|
inline |
Calculates the coefficients of the filter at specified order
| reqOrder | Actual order for the filter calculations |
| sampleRate | Sampling rate |
| centerFrequency | Center frequency of the passband |
| widthFrequency | Width of the passband. |
| gainDb | Gain in the passband. The stopband has 0 dB. |
| rippleDb | Permitted ripples in dB in the passband. |
|
inline |
Calculates the coefficients of the filter at the order FilterOrder
| centerFrequency | Normalised centre frequency (0..1/2) of the passband |
| widthFrequency | Width of the passband. |
| gainDb | Gain in the passband. The stopband has 0 dB. |
| rippleDb | Permitted ripples in dB in the passband. |
|
inline |
Calculates the coefficients of the filter at specified order
| reqOrder | Actual order for the filter calculations |
| centerFrequency | Normalised centre frequency (0..1/2) of the passband |
| widthFrequency | Width of the passband. |
| gainDb | Gain in the passband. The stopband has 0 dB. |
| rippleDb | Permitted ripples in dB in the passband. |