summaryrefslogtreecommitdiffstats
path: root/src/synth_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth_engine.h')
-rw-r--r--src/synth_engine.h5
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);