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

small changes

This commit is contained in:
2025-03-02 09:25:50 +01:00
parent 3cf6c4ef82
commit 1d2bedb06b
4 changed files with 31 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ typedef struct {
} BiquadFilter;
void init_lpf(BiquadFilter* filter, float cutoffFreq, float qFactor, float sampleRate);
void init_hpf(BiquadFilter* filter, float cutoffFreq, float qFactor, float sampleRate);
void init_bpf(BiquadFilter* filter, float centerFreq, float qFactor, float sampleRate);
float apply_frequency_filter(BiquadFilter* filter, float input);
float hard_clip(float sample, float threshold);