Closed freq-mod closed 3 years ago
UPDATE: when I saved the file with dmx_doom2.wopl
name, it worked correctly.
So, it's more likely OPL3-BE saving problem...
Lemme try...
I just realized something - that corrupted playback is because the notes in the song being played have the same pitch. :eyes: bug.mp3.zip
Yet, there are a few instuments in this bank that don't suffer from this problem during playback, like Electric Piano 2 or Harpsichord
Can you give me the MIDI file itself? btw, I guess that one of examples from Wikipedia, one of them I took a long time ago :fox_face:
yeah, it's wikipedia's example MIDI. and the problem is with every MIDI.
MIDITEST.zip - only these play fine, because they use only one instrument each - ele piano 2, harps, and clavi. Rest are broken
Oh, I tried to use one of such files, with banks, and I see, what the heck? :thinking: I may guess, something got caused to set the "single-note" flag or .... gonna check :thinking:
A lil piece of info that may help - how I created this corrupted bank? - I took dmx_doom2.op2 bank, and saved it as .wopl, overwriting already existing bank.
I found the reason - that because in original OP2 file there was lot of melodic instruments that had the "percussion note" being set non-zero, but when in WOPL bank the "percussion note" is set being non-zero at melodic instruments, it gets played with a fixed note. Mainly the mess of OPL3-BE. I am in process to resolve this...
Just now I sent an update, it should work now. Also, it adds an ability to use the "Fixed Note" mode for melodic instruments which was unavailable, but in fact, this thing works for both OP2 and WOPL.
OK, disabled the fixed note flag solves the problem, thanks!
I don'tt know whether it's a bug on OPL Bank Editor side or libADLMIDI, but still... YM3812.wopl.zip - this is dmx_doom2.op2 (from OPL3BE bank examples folder) saved to .wopl format. However, it doesn't play how it should - any MIDI is completely messed up - pitches, octaves, notelenghts... difference is apparent when you compare it to bank nr 14 or 15.