#include <ChebyshevII.h>
|
| 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) |
| |
| void | reset () |
| |
| void | setup (const double(&sosCoefficients)[MaxStages][6]) |
| |
| template<typename Sample > |
| Sample | filter (const Sample in) |
| |
| const Cascade::Storage | getCascadeStorage () |
| |
template<int FilterOrder = 4, class StateType = DirectFormII>
struct Iir::ChebyshevII::HighShelf< FilterOrder, StateType >
ChebyshevII high shelf filter. Specified gain in the passband and 0dB in the stopband.
- Parameters
-
| FilterOrder | Reserves memory for a filter of the order FilterOrder |
| StateType | The filter topology: DirectFormI, DirectFormII, ... |
◆ setup() [1/2]
template<int FilterOrder = 4, class StateType = DirectFormII>
| void Iir::ChebyshevII::HighShelf< FilterOrder, StateType >::setup |
( |
double |
sampleRate, |
|
|
double |
cutoffFrequency, |
|
|
double |
gainDb, |
|
|
double |
stopBandDb |
|
) |
| |
|
inline |
Calculates the coefficients of the filter
- Parameters
-
| sampleRate | Sampling rate |
| cutoffFrequency | Cutoff frequency. |
| gainDb | Gain the passbard. The stopband has 0 dB gain. |
| stopBandDb | Permitted ripples in dB in the stopband |
◆ setup() [2/2]
template<int FilterOrder = 4, class StateType = DirectFormII>
| void Iir::ChebyshevII::HighShelf< FilterOrder, StateType >::setup |
( |
int |
reqOrder, |
|
|
double |
sampleRate, |
|
|
double |
cutoffFrequency, |
|
|
double |
gainDb, |
|
|
double |
stopBandDb |
|
) |
| |
|
inline |
Calculates the coefficients of the filter
- Parameters
-
| 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 |
◆ setupN() [1/2]
template<int FilterOrder = 4, class StateType = DirectFormII>
Calculates the coefficients of the filter
- Parameters
-
| 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 |
◆ setupN() [2/2]
template<int FilterOrder = 4, class StateType = DirectFormII>
| void Iir::ChebyshevII::HighShelf< FilterOrder, StateType >::setupN |
( |
int |
reqOrder, |
|
|
double |
cutoffFrequency, |
|
|
double |
gainDb, |
|
|
double |
stopBandDb |
|
) |
| |
|
inline |
Calculates the coefficients of the filter
- Parameters
-
| 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 |
The documentation for this struct was generated from the following file: