Jump to content

opl3 drums register settings


Tzacks
 Share

Recommended Posts

Hello guys,

i am trying to use opl3 with avr and so far i was able to generate 2/4 op melodic sounds but i am struggling with making any drums, i would really appreciate if you could help a bit.

this is what i was doing so far, lets say i want to generate hi-hat, according to datasheet hi-hat operator uses one operator which occupies registers 0x33,0x53,0x73,0x93,0xf3 for general settins like attack, sustain, etc, and other three registers 0xA6,0xB6,0xC6 for frequency, octave etc, there is a register 0xBD which enables rythimc mode, so this is set to one and when i want to play hihat i set appropriate bit to one as well, but the problem is i cant hear any hihat whatsoever, please could you somebody check what i am doing wrong or if i am missing something. thank you very much.

Link to comment
Share on other sites

Nasrudin, yep i can program a bit and i was checking the mios but i don't like pic assembly because of many reasons ;-)

actually problem solved just a while ago, i got confused with those registers, because sometimes they are described as slots starting with no.1 and sometimes as registers starting at 0, so anyway, thnx :-)

if i can bring this project to the end i believe i will post it here :)

have a nice day everybody

Link to comment
Share on other sites

actually problem solved just a while ago,

It's a good habit to pass the information to the forum if you already solved an issue instead of letting other people reply to an obsolete question.

Otherwise your avatar will be signed with the dreaded "wait 3 days before reply" tag. :rolleyes:

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...