diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2023-12-02 17:44:20 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2023-12-02 17:44:20 +0200 |
commit | 89b515395310c4e84a84992d3f0bd11f8ded6d03 (patch) | |
tree | 7c8554dedd0e6736a0b7db5d5f2285fbd31fe3f9 /src/synth_engine.c | |
parent | 4f7de09c753ece6f2099512522d489b0104a59a8 (diff) | |
download | synth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.tar.gz synth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.tar.bz2 synth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.zip |
gui is mine
Diffstat (limited to 'src/synth_engine.c')
-rw-r--r-- | src/synth_engine.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/synth_engine.c b/src/synth_engine.c index 15dda16..34f876a 100644 --- a/src/synth_engine.c +++ b/src/synth_engine.c @@ -485,7 +485,7 @@ init_synth(synth_t * synth) synth->lfo.amp = 0.0f; synth->lfo.elapsed = 0; - for (int i = 0; i < MIDI_NOTES; i++) { + for (int i =0; i<MIDI_NOTES; i++) { synth->midi_note[i].freq = 0; synth->midi_note[i].channel = -1; synth->midi_note[i].noteOn = -1; @@ -533,7 +533,6 @@ init_synth(synth_t * synth) init_sound(synth, sound_gen); synth->osctri = make_tri("triangle"); - } void |