Closed craigsapp closed 1 year ago
@craigsapp I think it should be fixed. The voices are now properly aligned, and having barlines yielding internal virtual measures does not seem to cause any problems. Please double check.
Thanks! Both the --mensural-to-measure
and unmeasured mensural music are generating correct MIDI timings now.
Possibly related to issue https://github.com/rism-digital/verovio/issues/3457 (but otherwise very similar),
scoreDef@midi.bpm
is not being stored properly when generating a MIDI file from mensural music.Here is an example:
Click to view MEI data for above example
```xmlTranscoded from Humdrum
Music in the red box is internally placed into a
<measure>
(to allow line breaks). In this virtual measure, the tempo of the music is correct. For the example@midi.bpm="200"
is being used.However, the duration of the entire measure is calculated using
@midi.bpm="60"
, so there is a pause at the end of the red box. Then the following music is played in@midi.bpm="60"
rather than@midi.bpm="200"
.There is another issue with this example: When I load the above MEI example into VHV, the playback of the notes is not aligned at all, and it seems that rests are being given longer durations than specified. When converting internally from
**mens
into MEI mensural, I am hearing the music aligned properly, but with the tempo problem described above.I presume that this is related to the
--mensural-to-measure
option which I probably am applying internally when converting from**mens
to MEI, but not with a direct loading of the mensural MEI data in VHV (I will fix that). So it would also be useful for MIDI playback to work when--mensural-to-measure
is not used. I will always be using the--mensural-to-measure
option so fixing MIDI playback when this is not given is a lower priority.Here is the source
**mens
data that generated the above MEI data: