-
Notifications
You must be signed in to change notification settings - Fork 434
Description
Motivation
The refStreamOrTimeRange parameter of makeMeasures already allows to fix jagged ends of parts in a score, for instance, from MIDI files that stopped recording events when a part finished:
Say for instance you'd like to make a complete
score from a short ossia section, then you might use another
Part from the Score as arefStreamOrTimeRangeto make sure
that the appropriate measures of rests are added at either side.
Feature summary
I'm proposing to call this utility somewhere, either in MIDI import, or Musicxml export, or both.
Proposed implementation
MIDI import now makes measures as of several versions ago, so when exporting to MusicXML, it runs fixupNotationMeasured() on the assumption the measures are fine (i.e., does not call makeMeasures()). But I have some MIDI files with jagged edges that then get truncated in several musicxml readers (e.g. Finale, music21j)
Intent
- I plan on implementing this myself.
Happy to contribute something here as soon as I have a gut check on where to place this.