0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

refactor filter functions and update FM modulator logic

This commit is contained in:
2025-03-08 19:53:59 +01:00
parent 6acb8cd5da
commit 90fabff616
5 changed files with 12 additions and 40 deletions

View File

@@ -6,7 +6,8 @@ typedef struct
{
float frequency;
float deviation;
Oscillator osc;
float osc_phase;
float sample_rate;
} FMModulator;
void init_fm_modulator(FMModulator *fm, float frequency, float deviation, float sample_rate);