diff options
Diffstat (limited to 'src/synth_engine.c')
-rw-r--r-- | src/synth_engine.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/synth_engine.c b/src/synth_engine.c index 9dc6457..a4d3d17 100644 --- a/src/synth_engine.c +++ b/src/synth_engine.c @@ -240,7 +240,6 @@ increment_synth(synth_t *synth) { synth->lfo.elapsed++; synth->adsr.elapsed++; - synth->n.elapsed++; for (int i = 0; i < MIDI_NOTES; i++) { if (!synth->midi_note[i].active) continue; @@ -437,12 +436,6 @@ init_synth(synth_t * synth) synth->midi_note[i].adsr = &(synth->adsr); } - synth->n.freq = 0; - synth->n.noteOn = 0; - synth->n.noteOff = 1; - synth->n.key = 0; - synth->n.elapsed = 0; - synth->octave = 3; synth->poly = 0; |