Represents a bell/peaking filter which is a type of biquad filter.
More...
#include <bell.h>
|
| | BellFilter (double gain, double cutoffFreq, double sampleRate, double bandwidth) |
| | Establish filter parameters.
|
| |
| void | setCoefficients (double gain, double bw) override |
| | Set gain and/or bandwidth the cutoff frequency stays fixed.
|
| |
| void | process (vector< vector< double > > &samples) override |
| | apply biquad filter to v
|
| |
|
|
double | a0 |
| |
|
double | a1 |
| |
|
double | a2 |
| |
|
double | b0 |
| |
|
double | b1 |
| |
|
double | b2 |
| |
|
double | fs |
| |
Represents a bell/peaking filter which is a type of biquad filter.
◆ BellFilter()
| BellFilter::BellFilter |
( |
double | gain, |
|
|
double | cutoffFreq, |
|
|
double | sampleRate, |
|
|
double | bandwidth ) |
Establish filter parameters.
- Parameters
-
| gain | -> gain for filter |
| cutoffFreq | -> cutoff frequency |
| sampleRate | -> sample rate for audio being processed through filter |
| bandwidth | -> bandwidth |
◆ setCoefficients()
| void BellFilter::setCoefficients |
( |
double | gain, |
|
|
double | bw ) |
|
overridevirtual |
Set gain and/or bandwidth the cutoff frequency stays fixed.
- Parameters
-
| gain | -> gain |
| bw | -> bandwidth |
Implements Biquad.
The documentation for this class was generated from the following file: