Extracting midi note properties from musicXML
Based on my musicXML parser, I have created a simple executable jar that allows you to extract some features from an xml file, such as: start time (in divisions), pitch spelling, midi pitch, duration, staff number and measure number.
To run:
java -jar xml2mid.jar input.xml output.txt
Note that the output is not a midi file, but can be used to, for instance, link spelling to a midi file. The output looks like this:
start_time pitch midi_pitch duration barnumber staff divisions_per_measure: 8
24 E 76 6 1 1
30 F 77 2 1 1
32 G 79 4 2 1
36 E 76 4 2 1
40 C 72 16 2 1