Audio FX
 
Loading...
Searching...
No Matches
ls.h
1#ifndef LS_H
2#define LS_H
3
4#include "biquad.h"
5
11class LowShelf : public Biquad
12{
13 private:
14 double f0; // cutoff frequency
15 public:
23 LowShelf(double gain, double cutoffFreq, int sampleRate, double slope);
24
31 void setCoefficients(double gain, double slope) override;
32};
33#endif
Represents a Biquad filter which is a type of filter.
Definition biquad.h:12
LowShelf(double gain, double cutoffFreq, int sampleRate, double slope)
Establish filter parameters.
void setCoefficients(double gain, double slope) override
Set gain and/or slope the cutoff frequency stays fixed.