diff --git a/src/temp-cortex/filter_params.hpp b/src/temp-cortex/filter_params.hpp new file mode 100644 index 0000000..b9f51c3 --- /dev/null +++ b/src/temp-cortex/filter_params.hpp @@ -0,0 +1,22 @@ +#pragma once + +typedef struct +{ + float cutoff; + float res; + float Q; +} FilterParameters; + +typedef struct { + float a1; + float a2; + float b0; + float b1; + float b2; +} NormalCoefficients; + +typedef struct { + float x[2]; // Previous inputs + float y[2]; // Previous outputs + float fb; // Feedback value for resonance +} FeedbackLine; \ No newline at end of file