The offsets of tempo changes get calculated without regard to repeats when exporting midi files
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
Hello,
Your fix doesn't work, it has no effect.
I've attached a small test which shows the issue.
fixed in r2954
Automatically closed -- issue fixed for 2 weeks with no activity.