File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ function import_midi() {
6363 while (note > 57 ) note -= 12
6464 }
6565 if (stop = 0 ) {
66- if (channel = 9 || midi_eventuntil[t, e] = -1 ){
66+ if (channel = 9 || midi_eventuntil[t, e] = -1 || pos - noteuntil = 0 ){
6767 if (channelheight[channel] < w_midi_maxheight || w_midi_maxheight = 20 ) {
6868 switch (midi_channelins[channel]) {
6969 case 0 : {ins1notes[note, pos] = 1 break }
@@ -149,7 +149,7 @@ function import_midi() {
149149 while (note > 57 ) note -= 12
150150 }
151151 if (ins > -1 && stop = 0 ) {
152- if (channel = 9 || midi_eventuntil[t, e] = -1 ) {
152+ if (channel = 9 || midi_eventuntil[t, e] = -1 || pos - noteuntil = 0 ) {
153153 switch (midi_channelins[channel]) {
154154 case 0 : {ins1notes[note, pos] = 1 break }
155155 case 1 : {ins2notes[note, pos] = 1 break }
You can’t perform that action at this time.
0 commit comments