I understand the basics of chord progressions and music theory basics in general, but the one thing I've never understood clearly; how does one reflect a chord progression in a melody line. This applies to composition in general, not only the bass. I understand how to outline chords when for example having a guitar or a piano/keyboard as accompaniment, but if I wanted to write a melodic line that was to reflect the coming chord-progression, how could I do that? Could one for example write a melody based on the notes in the chords?