diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2023-07-30 20:51:05 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2023-07-30 20:51:05 +0300 |
commit | 42479d2ed8fcbad5fb3ffb52553dad05a329590f (patch) | |
tree | ab0c0f9c1cec48b3b2b465cf8031fd68b53d4fc5 /src/synth_engine.h | |
parent | 3466a5ee2a4e03dae73f6c441d6f1daa5718952d (diff) | |
download | synth-project-42479d2ed8fcbad5fb3ffb52553dad05a329590f.tar.gz synth-project-42479d2ed8fcbad5fb3ffb52553dad05a329590f.tar.bz2 synth-project-42479d2ed8fcbad5fb3ffb52553dad05a329590f.zip |
oop
Diffstat (limited to 'src/synth_engine.h')
-rw-r--r-- | src/synth_engine.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |