Peter Barnes' book "Interview With A Vamper" has a section on figuring out chords from a melody line. It's a book about playing piano, but if you don't play piano yourself, you can give it as a gift to someone who does play the piano, and them borrow it back.