From 500b9a07b93d6cd3e771edc5698e06d163da60f1 Mon Sep 17 00:00:00 2001 From: grm Date: Sat, 22 Feb 2025 02:36:27 +0200 Subject: a year of changes (web, better soundcard handling, biquad) --- src/gen.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/gen.h (limited to 'src/gen.h') 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 */ -- cgit v1.2.3