0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 03:23:54 +01:00

i give up

This commit is contained in:
2025-03-22 21:13:15 +01:00
parent e190a21aea
commit 24a2b02fd7
3 changed files with 4 additions and 53 deletions

View File

@@ -14,21 +14,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 {
float phase_error;
float loop_filter;
float vco_phase;
float vco_frequency;
float reference_frequency;
float target_frequency;
float multiplier;
float sample_rate;
float loop_gain;
float filter_coefficient;
} PLL;
void init_pll(PLL *pll, float reference_frequency, float target_frequency, float sample_rate);
float update_pll(PLL *pll, float reference_signal);
float hard_clip(float sample, float threshold);