diff --git a/pd/src/s_midi_alsa.c b/pd/src/s_midi_alsa.c index 2267eece20ce418766b778f4dbdb780f3746b286..843c1e77f4c73f33eb66bff1e10aec3855381ca1 100644 --- a/pd/src/s_midi_alsa.c +++ b/pd/src/s_midi_alsa.c @@ -157,10 +157,7 @@ void sys_alsa_putmidimess(int portno, int a, int b, int c) else if (a >= 144) // note { channel = a-144; - if (c) - snd_seq_ev_set_noteon(&ev,channel,b,c); - else - snd_seq_ev_set_noteoff(&ev,channel,b,c); + snd_seq_ev_set_noteon(&ev,channel,b,c); } snd_seq_ev_set_direct(&ev); snd_seq_ev_set_subs(&ev);