feat: all filter types

This commit is contained in:
2024-01-17 08:56:59 +07:00
parent 29ceabca74
commit 2cfc49bac3
15 changed files with 110 additions and 234 deletions

View File

@@ -1,14 +1,17 @@
#pragma once
#include "Filter.h"
class BandPassFilter : public Filter {
private:
void CalculateCoefficients() override;
protected:
float GetSampleForFilterType() override;
public:
BandPassFilter();
BandPassFilter(Filter* filter);
BandPassFilter(float freq, float res, float q);
BandPassFilter(/* args */);
~BandPassFilter();
bool IsSameFilterType(FilterType type) override { return type == BandPass; };
};