0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

try a diffrent lpf

This commit is contained in:
2025-03-27 18:09:20 +01:00
parent 0983b8db90
commit b2d97ef5e4
3 changed files with 28 additions and 30 deletions

View File

@@ -24,5 +24,5 @@ typedef struct
float x1, x2;
float y1, y2;
} Biquad;
void init_butterworth_lpf(Biquad *filter, float cutoff_freq, float sample_rate);
void init_chebyshev_lpf(Biquad* filter, float cutoff_freq, float sample_rate, float ripple_db);
float biquad(Biquad *filter, float input);