Difference between revisions of "Xml homework"
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Exercise 1 == | == Exercise 1 == | ||
− | Load the following file into a notation editor which reads MusicXML files (such as Finale, Sibelius, MuseScore, Noteflight, etc). There are three structural errors in the file: two non-fatal and one fatal. Does your music editor warn of the non-fatal errors? | + | Load the following file into a notation editor which reads MusicXML files (such as Finale, Sibelius, MuseScore, Noteflight, etc). There are three structural errors in the file: two non-fatal and one fatal. Does your music editor warn of the non-fatal errors? What/where are the errors? Make a screen shot of the resulting graphical notation after your correct (the fatal parsing error and optionally the non-fatal errors). |
[[Media:chor215error.xml]] (right-click to save to disk). | [[Media:chor215error.xml]] (right-click to save to disk). | ||
Line 12: | Line 12: | ||
== Exercise 3 == | == Exercise 3 == | ||
− | Edit the following file to add articulations other than staccatos on notes in the data. Refer to the MusicXML documentation for the different types of articulations defined in MusicXML: http://www.musicxml.com/UserManuals/MusicXML/MusicXML.htm#CT-MusicXML-articulations.htm | + | Edit the following file to add articulations other than staccatos on notes in the data. Refer to the MusicXML documentation for the different types of articulations defined in MusicXML: http://www.musicxml.com/UserManuals/MusicXML/MusicXML.htm#CT-MusicXML-articulations.htm (put a different articulation on each note) |
[[Media:staccato.xml]] | [[Media:staccato.xml]] | ||
+ | |||
+ | The unaltered music should look like this: | ||
+ | |||
+ | [[Image:staccato-finale.png|center]] | ||
== Exercise 4 == | == Exercise 4 == | ||
− | After loading the MusicXML file from Exercise 3 into a notation editor, save it back out of the program. Examine | + | After loading the MusicXML file from Exercise 3 into a notation editor, save it back out of the program. Some of the articulations defined in MusicXML are not available in your editor, and these articulations will not be displayed in the notation editor. Examine these articulations in the saved datafile. What happened to the ones that you added by hand? |
== Turn in == | == Turn in == | ||
Email you-know-whos your answers to the above questions. Include a screen-shot of the music for Exercise 1 after it has been fixed and loaded into a notation editor. | Email you-know-whos your answers to the above questions. Include a screen-shot of the music for Exercise 1 after it has been fixed and loaded into a notation editor. |
Latest revision as of 20:58, 4 March 2014
Exercise 1
Load the following file into a notation editor which reads MusicXML files (such as Finale, Sibelius, MuseScore, Noteflight, etc). There are three structural errors in the file: two non-fatal and one fatal. Does your music editor warn of the non-fatal errors? What/where are the errors? Make a screen shot of the resulting graphical notation after your correct (the fatal parsing error and optionally the non-fatal errors).
Media:chor215error.xml (right-click to save to disk).
Exercise 2
Change the last barline on line 6741 to some random text other than the current "light-heavy". Load the file into a notation editor. What error is displayed when loading the file? What does the barline look like when the file is loaded (if it is loaded with the erroneous barline style)?
Exercise 3
Edit the following file to add articulations other than staccatos on notes in the data. Refer to the MusicXML documentation for the different types of articulations defined in MusicXML: http://www.musicxml.com/UserManuals/MusicXML/MusicXML.htm#CT-MusicXML-articulations.htm (put a different articulation on each note)
The unaltered music should look like this:
Exercise 4
After loading the MusicXML file from Exercise 3 into a notation editor, save it back out of the program. Some of the articulations defined in MusicXML are not available in your editor, and these articulations will not be displayed in the notation editor. Examine these articulations in the saved datafile. What happened to the ones that you added by hand?
Turn in
Email you-know-whos your answers to the above questions. Include a screen-shot of the music for Exercise 1 after it has been fixed and loaded into a notation editor.