Represents a high shelf filter which is a type of biquad filter.
More...
#include <hs.h>
|
| HighShelf (double gain, double cutoffFreq, double sampleRate, double slope) |
| Establish filter parameters.
|
|
void | setCoefficients (double gain, double slope) override |
| Set gain and/or slope 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 high shelf filter which is a type of biquad filter.
◆ HighShelf()
HighShelf::HighShelf |
( |
double | gain, |
|
|
double | cutoffFreq, |
|
|
double | sampleRate, |
|
|
double | slope ) |
Establish filter parameters.
- Parameters
-
gain | -> gain |
cutoffFreq | -> cutoff frequency |
sampleRate | -> sample rate for audio being processed through filter |
slope | -> slope |
◆ setCoefficients()
void HighShelf::setCoefficients |
( |
double | gain, |
|
|
double | slope ) |
|
overridevirtual |
Set gain and/or slope the cutoff frequency stays fixed.
- Parameters
-
gain | -> gain |
slope | -> slope |
Implements Biquad.
The documentation for this class was generated from the following file: