Add out-of-range wrapping to nbs conversion

This commit is contained in:
hhhzzzsss 2024-05-31 19:27:48 -05:00
parent 072caac26a
commit 2363900c05

View file

@ -147,8 +147,11 @@ public class NBSConverter {
continue;
}
if (note.key < 33 || note.key > 57) {
continue;
while (note.key < 33) {
note.key += 12;
}
while (note.key > 57) {
note.key -= 12;
}
byte layerVolume = 100;