Immersive Melodies [Fabric/Forge]

Immersive Melodies [Fabric/Forge]

10M Downloads

Question about key configuration

Francoprox004 opened this issue · 2 comments

commented

Hi! I noticed that the mod adds a feature to manually play the instrument, but the keys for doing so don’t follow any logical order. I’d like to know if there’s a way to configure them, since I didn’t see any option in the game’s key settings, and I also couldn’t find any documentation that mentions it.

I hope my question isn’t a bother. And thank you for adding the Vielle, it sounds really beautiful.

commented

You can configure it with scancodeToMidi where the default layout should map 1:1 to a physical 2-octave keyboard if I didn't mess up

commented

You can configure it with scancodeToMidi where the default layout should map 1:1 to a physical 2-octave keyboard if I didn't mess up

Thanks! I was able to change it — I set up the configuration with the keys:

Caps Lock, A, S, D, F, G, H, J, K, L, Ñ, {, }, Enter

And I adjusted the MIDI notes so it works like a piano, starting with low notes and going up to higher ones. Since there are only 14 keys, I had to simplify it quite a bit, but it's enough to play basic things and have fun with friends. Thanks again!

"scancodeToMidi": {
"58": 60,
"30": 62,
"31": 64,
"32": 65,
"33": 67,
"34": 69,
"35": 71,
"36": 72,
"37": 74,
"38": 76,
"39": 77,
"40": 79,
"43": 81,
"28": 83
}

teclado-10.mp4