yet another implementation

This commit is contained in:
2025-03-27 18:12:11 +01:00
parent b2d97ef5e4
commit 6e374ce28b
3 changed files with 31 additions and 25 deletions
+1 -1
View File
@@ -24,5 +24,5 @@ typedef struct
float x1, x2;
float y1, y2;
} Biquad;
void init_chebyshev_lpf(Biquad* filter, float cutoff_freq, float sample_rate, float ripple_db);
void init_chebyshev_lpf(Biquad* filter, float sample_rate, float cutoff_freq, float ripple_db, int order);
float biquad(Biquad *filter, float input);