koca2000 / NoteBlockAPI

https://www.spigotmc.org/resources/noteblockapi.19287/
GNU Lesser General Public License v3.0
119 stars 40 forks source link

How to play a scale of 2 octaves or more #69

Closed Ign1s-Reiga closed 3 years ago

Ign1s-Reiga commented 3 years ago

I'm trying to play a scale of 2 octaves or more, but even if I use the resource pack, the sound doesn't sound. (Most of the songs I converted from midi seemed to have to use resource packs.)

How can I make a sound? Do I need to write anything special on the plugin side?

koca2000 commented 3 years ago

Hi @Re1ga! The default behaviour is that all notes are transposed to 2 octaves Minecraft is able to play on it's own. So you should hear your song even without resource pack or any other settings. To disable transposing mechanism and play the song in extended octave range use SongPlayer.setEnable10Octave(true);.

Ign1s-Reiga commented 3 years ago

thanks so much @koca2000!!!