PgrAm
Experienced Member
Been trying to tweak the OPL2 (adlib) drum sound for my game in progress and ran into some trouble. I thought the snare drum sounded too much like the hihat so I tried playing with some registers but no luck, ADSR envelopes were really straightforward once you figure out which registers correspond to each drum (this is not very well documented), but I could clearly tell that something was still missing cause I couldn't get a good sound.
At this point I figured that I should try using DosBox to dump the registers from a decent drum sound then just copy the settings so I fired up Adlib JukeBox and grabbed the settings. This method showed me that I had neglected to set the Frequency registers for the drums, which I didn't know actually made a difference. So I copied all the registers from Adlib JukeBox that I thought would affect the drums but no luck, my drums don't sound the same, in fact they sound horrible. I think I'm missing some really important register setting but I can't find much documentation on the percussion mode.
So far I've messed with the 0x20, 0x23, 0x40, 0x43, 0x60, 0x63, 0x80, 0x83, 0xE0, 0xE3, 0xC0 registers for each drum channel and the Pitch/Fnum registers. Does anyone know any other registers which affect the drums?
At this point I figured that I should try using DosBox to dump the registers from a decent drum sound then just copy the settings so I fired up Adlib JukeBox and grabbed the settings. This method showed me that I had neglected to set the Frequency registers for the drums, which I didn't know actually made a difference. So I copied all the registers from Adlib JukeBox that I thought would affect the drums but no luck, my drums don't sound the same, in fact they sound horrible. I think I'm missing some really important register setting but I can't find much documentation on the percussion mode.
So far I've messed with the 0x20, 0x23, 0x40, 0x43, 0x60, 0x63, 0x80, 0x83, 0xE0, 0xE3, 0xC0 registers for each drum channel and the Pitch/Fnum registers. Does anyone know any other registers which affect the drums?
Last edited: