voice2midi is a GUI tool to that loads audio files containing monophonic
melodies and extracts the melody as a MIDI file or as an XML file.

This requires clam.