An Instance-Based Classification Approach to Automatic Transcription of Monophonic Melodies