|
iir1
|
#include <ChebyshevII.h>
Public Member Functions | |
| void | setup (double sampleRate, double cutoffFrequency, double gainDb, double stopBandDb) |
| void | setup (int reqOrder, double sampleRate, double cutoffFrequency, double gainDb, double stopBandDb) |
| void | setupN (double cutoffFrequency, double gainDb, double stopBandDb) |
| void | setupN (int reqOrder, double cutoffFrequency, double gainDb, double stopBandDb) |
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 () |
ChebyshevII high shelf filter. Specified gain in the passband and 0dB 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 |
| cutoffFrequency | Cutoff frequency. |
| gainDb | Gain the passbard. The stopband has 0 dB gain. |
| 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 |
| cutoffFrequency | Cutoff frequency. |
| gainDb | Gain the passbard. The stopband has 0 dB gain. |
| stopBandDb | Permitted ripples in dB in the stopband |
|
inline |
Calculates the coefficients of the filter
| cutoffFrequency | Normalised cutoff frequency (0..1/2) |
| gainDb | Gain the passbard. The stopband has 0 dB gain. |
| 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 |
| cutoffFrequency | Normalised cutoff frequency (0..1/2) |
| gainDb | Gain the passbard. The stopband has 0 dB gain. |
| stopBandDb | Permitted ripples in dB in the stopband |