Skip to content

Commit

Permalink
Merge pull request #1 from sul-cidr/fully-remove-acceleration
Browse files Browse the repository at this point in the history
Clear empty tempo events in removeAcceleration
  • Loading branch information
kittyshi authored Jul 23, 2021
2 parents 375cea6 + eba69d5 commit 813e572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MidiRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ void MidiRoll::removeAcceleration (void) {
}
mr[0][i].clear();
}
MidiFile::removeEmpties();
// Need to add tempo = 60 at tick 0
MidiFile::addTempo(0, 0, 60.0);
MidiFile::sortTrack(0);
Expand Down

0 comments on commit 813e572

Please sign in to comment.