tofodroid / mimi-mod

Musical Instrument Minecraft Interface
MIT License
13 stars 4 forks source link

[QUESTION] Is it possible to import and use a custom soundfont library with a new datapack instrument? #134

Closed majorcyto closed 2 months ago

majorcyto commented 2 months ago

Question Would it be possible to load an additional .dls or .sf2 (or similar midi soundbank file) into the mod that can be attached to custom instruments made with the datapack method mentioned on the Wiki?

Then we could have some off the beaten path instruments as well, such as chinese or japanese instruments that really only exist in custom midi banks.

tofodroid commented 2 months ago

Hello!

Apologies for the super slow reply, I've been traveling for work. As far as I can tell there's not a clean way for the Java MIDI system to use more than one soundbank at a time, however you could use an external tool such as https://www.polyphone-soundfonts.com/ to modify the existing soundbank and add additional patches to it.

You can download the default MIMI soundbank here: https://github.com/tofodroid/mimi-mod/blob/main/src/main/resources/assets/mimi/soundfont/GMGSX.SF2

majorcyto commented 2 months ago

Thank you for the information!

majorcyto commented 2 months ago

Meant to close