[feat]: Filter (#18)

closes #16

Reviewed-on: #18
This commit is contained in:
2023-09-10 00:56:47 +03:00
parent 868a59da0e
commit bb3ccc296a
22 changed files with 372 additions and 48 deletions

15
inc/LowPassFilter.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include "Filter.h"
class LowPassFilter : public Filter {
protected:
void CalculateCoefficients() override;
public:
LowPassFilter();
LowPassFilter(Filter* filter);
LowPassFilter(float freq, float res, float q);
~LowPassFilter();
bool IsSameFilterType(FilterType type) override { return type == LowPass; };
};