I would like to investigate the musical intervals between consecutive notes in various classical excerpts. For example, which composers make their music using relatively larger intervals, etc.
I think a good starting point is using musicXML files. However, the file itself contains too much information such as page margins and stem direction of notes.
Is there any way I can analyze the notes and intervals with MATLAB or Python (programming)?
I don't know whether this question is most suitable for this or another stackexchange website.