The offsets of tempo changes get calculated without regard to repeats when exporting midi files

• Apr 4, 2010 - 02:47
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Because of this issue the tempo changes following the repeats in the resulting midi file occur at wrong places.
From my observation, swapping the following lines of code in exportmidi.cpp!ExportMidi::write might fix the issue (i didn't try to compile the code myself):
writeHeader();

// SigList* sigmap = cs->sigmap;

cs->updateRepeatList(preferences.midiExpandRepeats);


Comments