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:
2025-03-25 17:27:59 +01:00
parent 023102e69a
commit 702117e4d7
4 changed files with 2 additions and 45 deletions

View File

@@ -16,12 +16,4 @@ typedef struct
void init_preemphasis(ResistorCapacitor *filter, float tau, float sample_rate);
float apply_preemphasis(ResistorCapacitor *filter, float sample);
float hard_clip(float sample, float threshold);
typedef struct filters
{
float filter[FILTER_LEN];
int filter_idx;
} FIRFilter;
void init_lpf(FIRFilter *lpf, float freq);
float fir_filter(FIRFilter *fir, float sample);
float hard_clip(float sample, float threshold);