Closed DavidGarfinkle closed 4 years ago
I implemented AJAX retrieval for excerpts on the page
the biggest problem here was parsing the entire score and sorting notes everytime we wanted to extract an excerpt
instead, i write a
now we run an XML parser and, at excerpt time, given a collection of note_ids, we replace all of the matching
option 1)
save MusicXML output from each measure separately using
music21.stream.Measure()
problems are concatenating this data back together.preserve offsets with
measureOffsetMap
but what about duplicated and redundant contexts? not good to have a repeated clef in every measure