temp-cortex filter dump

This commit is contained in:
2026-07-29 23:45:20 -04:00
parent 8c620f88e4
commit cd704cb0ad
+22
View File
@@ -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;