Edirom / Edirom-Online

Edirom Online is a tool for presenting historical-critical music editions in digital form.
GNU General Public License v3.0
20 stars 24 forks source link

fix view of divided measures in parts (measureBasedView) #256

Closed riedde closed 2 years ago

riedde commented 2 years ago

If there is a source with parts and some parts have divided measures, there are all measures in the JSON output, but only the first measure at each part is shown. I tried to work with the tstamp2=1m+0 parameter as it works with scores, but no (positive) effect. If the following measure has the same @n (or @label) the shown measure interval has to be 2 instead of one. But only for the part it occurs! If the interval is set (2 m.s) for all parts it seems to work, but not consequently.

riedde commented 2 years ago

I think the problem occurs on an early step. The measures have to be joined before they are processed into JSON. The result must not be all found measures transformed into JSON. @roewenstrunk I also committed the console.log() for you. Please delete them, when you are ready. The code is here: fix/splitted-measures-in-parts