From 42479d2ed8fcbad5fb3ffb52553dad05a329590f Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 30 Jul 2023 20:51:05 +0300 Subject: oop --- src/synth_engine.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/synth_engine.h') diff --git a/src/synth_engine.h b/src/synth_engine.h index 38ff740..c3175ec 100644 --- a/src/synth_engine.h +++ b/src/synth_engine.h @@ -11,6 +11,7 @@ #include "filter.h" #include "adsr.h" #include "control.h" +#include "osc.h" #ifndef M_PI @@ -55,8 +56,8 @@ typedef struct { cc_t cc_lfo_freq; cc_t cc_lfo_amp; - float freq_offset; float gain; + float x; midi_note_t midi_note[MIDI_NOTES]; @@ -86,6 +87,8 @@ typedef struct { int active; viz_t viz; + + osc_t * osctri; } synth_t; void init_synth(synth_t * synth); -- cgit v1.2.3