wip: filter constructors

This commit is contained in:
2023-09-08 13:48:05 +04:00
parent 6dc3de1eda
commit 42f9be5dba
8 changed files with 69 additions and 45 deletions

View File

@@ -1,10 +1,16 @@
#include "BandPassFilter.h"
BandPassFilter::BandPassFilter(/* args */) {
BandPassFilter::BandPassFilter(/* args */) {}
BandPassFilter::BandPassFilter(Filter* filter) {
m_freq = filter->GetFreq();
m_q = filter->GetRes();
m_order = filter->GetPeakGain();
}
BandPassFilter::~BandPassFilter() {
}
BandPassFilter::BandPassFilter(float freq, float res, float q) {}
BandPassFilter::~BandPassFilter() {}
void BandPassFilter::calculate_coefficients() {
Filter::Normals base = calculate_normals();