forked from ChomeNS/chomens-bot-java
fix the pitch for custom sounds
https://opennbs.org/nbs the bottom part
This commit is contained in:
parent
a5f2b701c5
commit
a6233804ec
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue