Choosing the Right Chords for your Melody