fix missing instrument (midi)

for the midi that i'm testing, it's a lot of missing notes (189)
This commit is contained in:
Chayapak 2023-09-24 12:37:34 +07:00
parent ecd5efb30e
commit b863c97217

View file

@ -138,6 +138,8 @@ public class MidiConverter implements Converter {
break;
}
}
if (instrument == null) instrument = instrumentList[0];
}
if (instrument == null) {