mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 00:39:17 +02:00
do the preemp gain properly, set a refrence freq (+0db) sligthly above the LPF cutoff, thus we avoid clipping
This commit is contained in:
+1
-1
@@ -10,5 +10,5 @@ typedef struct
|
||||
float gain;
|
||||
} ResistorCapacitor;
|
||||
|
||||
void init_preemphasis(ResistorCapacitor *filter, float tau, float sample_rate);
|
||||
void init_preemphasis(ResistorCapacitor *filter, float tau, float sample_rate, float ref_freq);
|
||||
float apply_preemphasis(ResistorCapacitor *filter, float sample);
|
||||
|
||||
Reference in New Issue
Block a user