FahlGrahn Audio v1.0.0
Loading...
Searching...
No Matches
IFilter Class Referenceabstract
Inheritance diagram for IFilter:
Collaboration diagram for IFilter:

Public Types

enum  Type {
  kHighPass , kLowPass , kLowShelf , kHighShelf ,
  kPeak , kNumTypes
}
 

Public Member Functions

virtual void setFrequency (const double frequency)=0
 
virtual void setGain (const double gaindB)=0
 
virtual void setQ (const double q)=0
 
virtual void setSampleRate (const double sampleRate)=0
 
virtual double filterResponse (double sampleRate, double currentFreq)=0
 
- Public Member Functions inherited from IDsp
virtual void prepare (const double sampleRate, const int numSamples, const int numChannels)=0
 
virtual void process (std::span< const float > input, std::span< float > output, int channel)=0
 

Public Attributes

bool isEnabled {true}
 

The documentation for this class was generated from the following file: