mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 11:33:54 +01:00
oh
This commit is contained in:
@@ -14,11 +14,9 @@ void init_preemphasis(ResistorCapacitor *filter, float tau, float sample_rate, f
|
|||||||
float apply_preemphasis(ResistorCapacitor *filter, float sample);
|
float apply_preemphasis(ResistorCapacitor *filter, float sample);
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
float b0, b1;
|
float alpha;
|
||||||
float a1;
|
float y_prev;
|
||||||
|
float x_prev;
|
||||||
float x_prev;
|
|
||||||
float y_prev;
|
|
||||||
} TiltCorrectionFilter;
|
} TiltCorrectionFilter;
|
||||||
|
|
||||||
void tilt_init(TiltCorrectionFilter* filter, float cutoff_freq, float sample_rate);
|
void tilt_init(TiltCorrectionFilter* filter, float cutoff_freq, float sample_rate);
|
||||||
|
|||||||
Reference in New Issue
Block a user