First note in every MIDI file is skipped
Opened this issue · 2 comments
MissingNO123 commented
The first note (or chord sometimes) in a song is always skipped by the program. Editing the .mid file manually to add a single random note causes it to skip that note and play the rest of the song normally.
KevAquila commented
You're right, was a bad comparison... Should have been
// Find the next note to play
size_t nextIndex = 0;
for (; nextIndex < songData.size(); nextIndex++) {
if (songData[nextIndex].timestamp >= currentProgress) {
break;
}
}
Zephira58 commented
@KevAquila you forgot to close this issue, it appears to be resolved in commit: 61ff4fc