Calculating relative vtime when writing AbsoluteEvents had a bug that caused the vtime to be incorrectly incremented. This produced invalid event times in generated MIDI files.
bev.time is an absolute time in this case since it is from AbsoluteEvent, so cur_time should be set to it rather than vtime which can cause it to move backwards invalidly.
Calculating relative
vtime
when writingAbsoluteEvent
s had a bug that caused thevtime
to be incorrectly incremented. This produced invalid event times in generated MIDI files.bev.time
is an absolute time in this case since it is fromAbsoluteEvent
, socur_time
should be set to it rather thanvtime
which can cause it to move backwards invalidly.