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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth_engine.h b/src/synth_engine.h
index e2e91fd..a1f3d4a 100644
--- a/src/synth_engine.h
+++ b/src/synth_engine.h
@@ -38,6 +38,7 @@ typedef struct midi_note_t {
PaTime noteOn;
PaTime noteOff;
float velocity; // normalized
+ size_t wvt_index;
unsigned long long elapsed;
adsr_t * adsr;
int active;
@@ -80,7 +81,7 @@ typedef struct {
int modifiers[16];
int modi;
- float (*gen[4]) (float freq, unsigned long long phase, float x, unsigned int sample_rate);
+ float (*gen[4]) (float freq, midi_note_t * midi_note, float x, unsigned int sample_rate);
int geni;
float cutoff;