fix the pitch for custom sounds

https://opennbs.org/nbs the bottom part
This commit is contained in:
Chayapak 2023-09-03 08:11:22 +07:00
parent a5f2b701c5
commit a6233804ec

View file

@ -177,6 +177,8 @@ public class NBSConverter implements Converter {
instrument = Instrument.of(name); instrument = Instrument.of(name);
key += customInstrument.pitch; key += customInstrument.pitch;
key -= 45 + (note.pitch / 100);
} }
byte layerVolume = 100; byte layerVolume = 100;