diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2023-06-28 22:40:47 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2023-06-28 22:40:47 +0300 |
commit | 89e85142d0958d3e3a87fb155d698fc59eafd4c6 (patch) | |
tree | 013c3e878a6fa3b822999e05771e129777e37323 /src/synth_engine.c | |
parent | 60c82a72fedd719f69c1f1de896aca00784a2881 (diff) | |
download | synth-project-89e85142d0958d3e3a87fb155d698fc59eafd4c6.tar.gz synth-project-89e85142d0958d3e3a87fb155d698fc59eafd4c6.tar.bz2 synth-project-89e85142d0958d3e3a87fb155d698fc59eafd4c6.zip |
Remove old note stuff
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; |