mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
11 lines
263 B
C
11 lines
263 B
C
#include "oscillator.h"
|
|
|
|
typedef struct
|
|
{
|
|
float frequency;
|
|
float deviation;
|
|
Oscillator osc;
|
|
} FMModulator;
|
|
|
|
void init_fm_modulator(FMModulator *fm, float frequency, float deviation, float sample_rate);
|
|
float modulate_fm(FMModulator *fm, float sample); |