Hi. I have been inspired by ucapps to use SID in my home-made keyboard project. However, I am that kind of person, that tries to build it's own design. I have obtained the MOS 6581 datasheet but I am facing with some problems playing sounds. There are some pops sometimes and also strange problems with only voice2 working (tests on C64 shows that SID is in perfect condition). I have two main questions: 1. Is this SID driver sequence OK: note on: attack/decay=0, sustain/release=0, voice&gate=0, frequency set, attack/decay set, sustain/release set, voice set with gate=1; note off: just gate=0 (voice shape remains untached) 2. In wich file is the program code with communication between PIC and SID that is used in midibox projects? I would like to compare it with my code. I am using CCS C-compiler and 16f877a. Thank you for your responce.