Skip to main content

Can you see the melody line? (just by looking at the music score)

Primary supervisor

David Taniar

Do you play any classical music instruments, like piano or violin? Would you like to combine your advanced music skills with computer science. This project analyses classical music using computer science techniques.


Given a music score, would you be able to identify the melody line.
For example, the following is Schubert Impromptu Op 90 No 3:
Where is the melody line in this music score?
You can validate your answer by listening to the following recording, where the melody line becomes obvious.

However, in classical music, the melody line is often not the highest notes. The melody line is often in the middle. That makes identifying the melody line in the music score slightly more challenging. The following is Franz Liszt-Schumann Widmung
You can hear the following recording, and compare with the music score above:

Identifying the melody line of a string quartet is even more challenging, as the melody is often played interchangeably by violin, viola, and cello. The following is Haydn String Quartet Op 76 No 3, 2nd movement.
The recording is here:

The project aims to develop algorithms to identify the melody line from the given music scores. This work is limited by the availability of music scores in a form of MusicXML (or MIDI).

Identifying the melody line from an orchestral music score is the most challenging, and is out of scope of this project.

Required knowledge

You must be an intermediate (or an advanced) music instrument player (e.g. minimum grade 5/6 piano, violin/cello).