diff options
Diffstat (limited to 'src/gen.h')
-rw-r--r-- | src/gen.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gen.h b/src/gen.h new file mode 100644 index 0000000..64de944 --- /dev/null +++ b/src/gen.h @@ -0,0 +1,17 @@ +#ifndef GEN_H +#define GEN_H + +#include "synth_engine.h" + +typedef struct { + osc_t ** osc; + int osci; + osc_t ** lfo; + int lfoi; + adsr_t ** asdr; + int adsri; +} gen_t; + +float gen(synth_t * synth, midi_note_t * note, osc_t * osc, sample_rate); + +#endif /* GEN_H */ |