OPL3BankEditor icon indicating copy to clipboard operation
OPL3BankEditor copied to clipboard

Unable to save percussion banks to IBK files

Open SenhorFlibble opened this issue 1 year ago • 3 comments

I've run into further issues with IBK file conversion. It appears that unlike other bank file types, IBK files do not have separate banks for melodic and percussion instruments, instead this is determined on a per-instrument basis within a single list (at least, this is how it seems to work, judging by the editing options in SBTimbre).

When I create a new bank file in OPL3BankEditor and import percussion instruments from a GENMIDI.op2 bank to the percussion part of the new file and save it as an IBK, it turns out simply empty when I open it in SBTimbre. The only workaround I've come up with so far is to import percussion instruments into the melodic bank and save it as IBK that way, then manually change each instrument to percussion in SBTimbre. Any way to get around this?

SenhorFlibble avatar Nov 14 '23 12:11 SenhorFlibble

I guess, it's an architectural mistake, because I attempted to repeat the logic of SBTibre as it doesn't separate banks for "drums"/"melodic" and has each instrument "is drum" marker. Yesterday I had thinks about changing this, but I was too sleepy. Good that you made this issue, so, I'll try to make wrappers to save as ibk separately melodic-only and drums-only. Otherwise, it's a mess.

Wohlstand avatar Nov 14 '23 12:11 Wohlstand

Also, I forgot to tell the fact, that IBK files do able to save drums as Rhythm-mode only.

Wohlstand avatar Nov 14 '23 12:11 Wohlstand

Thank you for the swift replies! I've just tried a conversion of percussion instruments from DMXOPL v1.11 in MBF (the original Killough release, as @gerwin's modified Allegro library seems to have issues with IBK files), but even though I set every instrument to percussion type, they sound off, whereas the melodic instruments match the sound of DMXOPL's GENMIDI in vanilla Doom quite well. Here are my converted files, both edited in SBTimbre after conversion via the OPL3BankEditor: dmx_ibk.zip

SenhorFlibble avatar Nov 14 '23 12:11 SenhorFlibble