Audio FX
 
Loading...
Searching...
No Matches
BellFilter Class Reference

Represents a bell/peaking filter which is a type of biquad filter. More...

#include <bell.h>

Inheritance diagram for BellFilter:
Biquad Filter

Public Member Functions

 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.
 
- Public Member Functions inherited from Biquad
void process (vector< vector< double > > &samples) override
 apply biquad filter to v
 

Additional Inherited Members

- Protected Attributes inherited from Biquad
double a0
 
double a1
 
double a2
 
double b0
 
double b1
 
double b2
 
double fs
 

Detailed Description

Represents a bell/peaking filter which is a type of biquad filter.

Constructor & Destructor Documentation

◆ 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

Member Function Documentation

◆ 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: