cuthbertLab / music21j

Javascript port of music21 -- Toolkit for Computational Musicology
Other
144 stars 41 forks source link

Display measure numbers set on Measure objects if defined #159

Closed jacobtylerwalls closed 2 years ago

jacobtylerwalls commented 2 years ago

Previously, when the showMeasureNumber render option was used, the numbers used always began at 1, so there was no good solution for pickups.

Now, if a user has set .number appropriately on Measure objects, that number is used in lieu of the actual 1-indexed position.

Regression test fails on master.