How to Write Melodies in Music Production. Understanding Chords and Notes on a Piano to Create a Melody.