diff options
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 |