iir1
|
#include <ChebyshevII.h>
Public Member Functions | |
void | setup (double sampleRate, double centerFrequency, double widthFrequency, double gainDb, double stopBandDb) |
void | setup (int reqOrder, double sampleRate, double centerFrequency, double widthFrequency, double gainDb, double stopBandDb) |
void | setupN (double centerFrequency, double widthFrequency, double gainDb, double stopBandDb) |
void | setupN (int reqOrder, double centerFrequency, double widthFrequency, double gainDb, double stopBandDb) |
![]() | |
void | reset () |
void | setup (const double(&sosCoefficients)[MaxStages][6]) |
template<typename Sample > | |
Sample | filter (const Sample in) |
const Cascade::Storage | getCascadeStorage () |
ChebyshevII bandshelf filter. Bandpass with specified gain and 0 dB gain in the stopband.
FilterOrder | Reserves memory for a filter of the order FilterOrder |
StateType | The filter topology: DirectFormI, DirectFormII, ... |
|
inline |
Calculates the coefficients of the filter
sampleRate | Sampling rate |
centerFrequency | Center frequency of the bandpass |
widthFrequency | Width of the bandpass |
gainDb | Gain in the passband. The stopband has always 0dB. |
stopBandDb | Permitted ripples in dB in the stopband |
|
inline |
Calculates the coefficients of the filter
reqOrder | Requested order which can be less than the instantiated one |
sampleRate | Sampling rate |
centerFrequency | Center frequency of the bandpass |
widthFrequency | Width of the bandpass |
gainDb | Gain in the passband. The stopband has always 0dB. |
stopBandDb | Permitted ripples in dB in the stopband |
|
inline |
Calculates the coefficients of the filter
centerFrequency | Normalised centre frequency (0..1/2) of the bandpass |
widthFrequency | Width of the bandpass |
gainDb | Gain in the passband. The stopband has always 0dB. |
stopBandDb | Permitted ripples in dB in the stopband |
|
inline |
Calculates the coefficients of the filter
reqOrder | Requested order which can be less than the instantiated one |
centerFrequency | Normalised centre frequency (0..1/2) of the bandpass |
widthFrequency | Width of the bandpass |
gainDb | Gain in the passband. The stopband has always 0dB. |
stopBandDb | Permitted ripples in dB in the stopband |