Ok thanks Orchestrator
I have worked out that it can be done by recording a Midi file
for my chord sequence and then recoding this file as a syncronized midi.
This gives you a second file which has been merged with the first as a wave file and this gives me both the chord sequence and the melody line.
I will try a DAW but I don't fully understand them but I will endeavour to learn.
Thanks