Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to save percussion banks to IBK files #205

Open
SenhorFlibble opened this issue Nov 14, 2023 · 3 comments
Open

Unable to save percussion banks to IBK files #205

SenhorFlibble opened this issue Nov 14, 2023 · 3 comments
Assignees

Comments

@SenhorFlibble
Copy link

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?

@Wohlstand
Copy link
Owner

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 Wohlstand self-assigned this Nov 14, 2023
@Wohlstand
Copy link
Owner

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

@SenhorFlibble
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants