In Music Theory there is a discipline called Counterpoint. Here is a link that is very helpful if you are interested in learning more.
I transcribed some counterpoint music and made these three mp3s. The first one is the melody, the second one is the bass line, and the third one is both of them together. That is all.





