I never realised when I was playing Jazz , that I was effectively , composing a counter melody round a known tune . My Forays into setting poems to music boiled down to sorting the Fittest Rhythm , then concocting a chord sequence on that Rythm format and 'faking' a melody line based on the chords .