0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00
This commit is contained in:
Kuba
2025-08-08 22:15:01 +02:00
committed by GitHub
parent 1d61bfa33f
commit ee85b680dd

View File

@@ -14,11 +14,9 @@ void init_preemphasis(ResistorCapacitor *filter, float tau, float sample_rate, f
float apply_preemphasis(ResistorCapacitor *filter, float sample);
typedef struct {
float b0, b1;
float a1;
float x_prev;
float y_prev;
float alpha;
float y_prev;
float x_prev;
} TiltCorrectionFilter;
void tilt_init(TiltCorrectionFilter* filter, float cutoff_freq, float sample_rate);